From e17605f8d9566f0e9cd29ea47c6241b0f1d117b1 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 17 Jun 2020 09:09:01 -0400 Subject: [PATCH] Localize/reword "Loader not implemented" error message --- .../java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt | 2 +- app/src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt index 64c80c0de..efdc8e504 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/ChapterLoader.kt @@ -87,7 +87,7 @@ class ChapterLoader( is LocalSource.Format.Epub -> EpubPageLoader(format.file) } } - else -> error("Loader not implemented") + else -> error(context.getString(R.string.loader_not_implemented_error)) } } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4b6923167..ca61336c3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -560,6 +560,7 @@ Loading pages… Failed to load pages: %1$s No pages found + Source not found Updating library