mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
* mk-w32-dist: Don't iconv {hu,sk,zh_TW}.po.
This commit is contained in:
parent
bd1e8c59fc
commit
a6225ed998
@ -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>
|
2003-04-08 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* autogen.sh: New option --build-uclinux.
|
* autogen.sh: New option --build-uclinux.
|
||||||
|
@ -6,7 +6,10 @@
|
|||||||
SENDMAIL=": /usr/sbin/sendmail"
|
SENDMAIL=": /usr/sbin/sendmail"
|
||||||
|
|
||||||
for file in *.po; do
|
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/')
|
addr=$(awk '/Last-Translator:/ { printf "%s", $0; exit 0}' $file | sed 's/.*\(<.*>\).*/\1/')
|
||||||
|
fi
|
||||||
ll=$(basename $file .po)
|
ll=$(basename $file .po)
|
||||||
|
|
||||||
if ! msgfmt -vc $file 2>&1| egrep -q 'fuzzy|untranslated|error'; then
|
if ! msgfmt -vc $file 2>&1| egrep -q 'fuzzy|untranslated|error'; then
|
||||||
@ -23,6 +26,7 @@ for file in *.po; do
|
|||||||
( cat <<EOF
|
( cat <<EOF
|
||||||
From: translations@gnupg.org
|
From: translations@gnupg.org
|
||||||
To: $addr
|
To: $addr
|
||||||
|
Mail-Followup-To: translations@gnupg.org
|
||||||
Subject: GnuPG translation ($ll)
|
Subject: GnuPG translation ($ll)
|
||||||
Mime-Version: 1.0
|
Mime-Version: 1.0
|
||||||
Content-Type: multipart/mixed; boundary="=-=-="
|
Content-Type: multipart/mixed; boundary="=-=-="
|
||||||
@ -31,12 +35,8 @@ Content-Type: multipart/mixed; boundary="=-=-="
|
|||||||
|
|
||||||
Hi!
|
Hi!
|
||||||
|
|
||||||
Please find attached the latest version of the PO file for your GnuPG
|
Please find attached the very latest version of the PO file for your
|
||||||
translation ($file). I would appreciate if you can fix any remaining
|
GnuPG translation ($file).
|
||||||
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
|
|
||||||
|
|
||||||
IMHO it is important to have a basic understanding of GnuPG's
|
IMHO it is important to have a basic understanding of GnuPG's
|
||||||
functionality to do a correct translation. A false translation might
|
functionality to do a correct translation. A false translation might
|
||||||
@ -69,3 +69,4 @@ echo ""
|
|||||||
) | $SENDMAIL -oi "$addr"
|
) | $SENDMAIL -oi "$addr"
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -68,12 +68,12 @@ done
|
|||||||
for i in ${srcdir}/po/*.po; do
|
for i in ${srcdir}/po/*.po; do
|
||||||
lang=$(basename $i .po)
|
lang=$(basename $i .po)
|
||||||
fromset=`sed -n '/^"Content-Type:/ s/.*charset=\([a-zA-Z0-9_-]*\).*/\1/p' $i`
|
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
|
case $lang in
|
||||||
cs) toset="CP1250" ;;
|
cs) toset="CP852" ;;
|
||||||
tr) toset="CP1254" ;; # DOS: CP857
|
tr) toset="CP1254" ;; # DOS: CP857
|
||||||
el) toset="CP1253" ;; # same as latin-7?
|
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" ;;
|
*) toset="CP850" ;;
|
||||||
esac
|
esac
|
||||||
if [ -n "$toset" ]; then
|
if [ -n "$toset" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user