Because I prefer the dirty hack stays only on the template, and not on
my logic program code.
If some turbogears developer fix the problem, I need only to modify the
template.

-Andr�s

El mi�, 09-05-2007 a las 22:46 +0200, Florent Aide escribi�:
> Le mercredi 09 mai 2007 � 11:27 -0700, AndresG a �crit :
> > A dirty hack to overcome the attribute tag problem is:
> > 
> > <span py:replace=''>Clear</span>
> > <input class="btn" type="reset" value="${_('Clear')}"/>
> 
> instead of this hack why not pass the content of value in your dict:
> 
> return {the_translated_value:_('Clear')}
> 
> So it is collected correctly by the i18n module and then do
> 
> <input class="btn" type="reset" value="the_translated_value"/>
> 
> ?
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to