[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/inc

Eike Rathke erack at redhat.com
Tue May 15 18:22:30 UTC 2018


 i18nlangtag/source/isolang/isolang.cxx |    1 +
 include/i18nlangtag/lang.h             |    1 +
 svtools/inc/langtab.hrc                |    3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit ed9416446def1a9c9af3869c3113d041ad33884e
Author: Eike Rathke <erack at redhat.com>
Date:   Tue May 15 20:20:03 2018 +0200

    Resolves: tdf#117617 Add Iloko [ilo-PH] to language list
    
    Change-Id: If8444a847fa652de8b7b834e08c3e5116721c987

diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 38e8f6d89476..0570be841736 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -676,6 +676,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
     { LANGUAGE_USER_ARMENIAN_CLASSIC,      "xcl", "AM", k0    },
     { LANGUAGE_USER_JUHOAN,                "ktz", "NA", k0    },
     { LANGUAGE_USER_NARO,                  "nhr", "BW", k0    },
+    { LANGUAGE_USER_ILOKO,                 "ilo", "PH", k0    },
     { LANGUAGE_MULTIPLE,                   "mul", ""  , k0    },    // multiple languages, many languages are used
     { LANGUAGE_UNDETERMINED,               "und", ""  , k0    },    // undetermined language, language cannot be identified
     { LANGUAGE_NONE,                       "zxx", ""  , k0    },    // 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 ae7235288cfb..84adccafc6bf 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -744,6 +744,7 @@ namespace o3tl
 #define LANGUAGE_USER_MALAY_ARABIC_BRUNEI   LanguageType(0x843E)  /* makeLangID( 0x21, getPrimaryLanguage( LANGUAGE_MALAY_BRUNEI_DARUSSALAM)) */
 #define LANGUAGE_USER_JUHOAN                LanguageType(0x06A1)
 #define LANGUAGE_USER_NARO                  LanguageType(0x06A2)
+#define LANGUAGE_USER_ILOKO                 LanguageType(0x06A3)
 
 
 /* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index 68e64d8a238a..ff23fc65f31c 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -414,7 +414,8 @@ const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Malay Arabic (Malaysia)") , LANGUAGE_USER_MALAY_ARABIC_MALAYSIA },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Malay Arabic (Brunei Darussalam)") , LANGUAGE_USER_MALAY_ARABIC_BRUNEI },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Juǀ’hoan") , LANGUAGE_USER_JUHOAN },
-    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Naro") , LANGUAGE_USER_NARO }
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Naro") , LANGUAGE_USER_NARO },
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Iloko") , LANGUAGE_USER_ILOKO }
 };
 
 #endif


More information about the Libreoffice-commits mailing list