mirror of https://github.com/NekoX-Dev/NekoX.git
Fix translator for indonesian
This commit is contained in:
parent
32444f2f2f
commit
ec0ed609ab
|
@ -82,10 +82,12 @@ interface Translator {
|
|||
|
||||
}
|
||||
|
||||
if (toLang == "in") toLang = "id"
|
||||
|
||||
val translator = when (NekoConfig.translationProvider) {
|
||||
in 1..2 -> GoogleAppTranslator
|
||||
3 -> LingoTranslator
|
||||
4 -> YandexTranslator
|
||||
3 -> YandexTranslator
|
||||
4 -> LingoTranslator
|
||||
else -> throw IllegalArgumentException()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue