GNU bug report logs - #11471
Message incorrectly marked as c-format

Previous Next

Package: coreutils;

Reported by: Göran Uddeborg <goeran <at> uddeborg.se>

Date: Mon, 14 May 2012 18:18:02 UTC

Severity: normal

Merged with 11470, 11472, 11483, 11494, 11740

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11471 in the body.
You can then email your comments to 11471 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#11471; Package coreutils. (Mon, 14 May 2012 18:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Göran Uddeborg <goeran <at> uddeborg.se>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 14 May 2012 18:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Göran Uddeborg <goeran <at> uddeborg.se>
To: bug-coreutils <at> gnu.org
Subject: Message incorrectly marked as c-format
Date: Mon, 14 May 2012 20:15:59 +0200
This message in the 8.17 message file is written using fputs(), but it
is anyway marked as c-format.  This is a problem since the % sign in
the description of --goal is taken as a formatting directive (of an
unsigned int written in octal, with the "space" flag).  This causes
problems when translating.  The effect of the validation of the
translation complains if the word following the percent sign doesn't
start with an "o", or other letter which is "compatible" in printf's
sense.  (And in Swedish I would like it to start with an "a".)


#: src/fmt.c:285
#, c-format
msgid ""
"  -t, --tagged-paragraph    indentation of first line different from second\n"
"  -u, --uniform-spacing     one space between words, two after sentences\n"
"  -w, --width=WIDTH         maximum line width (default of 75 columns)\n"
"  -g, --goal=WIDTH          goal width (default of 93% of width)\n"




Information forwarded to bug-coreutils <at> gnu.org:
bug#11471; Package coreutils. (Mon, 14 May 2012 18:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 11471 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Göran Uddeborg <goeran <at> uddeborg.se>
Cc: control <at> debbugs.gnu.org, 11471 <at> debbugs.gnu.org
Subject: Re: bug#11471: Message incorrectly marked as c-format
Date: Mon, 14 May 2012 12:36:24 -0600
[Message part 1 (text/plain, inline)]
merge 11470 11471
thanks

On 05/14/2012 12:15 PM, Göran Uddeborg wrote:
> This message in the 8.17 message file is written using fputs(), but it
> is anyway marked as c-format.  This is a problem since the % sign in
> the description of --goal is taken as a formatting directive (of an
> unsigned int written in octal, with the "space" flag).  This causes
> problems when translating.  The effect of the validation of the
> translation complains if the word following the percent sign doesn't
> start with an "o", or other letter which is "compatible" in printf's
> sense.  (And in Swedish I would like it to start with an "a".)
> 
> 
> #: src/fmt.c:285
> #, c-format
> msgid ""
> "  -t, --tagged-paragraph    indentation of first line different from second\n"
> "  -u, --uniform-spacing     one space between words, two after sentences\n"
> "  -w, --width=WIDTH         maximum line width (default of 75 columns)\n"
> "  -g, --goal=WIDTH          goal width (default of 93% of width)\n"

Yep, you're the second person to report that today.

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

Merged 11470 11471. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Mon, 14 May 2012 18:38:03 GMT) Full text and rfc822 format available.

Merged 11470 11471 11472. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Mon, 14 May 2012 22:04:02 GMT) Full text and rfc822 format available.

Merged 11470 11471 11472 11483. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Wed, 16 May 2012 04:18:02 GMT) Full text and rfc822 format available.

Forcibly Merged 11470 11471 11472 11483 11494. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Wed, 16 May 2012 23:11:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 15 Jun 2012 11:24:02 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Tue, 19 Jun 2012 14:55:02 GMT) Full text and rfc822 format available.

Forcibly Merged 11470 11471 11472 11483 11494 11740. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Tue, 19 Jun 2012 14:55:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Jul 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.