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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user