mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
836c996544
* Cleanup cpack commands * Add default config for portable install * Force translation downloads * Reduce translation download threshold to 40%
18 lines
485 B
Bash
Executable File
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
|