[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11483: [Translation-i18n] Problem with translation of coreutils 8.17

From: Chusslove Illich
Subject: bug#11483: [Translation-i18n] Problem with translation of coreutils 8.17
Date: Tue, 15 May 2012 23:14:53 +0200
User-agent: KMail/1.9.9

> [: 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 (Часлав Илић)

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]