[email protected]
[Top] [All Lists]

Bug#320174: marked as forwarded (gettext: msgfmt --statistics should out

Subject: Bug#320174: marked as forwarded gettext: msgfmt --statistics should output the filename
From: Debian Bug Tracking System
Date: Wed, 27 Jul 2005 23:38:01 -0700
Your message dated Wed, 27 Jul 2005 22:45:16 +0200 (CEST)
with message-id <[email protected]>
has caused the Debian Bug report #320174,
regarding gettext: msgfmt --statistics should output the filename
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 320174-forwarded) by bugs.debian.org; 27 Jul 2005 20:47:40 +0000
>From [email protected] Wed Jul 27 13:47:40 2005
Return-path: <[email protected]>
Received: from pizarro.unex.es [158.49.8.2] (postfix)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DxsoW-0003Tl-00; Wed, 27 Jul 2005 13:47:40 -0700
Received: from localhost (almendralejo.unex.es [158.49.8.199])
        by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP
        id 68352A1CD5; Wed, 27 Jul 2005 22:47:36 +0200 (CEST)
Received: from pizarro.unex.es ([158.49.8.2])
        by localhost (emilio [158.49.17.20]) (amavisd-new, port 10024)
        with ESMTP id 14478-02; Wed, 27 Jul 2005 22:49:24 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
        by pizarro.unex.es (Postfix/MJ-1.08) with ESMTP
        id 51275A1C85; Wed, 27 Jul 2005 22:47:35 +0200 (CEST)
Received: from cantor.unex.es ([158.49.18.105])
        by guadiana.unex.es with esmtp (Exim 3.35 #1 (Debian))
        id 1DxsoR-0007na-00; Wed, 27 Jul 2005 22:47:35 +0200
Date: Wed, 27 Jul 2005 22:45:16 +0200 (CEST)
From: Santiago Vila <[email protected]>
To: [email protected]
Cc: [email protected],
        Vincent Lefevre <[email protected]>
Subject: Bug#320174: gettext: msgfmt --statistics should output the filename
 (fwd)
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unex.es
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Hello.

I received this from the Debian bug system.

---------- Forwarded message ----------
From: Vincent Lefevre <[email protected]>
To: Debian Bug Tracking System <[email protected]>
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).


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

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#320174: marked as forwarded (gettext: msgfmt --statistics should output the filename), Debian Bug Tracking System <=