[ZPT] CVS: Zope/lib/python/Products/PageTemplates/tests/output - CheckI18nTranslate.html:1.3 CheckI18nTranslateHooked.html:1.3

Florent Guillaume fg@nuxeo.com
Sun, 6 Oct 2002 13:21:09 -0400


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/tests/output
In directory cvs.zope.org:/tmp/cvs-serv11392/lib/python/Products/PageTemplates/tests/output

Modified Files:
	CheckI18nTranslate.html CheckI18nTranslateHooked.html 
Log Message:
Merged changes from the Zope-2_6-branch:
Modified the translation service to return None if no translation exist.
So now using i18n tags without a translation service should give the
same behavior as before. The tests reflect that.


=== Zope/lib/python/Products/PageTemplates/tests/output/CheckI18nTranslate.html 1.2 => 1.3 ===
--- Zope/lib/python/Products/PageTemplates/tests/output/CheckI18nTranslate.html:1.2	Wed Sep 18 11:12:47 2002
+++ Zope/lib/python/Products/PageTemplates/tests/output/CheckI18nTranslate.html	Sun Oct  6 13:21:08 2002
@@ -1,7 +1,12 @@
 <html>
 <body>
 <head>
-   <p>foobar</p>
+   <p>baz</p>
+   <a href="foo" alt="alttext">link</a>
+   <p>
+     Lomax was born in
+     Antarctica.
+   </p>
 </head>
 </body>
 </html>


=== Zope/lib/python/Products/PageTemplates/tests/output/CheckI18nTranslateHooked.html 1.2 => 1.3 ===
--- Zope/lib/python/Products/PageTemplates/tests/output/CheckI18nTranslateHooked.html:1.2	Wed Sep 18 11:12:47 2002
+++ Zope/lib/python/Products/PageTemplates/tests/output/CheckI18nTranslateHooked.html	Sun Oct  6 13:21:08 2002
@@ -2,6 +2,8 @@
 <body>
 <head>
    <p>[foo](bar)</p>
+   <a href="foo" alt="[default](alttext)">link</a>
+   <p>[dom](${name} was born in ${country}.)</p>
 </head>
 </body>
 </html>