diff --git a/lib-multisrc/madara/assets/i18n/messages_en.properties b/lib-multisrc/madara/assets/i18n/messages_en.properties index 4d11ccc50..ea433fb76 100644 --- a/lib-multisrc/madara/assets/i18n/messages_en.properties +++ b/lib-multisrc/madara/assets/i18n/messages_en.properties @@ -24,4 +24,4 @@ adult_content_filter_only=Only genre_filter_header=Genres filter may not work for all sources genre_filter_title=Genres genre_missing_warning=Press 'Reset' to attempt to show the genres -alt_names_heading=Alternative Names: +alt_names_heading=Alternative Names: diff --git a/lib-multisrc/madara/assets/i18n/messages_es.properties b/lib-multisrc/madara/assets/i18n/messages_es.properties new file mode 100644 index 000000000..a9d9f35a7 --- /dev/null +++ b/lib-multisrc/madara/assets/i18n/messages_es.properties @@ -0,0 +1,26 @@ +author_filter_title=Autor +artist_filter_title=Artista +year_filter_title=Año de lanzamiento +status_filter_title=Estado +status_filter_completed=Completado +status_filter_ongoing=En curso +status_filter_canceled=Cancelado +status_filter_on_hold=En pausa +order_by_filter_title=Ordenar por +order_by_filter_relevance=Relevancia +order_by_filter_latest=Reciente +order_by_filter_rating=Valoración +order_by_filter_trending=Tendencia +order_by_filter_views=Vistas +order_by_filter_new=Nuevos +genre_condition_filter_title=Condición de género +genre_condition_filter_or=O +genre_condition_filter_and=Y +adult_content_filter_title=Contenido adulto +adult_content_filter_all=Todos +adult_content_filter_none=Ninguno +adult_content_filter_only=Solo +genre_filter_header=Es posible que el filtro de géneros no funcione correctamente +genre_filter_title=Géneros +genre_missing_warning=Presione 'Restablecer' para intentar mostrar los géneros +alt_names_heading=Nombres Alternativos: diff --git a/lib-multisrc/madara/assets/i18n/messages_pt_br.properties b/lib-multisrc/madara/assets/i18n/messages_pt_br.properties index 8a25ed24b..fb90ab4aa 100644 --- a/lib-multisrc/madara/assets/i18n/messages_pt_br.properties +++ b/lib-multisrc/madara/assets/i18n/messages_pt_br.properties @@ -23,4 +23,4 @@ adult_content_filter_only=Somente genre_filter_header=O filtro de gêneros pode não funcionar genre_filter_title=Gêneros genre_missing_warning=Aperte 'Redefinir' para tentar mostrar os gêneros -alt_names_heading=Nomes alternativos: +alt_names_heading=Nomes alternativos: diff --git a/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt b/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt index 5f15ca304..11733a098 100644 --- a/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt +++ b/lib-multisrc/madara/src/eu/kanade/tachiyomi/multisrc/madara/Madara.kt @@ -59,7 +59,7 @@ abstract class Madara( protected val intl = Intl( language = lang, baseLanguage = "en", - availableLanguages = setOf("en", "pt-BR"), + availableLanguages = setOf("en", "pt-BR", "es"), classLoader = this::class.java.classLoader!!, ) @@ -712,8 +712,8 @@ abstract class Madara( document.selectFirst(altNameSelector)?.ownText()?.let { if (it.isBlank().not() && it.notUpdating()) { manga.description = when { - manga.description.isNullOrBlank() -> altName + it - else -> manga.description + "\n\n$altName" + it + manga.description.isNullOrBlank() -> "$altName " + it + else -> manga.description + "\n\n$altName " + it } } } diff --git a/src/es/mangafenix/build.gradle b/src/es/mangafenix/build.gradle index 0546093ee..b5d370ec0 100644 --- a/src/es/mangafenix/build.gradle +++ b/src/es/mangafenix/build.gradle @@ -1,9 +1,9 @@ ext { - extName = 'Manhua Fenix' - extClass = '.ManhuaFenix' + extName = 'MMFenix' + extClass = '.MMFenix' themePkg = 'madara' - baseUrl = 'https://visorfenix.com' - overrideVersionCode = 4 + baseUrl = 'https://mmfenix.com' + overrideVersionCode = 5 } apply from: "$rootDir/common.gradle" diff --git a/src/es/mangafenix/res/mipmap-hdpi/ic_launcher.png b/src/es/mangafenix/res/mipmap-hdpi/ic_launcher.png index 1be84987d..7336d734e 100644 Binary files a/src/es/mangafenix/res/mipmap-hdpi/ic_launcher.png and b/src/es/mangafenix/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/es/mangafenix/res/mipmap-mdpi/ic_launcher.png b/src/es/mangafenix/res/mipmap-mdpi/ic_launcher.png index 5829fc725..86001a400 100644 Binary files a/src/es/mangafenix/res/mipmap-mdpi/ic_launcher.png and b/src/es/mangafenix/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/es/mangafenix/res/mipmap-xhdpi/ic_launcher.png b/src/es/mangafenix/res/mipmap-xhdpi/ic_launcher.png index a44a26065..0af847928 100644 Binary files a/src/es/mangafenix/res/mipmap-xhdpi/ic_launcher.png and b/src/es/mangafenix/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/es/mangafenix/res/mipmap-xxhdpi/ic_launcher.png b/src/es/mangafenix/res/mipmap-xxhdpi/ic_launcher.png index 8c6a71a9d..e350bea1c 100644 Binary files a/src/es/mangafenix/res/mipmap-xxhdpi/ic_launcher.png and b/src/es/mangafenix/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/es/mangafenix/res/mipmap-xxxhdpi/ic_launcher.png b/src/es/mangafenix/res/mipmap-xxxhdpi/ic_launcher.png index db0346256..9a0726cc9 100644 Binary files a/src/es/mangafenix/res/mipmap-xxxhdpi/ic_launcher.png and b/src/es/mangafenix/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/es/mangafenix/src/eu/kanade/tachiyomi/extension/es/mangafenix/ManhuaFenix.kt b/src/es/mangafenix/src/eu/kanade/tachiyomi/extension/es/mangafenix/MMFenix.kt similarity index 65% rename from src/es/mangafenix/src/eu/kanade/tachiyomi/extension/es/mangafenix/ManhuaFenix.kt rename to src/es/mangafenix/src/eu/kanade/tachiyomi/extension/es/mangafenix/MMFenix.kt index 46516cd49..12f95515f 100644 --- a/src/es/mangafenix/src/eu/kanade/tachiyomi/extension/es/mangafenix/ManhuaFenix.kt +++ b/src/es/mangafenix/src/eu/kanade/tachiyomi/extension/es/mangafenix/MMFenix.kt @@ -6,16 +6,18 @@ import okhttp3.OkHttpClient import java.text.SimpleDateFormat import java.util.Locale -class ManhuaFenix : Madara( - "Manhua Fenix", - "https://visorfenix.com", +class MMFenix : Madara( + "MMFenix", + "https://mmfenix.com", "es", - SimpleDateFormat("dd MMMM, yyyy", Locale("es")), + SimpleDateFormat("MMMM dd, yyyy", Locale("es")), ) { override val id: Long = 19158964284779393 + override val useLoadMoreRequest = LoadMoreStrategy.Always + override val client: OkHttpClient = super.client.newBuilder() - .rateLimit(1) + .rateLimit(2) .build() }