From a24a98aaf2f5706cb62472c6ecf652b99fb35347 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 20 Dec 2018 22:44:22 +0100 Subject: [PATCH] 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] --- tools/update-from-weblate.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tools/update-from-weblate.sh diff --git a/tools/update-from-weblate.sh b/tools/update-from-weblate.sh new file mode 100755 index 000000000..8e647b9ad --- /dev/null +++ b/tools/update-from-weblate.sh @@ -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