Resolves: tdf#113835 add Fon [fon-BJ] to language list

Change-Id: Iee741421d8f6a9a2b9b14439612890426cdf4712
This commit is contained in:
Eike Rathke 2017-11-14 19:41:09 +01:00
parent c45b23377b
commit a6259d1a95
3 changed files with 4 additions and 1 deletions

View file

@ -668,6 +668,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_MANCHU, "mnc", "CN", k0 },
{ LANGUAGE_USER_XIBE, "sjo", "CN", k0 },
{ LANGUAGE_USER_KITUBA_DRCONGO, "ktu", "CD", k0 },
{ LANGUAGE_USER_FON, "fon", "BJ", k0 },
{ LANGUAGE_MULTIPLE, "mul", "" , k0 }, // multiple languages, many languages are used
{ LANGUAGE_UNDETERMINED, "und", "" , k0 }, // undetermined language, language cannot be identified
{ LANGUAGE_NONE, "zxx", "" , k0 }, // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information

View file

@ -734,6 +734,7 @@ namespace o3tl
#define LANGUAGE_USER_MANCHU LanguageType(0x069A)
#define LANGUAGE_USER_XIBE LanguageType(0x069B)
#define LANGUAGE_USER_KITUBA_DRCONGO LanguageType(0x069C)
#define LANGUAGE_USER_FON LanguageType(0x069D)
/* XXX Add new user defined LCIDs ^^^ there.

View file

@ -404,7 +404,8 @@ const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "English (Malaysia)") , LANGUAGE_ENGLISH_MALAYSIA },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Manchu") , LANGUAGE_USER_MANCHU },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Xibe") , LANGUAGE_USER_XIBE },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Kituba (Democratic Republic of the Congo)"), LANGUAGE_USER_KITUBA_DRCONGO }
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Kituba (Democratic Republic of the Congo)"), LANGUAGE_USER_KITUBA_DRCONGO },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Fon"), LANGUAGE_USER_FON }
};
#endif