[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate -
engine.py:1.21.6.2
Sidnei da Silva
sidnei at x3ng.com.br
Mon Mar 1 07:16:29 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv4062/app/pagetemplate
Modified Files:
Tag: runyaga-sip-branch
engine.py
Log Message:
Merge srichter's fixes to my branch.
=== Zope3/src/zope/app/pagetemplate/engine.py 1.21.6.1 => 1.21.6.2 ===
--- Zope3/src/zope/app/pagetemplate/engine.py:1.21.6.1 Fri Feb 27 12:58:18 2004
+++ Zope3/src/zope/app/pagetemplate/engine.py Mon Mar 1 07:15:58 2004
@@ -88,10 +88,8 @@
# so it is safe to remove all proxies
request = removeAllProxies(self.request)
# XXX should we cache the translator instance?
- translator = Translator(request.locale, domain, self.context)
- return translator.translate(msgid, mapping,
- context=request,
- default=default)
+ translator = Translator(domain, request, self.context)
+ return translator.translate(msgid, mapping, default=default)
evaluateInlineCode = False
More information about the Zope3-Checkins
mailing list