summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-12-02 12:58:44 +0100
committerEike Rathke <erack@redhat.com>2013-12-02 13:00:52 +0100
commitfefacbd92f4e3355ecd04841b8eacc75a4a67223 (patch)
treed09d31ceef8216bb1878e5ba8f7920cf9c1682e3
parent3c2e8e3484d670aeb42e540b409543fe01ac5bb9 (diff)
added Kurdish, Southern (Iran) [sdh-IR] to language list, fdo#63460
Change-Id: I575c8a51cff1cf451c776818711d2e0fd458a322
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx1
-rw-r--r--i18nlangtag/source/isolang/mslangid.cxx2
-rw-r--r--include/i18nlangtag/lang.h1
-rw-r--r--svtools/source/misc/langtab.src1
4 files changed, 5 insertions, 0 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 5505540730ab..2611dbb03bc5 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -513,6 +513,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_KURDISH_ARABIC_IRAQ, "ckb", "IQ", 0 },
{ LANGUAGE_KURDISH_ARABIC_IRAQ, "ku", "IQ", kSAME },
{ LANGUAGE_OBSOLETE_USER_KURDISH_IRAQ, "ku", "IQ", LANGUAGE_KURDISH_ARABIC_IRAQ },
+ { LANGUAGE_USER_KURDISH_SOUTHERN_IRAN, "sdh", "IR", 0 },
{ LANGUAGE_USER_KURDISH_SOUTHERN_IRAQ, "sdh", "IQ", 0 },
{ LANGUAGE_USER_KURDISH_IRAN, "ckb", "IR", 0 },
{ LANGUAGE_USER_KURDISH_IRAN, "ku", "IR", kSAME },
diff --git a/i18nlangtag/source/isolang/mslangid.cxx b/i18nlangtag/source/isolang/mslangid.cxx
index d44256de4117..772822ea9652 100644
--- a/i18nlangtag/source/isolang/mslangid.cxx
+++ b/i18nlangtag/source/isolang/mslangid.cxx
@@ -222,6 +222,7 @@ bool MsLangId::isRightToLeft( LanguageType nLang )
case LANGUAGE_OBSOLETE_USER_KURDISH_IRAQ:
case LANGUAGE_KURDISH_ARABIC_IRAQ:
case LANGUAGE_KURDISH_ARABIC_LSO:
+ case LANGUAGE_USER_KURDISH_SOUTHERN_IRAN:
case LANGUAGE_USER_KURDISH_SOUTHERN_IRAQ:
return true;
@@ -338,6 +339,7 @@ sal_Int16 MsLangId::getScriptType( LanguageType nLang )
case LANGUAGE_OBSOLETE_USER_KURDISH_IRAQ:
case LANGUAGE_KURDISH_ARABIC_IRAQ:
case LANGUAGE_KURDISH_ARABIC_LSO:
+ case LANGUAGE_USER_KURDISH_SOUTHERN_IRAN:
case LANGUAGE_USER_KURDISH_SOUTHERN_IRAQ:
case LANGUAGE_USER_KYRGYZ_CHINA:
nScript = ::com::sun::star::i18n::ScriptType::COMPLEX;
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index e08c15216fc1..be71b0a5da44 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -535,6 +535,7 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_KURDISH_IRAQ LANGUAGE_KURDISH_ARABIC_IRAQ
#define LANGUAGE_USER_KURDISH_IRAN 0x1226 /* sublang 0x04, Arabic script */
#define LANGUAGE_USER_KURDISH_SOUTHERN_IRAQ 0x8092 /* makeLangID( 0x20, getPrimaryLanguage( LANGUAGE_KURDISH_ARABIC_LSO)) */
+#define LANGUAGE_USER_KURDISH_SOUTHERN_IRAN 0x8492 /* makeLangID( 0x21, getPrimaryLanguage( LANGUAGE_KURDISH_ARABIC_LSO)) */
#define LANGUAGE_USER_SARDINIAN 0x0627
/* was reserved for Dzongkha but turned down with #i53497#: 0x0628 */ /* obsoleted by LANGUAGE_DZONGKHA */
#define LANGUAGE_USER_DZONGKHA_MAP_LONLY 0xF851 /* to map "dz" only, because of the MS error, and preserve CTL information, sub 0x3e */
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index 0f5f584912fd..3e51f6081a27 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -216,6 +216,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "Kurdish, Northern (Syria)" ; LANGUAGE_USER_KURDISH_SYRIA ; > ;
< "Kurdish, Central (Iraq)" ; LANGUAGE_USER_KURDISH_IRAQ ; > ;
< "Kurdish, Central (Iran)" ; LANGUAGE_USER_KURDISH_IRAN ; > ;
+ < "Kurdish, Southern (Iran)" ; LANGUAGE_USER_KURDISH_SOUTHERN_IRAN ; > ;
< "Kurdish, Southern (Iraq)" ; LANGUAGE_USER_KURDISH_SOUTHERN_IRAQ ; > ;
< "Sardinian" ; LANGUAGE_USER_SARDINIAN ; > ;
< "Dzongkha" ; LANGUAGE_DZONGKHA ; > ;