From d69bf37f73af2c8e2b392498c0b27d0cf062468e Mon Sep 17 00:00:00 2001 From: Johannes Joens <34899572+jopejoe1@users.noreply.github.com> Date: Thu, 14 Jan 2021 09:39:56 +1300 Subject: [PATCH] Add Spanish and Spanish Translation to Webtoons (#5401) * Added Spanish and Spanish Traslation * Update build.gradle * Update WebtoonsFactory.kt --- src/all/webtoons/build.gradle | 2 +- .../tachiyomi/extension/all/webtoons/WebtoonsFactory.kt | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/all/webtoons/build.gradle b/src/all/webtoons/build.gradle index f00bd874d..4a6d4778b 100644 --- a/src/all/webtoons/build.gradle +++ b/src/all/webtoons/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Webtoons' pkgNameSuffix = 'all.webtoons' extClass = '.WebtoonsFactory' - extVersionCode = 22 + extVersionCode = 23 libVersion = '1.2' } diff --git a/src/all/webtoons/src/eu/kanade/tachiyomi/extension/all/webtoons/WebtoonsFactory.kt b/src/all/webtoons/src/eu/kanade/tachiyomi/extension/all/webtoons/WebtoonsFactory.kt index 73d71d7b8..d2606e81d 100644 --- a/src/all/webtoons/src/eu/kanade/tachiyomi/extension/all/webtoons/WebtoonsFactory.kt +++ b/src/all/webtoons/src/eu/kanade/tachiyomi/extension/all/webtoons/WebtoonsFactory.kt @@ -13,6 +13,7 @@ class WebtoonsFactory : SourceFactory { WebtoonsIndonesian(), WebtoonsThai(), WebtoonsFr(), + WebtoonsEs(), DongmanManhua(), // Fan translations @@ -46,7 +47,8 @@ class WebtoonsFactory : SourceFactory { WebtoonsTranslate("sv", "SWE"), WebtoonsTranslate("bn", "BEN"), 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 WebtoonsFr : WebtoonsDefault("fr", dateFormat = SimpleDateFormat("d MMM yyyy", Locale.FRENCH)) + +class WebtoonsEs : WebtoonsDefault("es", dateFormat = SimpleDateFormat("d MMM yyyy", Locale("es")))