[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/source
Eike Rathke
erack at redhat.com
Tue Aug 16 09:42:44 UTC 2016
i18nlangtag/source/isolang/isolang.cxx | 1 +
include/i18nlangtag/lang.h | 1 +
svtools/source/misc/langtab.src | 1 +
3 files changed, 3 insertions(+)
New commits:
commit dd2679ecaa2b75670d5bf57fbe94147cf081654a
Author: Eike Rathke <erack at redhat.com>
Date: Tue Aug 16 11:41:20 2016 +0200
Resolves: tdf#101540 add Silesian [szl-PL] to language list
Change-Id: I7f73a6286d080a5ebf1b7a1bb834a06f51be6529
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index b39461d..ee2de00 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -663,6 +663,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_APATANI, "apt", "IN", 0 },
{ LANGUAGE_USER_ENGLISH_MAURITIUS, "en", "MU", 0 },
{ LANGUAGE_USER_FRENCH_MAURITIUS, "fr", "MU", 0 },
+ { LANGUAGE_USER_SILESIAN, "szl", "PL", 0 },
{ LANGUAGE_MULTIPLE, "mul", "" , 0 }, // multiple languages, many languages are used
{ LANGUAGE_UNDETERMINED, "und", "" , 0 }, // undetermined language, language cannot be identified
{ LANGUAGE_NONE, "zxx", "" , 0 }, // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index 9cd943b..48772ab 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -716,6 +716,7 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_APATANI 0x0698
#define LANGUAGE_USER_ENGLISH_MAURITIUS 0x9C09 /* makeLangID( 0x27, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
#define LANGUAGE_USER_FRENCH_MAURITIUS 0x900C /* makeLangID( 0x24, getPrimaryLanguage( LANGUAGE_FRENCH)) */
+#define LANGUAGE_USER_SILESIAN 0x0699
/* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index 3b23229..f8c2211 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -401,6 +401,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "Apatani" ; LANGUAGE_USER_APATANI ; > ;
< "English (Mauritius)" ; LANGUAGE_USER_ENGLISH_MAURITIUS ; > ;
< "French (Mauritius)" ; LANGUAGE_USER_FRENCH_MAURITIUS ; > ;
+ < "Silesian" ; LANGUAGE_USER_SILESIAN ; > ;
};
};
More information about the Libreoffice-commits
mailing list