Merge pull request #310 from paronos/magadex
mangadex: add more languages and isekai genre
This commit is contained in:
commit
7786fa9f90
|
@ -5,8 +5,8 @@ ext {
|
|||
appName = 'Tachiyomi: MangaDex'
|
||||
pkgNameSuffix = "all.mangadex"
|
||||
extClass = '.MangadexFactory'
|
||||
extVersionCode = 21
|
||||
extVersionSuffix = 21
|
||||
extVersionCode = 22
|
||||
extVersionSuffix = 22
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -367,7 +367,8 @@ open class Mangadex(override val lang: String, private val internalLang: String,
|
|||
Genre("37", "Yaoi"),
|
||||
Genre("38", "Yuri"),
|
||||
Genre("39", "[no chapters]"),
|
||||
Genre("40", "Game")
|
||||
Genre("40", "Game"),
|
||||
Genre("41", "Isekai")
|
||||
)
|
||||
|
||||
companion object {
|
||||
|
|
|
@ -20,6 +20,11 @@ class MangaDexCatalan : Mangadex("ca", "ct", 33)
|
|||
class MangaDexHungarian : Mangadex("hu", "hu", 9)
|
||||
class MangaDexBulgarian : Mangadex("bg", "bg", 14)
|
||||
class MangaDexFilipino : Mangadex("fil", "ph", 34)
|
||||
class MangaDexDutch : Mangadex("nl", "nl", 5)
|
||||
class MangaDexArabic : Mangadex("ar", "sa", 19)
|
||||
class MangaDexChineseSimp : Mangadex("zh-Hans", "cn", 21)
|
||||
class MangaDexChineseTrad : Mangadex("zh-Hant", "hk", 35)
|
||||
class MangaDexThai: Mangadex("th", "th", 32)
|
||||
|
||||
fun getAllMangaDexLanguages() = listOf(
|
||||
MangaDexEnglish(),
|
||||
|
@ -38,5 +43,10 @@ fun getAllMangaDexLanguages() = listOf(
|
|||
MangaDexCatalan(),
|
||||
MangaDexHungarian(),
|
||||
MangaDexBulgarian(),
|
||||
MangaDexFilipino()
|
||||
MangaDexFilipino(),
|
||||
MangaDexDutch(),
|
||||
MangaDexArabic(),
|
||||
MangaDexChineseSimp(),
|
||||
MangaDexChineseTrad(),
|
||||
MangaDexThai()
|
||||
)
|
Loading…
Reference in New Issue