[Mangadex] add language for chapters with out specified language (#6062)

* Add othere languege to Mangadex

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

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaDex' extName = 'MangaDex'
pkgNameSuffix = 'all.mangadex' pkgNameSuffix = 'all.mangadex'
extClass = '.MangaDexFactory' extClass = '.MangaDexFactory'
extVersionCode = 103 extVersionCode = 104
libVersion = '1.2' libVersion = '1.2'
containsNsfw = true containsNsfw = true
} }

View File

@ -47,7 +47,8 @@ class MangaDexFactory : SourceFactory {
MangaDexLithuanian(), MangaDexLithuanian(),
MangaDexHebrew(), MangaDexHebrew(),
MangaDexHindi(), MangaDexHindi(),
MangaDexNorwegian() MangaDexNorwegian(),
MangaDexOther()
) )
} }
class MangaDexEnglish : MangaDex("en", "gb") class MangaDexEnglish : MangaDex("en", "gb")
@ -91,3 +92,4 @@ class MangaDexLithuanian : MangaDex("lt", "il")
class MangaDexHebrew : MangaDex("he", "il") class MangaDexHebrew : MangaDex("he", "il")
class MangaDexHindi : MangaDex("hi", "in") class MangaDexHindi : MangaDex("hi", "in")
class MangaDexNorwegian : MangaDex("no", "no") class MangaDexNorwegian : MangaDex("no", "no")
class MangaDexOther : MangaDex("other", " ")