El mié, 09-05-2007 a las 23:05 +0200, Florent Aide escribió:
> Then I would do this in my template in this case:
>
> <span py:strip='True'>Clear</span>
> <input class="btn" type="reset" value="${_('Clear')}"/>
>
> So that the span is completely removed from the resulting file that is
> served to the client...
Ok, I'm just a python/turbogears/turbokid/kid/json/etc... newbie, I
tough py:replace='' has the same effect. I will follow your tip.
>
> And secondly:
>
> could you create a trac ticket to report that the ${_('')} pattern in
> a
> template is not picked-up by the i18n collection program?
>
> Could you state in your ticket if you tried the web interface, the
> command line one or both...
ok
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---