Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update.sh « translations « share - github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e8069e0d02e1eaffd2166a0e411bfc1d44f7876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 -a --minimum-perc=80