[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/ The default value is the content expression, not the tag body.
Malthe Borch
mborch at gmail.com
Mon Sep 1 16:23:47 EDT 2008
Log message for revision 90669:
The default value is the content expression, not the tag body.
Changed:
U z3c.pt/trunk/src/z3c/pt/i18n.txt
U z3c.pt/trunk/src/z3c/pt/translation.py
-=-
Modified: z3c.pt/trunk/src/z3c/pt/i18n.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/i18n.txt 2008-09-01 20:23:06 UTC (rev 90668)
+++ z3c.pt/trunk/src/z3c/pt/i18n.txt 2008-09-01 20:23:47 UTC (rev 90669)
@@ -263,9 +263,7 @@
<span title="Title">
Default, "default", 'default'
</span>
- <span>
- Default, "default", 'default'
- </span>
+ <span>tid</span>
</div>
Passing German:
Modified: z3c.pt/trunk/src/z3c/pt/translation.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/translation.py 2008-09-01 20:23:06 UTC (rev 90668)
+++ z3c.pt/trunk/src/z3c/pt/translation.py 2008-09-01 20:23:47 UTC (rev 90669)
@@ -190,8 +190,7 @@
_.append(clauses.Assign(content, self.symbols.tmp))
content = self.translate_expression(
- types.value(self.symbols.tmp), default=
- repr(text.replace("'", "\'")))
+ types.value(self.symbols.tmp))
_.append(clauses.Write(content))
More information about the Checkins
mailing list