bug-coreutils
[Top][All Lists]
Advanced

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

Re: Errors in the coreutils-6.9 PO file


From: Eric Blake
Subject: Re: Errors in the coreutils-6.9 PO file
Date: Wed, 24 Oct 2007 06:33:31 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----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             address@hidden
-----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-----




reply via email to

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