TD: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the TechDraw Wb. Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
@@ -398,7 +398,7 @@ void TaskLeaderLine::createLeaderFeature(std::vector<Base::Vector3d> converted)
|
||||
|
||||
std::string PageName = m_basePage->getNameInDocument();
|
||||
|
||||
Gui::Command::openCommand("Create Leader");
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create Leader"));
|
||||
Command::doCommand(Command::Doc,"App.activeDocument().addObject('%s','%s')",
|
||||
m_leaderType.c_str(),m_leaderName.c_str());
|
||||
Command::doCommand(Command::Doc,"App.activeDocument().%s.addView(App.activeDocument().%s)",
|
||||
@@ -452,7 +452,7 @@ void TaskLeaderLine::createLeaderFeature(std::vector<Base::Vector3d> converted)
|
||||
void TaskLeaderLine::updateLeaderFeature(void)
|
||||
{
|
||||
// Base::Console().Message("TTL::updateLeaderFeature()\n");
|
||||
Gui::Command::openCommand("Edit Leader");
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit Leader"));
|
||||
//waypoints & x,y are updated by QGILeaderLine (for edits only!)
|
||||
commonFeatureUpdate();
|
||||
App::Color ac;
|
||||
|
||||
Reference in New Issue
Block a user