[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors in the coreutils-6.9 PO file
From: |
Micah Cowan |
Subject: |
Re: Errors in the coreutils-6.9 PO file |
Date: |
Wed, 24 Oct 2007 19:18:40 -0700 |
User-agent: |
Thunderbird 1.5.0.13 (X11/20070824) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Eric Blake wrote:
> According to Bruno Haible on 10/24/2007 4:44 PM:
>>>> " ARG1 % ARG2 arithmetic remainder of ARG1 divided by ARG2\n"
>>>>
>> xgettext marks it as c-format, because it looks like a C format string,
>> and the possible negative effects of doing so (a mail from translator to
>> programmer is needed) are smaller than the possible negative effects of
>> not marking it as c-format (program crashes in particular locales).
>
> To which I ask the (hopefully obvious followup) - if I don't like what the
> hueristics picked, then how do I explicitly tell xgettext that I am sure
> this is NOT a c-format, because it is used in fputs and not printf? Is
> there a magic /* xgettext: */ comment to do this?
>
There is... and it was actually mentioned a couple times upthread,
though not explicitly spelled out.
You want:
/* xgettext:no-c-format */
on the same line or on the line just prior to the string.
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHH/0A7M8hyUobTrERCMZqAJ9Dmlu0xA+Nq4Jg/BTz+YeDPqreEwCgicnv
ywy1/Bu1Byq+vRlhCXCP62s=
=F9cl
-----END PGP SIGNATURE-----
Re: Errors in the coreutils-6.9 PO file, Eric Blake, 2007/10/24
Re: Errors in the coreutils-6.9 PO file, Eric Blake, 2007/10/24
Re: Errors in the coreutils-6.9 PO file, Jim Meyering, 2007/10/27