You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
466 B
22 lines
466 B
#!/bin/sh
|
|
|
|
LRELEASE=""
|
|
|
|
if [ `which lrelease-qt4` ] ; then
|
|
LRELEASE="`which lrelease-qt4`"
|
|
elif [ `which lrelease` ] ; then
|
|
LRELEASE="`which lrelease`"
|
|
fi
|
|
|
|
if [ "$LRELEASE" = "" ] ; then
|
|
echo "Error: lrelease / lrelease-qt4 not found."
|
|
exit 1
|
|
fi
|
|
|
|
cd `dirname $0`
|
|
rm share/keepassx1/i18n/*.qm
|
|
cd src
|
|
$LRELEASE translations/*.ts
|
|
mv translations/*.qm ../share/keepassx1/i18n
|
|
rm ../share/keepassx/i18n/keepassx1-xx_XX.qm
|
|
rm ../share/keepassx/i18n/keepassx1-cs_CZ.qm
|
|
|