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

Jim Meyering wrote:
> Clytie Siddall <[EMAIL PROTECTED]> 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



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to