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

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 10 19:51:05 UTC 2020


 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 86a42619213d6543e77ceb55f069926a2090f823
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Mon Feb 10 14:31:13 2020 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Mon Feb 10 20:50:27 2020 +0100

    Resolves: tdf#130550 Add Ligurian [lij-IT] to language list
    
    Change-Id: I6a83bd754ebebf877d6638d5672194aefcf179bb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88372
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 68cb253c6b3f..a3910ddff3c2 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -685,6 +685,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
     { LANGUAGE_USER_ENGLISH_NIGERIA,        "en", "NG", k0    },
     { LANGUAGE_USER_KABARDIAN,             "kbd", "RU", k0    },    // Cyrillic script
     { LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH, "gcf", "GP", k0 },
+    { LANGUAGE_USER_LIGURIAN,              "lij", "IT", 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 1b2a672b9ea7..26580e9c7310 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -754,6 +754,7 @@ namespace o3tl
 #define LANGUAGE_USER_ENGLISH_NIGERIA       LanguageType(0xA809)  /* makeLangID( 0x2A, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
 #define LANGUAGE_USER_KABARDIAN             LanguageType(0x06A4)
 #define LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH    LanguageType(0x06A5)
+#define LANGUAGE_USER_LIGURIAN              LanguageType(0x06A6)
 
 
 /* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index c00a58802b25..6924c13dd7c7 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -420,7 +420,8 @@ const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "English (Sri Lanka)") , LANGUAGE_USER_ENGLISH_SRI_LANKA },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "English (Nigeria)") , LANGUAGE_USER_ENGLISH_NIGERIA },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Kabardian") , LANGUAGE_USER_KABARDIAN },
-    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Guadeloupean Creole French") , LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH }
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Guadeloupean Creole French") , LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH },
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Ligurian") , LANGUAGE_USER_LIGURIAN }
 };
 
 


More information about the Libreoffice-commits mailing list