This commit is contained in:
parent
b69bea16d7
commit
d8531bdf3a
21
tools/lupdate.sh
Executable file
21
tools/lupdate.sh
Executable 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
|
|
@ -1,4 +1,4 @@
|
|||
#/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
# This script creates BoosterMusicBooks.zip and generates music_blank.ts
|
||||
# License: same with Pianobooster
|
||||
|
|
Loading…
Reference in New Issue
Block a user