From 9207762adee70f09402e0b5db691e44a83716081 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 14 Jun 2020 11:52:11 -0400 Subject: [PATCH] Add some missing locales --- .../tachiyomi/ui/setting/SettingsGeneralController.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index 2392f0017f..d4d299eff4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt @@ -66,10 +66,12 @@ class SettingsGeneralController : SettingsController() { val langs = mutableListOf>() langs += Pair("", "${context.getString(R.string.system_default)} (${LocaleHelper.getDisplayName("")})") + // Due to compatibility issues: + // - Hebrew: `he` is copied into `iw` at build time langs += arrayOf( - "ar", "bg", "bn", "ca", "cs", "de", "el", "en-US", "en-GB", "es", "fr", "ka", "he", - "hi", "hr", "hu", "in", "it", "ja", "ko", "lv", "ms", "nb-rNO", "nl", "pl", "pt", - "pt-BR", "ro", "ru", "sc", "sr", "sv", "th", "tl", "tr", "uk", "vi", "zh-rCN" + "ar", "be", "bg", "bn", "ca", "cs", "de", "el", "es", "es-419", "en-US", "en-GB", "fi", "fr", "he", + "hi", "hr", "hu", "in", "it", "ja", "ka-rGE", "kn", "ko", "lv", "mr", "ms", "nb-rNO", "nl", "pl", "pt", + "pt-BR", "ro", "ru", "sc", "sk", "sr", "sv", "th", "tl", "tr", "uk", "ur-rPK", "vi", "zh-rCN", "zh-rTW" ) .map { Pair(it, LocaleHelper.getDisplayName(it))