mirror of
https://github.com/monero-project/monero.git
synced 2025-08-04 01:54:16 -04:00
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:
parent
9dc25497a2
commit
78b2eabc87
9 changed files with 1385 additions and 249 deletions
16
utils/translations/build-translations.sh
Executable file
16
utils/translations/build-translations.sh
Executable 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
|
||||
|
16
utils/translations/update-translations.sh
Executable file
16
utils/translations/update-translations.sh
Executable 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue