From 867348fb8e9474d4186a7db022d406c8dfb214db Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 17 May 2023 09:33:43 +0300 Subject: [PATCH] Fix issue with incorrect placing pattern making translations. --- scripts/qbs_lupdate.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/qbs_lupdate.sh b/scripts/qbs_lupdate.sh index 2f2b9708d..5d8dd3281 100755 --- a/scripts/qbs_lupdate.sh +++ b/scripts/qbs_lupdate.sh @@ -34,6 +34,10 @@ qbs resolve -d ../../build_translations modules.i18n.update:true moduleProviders qbs -d ../../build_translations -f ../valentina.qbs -p 'Translations' modules.i18n.update:true moduleProviders.Qt.qmakeFilePaths:$HOME/Qt6.5/6.5.0/gcc_64/bin/qmake qbs -d ../../build_translations -f ../valentina.qbs -p 'MTranslations' modules.i18n.update:true moduleProviders.Qt.qmakeFilePaths:$HOME/Qt6.5/6.5.0/gcc_64/bin/qmake +# cannot fix incorrect placing for pattern making systems +cp -r ./share/translations/* ../share/translations +rm -r ./share + end=$(date +%s) runtime=$(python3 -c "print('Time passed %u:%02u seconds' % ((${end} - ${start})/60, (${end} - ${start})%60))") echo $runtime