A dirty hack to overcome the attribute tag problem is:
<span py:replace=''>Clear</span>
<input class="btn" type="reset" value="${_('Clear')}"/>
That way, the string recolector takes "Clear" to be included in
the .pot file.
Then, the string is also used on the attribute tag.
Andrés
On 9 mayo, 14:24, "Mariano Andres Gironacci"
<[EMAIL PROTECTED]> wrote:
> but still can't translate tags attributes like:
> <input class="btn" type="reset" value="${_('Clear')}"/>
>
> any tip regarding this?
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---