Moved over to Qt's native translation file format

FossilOrigin-Name: f12aab3a403d0a1cab42eec7ddb476dd47cb5da3
This commit is contained in:
kostas
2012-11-23 07:28:15 +00:00
parent 8cc27e08f7
commit 73000f53bf
11 changed files with 59 additions and 2445 deletions

View File

@ -10,8 +10,13 @@ mkdir $PRJDIR/rsrc/intl
for i in $INTLDIR/*.ts
do
TARGET=`basename $i .ts`.qm
echo "$TARGET"
lrelease $i -qm $PRJDIR/rsrc/intl/$TARGET
BASE=`basename $i .ts`
# Convert all except the en_US which is
# the original text in the code
if [ "$BASE" != "en_US" ]; then
echo "$TARGET"
lrelease $i -qm $PRJDIR/rsrc/intl/$BASE.qm
fi
done