[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/source
Eike Rathke
erack at redhat.com
Mon Apr 25 12:52:10 UTC 2016
i18nlangtag/source/isolang/isolang.cxx | 2 ++
include/i18nlangtag/lang.h | 2 ++
svtools/source/misc/langtab.src | 2 ++
3 files changed, 6 insertions(+)
New commits:
commit 7e0eeacd1d1aa4c8643f1f490cdd5102ee0434a8
Author: Eike Rathke <erack at redhat.com>
Date: Mon Apr 25 14:47:03 2016 +0200
add English (Mauritius) [en-MU] and French (Mauritius) [fr-MU], tdf#99372
Change-Id: I98a0bc42a7d7f5c0943c9861556392399b9d0313
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 09d1b87..b39461d 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -661,6 +661,8 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_ARPITAN_ITALY, "frp", "IT", 0 },
{ LANGUAGE_USER_ARPITAN_SWITZERLAND, "frp", "CH", 0 },
{ LANGUAGE_USER_APATANI, "apt", "IN", 0 },
+ { LANGUAGE_USER_ENGLISH_MAURITIUS, "en", "MU", 0 },
+ { LANGUAGE_USER_FRENCH_MAURITIUS, "fr", "MU", 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 177cbc7..9cd943b 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -714,6 +714,8 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_ENGLISH_BOTSWANA 0x9809 /* makeLangID( 0x26, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
#define LANGUAGE_USER_INTERLINGUE 0x0697 /* no locale */
#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)) */
/* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index 1b6b0cf..3b23229 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -399,6 +399,8 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "English (Botswana)" ; LANGUAGE_USER_ENGLISH_BOTSWANA ; > ;
< "Interlingue Occidental" ; LANGUAGE_USER_INTERLINGUE ; > ;
< "Apatani" ; LANGUAGE_USER_APATANI ; > ;
+ < "English (Mauritius)" ; LANGUAGE_USER_ENGLISH_MAURITIUS ; > ;
+ < "French (Mauritius)" ; LANGUAGE_USER_FRENCH_MAURITIUS ; > ;
};
};
More information about the Libreoffice-commits
mailing list