Path: moved '\n' out of translation()

Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
This commit is contained in:
luz.paz
2018-02-10 09:03:38 -05:00
committed by Yorik van Havre
parent fa4058c84e
commit fa8f012108
3 changed files with 12 additions and 12 deletions

View File

@@ -103,11 +103,11 @@ selection = FreeCADGui.Selection.getSelection()
proj = selection[0].InList[0] #get the group that the selectied object is inside
if len(selection) != 1:
FreeCAD.Console.PrintError(translate("Path_Copy", "Please select one path object\\n"))
FreeCAD.Console.PrintError(translate("Path_Copy", "Please select one path object")+"\n")
selGood = False
if not selection[0].isDerivedFrom("Path::Feature"):
FreeCAD.Console.PrintError(translate("Path_Copy", "The selected object is not a path\\n"))
FreeCAD.Console.PrintError(translate("Path_Copy", "The selected object is not a path")+"\n")
selGood = False
if selGood: