[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/inc
Eike Rathke
erack at redhat.com
Mon Dec 4 19:07:26 UTC 2017
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 01c7c4e1cb074f88440336068285495743bd6b37
Author: Eike Rathke <erack at redhat.com>
Date: Mon Dec 4 20:04:27 2017 +0100
Add Plautdietsch [pdt-CA] to language listbox
Change-Id: Icf2307649858721a7cde38e8fa892fc3cb1ff08c
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index c2bdbf567b2a..af2f48cb3151 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -669,6 +669,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_XIBE, "sjo", "CN", k0 },
{ LANGUAGE_USER_KITUBA_DRCONGO, "ktu", "CD", k0 },
{ LANGUAGE_USER_FON, "fon", "BJ", k0 },
+ { LANGUAGE_USER_PLAUTDIETSCH, "pdt", "CA", 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 2c90af7110fe..74d404e3a91b 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -735,6 +735,7 @@ namespace o3tl
#define LANGUAGE_USER_XIBE LanguageType(0x069B)
#define LANGUAGE_USER_KITUBA_DRCONGO LanguageType(0x069C)
#define LANGUAGE_USER_FON LanguageType(0x069D)
+#define LANGUAGE_USER_PLAUTDIETSCH LanguageType(0x069E)
/* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index 54e356feb1d1..b23d30e6fb8a 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -405,7 +405,8 @@ const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Manchu") , LANGUAGE_USER_MANCHU },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Xibe") , LANGUAGE_USER_XIBE },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Kituba (Democratic Republic of the Congo)"), LANGUAGE_USER_KITUBA_DRCONGO },
- { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Fon"), LANGUAGE_USER_FON }
+ { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Fon"), LANGUAGE_USER_FON },
+ { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Plautdietsch"), LANGUAGE_USER_PLAUTDIETSCH }
};
#endif
More information about the Libreoffice-commits
mailing list