aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ChangeLog4
-rwxr-xr-xscripts/mail-to-translators13
-rwxr-xr-xscripts/mk-w32-dist6
3 files changed, 14 insertions, 9 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog
index 1f1d6decb..4dc257928 100644
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-01 Werner Koch <[email protected]>
+
+ * mk-w32-dist: Don't iconv {hu,sk,zh_TW}.po.
+
2003-04-08 Werner Koch <[email protected]>
* autogen.sh: New option --build-uclinux.
diff --git a/scripts/mail-to-translators b/scripts/mail-to-translators
index cf83fd0ea..53fdd582e 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 <<EOF
To: $addr
+Mail-Followup-To: [email protected]
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
+
diff --git a/scripts/mk-w32-dist b/scripts/mk-w32-dist
index 41c02a8b7..0b7ada040 100755
--- a/scripts/mk-w32-dist
+++ b/scripts/mk-w32-dist
@@ -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