Updated Bato.to supported languages list (#6269)

* added unfilterd option and US english

* Update build.gradle
This commit is contained in:
Johannes Joens 2021-03-25 02:20:30 +13:00 committed by GitHub
parent 458270687f
commit 51bc7410ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Bato.to' extName = 'Bato.to'
pkgNameSuffix = 'all.batoto' pkgNameSuffix = 'all.batoto'
extClass = '.BatoToFactory' extClass = '.BatoToFactory'
extVersionCode = 4 extVersionCode = 5
libVersion = '1.2' libVersion = '1.2'
containsNsfw = true containsNsfw = true
} }

View File

@ -10,6 +10,8 @@ class BatoToFactory : SourceFactory {
} }
private val languages = listOf( private val languages = listOf(
//commented langueges do currently not exist on Bato.to but haven in the past
Pair("all",""),
Pair("ar", "ar"), Pair("ar", "ar"),
Pair("bg", "bg"), Pair("bg", "bg"),
Pair("cs", "cs"), Pair("cs", "cs"),
@ -17,6 +19,7 @@ private val languages = listOf(
Pair("de", "de"), Pair("de", "de"),
Pair("el", "el"), Pair("el", "el"),
Pair("en", "en"), Pair("en", "en"),
Pair("en_us", "en_us"),
Pair("es", "es"), Pair("es", "es"),
Pair("es-419", "es_419"), Pair("es-419", "es_419"),
Pair("eu", "eu"), Pair("eu", "eu"),
@ -25,14 +28,14 @@ private val languages = listOf(
Pair("fil", "fil"), Pair("fil", "fil"),
Pair("fr", "fr"), Pair("fr", "fr"),
Pair("he", "he"), Pair("he", "he"),
Pair("hi", "hi"), //Pair("hi", "hi"),
Pair("hr", "hr"), Pair("hr", "hr"),
Pair("hu", "hu"), Pair("hu", "hu"),
Pair("id", "id"), Pair("id", "id"),
Pair("it", "it"), Pair("it", "it"),
Pair("ja", "ja"), Pair("ja", "ja"),
Pair("ko", "ko"), Pair("ko", "ko"),
Pair("ku", "ku"), //Pair("ku", "ku"),
Pair("ml", "ml"), Pair("ml", "ml"),
Pair("mn", "mn"), Pair("mn", "mn"),
Pair("ms", "ms"), Pair("ms", "ms"),
@ -49,7 +52,7 @@ private val languages = listOf(
Pair("tr", "tr"), Pair("tr", "tr"),
Pair("uk", "uk"), Pair("uk", "uk"),
Pair("vi", "vi"), Pair("vi", "vi"),
Pair("xh", "xh"), //Pair("xh", "xh"),
Pair("zh", "zh"), Pair("zh", "zh"),
Pair("zh-rHK", "zh_hk"), Pair("zh-rHK", "zh_hk"),
Pair("zh-rTW", "zh_tw"), Pair("zh-rTW", "zh_tw"),