Commit 8f82d361 authored by Tres Seaver's avatar Tres Seaver

Collector #1888: Adjust call to 'engine.translate' to accomodate new signature.

parent da718a07
......@@ -33,6 +33,9 @@ Zope Changes
Bugs Fixed
- Collector #1888: Adjust call to 'engine.translate' to accomodate
change in its signature.
- Collector #1863: Prevent possibly sensitive information to leak via
the TransientObject's __repr__ method.
......
......@@ -506,8 +506,8 @@ class TALInterpreter:
return
if isinstance(text, MessageID):
# Translate this now.
text = self.engine.translate(text.domain, text,
text.mapping, text.default)
text = self.engine.translate(text.domain, text, text.mapping,
default=text.default)
s = escape(text)
self._stream_write(s)
i = s.rfind('\n')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment