issue #0002524: Make property docstrings translatable
This commit is contained in:
@@ -118,8 +118,8 @@ class _ViewProviderMachine:
|
||||
|
||||
def __init__(self, vobj):
|
||||
vobj.Proxy = self
|
||||
vobj.addProperty("App::PropertyBool", "ShowLimits", "Path", translate(
|
||||
"ShowMinMaxTravel", "Switch the machine max and minimum travel bounding box on/off"))
|
||||
vobj.addProperty("App::PropertyBool", "ShowLimits", "Path",
|
||||
QtCore.QT_TRANSLATE_NOOP("App::Property", "Switch the machine max and minimum travel bounding box on/off"))
|
||||
mode = 2
|
||||
vobj.setEditorMode('LineWidth', mode)
|
||||
vobj.setEditorMode('MarkerColor', mode)
|
||||
|
||||
Reference in New Issue
Block a user