[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag
Eike Rathke (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 24 12:21:17 UTC 2020
i18nlangtag/source/isolang/isolang.cxx | 1 +
include/i18nlangtag/lang.h | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 23ff2c96709e48e06aa0a9dee237b73935cd60e5
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Thu Sep 24 11:42:15 2020 +0200
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Thu Sep 24 14:20:36 2020 +0200
Add English Kenya LCID 0xAC09 {en-KE} langtag mapping, tdf#115436
Change-Id: I0c32ffa2d7f316b3e97dc597da8539842ad51367
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103300
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack at redhat.com>
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 9d521a499ef4..ecab61113ab1 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -689,6 +689,7 @@ IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_MINANGKABAU, "min", "ID", k0 },
{ LANGUAGE_USER_SUNDANESE, "sun", "ID", k0 },
{ LANGUAGE_USER_YAKA_DRCONGO, "yaf", "CD", k0 },
+ { LANGUAGE_USER_ENGLISH_KENYA, "en", "KE", 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 96df56181159..d3b0ece0bce6 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -761,6 +761,7 @@ namespace o3tl
#define LANGUAGE_USER_MINANGKABAU LanguageType(0x06A7)
#define LANGUAGE_USER_SUNDANESE LanguageType(0x06A8)
#define LANGUAGE_USER_YAKA_DRCONGO LanguageType(0x06A9)
+#define LANGUAGE_USER_ENGLISH_KENYA LanguageType(0xAC09) /* makeLangID( 0x2B, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
/* XXX Add new user defined LCIDs ^^^ there.
More information about the Libreoffice-commits
mailing list