Arch: Fixed translation of wall

This commit is contained in:
Yorik van Havre
2020-10-12 15:57:15 +02:00
parent 69963f3fe2
commit a0114ac41a

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)