Localize the similar manga no results error

This commit is contained in:
Jobobby04 2020-11-29 20:38:07 -05:00
parent 2e75cc0cc9
commit 5b54fc8885
2 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class MangaDexSimilarController(bundle: Bundle) : BrowseSourceController(bundle)
override fun onAddPageError(error: Throwable) { override fun onAddPageError(error: Throwable) {
super.onAddPageError(error) super.onAddPageError(error)
binding.emptyView.show("No Similar Manga found") binding.emptyView.show(activity!!.getString(R.string.similar_no_results))
} }
companion object { companion object {

View File

@ -604,6 +604,7 @@
<string name="similar_credit_message"> <string name="similar_credit_message">
For more information and to view the source code:\n%s For more information and to view the source code:\n%s
</string> </string>
<string name="similar_no_results">No Similar Manga found</string>
<!-- Humanize time --> <!-- Humanize time -->
<plurals name="humanize_year"> <plurals name="humanize_year">