From ae4711cd8944c3eb4efa0872a4ec47bd1ac1b126 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Wed, 11 Aug 2021 14:51:18 -0500 Subject: [PATCH] Add PartDesign Python commands for translation (#4961) Fixes #4583 --- src/Tools/updatets.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Tools/updatets.py b/src/Tools/updatets.py index 96e6ece07b..1f9e2a0a43 100755 --- a/src/Tools/updatets.py +++ b/src/Tools/updatets.py @@ -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",