Translatable strings for simplewallet

The system is mostly the Qt system, but we don't use Qt to avoid
the dependencies.

See README.i18n for details.
This commit is contained in:
moneromooo-monero 2015-07-14 20:28:25 +01:00
parent 9dc25497a2
commit 78b2eabc87
9 changed files with 1385 additions and 249 deletions

View file

@ -0,0 +1,16 @@
#!/bin/sh
lrelease=`which lrelease 2> /dev/null`
if test -z "$lrelease"
then
lrelease=`which lrelease-qt4 2> /dev/null`
fi
if test -z "$lrelease"
then
echo "lrelease not found"
exit 1
fi
echo "using $lrelease"
"$lrelease" translations/*.ts

View file

@ -0,0 +1,16 @@
#!/bin/sh
lupdate=`which lupdate 2> /dev/null`
if test -z "$lupdate"
then
lupdate=`which lupdate-qt4 2> /dev/null`
fi
if test -z "$lupdate"
then
echo "lupdate not found"
exit 1
fi
echo "using $lupdate"
"$lupdate" `find src -name \*.cpp` -ts translations/*.ts