Part: Change contex from AttachmentEditor to Part_EditAttachment
Add menu text "Create a copy" to translation This may fix https://github.com/FreeCAD/FreeCAD-translations/issues/64
This commit is contained in:
committed by
wwmayer
parent
f7b9a70ee5
commit
62f65e12e2
@@ -76,9 +76,9 @@ class CommandEditAttachment:
|
||||
'Command to edit attachment'
|
||||
def GetResources(self):
|
||||
return {'Pixmap': 'Part_Attachment',
|
||||
'MenuText': QT_TRANSLATE_NOOP("AttachmentEditor","Attachment..."),
|
||||
'MenuText': QT_TRANSLATE_NOOP("Part_EditAttachment","Attachment..."),
|
||||
'Accel': "",
|
||||
'ToolTip': QT_TRANSLATE_NOOP("AttachmentEditor","Edit attachment of selected object.")}
|
||||
'ToolTip': QT_TRANSLATE_NOOP("Part_EditAttachment","Edit attachment of selected object.")}
|
||||
|
||||
def Activated(self):
|
||||
try:
|
||||
|
||||
@@ -40,6 +40,7 @@ using namespace PartGui;
|
||||
qApp->translate("Workbench", "Join");
|
||||
qApp->translate("Workbench", "Split");
|
||||
qApp->translate("Workbench", "Compound");
|
||||
qApp->translate("Workbench", "Create a copy");
|
||||
#endif
|
||||
|
||||
/// @namespace PartGui @class Workbench
|
||||
|
||||
Reference in New Issue
Block a user