[TechDraw] Translations and grammer (#16301)
Co-authored-by: WandererFan <WandererFan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
7df1a5d00a
commit
e025b1bfe2
@@ -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\")",
|
||||
|
||||
Reference in New Issue
Block a user