Changes after review

This commit is contained in:
MohitMali 2022-04-22 11:44:28 +05:30
parent 578f3467ce
commit 3a80d0699d
2 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ class LocalLibraryFragment : BaseFragment() {
private fun navigateToReaderFragment(file: File) {
if (!file.canRead()) {
activity.toast(R.string.unable_to_read_file)
activity.toast(R.string.unable_to_read_zim_file)
} else {
activity?.navigate(
LocalLibraryFragmentDirections.actionNavigationLibraryToNavigationReader()

View File

@ -45,7 +45,7 @@
<string name="server_started_message" tools:keep="@string/server_started_message">Enter this ip address into your browser to access the server %s</string>
<string name="share_host_address">Share URL via other applications</string>
<string name="error_file_not_found">Error: The selected ZIM file could not be found.</string>
<string name="unable_to_read_file" translatable="false">Unable to read this zim file!</string>
<string name="unable_to_read_zim_file" translatable="false">Unable to read this zim file!</string>
<string name="zim_not_opened">Unable to open zim file</string>
<string name="error_file_invalid">Error: The selected file is not a valid ZIM file.</string>
<string name="error_article_url_not_found">Error: Loading article (Url: %1$s) failed.</string>