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
@@ -1484,6 +1484,13 @@
<string name="fm_conflict_skip">スキップ</string>
<string name="fm_select_this_folder">このフォルダを選択</string>
<string name="fm_back">戻る</string>
<string name="fm_exit">終了</string>
<string name="fm_return_to_start">開始フォルダーに戻る</string>
<string name="fm_start_unavailable">開始フォルダーは利用できなくなりました</string>
<string name="fm_cancel_operation_title">操作をキャンセルしますか?</string>
<string name="fm_cancel_operation_confirmation">操作がキャンセルされます。よろしいですか?</string>
<string name="fm_accept">承諾</string>
<string name="fm_decline">拒否</string>
<string name="fm_drive_not_readable">%1$sはマウントされていますが、現在読み取れません</string>
<string name="fm_list_view">リスト表示</string>
<string name="fm_grid_view">グリッド表示</string>