1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* mk-w32-dist: Don't use iconv for pl.po.

This commit is contained in:
Werner Koch 2002-09-20 18:19:45 +00:00
parent c66fa6eebe
commit 6f78d370e7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-09-20 Werner Koch <wk@gnupg.org>
* mk-w32-dist: Don't use iconv for pl.po.
2002-09-11 Werner Koch <wk@gnupg.org> 2002-09-11 Werner Koch <wk@gnupg.org>
* distfiles: Include mk-w32-dist. * distfiles: Include mk-w32-dist.

View File

@ -66,11 +66,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.
case $lang in case $lang in
cs|pl) toset="CP1250" ;; cs) toset="CP1250" ;;
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) toset="" ;; el|eo|et|ja|pl) toset="" ;;
*) toset="CP850" ;; *) toset="CP850" ;;
esac esac
if [ -n "$toset" ]; then if [ -n "$toset" ]; then