From 0eaf1a6b668170f9c1fac764a4ccf94586ae873e Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 17 May 2023 16:10:10 +0300 Subject: [PATCH] Fix lupdate script. --- scripts/qbs_lupdate.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/scripts/qbs_lupdate.sh b/scripts/qbs_lupdate.sh index 5d8dd3281..a40eb331a 100755 --- a/scripts/qbs_lupdate.sh +++ b/scripts/qbs_lupdate.sh @@ -13,31 +13,33 @@ cd ../../scripts MEASUREMENTS_BRANCH='' # For example _05x VALENTINA_BRANCH='' # for example 05x +LANGUAGES="uk,de_DE,cs,he_IL,fr_FR,it_IT,nl,id,es,fi,en_US,en_CA,en_IN,ro_RO,zh_CN,pt_BR,el_GR,pl_PL" + NUMBER=( $RESOURCES ) NUMBER=${#NUMBER[@]} # Certant languages like he_IL and zh_CN are not supported by math parser for ((i=0;i