Confirm navigation during File Manager operations

Description:
- Ask for confirmation when Exit, Return to start, Android Back, or the parent-folder controls are used while a file operation is active.
- Accept cancels the active job and waits for it to finish before navigating; Decline keeps the File Manager open and lets the operation continue.
- Track single-file operations as jobs and handle Back from the file picker root through the same navigation guard.
- Translate the existing Exit, Return, and unavailable-folder labels plus the new confirmation dialog in all 32 supported locale resource sets.

Why it was needed:
- Leaving the File Manager while a batch copy, move, or delete is running cancels its composition-bound coroutine, which can stop the batch after only some files are processed without a clear result.
- The new File Manager controls previously appeared in English when the app was set to another supported language.
This commit is contained in:
K11MCH1 committed 2026-10-22 20:27:07 +09:00
1 parent 3f2aea4d08
commit 1eb1e154ab
35 files changed
+309 -21

No files matched your search

+7
View File
@@ -1503,6 +1503,13 @@
<string name="fm_conflict_skip">Spring over</string>
<string name="fm_select_this_folder">Vælg denne mappe</string>
<string name="fm_back">Tilbage</string>
<string name="fm_exit">Afslut</string>
<string name="fm_return_to_start">Tilbage til startmappen</string>
<string name="fm_start_unavailable">Startmappen er ikke længere tilgængelig</string>
<string name="fm_cancel_operation_title">Annuller handlingen?</string>
<string name="fm_cancel_operation_confirmation">Handlingen bliver annulleret. Er du sikker?</string>
<string name="fm_accept">Accepter</string>
<string name="fm_decline">Afvis</string>
<string name="fm_drive_not_readable">%1$s er monteret, men kan ikke læses lige nu</string>
<string name="fm_list_view">Listevisning</string>
<string name="fm_grid_view">Gittervisning</string>