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

Florent Guillaume fg@nuxeo.com
Tue, 24 Sep 2002 11:39:59 -0400


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

Modified Files:
      Tag: Zope-2_6-branch
	CheckI18nTranslate.html CheckI18nTranslateHooked.html 
Log Message:
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.

Tagged efge-before-i18n-notransserv-fix before this checkin.


=== Zope/lib/python/Products/PageTemplates/tests/input/CheckI18nTranslate.html 1.1.4.1 => 1.1.4.2 ===
--- Zope/lib/python/Products/PageTemplates/tests/input/CheckI18nTranslate.html:1.1.4.1	Wed Sep 18 10:54:11 2002
+++ Zope/lib/python/Products/PageTemplates/tests/input/CheckI18nTranslate.html	Tue Sep 24 11:39:28 2002
@@ -1,7 +1,12 @@
 <html>
 <body>
 <head>
-   <p i18n:translate="foobar">baz</p>
+   <p i18n:domain="foo" i18n:translate="bar">baz</p>
+   <a href="foo" alt="alttext" i18n:attributes="alt">link</a>
+   <p i18n:domain="dom" i18n:translate="">
+     <span tal:replace="string:Lomax" i18n:name="name" /> was born in
+     <span tal:replace="string:Antarctica" i18n:name="country" />.
+   </p>
 </head>
 </body>
 </html>


=== Zope/lib/python/Products/PageTemplates/tests/input/CheckI18nTranslateHooked.html 1.1.4.1 => 1.1.4.2 ===
--- Zope/lib/python/Products/PageTemplates/tests/input/CheckI18nTranslateHooked.html:1.1.4.1	Wed Sep 18 10:54:11 2002
+++ Zope/lib/python/Products/PageTemplates/tests/input/CheckI18nTranslateHooked.html	Tue Sep 24 11:39:28 2002
@@ -2,6 +2,11 @@
 <body>
 <head>
    <p i18n:domain="foo" i18n:translate="bar">baz</p>
+   <a href="foo" alt="alttext" i18n:attributes="alt">link</a>
+   <p i18n:domain="dom" i18n:translate="">
+     <span tal:replace="string:Lomax" i18n:name="name" /> was born in
+     <span tal:replace="string:Antarctica" i18n:name="country" />.
+   </p>
 </head>
 </body>
 </html>