Eric Blake <[EMAIL PROTECTED]> 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 _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
