NH, Hitomi: Move lang Other to lang All (#10430)

* NH: Move 'Other' to 'All'

* hitomi: move 'Other' to 'All'
This commit is contained in:
nicki 2022-01-11 20:29:20 +05:30 committed by GitHub
parent 2f84d135c3
commit 0ce1eee2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Hitomi.la'
pkgNameSuffix = 'all.hitomi'
extClass = '.HitomiFactory'
extVersionCode = 15
extVersionCode = 16
isNsfw = true
}

View File

@ -40,6 +40,8 @@ open class Hitomi(override val lang: String, private val nozomiLang: String) : H
override val name = if (nozomiLang == "all") "Hitomi.la unfiltered" else "Hitomi.la"
override val id by lazy { if (lang == "all") 2703068117101782422 else super.id }
override val baseUrl = BASE_URL
private val json: Json by injectLazy()

View File

@ -9,7 +9,7 @@ class HitomiFactory : SourceFactory {
}
private val languageList = listOf(
Pair("other", "all"), // all languages
Pair("all", "all"), // all languages
Pair("id", "indonesian"),
Pair("ca", "catalan"),
Pair("ceb", "cebuano"),

View File

@ -5,7 +5,7 @@ ext {
extName = 'NHentai'
pkgNameSuffix = 'all.nhentai'
extClass = '.NHFactory'
extVersionCode = 29
extVersionCode = 30
isNsfw = true
}

View File

@ -8,6 +8,6 @@ class NHFactory : SourceFactory {
NHentai("en", "english"),
NHentai("ja", "japanese"),
NHentai("zh", "chinese"),
NHentai("other", "")
NHentai("all", "")
)
}

View File

@ -37,6 +37,8 @@ open class NHentai(
final override val baseUrl = "https://nhentai.net"
override val id by lazy { if (lang == "all") 7309872737163460316 else super.id }
override val name = "NHentai"
override val supportsLatest = true