Add back Japanese subdomain (#7794)

This commit is contained in:
Narin 2021-06-21 08:48:32 -07:00 committed by GitHub
parent 8b4eb2b7ed
commit 030a972da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,16 @@
package eu.kanade.tachiyomi.extension.all.mangatoro
import eu.kanade.tachiyomi.multisrc.wpcomics.WPComics
import eu.kanade.tachiyomi.source.Source
import eu.kanade.tachiyomi.source.SourceFactory
class MangaToroFactory : SourceFactory {
override fun createSources(): List<Source> = listOf(
MangaToro(),
MangaToroRAW(),
)
}
class MangaToroRAW : WPComics("MangaToro RAW", "https://ja.mangatoro.com", "ja")
class MangaToro : WPComics("MangaToro", "https://mangatoro.com", "en")

View File

@ -13,7 +13,7 @@ class WPComicsGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 1
override val sources = listOf(
SingleLang("MangaToro", "https://mangatoro.com", "en"),
MultiLang("MangaToro", "https://mangatoro.com", listOf("en", "ja")),
SingleLang("NetTruyen", "https://www.nettruyen.com", "vi", overrideVersionCode = 1),
SingleLang("NhatTruyen", "http://nhattruyen.com", "vi", overrideVersionCode = 1),
SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 1),