mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-25 02:18:24 +01:00
More descriptive "Unknown"s in manga info
This commit is contained in:
parent
04d83e9a6a
commit
da0671ad62
@ -185,7 +185,7 @@ class MangaInfoHeaderAdapter(
|
|||||||
|
|
||||||
// Update author TextView.
|
// Update author TextView.
|
||||||
binding.mangaAuthor.text = if (manga.author.isNullOrBlank()) {
|
binding.mangaAuthor.text = if (manga.author.isNullOrBlank()) {
|
||||||
view.context.getString(R.string.unknown)
|
view.context.getString(R.string.unknown_author)
|
||||||
} else {
|
} else {
|
||||||
manga.author
|
manga.author
|
||||||
}
|
}
|
||||||
@ -217,7 +217,7 @@ class MangaInfoHeaderAdapter(
|
|||||||
SManga.ONGOING -> R.string.ongoing
|
SManga.ONGOING -> R.string.ongoing
|
||||||
SManga.COMPLETED -> R.string.completed
|
SManga.COMPLETED -> R.string.completed
|
||||||
SManga.LICENSED -> R.string.licensed
|
SManga.LICENSED -> R.string.licensed
|
||||||
else -> R.string.unknown
|
else -> R.string.unknown_status
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -457,6 +457,8 @@
|
|||||||
<string name="description">Description</string>
|
<string name="description">Description</string>
|
||||||
<string name="ongoing">Ongoing</string>
|
<string name="ongoing">Ongoing</string>
|
||||||
<string name="unknown">Unknown</string>
|
<string name="unknown">Unknown</string>
|
||||||
|
<string name="unknown_author">Unknown author</string>
|
||||||
|
<string name="unknown_status">Unknown status</string>
|
||||||
<string name="licensed">Licensed</string>
|
<string name="licensed">Licensed</string>
|
||||||
<string name="add_to_library">Add to library</string>
|
<string name="add_to_library">Add to library</string>
|
||||||
<string name="in_library">In library</string>
|
<string name="in_library">In library</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user