diff --git a/src/ru/remanga/build.gradle b/src/ru/remanga/build.gradle index 0003cc68d..a6ca0975a 100644 --- a/src/ru/remanga/build.gradle +++ b/src/ru/remanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Remanga' pkgNameSuffix = 'ru.remanga' extClass = '.Remanga' - extVersionCode = 16 + extVersionCode = 17 libVersion = '1.2' } diff --git a/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt b/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt index 6c4246cae..19a92f5ad 100644 --- a/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt +++ b/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt @@ -137,7 +137,8 @@ class Remanga : ConfigurableSource, HttpSource() { private fun LibraryDto.toSManga(): SManga = SManga.create().apply { - title = en_name + "\n" + rus_name + // Do not change the title name to ensure work with a multilingual catalog! + title = en_name url = "/api/titles/$dir/" thumbnail_url = "$baseUrl/${img.high}" } @@ -213,10 +214,11 @@ class Remanga : ConfigurableSource, HttpSource() { private fun MangaDetDto.toSManga(): SManga { val o = this return SManga.create().apply { - title = en_name + "\n" + rus_name + // Do not change the title name to ensure work with a multilingual catalog! + title = en_name url = "/api/titles/$dir/" thumbnail_url = "$baseUrl/${img.high}" - this.description = Jsoup.parse(o.description).text() + this.description = "Русское название: " + rus_name + "\n" + Jsoup.parse(o.description).text() genre = (genres + parseType(type)).joinToString { it.name } status = parseStatus(o.status.id) }