Webtoons.com: Added German and changed zh to zh-Hant (#11031)
* Update WebtoonsGenerator.kt * Add German and change zh to zh-Hant
This commit is contained in:
parent
9e00e96b66
commit
b1dfa39377
|
@ -15,6 +15,7 @@ class WebtoonsFactory : SourceFactory {
|
|||
WebtoonsES(),
|
||||
WebtoonsFR(),
|
||||
WebtoonsZH(),
|
||||
WebtoonsDE(),
|
||||
)
|
||||
}
|
||||
class WebtoonsEN : Webtoons("Webtoons.com", "https://www.webtoons.com", "en")
|
||||
|
@ -51,4 +52,8 @@ class WebtoonsES : Webtoons("Webtoons.com", "https://www.webtoons.com", "es") {
|
|||
}
|
||||
}
|
||||
class WebtoonsFR : Webtoons("Webtoons.com", "https://www.webtoons.com", "fr", dateFormat = SimpleDateFormat("d MMM yyyy", Locale.FRENCH))
|
||||
class WebtoonsZH : Webtoons("Webtoons.com", "https://www.webtoons.com", "zh", "zh-hant", "zh_TW", SimpleDateFormat("yyyy/MM/dd", Locale.TRADITIONAL_CHINESE))
|
||||
class WebtoonsZH : Webtoons("Webtoons.com", "https://www.webtoons.com", "zh-Hant", "zh-hant", "zh_TW", SimpleDateFormat("yyyy/MM/dd", Locale.TRADITIONAL_CHINESE)) {
|
||||
// Due to lang code getting more specific
|
||||
override val id: Long = 2959982438613576472
|
||||
}
|
||||
class WebtoonsDE : Webtoons("Webtoons.com", "https://www.webtoons.com", "de", dateFormat = SimpleDateFormat("dd.MM.yyyy", Locale.GERMAN))
|
||||
|
|
|
@ -13,7 +13,7 @@ class WebtoonsGenerator : ThemeSourceGenerator {
|
|||
override val baseVersionCode: Int = 2
|
||||
|
||||
override val sources = listOf(
|
||||
MultiLang("Webtoons.com", "https://www.webtoons.com", listOf("en", "fr", "es", "id", "th", "zh"), className = "WebtoonsFactory", pkgName = "webtoons", overrideVersionCode = 31),
|
||||
MultiLang("Webtoons.com", "https://www.webtoons.com", listOf("en", "fr", "es", "id", "th", "zh-Hant", "de"), className = "WebtoonsFactory", pkgName = "webtoons", overrideVersionCode = 32),
|
||||
SingleLang("Dongman Manhua", "https://www.dongmanmanhua.cn", "zh")
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue