More descriptive "Unknown"s in manga info

This commit is contained in:
arkon 2020-06-25 18:17:17 -04:00
parent 04d83e9a6a
commit da0671ad62
2 changed files with 4 additions and 2 deletions

View File

@ -185,7 +185,7 @@ class MangaInfoHeaderAdapter(
// Update author TextView.
binding.mangaAuthor.text = if (manga.author.isNullOrBlank()) {
view.context.getString(R.string.unknown)
view.context.getString(R.string.unknown_author)
} else {
manga.author
}
@ -217,7 +217,7 @@ class MangaInfoHeaderAdapter(
SManga.ONGOING -> R.string.ongoing
SManga.COMPLETED -> R.string.completed
SManga.LICENSED -> R.string.licensed
else -> R.string.unknown
else -> R.string.unknown_status
}
)

View File

@ -457,6 +457,8 @@
<string name="description">Description</string>
<string name="ongoing">Ongoing</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="add_to_library">Add to library</string>
<string name="in_library">In library</string>