Arch : Internal object name are in English.

Arch objets Label could be translated.
This commit is contained in:
wood galaxy
2015-01-05 00:45:05 +01:00
committed by Yorik van Havre
parent 5657eed566
commit 95c0fe3a84
15 changed files with 260 additions and 247 deletions

View File

@@ -42,6 +42,7 @@ def makeFrame(baseobj,profile,name=translate("Arch","Frame")):
"""makeFrame(baseobj,profile,[name]): creates a frame object from a base sketch (or any other object
containing wires) and a profile object (an extrudable 2D object containing faces or closed wires)"""
obj = FreeCAD.ActiveDocument.addObject("Part::FeaturePython",name)
obj.Label = translate("Arch",name)
_Frame(obj)
if FreeCAD.GuiUp:
_ViewProviderFrame(obj.ViewObject)