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: Wed, 24 Oct 2007 14:37:01 +0200

Eric Blake <address@hidden> wrote:
> 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?

It *used to be* a format string.
Checking a .po file built from latest sources:

  $ grep -B6 ARG1.%.A po/vi.po|cut -c1-13
  #: src/expr.c
  #, c-format
  msgid ""
  "\n"
  "  ARG1 * ARG
  "  ARG1 / ARG
  "  ARG1 % ARG
  msgstr ""
  "\n"
  "  ARG1 * ARG
  "  ARG1 / ARG
  "  ARG1 % ARG




reply via email to

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