GNU bug report logs - #11494
Accidental format string prevents translation

Previous Next

Package: coreutils;

Reported by: Ivan Vilata i Balaguer <ivan <at> selidor.net>

Date: Wed, 16 May 2012 22:56:02 UTC

Severity: normal

Merged with 11470, 11471, 11472, 11483, 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: Ivan Vilata i Balaguer <ivan <at> selidor.net>
Cc: 11494 <at> debbugs.gnu.org
Subject: bug#11494: Accidental format string prevents translation
Date: Wed, 16 May 2012 17:10:13 -0600
[Message part 1 (text/plain, inline)]
forcemerge 11470 11494
thanks

On 05/16/2012 04:48 PM, Ivan Vilata i Balaguer wrote:
> Hi, in coreutils 8.17 (and in current git), `fmt.c` contains the following
> help line:
> 
>     -g, --goal=WIDTH          goal width (default of 93% of width)
> 
> The percent is interpreted (at least by `msgfmt`) as the start of a `%o`
> format string, thus translations are forced to have an "o" after `93%` which
> makes things quite difficult. ;)
> 
> Changing `93%` by `93%%` should do the job.  Thanks,

Thanks for the report; however, you're the fifth person to report this
in 48 hours, and it has already been fixed in current git:
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=e2bd5cda0a34

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