keepassxc/share/translations/update.sh
Jonathan White 836c996544
Cleanup before release
* Cleanup cpack commands
* Add default config for portable install
* Force translation downloads
* Reduce translation download threshold to 40%
2017-06-25 17:50:47 -04:00

18 lines
485 B
Bash
Executable File

#!/bin/sh
BASEDIR=$(dirname $0)
cd $BASEDIR/../..
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
echo
echo Pushing English translation file to Transifex
tx push -s
echo
echo Pulling translations from Transifex
tx pull -af --minimum-perc=40