-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Clytie Siddall on 10/24/2007 2:37 AM:
> Hi :)
> 
> I recently reviewed our translation of coreutils for the Translation
> Project. I noticed the following errors, which I thought you might like
> to fix in an upcoming release:
> ___
> 1. This is a fatal error for msgfmt:
> 
> #: src/expr.c:133
> #, c-format
> msgid ""
> "\n"
> "  ARG1 * ARG2       arithmetic product of ARG1 and ARG2\n"
> "  ARG1 / ARG2       arithmetic quotient of ARG1 divided by ARG2\n"
> "  ARG1 % ARG2       arithmetic remainder of ARG1 divided by ARG2\n"
> 
> A bare percentage sign in a c-format string will be reported as an error
> in the translation.

But the string in question occurs inside fputs, not printf.  So why is
xgettext marking it as c-format?  Bruno?


> We can workaround this by making the string
> non-c-format, if that's appropriate in the code context.

Yes, as you can see by looking at src/expr.c line 133.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHHzub84KuGfSFAYARAouZAJ9ARFK1pSzW+MlrW1ZTdJKNqMbWYQCeOQd8
rfmPF4HNmI5wxSenLhksN9Q=
=L3mo
-----END PGP SIGNATURE-----


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

Reply via email to