fix(settings): confirm before discarding unsaved settings

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-17 14:52:00 +08:00
1 parent 9dbb2ef72f
commit 6a25bd1909
12 files changed
+160 -3

No files matched your search

+4
View File
@@ -5807,6 +5807,10 @@ export default {
duckDbWorkerProcessIsolationRestartRequired: "Restart DBX for this change to take effect.",
restartDbx: "Restart DBX",
restartDbxFailed: "Failed to restart DBX: {error}",
unsavedChangesCloseTitle: "Unsaved changes",
unsavedChangesCloseMessage: "You have unsaved settings changes that will be lost if you close now. Discard these changes?",
unsavedChangesCloseCancel: "Keep editing",
unsavedChangesCloseDiscard: "Discard changes",
debugLogsCopy: "Copy logs",
debugLogsCopied: "Copied",
debugLogsDownload: "Download logs",
+4
View File
@@ -5548,6 +5548,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "Reinicia DBX para que este cambio surta efecto.",
restartDbx: "Reiniciar DBX",
restartDbxFailed: "No se pudo reiniciar DBX: {error}",
unsavedChangesCloseTitle: "Cambios sin guardar",
unsavedChangesCloseMessage: "Tienes cambios de configuración sin guardar que se perderán si cierras ahora. ¿Descartar estos cambios?",
unsavedChangesCloseCancel: "Seguir editando",
unsavedChangesCloseDiscard: "Descartar cambios",
debugLogsCopy: "Copiar logs",
debugLogsCopied: "Copiado",
debugLogsDownload: "Descargar logs",
+4
View File
@@ -5548,6 +5548,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "Riavvia DBX affinché questa modifica abbia effetto.",
restartDbx: "Riavvia DBX",
restartDbxFailed: "Impossibile riavviare DBX: {error}",
unsavedChangesCloseTitle: "Modifiche non salvate",
unsavedChangesCloseMessage: "Ci sono modifiche alle impostazioni non salvate che andranno perse se chiudi ora. Vuoi scartare queste modifiche?",
unsavedChangesCloseCancel: "Continua a modificare",
unsavedChangesCloseDiscard: "Scarta modifiche",
debugLogsCopy: "Copia log",
debugLogsCopied: "Copiati",
debugLogsDownload: "Scarica log",
+4
View File
@@ -5583,6 +5583,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "この変更を有効にするには DBX を再起動してください。",
restartDbx: "DBX を再起動",
restartDbxFailed: "DBX の再起動に失敗しました: {error}",
unsavedChangesCloseTitle: "未保存の変更",
unsavedChangesCloseMessage: "未保存の設定変更があります。今すぐ閉じると失われます。これらの変更を破棄しますか?",
unsavedChangesCloseCancel: "編集を続ける",
unsavedChangesCloseDiscard: "変更を破棄",
debugLogsCopy: "ログをコピー",
debugLogsCopied: "コピーしました",
debugLogsDownload: "ログをダウンロード",
+4
View File
@@ -5277,6 +5277,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "이 변경 사항을 적용하려면 DBX를 다시 시작하세요.",
restartDbx: "DBX 다시 시작",
restartDbxFailed: "DBX 다시 시작 실패: {error}",
unsavedChangesCloseTitle: "저장하지 않은 변경 사항",
unsavedChangesCloseMessage: "저장하지 않은 설정 변경 사항이 있습니다. 지금 닫으면 사라집니다. 이 변경 사항을 취소하시겠습니까?",
unsavedChangesCloseCancel: "계속 편집",
unsavedChangesCloseDiscard: "변경 사항 취소",
debugLogsCopy: "로그 복사",
debugLogsCopied: "복사했습니다",
debugLogsDownload: "로그 다운로드",
+4
View File
@@ -5550,6 +5550,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "Reinicie o DBX para que esta alteração entre em vigor.",
restartDbx: "Reiniciar DBX",
restartDbxFailed: "Falha ao reiniciar o DBX: {error}",
unsavedChangesCloseTitle: "Alterações não salvas",
unsavedChangesCloseMessage: "Você tem alterações de configuração não salvas que serão perdidas se fechar agora. Descartar essas alterações?",
unsavedChangesCloseCancel: "Continuar editando",
unsavedChangesCloseDiscard: "Descartar alterações",
debugLogsCopy: "Copiar logs",
debugLogsCopied: "Copiado",
debugLogsDownload: "Baixar logs",
+4
View File
@@ -5794,6 +5794,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "重启 DBX 后生效。",
restartDbx: "重启 DBX",
restartDbxFailed: "重启 DBX 失败:{error}",
unsavedChangesCloseTitle: "未保存的更改",
unsavedChangesCloseMessage: "当前设置有未保存的更改,关闭后将丢失。是否放弃这些更改?",
unsavedChangesCloseCancel: "继续编辑",
unsavedChangesCloseDiscard: "放弃更改",
debugLogsCopy: "复制日志",
debugLogsCopied: "已复制",
debugLogsDownload: "下载日志",
+4
View File
@@ -4885,6 +4885,10 @@ export default withEnglishFallback({
duckDbWorkerProcessIsolationRestartRequired: "重啟 DBX 後生效。",
restartDbx: "重啟 DBX",
restartDbxFailed: "重啟 DBX 失敗:{error}",
unsavedChangesCloseTitle: "未儲存的變更",
unsavedChangesCloseMessage: "目前設定有未儲存的變更,關閉後將遺失。是否放棄這些變更?",
unsavedChangesCloseCancel: "繼續編輯",
unsavedChangesCloseDiscard: "放棄變更",
debugLogsCopy: "複製日誌",
debugLogsCopied: "已複製",
debugLogsDownload: "下載日誌",