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:
luz paz
2020-11-27 16:45:28 -05:00
committed by wwmayer
parent 5effcc1983
commit 2befcd9502
16 changed files with 46 additions and 46 deletions

View File

@@ -470,7 +470,7 @@ void TaskDetail::enableTaskButtons(bool b)
void TaskDetail::createDetail()
{
// Base::Console().Message("TD::createDetail()\n");
Gui::Command::openCommand("Create Detail View");
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create Detail View"));
m_detailName = m_doc->getUniqueObjectName("Detail");
@@ -507,7 +507,7 @@ void TaskDetail::updateDetail()
{
// Base::Console().Message("TD::updateDetail()\n");
try {
Gui::Command::openCommand("Update Detail");
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Update Detail"));
double x = ui->qsbX->rawValue();
double y = ui->qsbY->rawValue();
Base::Vector3d temp(x, y, 0.0);