summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-12-04 20:04:27 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2017-12-04 23:04:32 +0100
commita76e28636a4f3c293b9e10135ca9100885289136 (patch)
treed212c2805527293c8dd8e940ec1e4bad4ee94358
parent82e794f782de6c922d0323172715d4dff2151c28 (diff)
Resolves: tdf#114201 Add Plautdietsch [pdt-CA] to language listbox
(cherry picked from commit 01c7c4e1cb074f88440336068285495743bd6b37) Change-Id: Icf2307649858721a7cde38e8fa892fc3cb1ff08c Reviewed-on: https://gerrit.libreoffice.org/45822 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx1
-rw-r--r--include/i18nlangtag/lang.h1
-rw-r--r--svtools/inc/langtab.hrc3
3 files changed, 4 insertions, 1 deletions
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