On 1/19/06, Dan Jacob <[EMAIL PROTECTED]> wrote:
>
> Why would the lazy_gettext solution not work ?

It wouldn't work as written in Jorge's code. He was sending in
_("pt-uf8") and then, in the __init__ creating a JSLink(...,
"calendar-%s.js" % (thatstring))
(He may have even been doing + instead of %.)

So, the problem is that it would get evaluated at the wrong time. If
the whole string "calendar-pt-utf8.js" went through lazy_gettext that
might work (depends on what comes along down the line to use that).

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to