i18nlangtag/source/languagetag/languagetag.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit a25846baf1137e7086292d8d8824a94f6a825166 Author: Eike Rathke <er...@redhat.com> Date: Wed Sep 4 21:04:30 2013 +0200 for zh-HK or zh-MO also list zh-TW as fallback Change-Id: If86d7df0c9ed84f704c0f2421820f3d9c060f2fd diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 63da4fc..f2f2bec 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -1227,7 +1227,12 @@ LanguageTag & LanguageTag::makeFallback() if (isIsoLocale()) { if (!aCountry.isEmpty()) + { aVec.push_back( aLanguage + "-" + aCountry); + // For zh-HK or zh-MO also list zh-TW + if (aLanguage == "zh" && (aCountry == "HK" || aCountry == "MO")) + aVec.push_back( aLanguage + "-TW"); + } aVec.push_back( aLanguage); return aVec; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits