diff options
author | Eike Rathke <erack@redhat.com> | 2019-06-05 19:08:42 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-06-05 23:06:15 +0200 |
commit | c4f9b1cae7e9400b9aa4bc085ee39371c3b67485 (patch) | |
tree | cdc107519f26220ddd90ba9407bb519d26648214 /i18nlangtag/source | |
parent | 058c54d540950426751dcb4a00f2488e6375e05a (diff) |
Related: tdf#125404 alias cmn-CN to zh-CN, cmn-TW to zh-TW
Map 'cmn' Mandarin Chinese with associated country for Simplified
and Traditional to the technically used 'zh' macrolanguage code.
Change-Id: Ifb8a31e728bbf828f13145513bc56a51684ea134
Reviewed-on: https://gerrit.libreoffice.org/73563
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18nlangtag/source')
-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 97b4f8c29a09..be183839fb59 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -184,7 +184,9 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] = { LANGUAGE_GREEK, "el", "GR", k0 }, { LANGUAGE_CHINESE_SIMPLIFIED, "zh", "CN", k0 }, { LANGUAGE_CHINESE_SIMPLIFIED_LEGACY, "zh", "CN", k0 }, + { LANGUAGE_CHINESE_SIMPLIFIED, "cmn", "CN", kSAME }, { LANGUAGE_CHINESE_TRADITIONAL, "zh", "TW", k0 }, + { LANGUAGE_CHINESE_TRADITIONAL, "cmn", "TW", kSAME }, { LANGUAGE_CHINESE_HONGKONG, "zh", "HK", k0 }, { LANGUAGE_CHINESE_SINGAPORE, "zh", "SG", k0 }, { LANGUAGE_CHINESE_MACAU, "zh", "MO", k0 }, |