0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-20 12:22:16 +02:00
keepassxc/share/translations/update.sh

18 lines
485 B
Bash
Raw Normal View History

2014-05-18 01:33:22 +02:00
#!/bin/sh
BASEDIR=$(dirname $0)
cd $BASEDIR/../..
2015-05-15 00:20:23 +02: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-15 00:20:23 +02:00
echo
echo Pushing English translation file to Transifex
tx push -s
echo
2015-05-15 00:20:23 +02:00
echo Pulling translations from Transifex
tx pull -af --minimum-perc=40