fix(plot): EXPORTPDF proposes PDF after EXPORTSVG; SVG strings in every locale

EXPORTSVG left the plot dialog's SVG device on, so a later EXPORTPDF still
offered a .svg file. The SVG save dialog and plot button texts had no
catalog entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-12 00:20:20 +03:00
1 parent fb474eb77c
commit 64e9b612cb
24 files changed
+74 -1

No files matched your search

+5 -1
View File
@@ -967,7 +967,11 @@ impl OpenCADStudio {
self.command_line.push_output(&line);
}
}
"EXPORT" | "EXPORTPDF" => {
"EXPORT" => {
return Some(Task::done(Message::PlotExport));
}
"EXPORTPDF" => {
self.plot_dialog.file_svg = false;
return Some(Task::done(Message::PlotExport));
}
// EXPORTSVG — the same direct export, but the save dialog