1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00

* mk-w32-dist: Don't iconv {hu,sk,zh_TW}.po.

This commit is contained in:
Werner Koch 2003-05-01 14:24:23 +00:00
parent bd1e8c59fc
commit a6225ed998
3 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2003-05-01 Werner Koch <wk@gnupg.org>
* mk-w32-dist: Don't iconv {hu,sk,zh_TW}.po.
2003-04-08 Werner Koch <wk@gnupg.org>
* autogen.sh: New option --build-uclinux.

View File

@ -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 <<EOF
From: translations@gnupg.org
To: $addr
Mail-Followup-To: translations@gnupg.org
Subject: GnuPG translation ($ll)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
@ -31,12 +35,8 @@ Content-Type: multipart/mixed; boundary="=-=-="
Hi!
Please find attached the latest version of the PO file for your GnuPG
translation ($file). I would appreciate if you can fix any remaining
fuzzy or untranslated entries so that we are able to prepare a fine
and fully translated 1.2.2 release ASAP. If you need access to the
code please get the latest release candidate at
ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-1.2.2rc2.tar.gz
Please find attached the very latest version of the PO file for your
GnuPG translation ($file).
IMHO it is important to have a basic understanding of GnuPG's
functionality to do a correct translation. A false translation might
@ -69,3 +69,4 @@ echo ""
) | $SENDMAIL -oi "$addr"
done

View File

@ -68,12 +68,12 @@ done
for i in ${srcdir}/po/*.po; do
lang=$(basename $i .po)
fromset=`sed -n '/^"Content-Type:/ s/.*charset=\([a-zA-Z0-9_-]*\).*/\1/p' $i`
# pl is also cp1250 but the current PO file can't be converted.
# pl,hu,sk are also cp1250 but the current PO file can't be converted.
case $lang in
cs) toset="CP1250" ;;
cs) toset="CP852" ;;
tr) toset="CP1254" ;; # DOS: CP857
el) toset="CP1253" ;; # same as latin-7?
el|eo|et|ja|pl) toset="" ;;
el|eo|et|ja|pl|hu|sk|zh_TW) toset="" ;;
*) toset="CP850" ;;
esac
if [ -n "$toset" ]; then