diff --git a/scripts/translations_release.sh b/scripts/translations_release.sh deleted file mode 100755 index 9fb33c454..000000000 --- a/scripts/translations_release.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# run lrelease, .qm files will be located in ../translations/ -lrelease ../src/src.pro -# removing empty.qm -rm ../translations/empty.qm -# moving .qm files into ..bin/locale/ -mv ../translations/*.qm ../bin/locale/ - -read -p "Press [ENTER] to close terminal" -exit diff --git a/scripts/translations_update.sh b/scripts/translations_update.sh index 687381b9c..5a73a7ea4 100755 --- a/scripts/translations_update.sh +++ b/scripts/translations_update.sh @@ -8,6 +8,7 @@ fi sed -i 's/include(3rdparty/##temp/g' ../src/src.pro lupdate $ARGUMENTS ../src/src.pro +lupdate $ARGUMENTS ../src/src.pro -ts ../translations/empty.ts ## uncomment it now sed -i 's/##temp/include(3rdparty/g' ../src/src.pro