remove translation from property descriptions.

This commit is contained in:
sliptonic
2016-05-18 20:42:55 -05:00
committed by Yorik van Havre
parent 30f3e93349
commit 04a0f82fb8
10 changed files with 281 additions and 295 deletions

View File

@@ -46,39 +46,25 @@ class Machine:
def __init__(self, obj):
obj.addProperty("App::PropertyString", "MachineName", "Base", translate(
"Machine Name", "Name of the Machine that will use the CNC program"))
obj.addProperty("App::PropertyString", "MachineName", "Base", "Name of the Machine that will use the CNC program")
obj.addProperty("App::PropertyFile", "PostProcessor", "CodeOutput", translate(
"Post Processor", "Select the Post Processor file for this machine"))
# obj.setEditorMode("PostProcessor",1) #set to read only
obj.addProperty("App::PropertyEnumeration", "MachineUnits", "CodeOutput", translate(
"Machine Units", "Units that the machine works in, ie Metric or Inch"))
obj.addProperty("App::PropertyFile", "PostProcessor", "CodeOutput", "Select the Post Processor file for this machine")
obj.addProperty("App::PropertyEnumeration", "MachineUnits", "CodeOutput", "Units that the machine works in, ie Metric or Inch")
obj.MachineUnits = ['Metric', 'Inch']
obj.addProperty("Path::PropertyTooltable", "Tooltable", "Base", translate(
"Tool Table", "The tooltable used for this CNC program"))
obj.addProperty("Path::PropertyTooltable", "Tooltable", "Base", "The tooltable used for this CNC program")
obj.addProperty("App::PropertyDistance", "X_Max", "Limits", translate(
"X Maximum Limit", "The Maximum distance in X the machine can travel"))
obj.addProperty("App::PropertyDistance", "Y_Max", "Limits", translate(
"Y Maximum Limit", "The Maximum distance in X the machine can travel"))
obj.addProperty("App::PropertyDistance", "Z_Max", "Limits", translate(
"Y Maximum Limit", "The Maximum distance in X the machine can travel"))
obj.addProperty("App::PropertyDistance", "X_Max", "Limits", "The Maximum distance in X the machine can travel")
obj.addProperty("App::PropertyDistance", "Y_Max", "Limits", "The Maximum distance in X the machine can travel")
obj.addProperty("App::PropertyDistance", "Z_Max", "Limits", "The Maximum distance in X the machine can travel")
obj.addProperty("App::PropertyDistance", "X_Min", "Limits", translate(
"X Minimum Limit", "The Minimum distance in X the machine can travel"))
obj.addProperty("App::PropertyDistance", "Y_Min", "Limits", translate(
"Y Minimum Limit", "The Minimum distance in X the machine can travel"))
obj.addProperty("App::PropertyDistance", "Z_Min", "Limits", translate(
"Y Minimum Limit", "The Minimum distance in X the machine can travel"))
obj.addProperty("App::PropertyDistance", "X_Min", "Limits", "The Minimum distance in X the machine can travel")
obj.addProperty("App::PropertyDistance", "Y_Min", "Limits", "The Minimum distance in X the machine can travel")
obj.addProperty("App::PropertyDistance", "Z_Min", "Limits", "The Minimum distance in X the machine can travel")
obj.addProperty("App::PropertyDistance", "X", "HomePosition", translate(
"X Home Position", "Home position of machine, in X (mainly for visualization)"))
obj.addProperty("App::PropertyDistance", "Y", "HomePosition", translate(
"Y Home Position", "Home position of machine, in Y (mainly for visualization)"))
obj.addProperty("App::PropertyDistance", "Z", "HomePosition", translate(
"Z Home Position", "Home position of machine, in Z (mainly for visualization)"))
obj.addProperty("App::PropertyDistance", "X", "HomePosition", "Home position of machine, in X (mainly for visualization)")
obj.addProperty("App::PropertyDistance", "Y", "HomePosition", "Home position of machine, in Y (mainly for visualization)")
obj.addProperty("App::PropertyDistance", "Z", "HomePosition", "Home position of machine, in Z (mainly for visualization)")
obj.Proxy = self
mode = 2