GNU bug report logs - #11483
Problem with translation of coreutils 8.17

Previous Next

Package: coreutils;

Reported by: Primoz PETERLIN <primozz.peterlin <at> gmail.com>

Date: Tue, 15 May 2012 20:15:01 UTC

Severity: normal

Merged with 11470, 11471, 11472, 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: Chusslove Illich <caslav.ilic <at> gmx.net>
To: translation-i18n <at> lists.sourceforge.net
Cc: 11483 <at> debbugs.gnu.org, primozz.peterlin <at> gmail.com
Subject: bug#11483: [Translation-i18n] Problem with translation of coreutils 8.17
Date: Tue, 15 May 2012 23:14:53 +0200
[Message part 1 (text/plain, inline)]
> [: Primoz PETERLIN :]
> Apparently, msgfmt interprets "% o" in the help text of the --goal option
> as a format specifier.

When that happens, you add such a comment line just before the problematic
gettext call:

  /* xgettext: no-c-format */
  gettext("...93% of width...")

The extracted message will then have no-c-format flag instead of c-format,
thus not triggering format validation. This is documented in section 4.6 of
Gettext manual.

-- 
Chusslove Illich (Часлав Илић)
[signature.asc (application/pgp-signature, inline)]

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.