[Hitomi] Add Japanese Title for Manga Description (#4641)

This commit is contained in:
子斗子 2024-08-16 14:28:45 +08:00 committed by Draff
parent 0321569d77
commit 779155707a
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
3 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Hitomi'
extClass = '.HitomiFactory'
extVersionCode = 32
extVersionCode = 33
isNsfw = true
}

View File

@ -517,6 +517,9 @@ class Hitomi(
"https://${subDomain}tn.$domain/webpbigtn/${thumbPathFromHash(hash)}/$hash.webp"
}
description = buildString {
japaneseTitle?.let {
append("Japanese title: ", it, "\n")
}
parodys?.joinToString { it.formatted }?.let {
append("Series: ", it, "\n")
}

View File

@ -7,6 +7,7 @@ import kotlinx.serialization.json.JsonPrimitive
class Gallery(
val galleryurl: String,
val title: String,
val japaneseTitle: String?,
val date: String,
val type: String?,
val language: String?,