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

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

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


From: Bruno Haible
Subject: Re: Bug#320174: gettext: msgfmt --statistics should output the filename (fwd)
Date: Mon, 19 Jan 2009 01:32:54 +0100
User-agent: KMail/1.9.9

Hi,

I replied to Vincent Lefevre on 2005-07-28:
> > "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 would make the output in Emacs PO mode (where the file name is
> usually a long pathname) harder to understand.
> 
> Also, msgfmt is often used manually by a translator, and the translator
> is mostly interested in the 3 numbers; everything else dilutes her
> attention.
> 
> I agree that it would be welcome to have this in po/Makefile.in.in,
> however we have a problem here since we cannot use "echo -n" portably.

I now changed msgfmt so that when both --statistics and --verbose are given,
it prints the file name as a prefix of the statistics line, like you suggested.
And I added this option to po/Makefile.in.in.

Thank you for the suggestion. Took me a long time to see what to make out
of it.

Bruno




reply via email to

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