From 782db1890b80e7e7cb780d04ff458fcabebcfdcd Mon Sep 17 00:00:00 2001 From: Bruno Coudoin Date: Tue, 11 Mar 2008 23:39:47 +0000 Subject: Updated our build system to support automake1.10 You still need to copy config.rpath from the gettext package manualy. svn path=/trunk/; revision=3296 --- (limited to 'list_translators.sh') diff --git a/list_translators.sh b/list_translators.sh index 0329340..4fdf9a0 100755 --- a/list_translators.sh +++ b/list_translators.sh @@ -2,14 +2,17 @@ # usage: tranlators.sh LAST_RELEASE_TAG +# Changed so that the list comes out sorted by .po file name +# Mariano Suárez-Alvarez, Tue Feb 17 16:59:28 ART 2004 + if [ ! $# -eq 1 ] ; then - echo "usage: $0 LAST_RELEASE_TAG" - exit 1; + echo "usage: $0 LAST_RELEASE_TAG" + exit 1; fi -cvs diff -r $1 po/ChangeLog | \ - (awk '/\.po/ { print gensub ("[:,]", "\n", "g", $3); }' | \ +svn diff -r $1 po/ChangeLog | \ + (awk '/\+.*[a-z][a-zA-Z@_]*\.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 + if [ -z "$file" ]; then continue; fi + echo "(${file%%.po})" $(grep "Last-Translator" po/$file | sed -e 's/"Last-Translator: *\(.*\) *<.*/\1/') +done) | sort | uniq | sed -e 's/\((.*)\) \(.*\)/\2 \1/' -- cgit v0.9.1