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: Benno Schulenberg
Subject: Re: Errors in the coreutils-6.9 PO file
Date: Mon, 29 Oct 2007 15:08:03 +0100
User-agent: KMail/1.9.7

(Sorry for breaking thread, I'm not subscribed.)

Jim Meyering wrote:
> Clytie Siddall <address@hidden> wrote:
> > 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"
>
> 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.

With fr.po (and most other PO files) the error does not occur because
"ARG1 % ARG2" is translated to "ARG1 % ARG2", which is still a valid
C-format string.  In vi.po it gets translated to "ĐỐI_SỐ1 % ĐỐI_SỐ2",
which is what causes msgfmt to cry alarum.

Benno





reply via email to

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