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: Jim Meyering
Subject: Re: Errors in the coreutils-6.9 PO file
Date: Sat, 27 Oct 2007 09:30:10 +0200

Clytie Siddall <address@hidden> wrote:
> 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. We can workaround this by making the string
> non-c-format, if that's appropriate in the code context.
>
> If you don't have a full set of translations for coreutils, it may
> well be due to this error. Translators can't submit their files
> unless those files pass "msgfmt -cv", and any translation of this
> string won't.

As you know, it's already fixed, but I'm wondering
why I couldn't provoke the error from msgfmt -cv.

Are you using a version of msgfmt newer than 0.16.1?
When I run "msgfmt -cv po/fr.po", the only output I get is this:
1001 translated messages, 190 fuzzy translations, 81 untranslated messages.

And that file does contain a c-format-marked translation of
the line you mention.

    $ msgfmt --version|head -1
    msgfmt (GNU gettext-tools) 0.16.1




reply via email to

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