Tools: fixed translation of py files in Part

This commit is contained in:
Yorik van Havre
2018-12-10 11:00:53 -02:00
parent ee8f7be4e8
commit 445e9efdb7

View File

@@ -79,6 +79,12 @@ PyCommands = [["src/Mod/Draft",
'rm Gui/Resources/translations/Fempy.ts'],
["src/Mod/Tux",
'pylupdate `find ./ -name "*.py"` -ts Resources/translations/Tux.ts'],
["src/Mod/Part",
'pylupdate `find ./ -name "*.py"` -ts Gui/Resources/translations/Partpy.ts'],
["src/Mod/Part",
'lconvert -i Gui/Resources/translations/Partpy.ts Gui/Resources/translations/Part_de.ts -o Gui/Resources/translations/Part_de.ts'],
["src/Mod/Part",
'rm Gui/Resources/translations/Partpy.ts'],
]
# add python folders to exclude list