summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorEike Rathke <erack@openoffice.org>2010-02-21 17:28:36 +0100
committerEike Rathke <erack@openoffice.org>2010-02-21 17:28:36 +0100
commit0c862740842bdcdf0201d0e7d8f5db1d5596147e (patch)
treebba37f859aee9ac6cc8557b782625831f15a8073 /i18npool
parent6269f93155cccba461727fa084602580df76d596 (diff)
locales33: #i107288# added Sardinian,Campidanese [sro-IT], Sardinian,Gallurese [sdn-IT], Sardinian,Logudorese [src-IT] and Sardinian,Sassarese [sdc-IT] to language list
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/inc/i18npool/lang.h4
-rw-r--r--i18npool/source/isolang/isolang.cxx6
2 files changed, 9 insertions, 1 deletions
diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h
index 5edb1f3c3edf..0b9e1e6c54d4 100644
--- a/i18npool/inc/i18npool/lang.h
+++ b/i18npool/inc/i18npool/lang.h
@@ -510,5 +510,9 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_TAHITIAN 0x064E
#define LANGUAGE_USER_MALAGASY_PLATEAU 0x064F
#define LANGUAGE_USER_PAPIAMENTU_ARUBA 0x8079 /* makeLangID( 0x20, getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
+#define LANGUAGE_USER_SARDINIAN_CAMPIDANESE 0x0650
+#define LANGUAGE_USER_SARDINIAN_GALLURESE 0x0651
+#define LANGUAGE_USER_SARDINIAN_LOGUDORESE 0x0652
+#define LANGUAGE_USER_SARDINIAN_SASSARESE 0x0653
#endif /* INCLUDED_I18NPOOL_LANG_H */
diff --git a/i18npool/source/isolang/isolang.cxx b/i18npool/source/isolang/isolang.cxx
index 941b2fb94f96..b93001584236 100644
--- a/i18npool/source/isolang/isolang.cxx
+++ b/i18npool/source/isolang/isolang.cxx
@@ -405,7 +405,11 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_KURDISH_SYRIA, "ku", "SY" },
{ LANGUAGE_USER_KURDISH_IRAQ, "ku", "IQ" },
{ LANGUAGE_USER_KURDISH_IRAN, "ku", "IR" },
- { LANGUAGE_USER_SARDINIAN, "sc", "IT" },
+ { LANGUAGE_USER_SARDINIAN, "sc", "IT" }, // macrolanguage code
+ { LANGUAGE_USER_SARDINIAN_CAMPIDANESE, "sro", "IT" },
+ { LANGUAGE_USER_SARDINIAN_GALLURESE, "sdn", "IT" },
+ { LANGUAGE_USER_SARDINIAN_LOGUDORESE, "src", "IT" },
+ { LANGUAGE_USER_SARDINIAN_SASSARESE, "sdc", "IT" },
{ LANGUAGE_BRETON_FRANCE, "br", "FR" },
{ LANGUAGE_OBSOLETE_USER_BRETON, "br", "FR" },
{ LANGUAGE_KALAALLISUT_GREENLAND, "kl", "GL" },