This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/7765 [Patch]


Zack, Michel,

> 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);

I can't, someone has to do that for me. Note also the changed comment in
the patch, I believe the old one had an "and" and "or" confused.

> 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?

I'm presently about to do just that, with a small script. There are
literally dozens of such cases in the danish translation, and at least ten
more in the french one, where formats don't match (things are a little bit
complicated, since a % might be followed by a charater that needs to be
escaped in perl...). I'm surprised nobody's been paying attention to this
rather obvious problem. Also, do I understand you correctly that the
_order_ of formats needs to be preserved? (One would think so if things
are called via functions with an ellipsis at the end.) This is going to be
a headache for translators, because it restricts their choice of wording,
and it can also not be checked automatically, if the same format appears
more than once in the text.

This is probably going to be too much just for me, but once it's running,
I'd be happy to share the script.

Regards
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth          email: wolfgang.bangerth@iwr.uni-heidelberg.de
                             www: http://gaia.iwr.uni-heidelberg.de/~wolf



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]