[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/inc
Eike Rathke (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 18 22:01:06 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 a8529d471a4a1f761bf74f46542af7c3c59118bb
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Tue Feb 18 20:57:28 2020 +0100
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Tue Feb 18 23:00:32 2020 +0100
Resolves: tdf#130757 Add Minangkabau [min-ID] to language list
Change-Id: I901e64c223723bf2eac908dda80796a7a2799147
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88985
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 a3910ddff3c2..d052d19cecce 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -686,6 +686,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_KABARDIAN, "kbd", "RU", k0 }, // Cyrillic script
{ LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH, "gcf", "GP", k0 },
{ LANGUAGE_USER_LIGURIAN, "lij", "IT", k0 },
+ { LANGUAGE_USER_MINANGKABAU, "min", "ID", 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 26580e9c7310..c39605967f96 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -755,6 +755,7 @@ namespace o3tl
#define LANGUAGE_USER_KABARDIAN LanguageType(0x06A4)
#define LANGUAGE_USER_GUADELOUPEAN_CREOLE_FRENCH LanguageType(0x06A5)
#define LANGUAGE_USER_LIGURIAN LanguageType(0x06A6)
+#define LANGUAGE_USER_MINANGKABAU LanguageType(0x06A7)
/* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index 6924c13dd7c7..a00df25110c4 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -421,7 +421,8 @@ const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
{ 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", "Ligurian") , LANGUAGE_USER_LIGURIAN }
+ { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Ligurian") , LANGUAGE_USER_LIGURIAN },
+ { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Minangkabau") , LANGUAGE_USER_MINANGKABAU }
};
More information about the Libreoffice-commits
mailing list