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: Ivan Vilata i Balaguer <ivan <at> selidor.net>
To: 11494 <at> debbugs.gnu.org
Subject: bug#11494: Accidental format string prevents translation
Date: Thu, 17 May 2012 00:48:37 +0200
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,

-- 
Ivan Vilata i Balaguer -- https://elvil.net/




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.