[Hitomi] Add Japanese Title for Manga Description (#4641)
This commit is contained in:
parent
0321569d77
commit
779155707a
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Hitomi'
|
extName = 'Hitomi'
|
||||||
extClass = '.HitomiFactory'
|
extClass = '.HitomiFactory'
|
||||||
extVersionCode = 32
|
extVersionCode = 33
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -517,6 +517,9 @@ class Hitomi(
|
||||||
"https://${subDomain}tn.$domain/webpbigtn/${thumbPathFromHash(hash)}/$hash.webp"
|
"https://${subDomain}tn.$domain/webpbigtn/${thumbPathFromHash(hash)}/$hash.webp"
|
||||||
}
|
}
|
||||||
description = buildString {
|
description = buildString {
|
||||||
|
japaneseTitle?.let {
|
||||||
|
append("Japanese title: ", it, "\n")
|
||||||
|
}
|
||||||
parodys?.joinToString { it.formatted }?.let {
|
parodys?.joinToString { it.formatted }?.let {
|
||||||
append("Series: ", it, "\n")
|
append("Series: ", it, "\n")
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ import kotlinx.serialization.json.JsonPrimitive
|
||||||
class Gallery(
|
class Gallery(
|
||||||
val galleryurl: String,
|
val galleryurl: String,
|
||||||
val title: String,
|
val title: String,
|
||||||
|
val japaneseTitle: String?,
|
||||||
val date: String,
|
val date: String,
|
||||||
val type: String?,
|
val type: String?,
|
||||||
val language: String?,
|
val language: String?,
|
||||||
|
|
Loading…
Reference in New Issue