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

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 28 01:44:07 UTC 2019


 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 38891ff0510228300c1530a96a45d25f495cd826
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Wed Nov 27 23:50:05 2019 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Thu Nov 28 02:43:25 2019 +0100

    Resolves: tdf#129045 add Guadeloupean Creole French [gcf-GP] to language list
    
    Change-Id: I8c595cb81ab2017d6c1ec95501f06dade081093a
    Reviewed-on: https://gerrit.libreoffice.org/83958
    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 60fbe5ff4e0a..3a915cc56416 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -684,6 +684,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
     { LANGUAGE_USER_ENGLISH_SRI_LANKA,      "en", "LK", k0    },
     { LANGUAGE_USER_ENGLISH_NIGERIA,        "en", "NG", k0    },
     { LANGUAGE_USER_KABARDIAN,             "kbd", "RU", k0    },    // Cyrillic script
+    { LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH, "gcf", "GP", 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 a9ee385f1cee..1b2a672b9ea7 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -753,6 +753,7 @@ namespace o3tl
 #define LANGUAGE_USER_ENGLISH_SRI_LANKA     LanguageType(0xA409)  /* makeLangID( 0x29, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
 #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)
 
 
 /* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index 6f8c4a21a833..f40e9502a8e6 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 (Zambia)") , LANGUAGE_USER_ENGLISH_ZAMBIA },
     { 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", "Kabardian") , LANGUAGE_USER_KABARDIAN },
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Guadeloupean Creole French") , LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH }
 };
 
 #endif


More information about the Libreoffice-commits mailing list