[Zope-Checkins] CVS: Zope/lib/python/TAL/tests/input - test34.html:1.1 test_failed_attr_translation.html:1.1

Fred L. Drake, Jr. fred@zope.com
Mon, 7 Apr 2003 13:38:29 -0400


Update of /cvs-repository/Zope/lib/python/TAL/tests/input
In directory cvs.zope.org:/tmp/cvs-serv18558/TAL/tests/input

Added Files:
	test34.html test_failed_attr_translation.html 
Log Message:
Back-port two features from the Zope 3 version of Page Templates:
- avoid normalizing whitespace when using the default text when there is not
  a matching translation
- added support for explicit msgids in the i18n:attributes syntax


=== Added File Zope/lib/python/TAL/tests/input/test34.html ===
<span i18n:translate="don't translate me">
  stuff
  <span tal:replace="string:foobar" i18n:name="longname" />
  more stuff
</span>

<span i18n:translate="">
  stuff
  <span tal:replace="string:foobar" i18n:name="longname" />
  more stuff
</span>


=== Added File Zope/lib/python/TAL/tests/input/test_failed_attr_translation.html ===
<input value="don't translate me"
       i18n:attributes="value">