mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 02:21:51 +01:00
Russian types of manga (#360)
This commit is contained in:
parent
6ffba8ac6f
commit
a4e94c1e05
@ -67,23 +67,23 @@ interface Manga : SManga {
|
|||||||
val currentTags = genre?.split(",")?.map { it.trim().toLowerCase(Locale.US) }
|
val currentTags = genre?.split(",")?.map { it.trim().toLowerCase(Locale.US) }
|
||||||
return if (currentTags?.any
|
return if (currentTags?.any
|
||||||
{ tag ->
|
{ tag ->
|
||||||
tag.startsWith("japanese") || tag == "manga"
|
tag.startsWith("japanese") || tag == "manga" || tag == "манга"
|
||||||
} == true)
|
} == true)
|
||||||
TYPE_MANGA
|
TYPE_MANGA
|
||||||
else if (currentTags?.any
|
else if (currentTags?.any
|
||||||
{ tag ->
|
{ tag ->
|
||||||
tag.startsWith("english") || tag == "comic"
|
tag.startsWith("english") || tag == "comic" || tag == "комикс"
|
||||||
} == true || isComicSource(sourceName))
|
} == true || isComicSource(sourceName))
|
||||||
TYPE_COMIC
|
TYPE_COMIC
|
||||||
else if (currentTags?.any
|
else if (currentTags?.any
|
||||||
{ tag ->
|
{ tag ->
|
||||||
tag.startsWith("chinese") || tag == "manhua"
|
tag.startsWith("chinese") || tag == "manhua" || tag == "маньхуа"
|
||||||
} == true ||
|
} == true ||
|
||||||
sourceName.contains("manhua", true))
|
sourceName.contains("manhua", true))
|
||||||
TYPE_MANHUA
|
TYPE_MANHUA
|
||||||
else if (currentTags?.any
|
else if (currentTags?.any
|
||||||
{ tag ->
|
{ tag ->
|
||||||
tag == "long strip" || tag == "manhwa"
|
tag == "long strip" || tag == "manhwa" || tag == "манхва"
|
||||||
} == true || isWebtoonSource(sourceName))
|
} == true || isWebtoonSource(sourceName))
|
||||||
TYPE_MANHWA
|
TYPE_MANHWA
|
||||||
else if (currentTags?.any
|
else if (currentTags?.any
|
||||||
|
Loading…
Reference in New Issue
Block a user