Prechádzať zdrojové kódy

More descriptive "Unknown"s in manga info

arkon 4 rokov pred
rodič
commit
da0671ad62

+ 2 - 2
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
                 }
             )
 

+ 2 - 0
app/src/main/res/values/strings.xml

@@ -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>