Update ChangeLanguagePopup.kt
This commit is contained in:
parent
bcbd67aaac
commit
28381f004a
|
@ -27,7 +27,7 @@ class ChangeLanguagePopup(
|
||||||
RadioItem(LANGUAGE_RUSSIAN, getKeyboardLanguageText(LANGUAGE_RUSSIAN)),
|
RadioItem(LANGUAGE_RUSSIAN, getKeyboardLanguageText(LANGUAGE_RUSSIAN)),
|
||||||
RadioItem(LANGUAGE_SLOVENIAN, getKeyboardLanguageText(LANGUAGE_SLOVENIAN)),
|
RadioItem(LANGUAGE_SLOVENIAN, getKeyboardLanguageText(LANGUAGE_SLOVENIAN)),
|
||||||
RadioItem(LANGUAGE_SPANISH, getKeyboardLanguageText(LANGUAGE_SPANISH)),
|
RadioItem(LANGUAGE_SPANISH, getKeyboardLanguageText(LANGUAGE_SPANISH)),
|
||||||
RadioItem(LANGUAGE_TURKISH_Q, getKeyboardLanguageText(LANGUAGE_TURKISH_Q)),
|
RadioItem(LANGUAGE_TURKISH_Q, getKeyboardLanguageText(LANGUAGE_TURKISH_Q))
|
||||||
)
|
)
|
||||||
|
|
||||||
KeyboardRadioGroupDialog(inputView, items, config.keyboardLanguage) {
|
KeyboardRadioGroupDialog(inputView, items, config.keyboardLanguage) {
|
||||||
|
@ -36,7 +36,6 @@ class ChangeLanguagePopup(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun getKeyboardLanguageText(language: Int): String {
|
private fun getKeyboardLanguageText(language: Int): String {
|
||||||
return when (language) {
|
return when (language) {
|
||||||
LANGUAGE_BENGALI -> context.getString(R.string.translation_bengali)
|
LANGUAGE_BENGALI -> context.getString(R.string.translation_bengali)
|
||||||
|
|
Loading…
Reference in New Issue