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.

Full log


View this message in rfc822 format

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: 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)]

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.