Path: Fixed translation stuff - issue #2443

This commit is contained in:
Yorik van Havre
2016-02-09 17:05:57 -02:00
parent 8315fc8727
commit d2a6c95993
23 changed files with 119 additions and 111 deletions

View File

@@ -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