[Zope-Checkins] SVN: Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/ Cope with changes in the TAL interpreter from TAL 1.5 to 1.6:

Philipp von Weitershausen philikon at philikon.de
Sun May 28 19:09:57 EDT 2006


Log message for revision 68318:
  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.
  

Changed:
  U   Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/input/test29.html
  U   Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/output/test29.html

-=-
Modified: Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/input/test29.html
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/input/test29.html	2006-05-28 23:07:07 UTC (rev 68317)
+++ Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/input/test29.html	2006-05-28 23:09:57 UTC (rev 68318)
@@ -1,4 +1,5 @@
 <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>

Modified: Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/output/test29.html
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/output/test29.html	2006-05-28 23:07:07 UTC (rev 68317)
+++ Zope/branches/ajung-zpt-end-game/lib/python/TAL/tests/output/test29.html	2006-05-28 23:09:57 UTC (rev 68318)
@@ -1 +1 @@
-<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>



More information about the Zope-Checkins mailing list