Add new translations to settings
This commit is contained in:
parent
024a457250
commit
23e99a3ed8
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class SettingsGeneralController : SettingsController() {
|
||||||
titleRes = R.string.pref_language
|
titleRes = R.string.pref_language
|
||||||
entryValues = arrayOf("", "ar", "bg", "bn", "de", "en-US", "en-GB", "es", "fr", "hi",
|
entryValues = arrayOf("", "ar", "bg", "bn", "de", "en-US", "en-GB", "es", "fr", "hi",
|
||||||
"hu", "in", "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro",
|
"hu", "in", "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro",
|
||||||
"ru", "vi")
|
"ru", "tr", "vi")
|
||||||
entries = entryValues.map { value ->
|
entries = entryValues.map { value ->
|
||||||
val locale = LocaleHelper.getLocaleFromString(value.toString())
|
val locale = LocaleHelper.getLocaleFromString(value.toString())
|
||||||
locale?.getDisplayName(locale)?.capitalize() ?:
|
locale?.getDisplayName(locale)?.capitalize() ?:
|
||||||
|
|
Reference in a new issue