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
@@ -1541,6 +1541,13 @@
<string name="fm_conflict_skip">Přeskočit</string>
<string name="fm_select_this_folder">Vybrat tuto složku</string>
<string name="fm_back">Zpět</string>
<string name="fm_exit">Ukončit</string>
<string name="fm_return_to_start">Zpět do výchozí složky</string>
<string name="fm_start_unavailable">Výchozí složka již není dostupná</string>
<string name="fm_cancel_operation_title">Zrušit operaci?</string>
<string name="fm_cancel_operation_confirmation">Operace bude zrušena. Opravdu chcete pokračovat?</string>
<string name="fm_accept">Přijmout</string>
<string name="fm_decline">Odmítnout</string>
<string name="fm_drive_not_readable">%1$s je připojeno, ale momentálně není čitelné</string>
<string name="fm_list_view">Zobrazení seznamu</string>
<string name="fm_grid_view">Zobrazení mřížky</string>