2014-05-17 19:33:22 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
BASEDIR=$(dirname $0)
|
|
|
|
|
|
|
|
cd $BASEDIR/../..
|
|
|
|
|
2015-05-14 18:20:23 -04:00
|
|
|
echo Updating source file
|
2016-10-13 18:32:13 -04:00
|
|
|
lupdate-qt5 -no-ui-lines -disable-heuristic similartext -locations none -no-obsolete src -ts share/translations/keepassx_en.ts
|
|
|
|
lupdate-qt5 -no-ui-lines -disable-heuristic similartext -locations none -pluralonly src -ts share/translations/keepassx_en_plurals.ts
|
2015-05-14 18:20:23 -04:00
|
|
|
|
2016-10-13 18:32:13 -04:00
|
|
|
echo
|
|
|
|
echo Pushing English translation file to Transifex
|
|
|
|
tx push -s
|
|
|
|
|
|
|
|
echo
|
2015-05-14 18:20:23 -04:00
|
|
|
echo Pulling translations from Transifex
|
2017-06-25 17:15:20 -04:00
|
|
|
tx pull -af --minimum-perc=40
|