Enable new translations

This commit is contained in:
inorichi 2019-04-12 19:19:35 +02:00
parent 5f9e65cc9b
commit 0a988d1c69
3 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class SettingsGeneralController : SettingsController() {
titleRes = R.string.pref_language titleRes = R.string.pref_language
entryValues = arrayOf("", "ar", "bg", "bn", "ca", "cs", "de", "el", "en-US", "en-GB", entryValues = arrayOf("", "ar", "bg", "bn", "ca", "cs", "de", "el", "en-US", "en-GB",
"es", "fr", "hi", "hu", "in", "it", "ja", "ko", "lv", "ms", "nb-rNO", "nl", "pl", "pt", "es", "fr", "hi", "hu", "in", "it", "ja", "ko", "lv", "ms", "nb-rNO", "nl", "pl", "pt",
"pt-BR", "ro", "ru", "sr", "sv", "th", "tr", "uk", "vi", "zh-rCN") "pt-BR", "ro", "ru", "sc", "sr", "sv", "th", "tl", "tr", "uk", "vi", "zh-rCN")
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() ?:

View File

@ -469,3 +469,5 @@ Assurez-vous que vous êtes connecté à des sources qui le demande avant de com
<string name="darkblue_theme">Bleu foncé</string> <string name="darkblue_theme">Bleu foncé</string>
<string name="pref_read_with_long_tap">Menu contextuel (appui prolongé)</string> <string name="pref_read_with_long_tap">Menu contextuel (appui prolongé)</string>
<string name="reader_pull_up_for_more_options">Plus d\'options en défilant</string> <string name="reader_pull_up_for_more_options">Plus d\'options en défilant</string>
</resources>