summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-03-15 18:49:07 +0100
committerEike Rathke <erack@redhat.com>2017-03-15 18:51:40 +0100
commite0d86cff2b3314576c6cb857da06d6b6d217f89b (patch)
tree340802ddfd4f94c2b40f6999ee0cd1c4fcd23d4b /i18nlangtag
parentf3d08a98495d400734c471fa590927e7a0aa4e64 (diff)
tdf#105448 add Xibe [sjo-CN] to language list (and remove Sibe [nco-PG])
... the latter which was a misunderstanding and erroneous. Change-Id: I4ec8eaf14348aaaed43ea4578d46b5488279c85b
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx2
-rw-r--r--i18nlangtag/source/isolang/mslangid.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index a35fef08b7f9..837fee440ef3 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -666,7 +666,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_FRENCH_MAURITIUS, "fr", "MU", 0 },
{ LANGUAGE_USER_SILESIAN, "szl", "PL", 0 },
{ LANGUAGE_USER_MANCHU, "mnc", "CN", 0 },
- { LANGUAGE_USER_SIBE, "nco", "PG", 0 },
+ { LANGUAGE_USER_XIBE, "sjo", "CN", 0 },
{ LANGUAGE_MULTIPLE, "mul", "" , 0 }, // multiple languages, many languages are used
{ LANGUAGE_UNDETERMINED, "und", "" , 0 }, // undetermined language, language cannot be identified
{ LANGUAGE_NONE, "zxx", "" , 0 }, // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
diff --git a/i18nlangtag/source/isolang/mslangid.cxx b/i18nlangtag/source/isolang/mslangid.cxx
index 95523187a5f6..d13d7bb3f76d 100644
--- a/i18nlangtag/source/isolang/mslangid.cxx
+++ b/i18nlangtag/source/isolang/mslangid.cxx
@@ -360,6 +360,7 @@ sal_Int16 MsLangId::getScriptType( LanguageType nLang )
case LANGUAGE_USER_KYRGYZ_CHINA:
case LANGUAGE_USER_HUNGARIAN_ROVAS:
case LANGUAGE_USER_MANCHU:
+ case LANGUAGE_USER_XIBE:
nScript = css::i18n::ScriptType::COMPLEX;
break;