Cope with changes in the TAL interpreter from TAL 1.5 to 1.6:

i18n:name and i18n:translate on the same element is now supported. Moreover,
i18n:translate isn't automatically assumed for those elements with i18n:name.
Also, the element that i18n:name is on isn't automatically removed anymore.
You'll have to use tal:omit-tag to explicitly make it go away.

For more info, see http://zope.org/Collectors/Zope3-dev/301.
parent 211c2854
<div i18n:translate="">At the tone the time will be
<span i18n:data="here/currentTime"
i18n:translate="timefmt"
i18n:name="time">2:32 pm</span>... beep!</div>
i18n:name="time"
tal:omit-tag="">2:32 pm</span>... beep!</div>
<div>AT THE TONE THE TIME WILL BE 59 MINUTES AFTER 6 PM... BEEP!</div>
<div>AT THE TONE THE TIME WILL BE 59 minutes after 6 PM... BEEP!</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment