From da0671ad6213912f138398c258ba43e4e0d94f3d Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 25 Jun 2020 18:17:17 -0400 Subject: [PATCH] More descriptive "Unknown"s in manga info --- .../tachiyomi/ui/manga/chapter/MangaInfoHeaderAdapter.kt | 4 ++-- app/src/main/res/values/strings.xml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaInfoHeaderAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaInfoHeaderAdapter.kt index 731f5791e3..52fb56a308 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaInfoHeaderAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaInfoHeaderAdapter.kt @@ -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 } ) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0a8ac7df76..971d3c9820 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -457,6 +457,8 @@ Description Ongoing Unknown + Unknown author + Unknown status Licensed Add to library In library