Package: gettext
Version: 0.14.5-2
Severity: wishlist

"msgfmt --statistics fr.po" outputs a line like:

922 translated messages, 53 fuzzy translations, 47 untranslated messages.

But there is no information about the filename. It should display
something like:

fr.po: 922 translated, 53 fuzzy, 47 untranslated.
^^^^^

This is useful when doing "make -j2 update-po" from Mutt, for instance
(all the .po files are updated and statistics are output). Due to the
-j option, the output of make and msgfmt are not synchronized, e.g.:

make[1]: Entering directory `/home/vlefevre/software/mutt/mutt/po'
file=./`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt --statistics -o $file de.po
file=./`echo ru | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt --statistics -o $file ru.po
913 translated messages, 59 fuzzy translations, 50 untranslated messages.
file=./`echo it | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt --statistics -o $file it.po
913 translated messages, 57 fuzzy translations, 52 untranslated messages.
[...]
file=./`echo ca | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt --statistics -o $file ca.po
859 translated messages, 88 fuzzy translations, 75 untranslated messages.
file=./`echo bg | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt --statistics -o $file bg.po
908 translated messages, 62 fuzzy translations, 52 untranslated messages.
880 translated messages, 82 fuzzy translations, 60 untranslated messages.
make[1]: Leaving directory `/home/vlefevre/software/mutt/mutt/po'

So, without the filename, it may be difficult to know for which
language the statistics apply. Worse, the current behavior is
really confusing (it took me a while to discover that the
statistics line I was looking at wasn't the one corresponding
to fr.po -- I first thought msgfmt was buggy).

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.10-20050517
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages gettext depends on:
ii  gettext-base                0.14.5-2     GNU Internationalization utilities
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

Versions of packages gettext recommends:
ii  curl                  7.14.0-2           Get a file from an HTTP, HTTPS, FT
ii  lynx                  2.8.5-2            Text-mode WWW Browser
ii  wget                  1.10-3+1.10.1beta1 retrieves files from the web

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to