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