zope.pagetemplate 3.4.1 contains obviously wrong code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.tal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Here's the chunk of code from talinterpreter.py:
def translate(self, msgid, default=None, i18ndict=None,
if default is None:
default = getattr(msgid, 'default', unicode(msgid))
if i18ndict is None:
if domain is None:
domain = getattr(msgid, 'domain', self.i18nContex
if obj:
if not self.i18nInterp
return msgid
# TODO: We need to pass in one of context or target_language
return self.engine.
Any domain passed to the translate call or obtained from the msgid is just plain ignored and the one from self.i18nContext is always used.
Changed in zope3: | |
status: | New → Won't Fix |
Wrong project: this is at zope.tal bug.