From 426819244c470baefdcf09af6da03a189e203ab6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 26 Oct 2004 19:32:44 +0000 Subject: Detect the Debian mingw32 package. --- scripts/mail-to-translators | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'scripts/mail-to-translators') diff --git a/scripts/mail-to-translators b/scripts/mail-to-translators index 10210a73f..23ee4be58 100755 --- a/scripts/mail-to-translators +++ b/scripts/mail-to-translators @@ -6,7 +6,10 @@ SENDMAIL=": /usr/sbin/sendmail" for file in *.po; do + addr=$(head -100 $file | awk '/^# ?Designated-Translator:/ { printf "%s", $0; exit 0}' | sed 's/.*\(<.*>\).*/\1/') + if [ -z "$addr" ]; then addr=$(awk '/Last-Translator:/ { printf "%s", $0; exit 0}' $file | sed 's/.*\(<.*>\).*/\1/') + fi ll=$(basename $file .po) if ! msgfmt -vc $file 2>&1| egrep -q 'fuzzy|untranslated|error'; then @@ -23,6 +26,7 @@ for file in *.po; do ( cat <&1 | head) If you are not able to continue the translation work, I suggest to -pass this message on to another translator and drop me a short note. +pass this message on to another translator and drop a a short note to +gnupg-hackers@gnupg.org . + Thanks, @@ -68,3 +83,4 @@ echo "" ) | $SENDMAIL -oi "$addr" done + -- cgit