diff options
author | Eike Rathke <erack@redhat.com> | 2013-10-25 19:35:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-10-25 19:39:11 +0200 |
commit | 8697b72ef81aab80b4fd657e5f8d68c9904735dd (patch) | |
tree | de74fd4a1257627d196678d250b0b4b13a985beb /i18nlangtag | |
parent | 0a8db454e5005b0c886ae7c5620d8df5bbab80e0 (diff) |
Sindhi 'sd-PK' => 'sd-Arab-PK'
Change-Id: I418a991f4555a411ea05237010f64b03552affe5
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/qa/cppunit/test_languagetag.cxx | 1 | ||||
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx index c9b7af63ddbf..4ee2d0119538 100644 --- a/i18nlangtag/qa/cppunit/test_languagetag.cxx +++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx @@ -615,6 +615,7 @@ static bool checkMapping( const OUString rStr1, const OUString& rStr2 ) if (rStr1 == "pli" ) return rStr2 == "pi-Latn"; if (rStr1 == "ks" ) return rStr2 == "ks-Arab"; if (rStr1 == "chr-US" ) return rStr2 == "chr-Cher-US"; + if (rStr1 == "sd-PK" ) return rStr2 == "sd-Arab-PK"; return rStr1 == rStr2; } diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 13e5e4d32459..e7e2340cce3d 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -350,7 +350,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] = { LANGUAGE_ORIYA, "or", "IN", 0 }, { LANGUAGE_PUNJABI, "pa", "IN", 0 }, { LANGUAGE_SANSKRIT, "sa", "IN", 0 }, - { LANGUAGE_SINDHI, "sd", "IN", 0 }, // TODO: there's Deva(nagari) and Arab(ic) script, which do we use in 'sd' translation? MS maps this to 'sd-Deva-IN' + { LANGUAGE_SINDHI, "sd", "IN", 0 }, // TODO: there's Deva(nagari) and Arab(ic) script, MS maps this to 'sd-Deva-IN' { LANGUAGE_TAMIL, "ta", "IN", 0 }, { LANGUAGE_TAMIL_SRI_LANKA, "ta", "LK", 0 }, { LANGUAGE_TELUGU, "te", "IN", 0 }, @@ -358,7 +358,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] = { LANGUAGE_PUNJABI_ARABIC_LSO, "pnb", "" , 0 }, { LANGUAGE_PUNJABI_PAKISTAN, "lah", "PK", kSAME }, // macrolanguage code, earlier preferred 'lah' over 'pa' for Western Panjabi, now there is 'pnb' { LANGUAGE_PUNJABI_PAKISTAN, "pa", "PK", kSAME }, // MS maps this to 'pa-Arab-PK', but 'pa'='pan' Eastern Panjabi is not used in PK, only in IN - { LANGUAGE_SINDHI_PAKISTAN, "sd", "PK", 0 }, // TODO: there's Deva(nagari) and Arab(ic) script, which do we use in 'sd' translation? MS maps this to 'sd-Arab-PK' + { LANGUAGE_SINDHI_PAKISTAN, "sd", "PK", kSAME }, // Arabic script { LANGUAGE_BELARUSIAN, "be", "BY", 0 }, { LANGUAGE_CATALAN, "ca", "ES", 0 }, // Spain (default) { LANGUAGE_CATALAN, "ca", "AD", 0 }, // Andorra @@ -677,7 +677,7 @@ static IsoLanguageScriptCountryEntry const aImplIsoLangScriptEntries[] = { LANGUAGE_UZBEK_LATIN, "uz-Latn", "UZ", 0 }, // macrolanguage code { LANGUAGE_UZBEK_LATIN_LSO, "uz-Latn", "" , 0 }, // { LANGUAGE_SINDHI, "sd-Deva", "IN", 0 }, // MS, TODO: see comment above in aImplIsoLangEntries -// { LANGUAGE_SINDHI_PAKISTAN, "sd-Arab", "PK", 0 }, // MS, TODO: see comment above in aImplIsoLangEntries + { LANGUAGE_SINDHI_PAKISTAN, "sd-Arab", "PK", 0 }, // MS { LANGUAGE_SINDHI_ARABIC_LSO, "sd-Arab", "" , 0 }, { LANGUAGE_CHEROKEE_UNITED_STATES, "chr-Cher", "US", 0 }, // MS { LANGUAGE_CHEROKEE_CHEROKEE_LSO, "chr-Cher", "" , 0 }, |