[dev] Italian translation

Jan Schneider jan@horde.org
Fri, 15 Feb 2002 23:14:38 +0100


Zitat von Federico Giannici <giannici@neomedia.it>:

> Jan Schneider wrote:
> > 
> > Zitat von Federico Giannici <giannici@neomedia.it>:
> > 
> > > I think that every text that goes to a Javascript Alert should be
> passed
> > > through a function that automatically escapes every occurrence of
> the
> > > single quote.
> > >
> > > Or better still, every text that goes to javascript string should
> pass
> > > through this function...
> > >
> > > Am I right?
> > 
> > You are right and everything else is a bug. We already fixed some
> > javascript calls to actually do this but if you find any more
> javascript
> > calls where this happens, please tell us.
> 
> The one that I found by chance is the call that write the string "You
> must first select the attachment(s) to delete." (in
> "imp/templates/compose/javascript.inc").
> 
> But a simple search for "alert(" into the IMP's templates directories
> reveals a large number of this cases...

You were right again. I think I fixed all occurences at least in IMP for 
now. Let me know if you find any more.

Jan.

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