Localize/reword "Loader not implemented" error message

This commit is contained in:
arkon 2020-06-17 09:09:01 -04:00
parent e06a488af8
commit e17605f8d9
2 changed files with 2 additions and 1 deletions

View File

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

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>