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,9 +38,9 @@ except AttributeError:
class Fixture:
def __init__(self,obj):
obj.addProperty("App::PropertyEnumeration", "Fixture", "Fixture Parameters","Fixture Offset Number")
obj.addProperty("App::PropertyEnumeration", "Fixture", "Path",QtCore.QT_TRANSLATE_NOOP("App::Property","Fixture Offset Number"))
obj.Fixture=['G53','G54','G55','G56','G57','G58','G59','G59.1', 'G59.2', 'G59.3', 'G59.4', 'G59.5','G59.6','G59.7', 'G59.8', 'G59.9']
obj.addProperty("App::PropertyBool","Active","Sequence Parameters","Make False, to prevent operation from generating code")
obj.addProperty("App::PropertyBool","Active","Path",QtCore.QT_TRANSLATE_NOOP("App::Property","Make False, to prevent operation from generating code"))
obj.Proxy = self