Improved the showing of the warning dialog so that all the instructions are clear to the user.

This commit is contained in:
MohitMaliFtechiz 2025-01-09 16:07:13 +05:30 committed by Kelson
parent 10734ec75f
commit c69efb1523
2 changed files with 4 additions and 3 deletions

View File

@ -119,8 +119,8 @@ sealed class KiwixDialog(
)
data object ShowWarningAboutSplittedZimFile : KiwixDialog(
null,
R.string.ensure_zim_chunk_copied_moved_properly,
R.string.verify_zim_chunk_dialog_title,
R.string.verify_zim_chunks_dialog_message,
R.string.view,
android.R.string.ok,
cancelable = false

View File

@ -334,7 +334,8 @@
<string name="moving_zim_file">Moving ZIM file…</string>
<string name="copy_move_files_dialog_description">Kiwix requires the ZIM file to be in its own data directory. Do you want to copy or move it there?</string>
<string name="copy_file_error_message">Error in copying the ZIM file: %s.</string>
<string name="ensure_zim_chunk_copied_moved_properly">Be cautious: Ensure all ZIM chunks have been properly moved or copied. You can verify them by clicking the “View” button. Once done, refresh the library screen by swiping down. The split ZIM file will then appear in your library.</string>
<string name="verify_zim_chunk_dialog_title">Be cautious: Ensure all ZIM chunks have been properly moved/copied!</string>
<string name="verify_zim_chunks_dialog_message">You can verify them by clicking the “View” button. Once done, refresh the library screen by swiping down. The split ZIM file will then appear in your library.</string>
<string name="view">View</string>
<string name="why_copy_move_files_to_app_directory">Why copy/move files to app public directory?</string>
<string name="copy_move_files_to_app_directory_description">Due to Google Play policies on Android 11 and above, our app can no longer directly access files stored elsewhere on your device. To let you view your selected files, we need to move or copy them into a special folder within our application directory. This allows us to access and open the files.</string>