summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Vasiliev <dima@hlabs.spb.ru>2005-04-27 10:18:40 +0000
committerDmitry Vasiliev <dima@hlabs.spb.ru>2005-04-27 10:18:40 +0000
commitdda3483d9f9e5abefe891540c01ca21d165878a9 (patch)
tree82c10a407f9ebbb0fe5ea2a89b4def19ca59034c
parenta528f668a52f15c064a215da73171acb14d194aa (diff)
downloadzope-tal-dda3483d9f9e5abefe891540c01ca21d165878a9.tar.gz
Removed definitely wrong comment
-rw-r--r--talgenerator.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/talgenerator.py b/talgenerator.py
index 6ab70c0..1ff3e08 100644
--- a/talgenerator.py
+++ b/talgenerator.py
@@ -323,18 +323,7 @@ class TALGenerator(object):
self.emit('evaluateCode', lang, program)
def emitI18nVariable(self, stuff):
- # Used for i18n:name attributes. arg is extra information describing
- # how the contents of the variable should get filled in, and it will
- # either be a 1-tuple or a 2-tuple. If arg[0] is None, then the
- # i18n:name value is taken implicitly from the contents of the tag,
- # e.g. "I live in <span i18n:name="country">the USA</span>". In this
- # case, arg[1] is the opcode sub-program describing the contents of
- # the tag.
- #
- # When arg[0] is not None, it contains the tal expression used to
- # calculate the contents of the variable, e.g.
- # "I live in <span i18n:name="country"
- # tal:replace="here/countryOfOrigin" />"
+ # Used for i18n:name attributes.
varname, action, expression = stuff
m = _name_rx.match(varname)
if m is None or m.group() != varname: