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

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 1 19:25:01 UTC 2021


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

New commits:
commit 75458bfab180a57597e674d38e2953c440cf118d
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Tue Jun 1 20:05:09 2021 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Tue Jun 1 21:24:17 2021 +0200

    Add Sesotho {st-LS} 0x8030 to language list
    
    Change-Id: Ifb304fb1a5ed05e79bcaaaf96e12171377973222
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116552
    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 04ff6c1a52ea..1ca95bb35244 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -693,6 +693,7 @@ IsoLanguageCountryEntry const aImplIsoLangEntries[] =
     { LANGUAGE_USER_CABECAR,               "cjp", "CR", k0    },
     { LANGUAGE_USER_BRIBRI,                "bzd", "CR", k0    },
     { LANGUAGE_USER_ENGLISH_DENMARK,        "en", "DK", k0    },
+    { LANGUAGE_USER_SESOTHO_LESOTHO,        "st", "LS", 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 ee404aefd6c0..b4b6aa69fa6d 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -766,6 +766,7 @@ namespace o3tl
 #define LANGUAGE_USER_CABECAR               LanguageType(0x06AA)
 #define LANGUAGE_USER_BRIBRI                LanguageType(0x06AB)
 #define LANGUAGE_USER_ENGLISH_DENMARK       LanguageType(0xB009)  /* makeLangID( 0x2C, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
+#define LANGUAGE_USER_SESOTHO_LESOTHO       LanguageType(0x8030)  /* makeLangID( 0x20, getPrimaryLanguage( LANGUAGE_SESOTHO)) */
 
 
 /* XXX Add new user defined LCIDs ^^^ there.
diff --git a/solenv/inc/langlist.mk b/solenv/inc/langlist.mk
index 54e2666fc8a9..b3cb87610fcc 100644
--- a/solenv/inc/langlist.mk
+++ b/solenv/inc/langlist.mk
@@ -115,6 +115,7 @@ sq \
 sr \
 ss \
 st \
+st-LS \
 sv \
 sw-TZ \
 szl \
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index 628393d59982..e66375e115ac 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -431,7 +431,8 @@ const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Pali Thai") , LANGUAGE_USER_PALI_THAI },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Cabécar") , LANGUAGE_USER_CABECAR },
     { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Bribri") , LANGUAGE_USER_BRIBRI },
-    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "English (Denmark)") , LANGUAGE_USER_ENGLISH_DENMARK }
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "English (Denmark)") , LANGUAGE_USER_ENGLISH_DENMARK },
+    { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Sesotho") , LANGUAGE_USER_SESOTHO_LESOTHO }
 };
 
 


More information about the Libreoffice-commits mailing list