[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/source
Eike Rathke
erack at redhat.com
Wed Jun 12 02:29:28 PDT 2013
i18nlangtag/source/isolang/isolang.cxx | 1 +
i18nlangtag/source/isolang/mslangid.cxx | 1 +
include/i18nlangtag/lang.h | 1 +
svtools/source/misc/langtab.src | 1 +
4 files changed, 4 insertions(+)
New commits:
commit ad3105a2933aff80b8fd471d32c0846440a508c5
Author: Eike Rathke <erack at redhat.com>
Date: Wed Jun 12 11:24:13 2013 +0200
added Tibetan_India [bo-IN] to language list, fdo#40713
Change-Id: Ied426ee153ccd1a71e3cd0fbb4b417ac8b9b82e4
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 8f291d6..c830673 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -305,6 +305,7 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_SWAHILI_TANZANIA, "sw", "TZ" },
{ LANGUAGE_TAJIK, "tg", "TJ" },
{ LANGUAGE_TIBETAN, "bo", "CN" }, // CN politically correct?
+ { LANGUAGE_USER_TIBETAN_INDIA, "bo", "IN" },
{ LANGUAGE_DZONGKHA, "dz", "BT" },
{ LANGUAGE_TURKMEN, "tk", "TM" },
{ LANGUAGE_WELSH, "cy", "GB" },
diff --git a/i18nlangtag/source/isolang/mslangid.cxx b/i18nlangtag/source/isolang/mslangid.cxx
index 34c017b..08e618e 100644
--- a/i18nlangtag/source/isolang/mslangid.cxx
+++ b/i18nlangtag/source/isolang/mslangid.cxx
@@ -382,6 +382,7 @@ sal_Int16 MsLangId::getScriptType( LanguageType nLang )
case LANGUAGE_THAI:
case LANGUAGE_TIBETAN:
case LANGUAGE_DZONGKHA:
+ case LANGUAGE_USER_TIBETAN_INDIA:
case LANGUAGE_URDU:
case LANGUAGE_URDU_PAKISTAN:
case LANGUAGE_URDU_INDIA:
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index dcf7d53..53724c9 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -556,6 +556,7 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_SIDAMA 0x0685
#define LANGUAGE_USER_NKO 0x0686
#define LANGUAGE_USER_UDMURT 0x0687
+#define LANGUAGE_USER_TIBETAN_INDIA 0x8051 /* makeLangID( 0x20, getPrimaryLanguage( LANGUAGE_TIBETAN)) */
#define LANGUAGE_USER_PRIV_JOKER 0xFFEB /* privateuse "*" (sic! bad! nasty!), primary 0x3eb, sub 0x3f */
#define LANGUAGE_USER_PRIV_COMMENT 0xFFEC /* privateuse "x-comment", primary 0x3ec, sub 0x3f */
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index 849a803..f85ef6a 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -362,6 +362,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "Yombe (Congo)" ; LANGUAGE_USER_YOMBE_CONGO ; > ;
< "N'ko" ; LANGUAGE_USER_NKO ; > ;
< "Udmurt" ; LANGUAGE_USER_UDMURT ; > ;
+ < "Tibetan (India)" ; LANGUAGE_USER_TIBETAN_INDIA ; > ;
};
};
More information about the Libreoffice-commits
mailing list