script to run the steps for pulling translations from Weblate

Hopefully the need for this will go away soon, once we work with Weblate to
smooth out the workflow.

[skip ci]
This commit is contained in:
Hans-Christoph Steiner 2018-12-20 22:44:22 +01:00
parent a2addd22a6
commit a24a98aaf2
1 changed files with 16 additions and 0 deletions

16
tools/update-from-weblate.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh -ex
toolsdir=`cd $(dirname $0); pwd`
cd $toolsdir/..
git remote update -p weblate
git checkout -b weblate weblate/master
firefox https://hosted.weblate.org/projects/f-droid/f-droid/#repository
$toolsdir/fix-ellipsis.sh
$toolsdir/check-format-strings.py
$toolsdir/remove-unused-and-blank-translations.py
git gui
git push origin weblate