From c4ae98e66381cf940ff6f156497d0f1c31ebb156 Mon Sep 17 00:00:00 2001 From: paronos Date: Wed, 25 Apr 2018 23:52:26 +0200 Subject: [PATCH] add more languages and isekai genre --- src/all/mangadex/build.gradle | 4 ++-- .../tachiyomi/extension/all/mangadex/Mangadex.kt | 3 ++- .../extension/all/mangadex/MangadexLanguages.kt | 12 +++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index ea6141d78..c7a377643 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -5,8 +5,8 @@ ext { appName = 'Tachiyomi: MangaDex' pkgNameSuffix = "all.mangadex" extClass = '.MangadexFactory' - extVersionCode = 21 - extVersionSuffix = 21 + extVersionCode = 22 + extVersionSuffix = 22 libVersion = '1.2' } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt index 83de70323..a6a4e9816 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt @@ -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 { diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangadexLanguages.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangadexLanguages.kt index a8ad7c32d..ce11fb225 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangadexLanguages.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangadexLanguages.kt @@ -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() ) \ No newline at end of file