Add Spanish and Spanish Translation to Webtoons (#5401)

* Added Spanish and Spanish Traslation

* Update build.gradle

* Update WebtoonsFactory.kt
This commit is contained in:
Johannes Joens 2021-01-14 09:39:56 +13:00 committed by GitHub
parent f55ce85459
commit d69bf37f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Webtoons' extName = 'Webtoons'
pkgNameSuffix = 'all.webtoons' pkgNameSuffix = 'all.webtoons'
extClass = '.WebtoonsFactory' extClass = '.WebtoonsFactory'
extVersionCode = 22 extVersionCode = 23
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -13,6 +13,7 @@ class WebtoonsFactory : SourceFactory {
WebtoonsIndonesian(), WebtoonsIndonesian(),
WebtoonsThai(), WebtoonsThai(),
WebtoonsFr(), WebtoonsFr(),
WebtoonsEs(),
DongmanManhua(), DongmanManhua(),
// Fan translations // Fan translations
@ -46,7 +47,8 @@ class WebtoonsFactory : SourceFactory {
WebtoonsTranslate("sv", "SWE"), WebtoonsTranslate("sv", "SWE"),
WebtoonsTranslate("bn", "BEN"), WebtoonsTranslate("bn", "BEN"),
WebtoonsTranslate("fa", "PER"), WebtoonsTranslate("fa", "PER"),
WebtoonsTranslate("uk", "UKR") WebtoonsTranslate("uk", "UKR"),
WebtoonsTranslate("es", "SPA")
) )
} }
@ -74,3 +76,5 @@ class WebtoonsThai : WebtoonsDefault("th", dateFormat = SimpleDateFormat("d MMM
class WebtoonsChineseTraditional : WebtoonsDefault("zh", "zh-hant", "zh_TW", SimpleDateFormat("yyyy/MM/dd", Locale.TRADITIONAL_CHINESE)) class WebtoonsChineseTraditional : WebtoonsDefault("zh", "zh-hant", "zh_TW", SimpleDateFormat("yyyy/MM/dd", Locale.TRADITIONAL_CHINESE))
class WebtoonsFr : WebtoonsDefault("fr", dateFormat = SimpleDateFormat("d MMM yyyy", Locale.FRENCH)) class WebtoonsFr : WebtoonsDefault("fr", dateFormat = SimpleDateFormat("d MMM yyyy", Locale.FRENCH))
class WebtoonsEs : WebtoonsDefault("es", dateFormat = SimpleDateFormat("d MMM yyyy", Locale("es")))