[dev] [PATCH] Little bug in imp/contacts.php javascript

Chuck Hagenbuch chuck at horde.org
Tue Dec 16 11:14:23 PST 2003


Quoting Etienne Goyer <etienne.goyer at linuxquebec.com>:

> > Also, I'm not convinced this is necessary. Try doing <?php echo
> > addslashes(_("To")) and see if that works for you.
>
> But why use a translation in the first place ?  It's just Javascript
> variables content, and it's never displayed to the user.   We could do it
> entirely without escaping to PHP.

Huh, there must have been a reason to translate it at some point, but at this
point, seems you're right, it's not displayed anywhere. Committed, thanks.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the dev mailing list