MangaDex: new languages (#6097)

This commit is contained in:
AwkwardPeak7 2024-11-18 18:30:38 +05:00 committed by Draff
parent e1b8dd745e
commit 155a2d34a4
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 17 additions and 1 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'MangaDex' extName = 'MangaDex'
extClass = '.MangaDexFactory' extClass = '.MangaDexFactory'
extVersionCode = 194 extVersionCode = 195
isNsfw = true isNsfw = true
} }

View File

@ -6,15 +6,19 @@ import eu.kanade.tachiyomi.source.SourceFactory
class MangaDexFactory : SourceFactory { class MangaDexFactory : SourceFactory {
override fun createSources(): List<Source> = listOf( override fun createSources(): List<Source> = listOf(
MangaDexEnglish(), MangaDexEnglish(),
MangadexAfrikaans(),
MangaDexAlbanian(), MangaDexAlbanian(),
MangaDexArabic(), MangaDexArabic(),
MangaDexAzerbaijani(), MangaDexAzerbaijani(),
MangaDexBasque(),
MangaDexBelarusian(),
MangaDexBengali(), MangaDexBengali(),
MangaDexBulgarian(), MangaDexBulgarian(),
MangaDexBurmese(), MangaDexBurmese(),
MangaDexCatalan(), MangaDexCatalan(),
MangaDexChineseSimplified(), MangaDexChineseSimplified(),
MangaDexChineseTraditional(), MangaDexChineseTraditional(),
MangaDexChuvash(),
MangaDexCroatian(), MangaDexCroatian(),
MangaDexCzech(), MangaDexCzech(),
MangaDexDanish(), MangaDexDanish(),
@ -30,8 +34,10 @@ class MangaDexFactory : SourceFactory {
MangaDexHebrew(), MangaDexHebrew(),
MangaDexHindi(), MangaDexHindi(),
MangaDexHungarian(), MangaDexHungarian(),
MangaDexIrish(),
MangaDexIndonesian(), MangaDexIndonesian(),
MangaDexItalian(), MangaDexItalian(),
MangaDexJavanese(),
MangaDexJapanese(), MangaDexJapanese(),
MangaDexKazakh(), MangaDexKazakh(),
MangaDexKorean(), MangaDexKorean(),
@ -57,19 +63,25 @@ class MangaDexFactory : SourceFactory {
MangaDexThai(), MangaDexThai(),
MangaDexTurkish(), MangaDexTurkish(),
MangaDexUkrainian(), MangaDexUkrainian(),
MangaDexUrdu(),
MangaDexUzbek(),
MangaDexVietnamese(), MangaDexVietnamese(),
) )
} }
class MangadexAfrikaans : MangaDex("af")
class MangaDexAlbanian : MangaDex("sq") class MangaDexAlbanian : MangaDex("sq")
class MangaDexArabic : MangaDex("ar") class MangaDexArabic : MangaDex("ar")
class MangaDexAzerbaijani : MangaDex("az") class MangaDexAzerbaijani : MangaDex("az")
class MangaDexBasque : MangaDex("eu")
class MangaDexBelarusian : MangaDex("be")
class MangaDexBengali : MangaDex("bn") class MangaDexBengali : MangaDex("bn")
class MangaDexBulgarian : MangaDex("bg") class MangaDexBulgarian : MangaDex("bg")
class MangaDexBurmese : MangaDex("my") class MangaDexBurmese : MangaDex("my")
class MangaDexCatalan : MangaDex("ca") class MangaDexCatalan : MangaDex("ca")
class MangaDexChineseSimplified : MangaDex("zh-Hans", "zh") class MangaDexChineseSimplified : MangaDex("zh-Hans", "zh")
class MangaDexChineseTraditional : MangaDex("zh-Hant", "zh-hk") class MangaDexChineseTraditional : MangaDex("zh-Hant", "zh-hk")
class MangaDexChuvash : MangaDex("cv")
class MangaDexCroatian : MangaDex("hr") class MangaDexCroatian : MangaDex("hr")
class MangaDexCzech : MangaDex("cs") class MangaDexCzech : MangaDex("cs")
class MangaDexDanish : MangaDex("da") class MangaDexDanish : MangaDex("da")
@ -86,9 +98,11 @@ class MangaDexGreek : MangaDex("el")
class MangaDexHebrew : MangaDex("he") class MangaDexHebrew : MangaDex("he")
class MangaDexHindi : MangaDex("hi") class MangaDexHindi : MangaDex("hi")
class MangaDexHungarian : MangaDex("hu") class MangaDexHungarian : MangaDex("hu")
class MangaDexIrish : MangaDex("ga")
class MangaDexIndonesian : MangaDex("id") class MangaDexIndonesian : MangaDex("id")
class MangaDexItalian : MangaDex("it") class MangaDexItalian : MangaDex("it")
class MangaDexJapanese : MangaDex("ja") class MangaDexJapanese : MangaDex("ja")
class MangaDexJavanese : MangaDex("jv")
class MangaDexKazakh : MangaDex("kk") class MangaDexKazakh : MangaDex("kk")
class MangaDexKorean : MangaDex("ko") class MangaDexKorean : MangaDex("ko")
class MangaDexLatin : MangaDex("la") class MangaDexLatin : MangaDex("la")
@ -113,4 +127,6 @@ class MangaDexTelugu : MangaDex("te")
class MangaDexThai : MangaDex("th") class MangaDexThai : MangaDex("th")
class MangaDexTurkish : MangaDex("tr") class MangaDexTurkish : MangaDex("tr")
class MangaDexUkrainian : MangaDex("uk") class MangaDexUkrainian : MangaDex("uk")
class MangaDexUrdu : MangaDex("ur")
class MangaDexUzbek : MangaDex("uz")
class MangaDexVietnamese : MangaDex("vi") class MangaDexVietnamese : MangaDex("vi")