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


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to