This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7765 [Patch]
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org,Michel Robitaille <robitail at iro dot umontreal dot ca>
- Date: Mon, 28 Oct 2002 08:32:45 -0800
- Subject: Re: c++/7765 [Patch]
- References: <Pine.SOL.4.10.10210281642250.5101-100000@eris>
On Mon, Oct 28, 2002 at 04:43:22PM +0100, Wolfgang Bangerth wrote:
> msgid "%s for `%T %s %T' operator"
> ! msgstr "%s pour l'opérateur «%T [%T]»"
>
> #: cp/call.c:2845
> msgid "%s for `%s %T' operator"
> ! msgstr "%s pour l'opérateur «%T [%T]»"
You're on the right track here, but these are still wrong.
Translations must not change the sequence of %-escapes *at all*.
(We haven't yet implemented %1$s notation in diagnostic.c; it's
needed, but until then...) And the square brackets were blindly
copied from the message above; they don't belong.
msgid "%s for `%T %s %T' operator"
msgstr "%s pour l'opérateur «%T %s %T»"
msgid "%s for `%s %T' operator"
msgstr "%s pour l'opérateur «%s %T»"
If this weren't in the translations it would qualify as an obvious
bugfix. I would say, go ahead and check it in (with this change);
but we need to get the fix propagated to the translation project.
Michel, you are listed as the translator for this file. Would you
please incorporate these changes into the next version of the file,
and also check for other places where the %-escapes are inconsistent
between the msgid and the msgstr?
zw