Made Path objects properties translatable - fixes #2524

This commit is contained in:
Yorik van Havre
2016-10-07 22:21:02 -03:00
parent e284a00570
commit 4375299724
26 changed files with 175 additions and 180 deletions

View File

@@ -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)