Add blueprint.
[tails-test.git] / wiki / src / contribute / l10n_tricks / transifex_translators.sh
blob9242a3619e42c9440f44941d893e0ceb79332e94
1 #!/bin/sh
3 set -e
4 set -u
6 PROJECTS="liveusb-creator tails-greeter tails-iuk tails-misc tails-perl5lib tails-persistence-setup whisperback"
7 GIT_TOPLEVEL_DIR=$(git rev-parse --show-toplevel)
8 TOR_TRANSLATION_DIR="$GIT_TOPLEVEL_DIR/tmp/tor-translation"
11 cd "$TOR_TRANSLATION_DIR"
12 for project in $PROJECTS; do
13 for branch in "$project" "${project}_completed"; do
14 git checkout --quiet "$branch"
15 git reset --quiet --hard "origin/$branch"
16 git grep -H 'Last-Translator' | grep -v '^templates/' \
17 | sed -e 's/^\([A-Za-z_]\+\)\/\1\.po:"Last-Translator: \(.\+\)\\n"$/\1 \2/' \
18 | grep -Ev '(FULL NAME|tor-assistants@torproject.org|colin@torproject.org|runa.sandvik@gmail.com|support-team-private@lists.torproject.org|<>)'
19 done
20 done | sort -u