Gui: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the src/Gui code. Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
@@ -60,7 +60,7 @@ void StdCmdPart::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
openCommand("Add a part");
|
||||
openCommand(QT_TRANSLATE_NOOP("Command", "Add a part"));
|
||||
std::string FeatName = getUniqueObjectName("Part");
|
||||
|
||||
std::string PartName;
|
||||
@@ -101,7 +101,7 @@ void StdCmdGroup::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
openCommand("Add a group");
|
||||
openCommand(QT_TRANSLATE_NOOP("Command", "Add a group"));
|
||||
|
||||
std::string GroupName;
|
||||
GroupName = getUniqueObjectName("Group");
|
||||
|
||||
Reference in New Issue
Block a user