[Zope-Checkins] CVS: Zope/lib/python/TAL/tests/output -
test29.html:1.2.2.1 test_metal4.html:1.2.2.1
test_metal5.html:1.2.2.1 test_metal6.html:1.2.2.1
test_metal7.html:1.2.2.1 test_metal1.html:1.5.34.1
Godefroid Chapelle
gotcha at swing.be
Fri Aug 15 11:14:56 EDT 2003
Update of /cvs-repository/Zope/lib/python/TAL/tests/output
In directory cvs.zope.org:/tmp/cvs-serv14077/tests/output
Modified Files:
Tag: Zope-2_7-branch
test_metal1.html
Added Files:
Tag: Zope-2_7-branch
test29.html test_metal4.html test_metal5.html test_metal6.html
test_metal7.html
Log Message:
merge from gotcha-talz3_backport-branch
backport of TAL fixes from z3
- i18n and metal interactions
- fix handling of nested translations with tal:content/replace and i18n:name
some reformatting to ease comparisons between 2.x and 3
=== Added File Zope/lib/python/TAL/tests/output/test29.html ===
<div>AT THE TONE THE TIME WILL BE 59 MINUTES AFTER 6 PM... BEEP!</div>
=== Added File Zope/lib/python/TAL/tests/output/test_metal4.html ===
<!-- the outer element *must* be tal:something or metal:something -->
<metal:block define-macro="page" i18n:domain="zope">
<title metal:define-slot="title">Z3 UI</title>
</metal:block>
=== Added File Zope/lib/python/TAL/tests/output/test_metal5.html ===
<!-- the outer element *must* include tal:omit-tag='' -->
<x tal:omit-tag="" metal:define-macro="page" i18n:domain="zope">
<title metal:define-slot="title">Z3 UI</title>
</x>
=== Added File Zope/lib/python/TAL/tests/output/test_metal6.html ===
<metal:block define-macro="page">
<html i18:domain="zope">
<metal:block define-slot="title">Z3 UI</metal:block>
</html>
</metal:block>
=== Added File Zope/lib/python/TAL/tests/output/test_metal7.html ===
<html metal:define-macro="page" i18n:domain="zope">
<x metal:define-slot="title" />
</html>
<html metal:use-macro="page" i18n:domain="zope">
<x metal:fill-slot="title" />
</html>
=== Zope/lib/python/TAL/tests/output/test_metal1.html 1.5 => 1.5.34.1 ===
--- Zope/lib/python/TAL/tests/output/test_metal1.html:1.5 Mon Oct 28 15:43:11 2002
+++ Zope/lib/python/TAL/tests/output/test_metal1.html Fri Aug 15 10:14:48 2003
@@ -22,7 +22,7 @@
<span metal:use-macro="OUTER2">
AAA
- <xxx metal:slot="OUTERSLOT">
+ <xxx metal:fill-slot="OUTERSLOT">
<span>INNER</span>
</xxx>
BBB
@@ -48,7 +48,7 @@
<span metal:use-macro="OUTER3">
AAA
- <xxx metal:slot="OUTERSLOT">
+ <xxx metal:fill-slot="OUTERSLOT">
<span>INNER
<xxx>INNERSLOT</xxx>
</span>
@@ -63,7 +63,7 @@
</span>
<span metal:use-macro="INNER3">INNER
- <xxx metal:slot="INNERSLOT">INNERSLOT</xxx>
+ <xxx metal:fill-slot="INNERSLOT">INNERSLOT</xxx>
</span>
<span metal:use-macro="INNER3">INNER
@@ -72,8 +72,8 @@
<span metal:use-macro="INNER3">INNER
<yyy metal:fill-slot="INNERSLOT">
- <zzz metal:define-macro="INSLOT"><aaa metal:slot="null">INSLOT</aaa></zzz>
+ <zzz metal:define-macro="INSLOT">INSLOT</zzz>
</yyy>
</span>
-<zzz metal:use-macro="INSLOT"><aaa>INSLOT</aaa></zzz>
+<zzz metal:use-macro="INSLOT">INSLOT</zzz>
More information about the Zope-Checkins
mailing list