Bug#51381: dpkg: dselect help messages should be translated
Package: dpkg
Version: 1.6.1
Severity: normal
Help messages in dselect aren't translated, yet.
My proposition:
diff -Nru8 dpkg/po/POTFILES.in dpkg-tmp/po/POTFILES.in
--- dpkg/po/POTFILES.in Mon Oct 25 17:29:00 1999
+++ dpkg-tmp/po/POTFILES.in Thu Nov 4 16:48:22 1999
@@ -52,8 +52,9 @@
dselect/pkgcmds.cc
dselect/pkgdepcon.cc
dselect/pkgdisplay.cc
dselect/pkginfo.cc
dselect/pkglist.cc
dselect/pkgsublist.cc
dselect/pkgtop.cc
+po/helpmsgs.cc
diff -Nru8 dpkg/po/update.sh dpkg-tmp/po/update.sh
--- dpkg/po/update.sh Sun Oct 31 23:43:00 1999
+++ dpkg-tmp/po/update.sh Thu Nov 4 16:47:48 1999
@@ -1,14 +1,18 @@
#!/bin/sh
+../dselect/mkhelpmsgs.pl ../dselect/helpmsgs.src
+
xgettext --default-domain=dpkg --directory=.. \
--add-comments --keyword=_ --keyword=N_ \
--files-from=POTFILES.in && test ! -f dpkg.po \
|| ( rm -f dpkg.pot && mv dpkg.po dpkg.pot )
+
+rm -f helpmsgs.cc helpmsgs.h || true
catalogs=`ls *.po`
for cat in $catalogs; do
if [ "$cat" = "dpkg.po" ] ; then continue ; fi
lang=`echo $cat | sed 's/\.po$//'`
mv $cat $lang.old.po
echo "$lang:"
if msgmerge $lang.old.po dpkg.pot -o $cat; then
-- System Information
Debian Release: potato
Kernel Version: Linux purple 2.2.12 #1 Wed Sep 29 15:56:52 CEST 1999 i686 unknown
Versions of the packages dpkg depends on:
ii libc6 2.1.2-10 GNU C Library: Shared libraries and timezone
ii libncurses4 4.2-3.4 Shared libraries for terminal handling
Reply to: