diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-18 18:47:20 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-18 18:53:08 +0100 |
commit | 4256491ffe48b8be09ec66a003988193e8585584 (patch) | |
tree | 6fab8a8f4b9b9d5b0216146bdf241b998f46b322 /i18nlangtag | |
parent | e23951b81fcff0d135eec7ff82116d2327021e76 (diff) |
the MS Serbian Latin Neutral mess
There are two LangID values mapping to Serbian Latin (without country)
which lead to the UI language selector displaying "sr-Latn" instead of
"Serbian Latin" because conversion picked the other one. Consistently
use LANGUAGE_SERBIAN_LATIN_LSO and don't trap into
LANGUAGE_SERBIAN_LATIN_NEUTRAL (whatever that might be).
Change-Id: I6ae6c2027048c99096b4d9d703a0dc73784b52f1
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 2109928da103..0cf8328737eb 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -659,7 +659,7 @@ static IsoLanguageScriptCountryEntry const aImplIsoLangScriptEntries[] = { LANGUAGE_SERBIAN_LATIN_SAM, "sr-Latn", "CS", 0 }, // Serbian Latin in Serbia and Montenegro; note that not all applications may know about the 'CS' reusage mess, see https://en.wikipedia.org/wiki/ISO_3166-2:CS { LANGUAGE_SERBIAN_LATIN_SAM, "sr-Latn", "YU", 0 }, // legacy Serbian Latin in Yugoslavia { LANGUAGE_SERBIAN_LATIN_LSO, "sr-Latn", "" , 0 }, - { LANGUAGE_SERBIAN_LATIN_NEUTRAL, "sr-Latn", "" , 0 }, // MS lists this as 'sr' only, what a mess + { LANGUAGE_SERBIAN_LATIN_NEUTRAL, "sr-Latn", "" , LANGUAGE_SERBIAN_LATIN_LSO }, // MS lists this as 'sr' only, what a mess { LANGUAGE_SERBIAN_CYRILLIC_SERBIA, "sr-Cyrl", "RS", kSAME }, // MS { LANGUAGE_SERBIAN_CYRILLIC_MONTENEGRO, "sr-Cyrl", "ME", kSAME }, // MS { LANGUAGE_SERBIAN_CYRILLIC_BOSNIA_HERZEGOVINA, "sr-Cyrl", "BA", kSAME }, // MS |