glixx 2019-06-27 10:50:46 +03:00
parent b69bea16d7
commit d8531bdf3a
2 changed files with 22 additions and 1 deletions

21
tools/lupdate.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
if [ ! -z "`lupdate -version 2>/dev/null`" ]
then
lupdate="lupdate"
fi
if [ ! -z "`lupdate-qt5 -version 2>/dev/null`" ]
then
lupdate="lupdate-qt5"
fi
if [ -z "$lupdate" ]
then
echo "lupdate was not found!"
exit 1
fi
pushd ../
$lupdate pianobooster.pro -no-obsolete -ts translations/pianobooster_blank.ts
popd

View File

@ -1,4 +1,4 @@
#/bin/sh
#!/bin/sh
# This script creates BoosterMusicBooks.zip and generates music_blank.ts
# License: same with Pianobooster