Arch: Fixed remaining encoding problems - issue #3827

This commit is contained in:
Yorik van Havre
2019-02-19 20:03:51 -03:00
parent a661bbb211
commit f048df5c6f
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ class CommandPanel:
self.tracker.finalize()
if point == None:
return
FreeCAD.ActiveDocument.openTransaction(str(translate("Arch","Create Panel")))
FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Panel"))
FreeCADGui.addModule("Arch")
if self.Profile:
pr = Presets[self.Profile]

View File

@@ -85,7 +85,7 @@ def makeSectionView(section,name="View"):
page = o
break
if not page:
page = FreeCAD.ActiveDocument.addObject("Drawing::FeaturePage",translate("Arch","Page"))
page = FreeCAD.ActiveDocument.addObject("Drawing::FeaturePage","Page")
page.Template = Draft.getParam("template",FreeCAD.getResourceDir()+'Mod/Drawing/Templates/A3_Landscape.svg')
view = FreeCAD.ActiveDocument.addObject("Drawing::FeatureViewPython",name)