[Libreoffice-commits] core.git: i18nlangtag/source

Eike Rathke erack at redhat.com
Fri Oct 25 10:51:55 PDT 2013


 i18nlangtag/source/isolang/isolang.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit efa1f08be8194ed97a4b48effd0bbe109d5c2164
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Oct 25 19:48:24 2013 +0200

    for 'sd' language-only find 'sd-PK' first instead of 'sd-IN'
    
    which is overridden by sd-Arab-PK and our 'sd' translation is Arabic
    script.
    
    Change-Id: I5d4c90cbb3b7ff82c61301b86fc7cdd494284236

diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index e7e2340..d4cfc41 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -350,7 +350,6 @@ 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, MS maps this to 'sd-Deva-IN'
     { LANGUAGE_TAMIL,                       "ta", "IN", 0     },
     { LANGUAGE_TAMIL_SRI_LANKA,             "ta", "LK", 0     },
     { LANGUAGE_TELUGU,                      "te", "IN", 0     },
@@ -359,6 +358,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
     { 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", kSAME },    // Arabic script
+    { LANGUAGE_SINDHI,                      "sd", "IN", 0     },    // TODO: there's Deva(nagari) and Arab(ic) script, MS maps this to 'sd-Deva-IN'
     { LANGUAGE_BELARUSIAN,                  "be", "BY", 0     },
     { LANGUAGE_CATALAN,                     "ca", "ES", 0     },    // Spain (default)
     { LANGUAGE_CATALAN,                     "ca", "AD", 0     },    // Andorra


More information about the Libreoffice-commits mailing list