Arch: Fixed translation of wall

This commit is contained in:
Yorik van Havre
2020-10-12 15:57:15 +02:00
parent 4e9101ba30
commit 1252734a81

View File

@@ -104,7 +104,7 @@ def makeWall(baseobj=None,height=None,length=None,width=None,align="Center",face
return
p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch")
obj = FreeCAD.ActiveDocument.addObject("Part::FeaturePython","Wall")
obj.Label = translate("Arch",name)
obj.Label = translate("Arch","Wall")
_Wall(obj)
if FreeCAD.GuiUp:
_ViewProviderWall(obj.ViewObject)