[Libreoffice-commits] .: i18npool/inc i18npool/source svtools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 6 12:17:10 PST 2012
i18npool/inc/i18npool/lang.h | 9 +++++++++
i18npool/source/isolang/isolang.cxx | 9 +++++++++
svtools/source/misc/langtab.src | 9 +++++++++
3 files changed, 27 insertions(+)
New commits:
commit 112d9e66d4c81168e955178c5c35480cb6303bb2
Author: Andras Timar <atimar at suse.com>
Date: Tue Nov 6 21:11:50 2012 +0100
fdo#56346 add a few more Uralic languages to languages dropdown
Change-Id: I4adad5b494e61d033d6525a07260f7b4b8cb4e9c
diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h
index 825efac..127fee8 100644
--- a/i18npool/inc/i18npool/lang.h
+++ b/i18npool/inc/i18npool/lang.h
@@ -535,6 +535,15 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_ENGLISH_MALAWI 0x8809 /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
#define LANGUAGE_USER_ERZYA 0x066C
#define LANGUAGE_USER_MARI_MEADOW 0x066D
+#define LANGUAGE_USER_KHANTY 0x066E
+#define LANGUAGE_USER_LIVONIAN 0x066F
+#define LANGUAGE_USER_MOKSHA 0x0670
+#define LANGUAGE_USER_MARI_HILL 0x0671
+#define LANGUAGE_USER_NGANASAN 0x0672
+#define LANGUAGE_USER_OLONETS 0x0673
+#define LANGUAGE_USER_VEPS 0x0674
+#define LANGUAGE_USER_VORO 0x0675
+#define LANGUAGE_USER_NENETS 0x0676
#define LANGUAGE_USER_PAPIAMENTU_CURACAO 0x8479 /* makeLangID( 0x21, getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
#define LANGUAGE_USER_PAPIAMENTU_BONAIRE 0x8879 /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
#define LANGUAGE_USER_SYSTEM_CONFIG 0xFFFE /* not a locale, to be used only in configuration context to obtain system default, primary 0x3fe, sub 0x3f */
diff --git a/i18npool/source/isolang/isolang.cxx b/i18npool/source/isolang/isolang.cxx
index af9adf7..1605d9e 100644
--- a/i18npool/source/isolang/isolang.cxx
+++ b/i18npool/source/isolang/isolang.cxx
@@ -482,6 +482,15 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_PITJANTJATJARA, "pjt", "AU" },
{ LANGUAGE_USER_ERZYA, "myv", "RU" },
{ LANGUAGE_USER_MARI_MEADOW, "mhr", "RU" },
+ { LANGUAGE_USER_KHANTY, "kca", "RU" },
+ { LANGUAGE_USER_LIVONIAN, "liv", "RU" },
+ { LANGUAGE_USER_MOKSHA, "mdf", "RU" },
+ { LANGUAGE_USER_MARI_HILL, "mrj", "RU" },
+ { LANGUAGE_USER_NGANASAN, "nio", "RU" },
+ { LANGUAGE_USER_OLONETS, "olo", "RU" },
+ { LANGUAGE_USER_VEPS, "vep", "RU" },
+ { LANGUAGE_USER_VORO, "vro", "EE" },
+ { LANGUAGE_USER_NENETS, "yrk", "RU" },
{ LANGUAGE_NONE, "zxx", "" }, // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
{ LANGUAGE_DONTKNOW, "", "" } // marks end of table
};
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index 12a8deb..79f8d3b 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -353,6 +353,15 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "Mari, Meadow" ; LANGUAGE_USER_MARI_MEADOW ; > ;
< "Papiamento (Curaçao)" ; LANGUAGE_USER_PAPIAMENTU_CURACAO ; > ;
< "Papiamento (Bonaire)" ; LANGUAGE_USER_PAPIAMENTU_BONAIRE ; > ;
+ < "Khanty" ; LANGUAGE_USER_KHANTY ; > ;
+ < "Livonian" ; LANGUAGE_USER_LIVONIAN ; > ;
+ < "Moksha" ; LANGUAGE_USER_MOKSHA ; > ;
+ < "Mari, Hill" ; LANGUAGE_USER_MARI_HILL ; > ;
+ < "Nganasan" ; LANGUAGE_USER_NGANASAN ; > ;
+ < "Olonets" ; LANGUAGE_USER_OLONETS ; > ;
+ < "Veps" ; LANGUAGE_USER_VEPS ; > ;
+ < "Võro" ; LANGUAGE_USER_VORO ; > ;
+ < "Nenets" ; LANGUAGE_USER_NENETS ; > ;
};
};
More information about the Libreoffice-commits
mailing list