Path: moved '\n' out of translation()
Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user