blob: 0329340c9b633fad6524945e18fe340477eb7e62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# usage: tranlators.sh LAST_RELEASE_TAG
if [ ! $# -eq 1 ] ; then
echo "usage: $0 LAST_RELEASE_TAG"
exit 1;
fi
cvs diff -r $1 po/ChangeLog | \
(awk '/\.po/ { print gensub ("[:,]", "\n", "g", $3); }' | \
while read file; do
if [ -z "po/$file" ]; then continue; fi
echo $(grep "Last-Translator" po/$file | sed -e 's/"Last-Translator: *\(.*\) *<.*/\1/') "(${file%%.po})"
done) | sort | uniq
|