mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
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:
1 parent
3f2aea4d08
commit
1eb1e154ab
35 files changed
+309
-21
No files matched your search
@@ -1579,6 +1579,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>
|
||||
|
||||
Reference in new issue
Block a user