Localize/reword "Loader not implemented" error message

(cherry picked from commit e17605f8d9566f0e9cd29ea47c6241b0f1d117b1)
This commit is contained in:
arkon 2020-06-17 09:09:01 -04:00 committed by Jobobby04
parent 09dd27a18e
commit faf4e29711
2 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,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))
}
}
}

View File

@ -560,6 +560,7 @@
<string name="transition_pages_loading">Loading pages…</string>
<string name="transition_pages_error">Failed to load pages: %1$s</string>
<string name="page_list_empty_error">No pages found</string>
<string name="loader_not_implemented_error">Source not found</string>
<!-- Updates fragment -->
<string name="updating_library">Updating library</string>