Add PartDesign Python commands for translation (#4961)

Fixes #4583
This commit is contained in:
Chris Hennes
2021-08-11 14:51:18 -05:00
committed by GitHub
parent 183415a6bb
commit ae4711cd89

View File

@@ -102,6 +102,12 @@ PyCommands = [["src/Mod/Draft",
'lconvert -i Gui/Resources/translations/Partpy.ts Gui/Resources/translations/Part.ts -o Gui/Resources/translations/Part.ts'],
["src/Mod/Part",
'rm Gui/Resources/translations/Partpy.ts'],
["src/Mod/PartDesign",
'pylupdate `find ./ -name "*.py"` -ts Gui/Resources/translations/PartDesignpy.ts'],
["src/Mod/PartDesign",
'lconvert -i Gui/Resources/translations/PartDesignpy.ts Gui/Resources/translations/PartDesign.ts -o Gui/Resources/translations/PartDesign.ts'],
["src/Mod/PartDesign",
'rm Gui/Resources/translations/PartDesignpy.ts'],
["src/Mod/Image",
'pylupdate `find ./ -name "*.py"` -ts Gui/Resources/translations/Imagepy.ts'],
["src/Mod/Image",