Update ChangeLanguagePopup.kt

This commit is contained in:
Tibor Kaputa 2022-11-06 09:42:19 +01:00 committed by GitHub
parent bcbd67aaac
commit 28381f004a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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)