[i18n] IMP 3.2-RC1

Jan Schneider jan at horde.org
Tue Feb 4 13:00:06 PST 2003


Zitat von Leena Heino <Leena.Heino at uta.fi>:

> On Tue, 4 Feb 2003, Jan Schneider wrote:
> 
> > Zitat von Leena Heino <Leena.Heino at uta.fi>:
> >
> > > I was wondering wheter \-characters cause troube with gettext.
> > > There is a string in imp RELENG:
> > > _("You can not have the '\' character in your full name.")
> > >
> > > Should \-character be used or somehow escaped like:
> > > _("You can not have the '\\' character in your full name.")
> >
> > That's what I'd think too. But it seems to work.
> Ok, but future translations might be missing this string with \-character
> as the xgettext.sh will lose the \-character from messages.po.
> Correct would be:
> _("You can not have the '\' character in your full name.")
> but in the messages.po (after xgettext.sh):
> _("You can not have the '' character in your full name.")
> 
> Therefore the translator might translate the wrong string.

Hm, my version of xgettext automatically detected the backslash and escaped
it correctly to '\\'.

But escaping it already in identities.php didn't do no harm either, so I
commited this fix. Thanks for the hint!

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the i18n mailing list