bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#320174: gettext: msgfmt --statistics should output the filename (fwd


From: Santiago Vila
Subject: Bug#320174: gettext: msgfmt --statistics should output the filename (fwd)
Date: Wed, 27 Jul 2005 22:45:16 +0200 (CEST)

Hello.

I received this from the Debian bug system.

---------- Forwarded message ----------
From: Vincent Lefevre <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Wed, 27 Jul 2005 15:31:53 +0200
Subject: Bug#320174: gettext: msgfmt --statistics should output the filename

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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]