Updated translation tools

This commit is contained in:
Yorik van Havre 2016-03-01 12:34:16 -03:00
parent 7734ffb810
commit b389554a30
2 changed files with 12 additions and 2 deletions

View File

@ -57,7 +57,7 @@ files = [ ["Arch.ts", "/Mod/Arch/Resources/translations/Arch.ts"],
["Complete.ts", "/Mod/Complete/Gui/Resources/translations/Complete_de.ts"],
["draft.ts", "/Mod/Draft/Resources/translations/Draft.ts"],
["Drawing.ts", "/Mod/Drawing/Gui/Resources/translations/Drawing_de.ts"],
["Fem.ts", "/Mod/Fem/Gui/Resources/translations/Fem_de.ts"],
["Fem.ts", "/Mod/Fem/Gui/Resources/translations/Fem.ts"],
["FreeCAD.ts", "/Gui/Language/FreeCAD.ts"],
["Image.ts", "/Mod/Image/Gui/Resources/translations/Image_de.ts"],
["Mesh.ts", "/Mod/Mesh/Gui/Resources/translations/Mesh_de.ts"],

View File

@ -66,7 +66,17 @@ PyCommands = [["src/Mod/Draft",
["src/Mod/Plot",
'pylupdate `find ./ -name "*.py"` -ts resources/translations/Plot.ts'],
["src/Mod/Path",
'pylupdate `find ./ -name "*.py"` -ts Gui/Resources/translations/Path.ts'],
'pylupdate `find ./ -name "*.py"` -ts Gui/Resources/translations/Pathpy.ts'],
["src/Mod/Path",
'lconvert -i Gui/Resources/translations/Pathpy.ts Gui/Resources/translations/Path.ts -o Gui/Resources/translations/Path.ts'],
["src/Mod/Path",
'rm Gui/Resources/translations/Pathpy.ts'],
["src/Mod/Fem",
'pylupdate `find ./ -name "*.py"` -ts Gui/Resources/translations/Fempy.ts'],
["src/Mod/Fem",
'lconvert -i Gui/Resources/translations/Fempy.ts Gui/Resources/translations/Fem.ts -o Gui/Resources/translations/Fem.ts'],
["src/Mod/Fem",
'rm Gui/Resources/translations/Fempy.ts'],
]
# add python folders to exclude list