diff options
author | Eike Rathke <erack@redhat.com> | 2022-11-28 13:29:12 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2022-11-28 17:29:55 +0100 |
commit | eb7bbb761fd34f76cbfd89b45846c6cb9083d24e (patch) | |
tree | 9d4839ba8f21c260014a007ebce17635727dcf05 /i18nlangtag | |
parent | 61f42c31b02c569ad22cad5e71b20cb0df8fd1f8 (diff) |
Resolves: tdf#148792 Add Portuguese (Mozambique) {pt-MZ} locale and data
Basically copies pt_PT.xml but replaces translated with
untranslated keywords (AA,AAAA => YY,YYYY), hence no ref="pt_PT"
for LC_FORMAT (and LC_CTYPE).
Also use sort-formats.awk -v group=1 to sort FormatElement by usage
group and formatIndex as those went quite wild over time..
Change-Id: Iececac0ebdd0317fd14ab65f32c08501f3ce32c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143398
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 5204b212d86b..c5259a53886d 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -674,6 +674,8 @@ IsoLanguageCountryEntry const aImplIsoLangEntries[] = { LANGUAGE_USER_KLINGON, "tlh", "" , k0 }, { LANGUAGE_USER_ENGLISH_ISRAEL, "en", "IL", k0 }, { LANGUAGE_USER_PENNSYLVANIA_DUTCH, "pdc", "US", k0 }, + { LANGUAGE_USER_PORTUGUESE_MOZAMBIQUE, "pt", "MZ", k0 }, + // Add new languages ^^^ there. { 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 |