[TechDraw] Translations and grammer (#16301)

Co-authored-by: WandererFan <WandererFan@gmail.com>
This commit is contained in:
Benjamin Bræstrup Sayoc
2024-12-02 18:27:39 +01:00
committed by GitHub
parent 7df1a5d00a
commit e025b1bfe2
26 changed files with 77 additions and 76 deletions

View File

@@ -416,9 +416,10 @@ void PagePrinter::saveDXF(ViewProviderPage* vpPage, const std::string& inFileNam
{
TechDraw::DrawPage* page = vpPage->getDrawPage();
std::string PageName = page->getNameInDocument();
auto filespec = Base::Tools::escapeEncodeFilename(inFileName);
filespec = DU::cleanFilespecBackslash(filespec);
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Save page to dxf"));
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Save page to DXF"));
Gui::Command::doCommand(Gui::Command::Doc, "import TechDraw");
Gui::Command::doCommand(Gui::Command::Doc,
"TechDraw.writeDXFPage(App.activeDocument().%s, u\"%s\")",