[Zope3-checkins] CVS: Zope3/src/zope/tal - talinterpreter.py:1.11
Fred L. Drake, Jr.
fred@zope.com
Fri, 4 Apr 2003 16:41:31 -0500
Update of /cvs-repository/Zope3/src/zope/tal
In directory cvs.zope.org:/tmp/cvs-serv12330
Modified Files:
talinterpreter.py
Log Message:
Remove some out of date comments.
=== Zope3/src/zope/tal/talinterpreter.py 1.10 => 1.11 ===
--- Zope3/src/zope/tal/talinterpreter.py:1.10 Fri Apr 4 15:40:15 2003
+++ Zope3/src/zope/tal/talinterpreter.py Fri Apr 4 16:41:30 2003
@@ -536,21 +536,7 @@
# scripting vector by allowing translators to sneak JavaScript into
# translations. OTOH, for implicit interpolation values, we don't
# want to escape stuff like ${name} <= "<b>Timmy</b>".
- #s = escape(xlated_msgid)
- #s = xlated_msgid
- # Watch out for unknown translation message id. In this case, and
- # when both an explicit message id and default text are given, the
- # Plone people want the default text, so by Papal Edict this is what
- # we return. For example:
- #
- # <span i18n:translate="explicit id">default text</span>
- #
- # returns
- #
- # <span>default text</span>
assert xlated_msgid is not None
- # If there are i18n variables to interpolate into this string,
- # better do it now.
self._stream_write(xlated_msgid)
bytecode_handlers['insertTranslation'] = do_insertTranslation