diff options
author | Werner Koch <wk@gnupg.org> | 2002-09-11 17:25:47 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-09-11 17:25:47 +0200 |
commit | 75e055f063a5adf5e18f32b0d7528577fd3084dd (patch) | |
tree | 64742a144efb83dfdad8877e9cde4cea248b35e9 | |
parent | * distfiles: Include mk-w32-dist. (diff) | |
download | gnupg2-1-2-0.tar.xz gnupg2-1-2-0.zip |
fixed the test for a missing mail addressV1-2-1V1-2-0RC-1-2-2rc2RC-1-2-2rc1RC-1-2-1rc1
-rwxr-xr-x | scripts/mail-to-translators | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/mail-to-translators b/scripts/mail-to-translators index e84adb397..10210a73f 100755 --- a/scripts/mail-to-translators +++ b/scripts/mail-to-translators @@ -2,7 +2,8 @@ # mail a compressed version of the current translation to the Last-Translator # -SENDMAIL="/usr/sbin/sendmail" +# remove the colon to armor this script. +SENDMAIL=": /usr/sbin/sendmail" for file in *.po; do addr=$(awk '/Last-Translator:/ { printf "%s", $0; exit 0}' $file | sed 's/.*\(<.*>\).*/\1/') @@ -13,7 +14,7 @@ for file in *.po; do continue; fi - if [ -z "$addr" ]; then + if ! echo "$addr" | grep -q @ ; then echo "$file: no translator known" >&2 continue; fi @@ -47,11 +48,6 @@ $(msgfmt --check --statistics $file 2>&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. -For packaging the Windows binary I like to know the default charset -used for your language under Windows. If this is not the one you use -in the Content-type header of your translation, I'd appreciate if you -can drop me note. - Thanks, Werner |