Path: Fixed translation stuff - issue #2443
This commit is contained in:
@@ -175,10 +175,10 @@ class CommandPathInspect:
|
||||
# check that the selection contains exactly what we want
|
||||
selection = FreeCADGui.Selection.getSelection()
|
||||
if len(selection) != 1:
|
||||
FreeCAD.Console.PrintError(translate("PathInspect","Please select exactly one path object\n"))
|
||||
FreeCAD.Console.PrintError(translate("Path_Inspect","Please select exactly one path object\n"))
|
||||
return
|
||||
if not(selection[0].isDerivedFrom("Path::Feature")):
|
||||
FreeCAD.Console.PrintError(translate("PathInspect","Please select exactly one path object\n"))
|
||||
FreeCAD.Console.PrintError(translate("Path_Inspect","Please select exactly one path object\n"))
|
||||
return
|
||||
|
||||
# if everything is ok, execute
|
||||
|
||||
Reference in New Issue
Block a user