Made Path objects properties translatable - fixes #2524
This commit is contained in:
@@ -38,7 +38,7 @@ except AttributeError:
|
||||
|
||||
class Comment:
|
||||
def __init__(self,obj):
|
||||
obj.addProperty("App::PropertyString","Comment","Path","Comment or note for CNC program")
|
||||
obj.addProperty("App::PropertyString","Comment","Path",QtCore.QT_TRANSLATE_NOOP("App::Property","Comment or note for CNC program"))
|
||||
obj.Proxy = self
|
||||
mode = 2
|
||||
obj.setEditorMode('Placement',mode)
|
||||
|
||||
Reference in New Issue
Block a user