Tools: Fixed bug in FreeCAD.ts generation

This commit is contained in:
Yorik van Havre
2019-03-02 19:32:10 -03:00
parent a70a82e19f
commit ad28ba5095
2 changed files with 495 additions and 83 deletions

File diff suppressed because one or more lines are too long

View File

@@ -178,7 +178,7 @@ def update_translation(path):
if "Mod" in path:
tsname = " -ts "+os.path.join("Gui","Resources","translations",os.path.basename(path) + ".ts")
elif "src/Gui" in path:
tsname = " -ts "+os.path.join("Languages", "FreeCAD.ts")
tsname = " -ts "+os.path.join("Language", "FreeCAD.ts")
os.system(LUPDATE + " " + filename + tsname)
os.remove(filename)
os.chdir(cur)