Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Add missing languages in settings (#1275)

Cette révision appartient à :
paronos 2018-02-26 08:47:36 +01:00 révisé par Bram van de Kerkhof
Parent f35c15f7d2
révision e3ab90042d

Voir le fichier

@ -29,8 +29,8 @@ class SettingsGeneralController : SettingsController() {
listPreference {
key = Keys.lang
titleRes = R.string.pref_language
entryValues = arrayOf("", "ar", "bg", "de", "en", "es", "fr", "id", "it", "lv", "ms",
"nl", "pl", "pt", "pt-BR", "ru", "vi")
entryValues = arrayOf("", "ar", "bg", "bn", "de", "en", "es", "fr", "hi", "hu", "id",
"it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro", "ru", "vi")
entries = entryValues.map { value ->
val locale = LocaleHelper.getLocaleFromString(value.toString())
locale?.getDisplayName(locale)?.capitalize() ?:
@ -223,4 +223,4 @@ class SettingsGeneralController : SettingsController() {
}
}
}