Path: Fixed translation stuff - issue #2443
This commit is contained in:
@@ -92,16 +92,16 @@ class CommandCompoundExtended:
|
||||
|
||||
def GetResources(self):
|
||||
return {'Pixmap' : 'Path-Compound',
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("PathCompoundExtended","Compound"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Path_CompoundExtended","Compound"),
|
||||
'Accel': "P, C",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("PathCompoundExtended","Creates a Path Compound object")}
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Path_CompoundExtended","Creates a Path Compound object")}
|
||||
|
||||
def IsActive(self):
|
||||
return not FreeCAD.ActiveDocument is None
|
||||
|
||||
def Activated(self):
|
||||
|
||||
FreeCAD.ActiveDocument.openTransaction(translate("PathCompoundExtended","Create Compound"))
|
||||
FreeCAD.ActiveDocument.openTransaction(translate("Path_CompoundExtended","Create Compound"))
|
||||
FreeCADGui.addModule("PathScripts.PathCompoundExtended")
|
||||
snippet = '''
|
||||
import Path
|
||||
|
||||
Reference in New Issue
Block a user