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
+3
View File
@@ -851,7 +851,10 @@ export const dict = {
'filesView.dialog.delete.confirm': 'Delete',
'filesView.editor.saving': 'Saving...',
'filesView.editor.saved': 'Saved',
'filesView.editor.autoSaveOn': 'Auto-save on',
'filesView.editor.manualSave': 'Manual save',
'filesView.editor.saveNowTitle': 'Save now ({shortcut}) - auto-saves after 1.5s',
'filesView.editor.saveNowManualTitle': 'Save now ({shortcut})',
'filesView.editor.saveAria': 'Save ({shortcut})',
'filesView.editor.openInDesktopApp': 'Open in desktop app',
'filesView.editor.refreshApps': 'Refresh Apps',
+3
View File
@@ -817,7 +817,10 @@ export const dict: Record<I18nKey, string> = {
"filesView.dialog.delete.confirm": "Eliminar",
"filesView.editor.saving": "Guardando...",
"filesView.editor.saved": "Guardado",
"filesView.editor.autoSaveOn": "Guardado automático activado",
"filesView.editor.manualSave": "Guardado manual",
"filesView.editor.saveNowTitle": "Guardar ahora ({shortcut}) - se guarda automáticamente después de 1.5 segundos",
"filesView.editor.saveNowManualTitle": "Guardar ahora ({shortcut})",
"filesView.editor.saveAria": "Guardar ({shortcut})",
"filesView.editor.openInDesktopApp": "Abrir en la aplicación de escritorio",
"filesView.editor.refreshApps": "Actualizar aplicaciones",
+3
View File
@@ -854,7 +854,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': '앱 새로고침',
@@ -817,7 +817,10 @@ export const dict: Record<I18nKey, string> = {
"filesView.dialog.delete.confirm": "Excluir",
"filesView.editor.saving": "Salvando...",
"filesView.editor.saved": "Salvo",
"filesView.editor.autoSaveOn": "Salvamento automático ativado",
"filesView.editor.manualSave": "Salvamento manual",
"filesView.editor.saveNowTitle": "Salvar agora ({shortcut}) - salva automaticamente após 1,5 segundo",
"filesView.editor.saveNowManualTitle": "Salvar agora ({shortcut})",
"filesView.editor.saveAria": "Salvar ({shortcut})",
"filesView.editor.openInDesktopApp": "Abrir no aplicativo de desktop",
"filesView.editor.refreshApps": "Atualizar aplicativos",
+3
View File
@@ -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": "Оновити застосунки",
@@ -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': '刷新应用',