Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

feat: add export save dialog retry action

webadderalla13bbc8f1da8
diff --git a/src/components/video-editor/ExportDialog.tsx b/src/components/video-editor/ExportDialog.tsx
index 2b5267e6..94a39b81 100644
--- a/src/components/video-editor/ExportDialog.tsx
+++ b/src/components/video-editor/ExportDialog.tsx
@@ -184,12 +184,23 @@ export function ExportDialog({
onClick={onRetrySave}
className="w-full mt-3 bg-[#2563EB] text-white hover:bg-[#1D4ED8]"
>
- Save Again
+ {t('export.reopenSaveDialog')}
</Button>
)}
</div>
)}
+ {!isExporting && !error && canRetrySave && onRetrySave && (
+ <div className="mb-6 animate-in slide-in-from-top-2">
+ <Button
+ onClick={onRetrySave}
+ className="w-full bg-[#2563EB] text-white hover:bg-[#1D4ED8]"
+ >
+ {t('export.reopenSaveDialog')}
+ </Button>
+ </div>
+ )}
+
{isExporting && progress && (
<div className="space-y-6">
<div className="space-y-2">
diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx
index 6bc2cdfb..487b009b 100644
--- a/src/components/video-editor/SettingsPanel.tsx
+++ b/src/components/video-editor/SettingsPanel.tsx
@@ -231,7 +231,6 @@ export function SettingsPanel({
cropRegion,
onCropChange,
aspectRatio,
- onAspectRatioChange,
videoElement,
exportQuality = "good",
onExportQualityChange,
diff --git a/src/i18n/locales/en/dialogs.json b/src/i18n/locales/en/dialogs.json
index 0fa405e0..97d931a2 100644
--- a/src/i18n/locales/en/dialogs.json
+++ b/src/i18n/locales/en/dialogs.json
@@ -18,6 +18,7 @@
"compilingStatus": "Compiling...",
"frames": "Frames",
"cancelExport": "Cancel Export",
+ "reopenSaveDialog": "Open Save Dialog Again",
"savedSuccess": "{{format}} saved successfully!"
},
"addFont": {
diff --git a/src/i18n/locales/es/dialogs.json b/src/i18n/locales/es/dialogs.json
index 283682b5..e6203e66 100644
--- a/src/i18n/locales/es/dialogs.json
+++ b/src/i18n/locales/es/dialogs.json
@@ -18,6 +18,7 @@
"compilingStatus": "Compilando...",
"frames": "Cuadros",
"cancelExport": "Cancelar exportación",
+ "reopenSaveDialog": "Abrir de nuevo el diálogo de guardado",
"savedSuccess": "¡{{format}} guardado exitosamente!"
},
"addFont": {
diff --git a/src/i18n/locales/zh-CN/dialogs.json b/src/i18n/locales/zh-CN/dialogs.json
index a1749127..9642d2e9 100644
--- a/src/i18n/locales/zh-CN/dialogs.json
+++ b/src/i18n/locales/zh-CN/dialogs.json
@@ -18,6 +18,7 @@
"compilingStatus": "正在编译...",
"frames": "帧",
"cancelExport": "取消导出",
+ "reopenSaveDialog": "再次打开保存对话框",
"savedSuccess": "{{format}} 保存成功!"
},
"addFont": {