removed translation from property descriptions (wrong to do it there anyway) - issue #2524
This commit is contained in:
@@ -39,10 +39,10 @@ except AttributeError:
|
||||
|
||||
class LoadTool:
|
||||
def __init__(self,obj):
|
||||
obj.addProperty("App::PropertyIntegerConstraint", "ToolNumber","Tool", translate( "Tool Number", "The active tool"))
|
||||
obj.addProperty("App::PropertyIntegerConstraint", "ToolNumber","Tool","The active tool")
|
||||
obj.ToolNumber = (0,0,10000,1)
|
||||
obj.addProperty("App::PropertyFloat", "SpindleSpeed", "Tool", translate("Spindle Speed","The speed of the cutting spindle in RPM"))
|
||||
obj.addProperty("App::PropertyEnumeration", "SpindleDir", "Tool", translate("Spindle Dir","Direction of spindle rotation"))
|
||||
obj.addProperty("App::PropertyFloat", "SpindleSpeed", "Tool","The speed of the cutting spindle in RPM")
|
||||
obj.addProperty("App::PropertyEnumeration", "SpindleDir", "Tool","Direction of spindle rotation")
|
||||
obj.SpindleDir = ['Forward','Reverse']
|
||||
obj.Proxy = self
|
||||
mode = 2
|
||||
|
||||
Reference in New Issue
Block a user