mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Remove obsolete html-zh-rHK symlink
This commit is contained in:
parent
28f8bd37f3
commit
08a9d74062
|
@ -1 +0,0 @@
|
|||
html-zh-rTW/
|
|
@ -105,7 +105,7 @@ public final class LocaleManager {
|
|||
private static final Map<String,String> GOOGLE_BOOK_SEARCH_COUNTRY_TLD = GOOGLE_COUNTRY_TLD;
|
||||
|
||||
private static final Collection<String> TRANSLATED_HELP_ASSET_LANGUAGES =
|
||||
Arrays.asList("de", "en", "es", "fr", "it", "ja", "ko", "nl", "pt", "ru", "uk", "zh-rCN", "zh-rTW", "zh-rHK");
|
||||
Arrays.asList("de", "en", "es", "fr", "it", "ja", "ko", "nl", "pt", "ru", "uk", "zh-rCN", "zh");
|
||||
|
||||
private LocaleManager() {}
|
||||
|
||||
|
@ -158,12 +158,11 @@ public final class LocaleManager {
|
|||
if (locale == null) {
|
||||
return DEFAULT_LANGUAGE;
|
||||
}
|
||||
String language = locale.getLanguage();
|
||||
// Special case Chinese
|
||||
if (Locale.SIMPLIFIED_CHINESE.getLanguage().equals(language)) {
|
||||
return language + "-r" + getSystemCountry();
|
||||
if (Locale.SIMPLIFIED_CHINESE.equals(locale)) {
|
||||
return "zh-rCN";
|
||||
}
|
||||
return language;
|
||||
return locale.getLanguage();
|
||||
}
|
||||
|
||||
static String getTranslatedAssetLanguage() {
|
||||
|
|
Loading…
Reference in a new issue