keepassxc/share/translations/update.sh

18 lines
485 B
Bash
Raw Normal View History

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
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
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
tx pull -af --minimum-perc=40