feat: add manual save mode to file editor

Added a persistent autosave toggle for file editing
Manual save mode applies across current and future opened files
Updated localized toolbar labels
This commit is contained in:
Bohdan Triapitsyn
2026-05-06 02:27:07 +03:00
parent b18886598c
commit 170d334921
7 changed files with 88 additions and 19 deletions
@@ -817,7 +817,10 @@ export const dict: Record<I18nKey, string> = {
'filesView.dialog.delete.confirm': '删除',
'filesView.editor.saving': '保存中...',
'filesView.editor.saved': '已保存',
'filesView.editor.autoSaveOn': '自动保存已开启',
'filesView.editor.manualSave': '手动保存',
'filesView.editor.saveNowTitle': '立即保存({shortcut})- 1.5 秒后自动保存',
'filesView.editor.saveNowManualTitle': '立即保存({shortcut})',
'filesView.editor.saveAria': '保存({shortcut})',
'filesView.editor.openInDesktopApp': '在桌面应用中打开',
'filesView.editor.refreshApps': '刷新应用',