[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.637

Fred L. Drake, Jr. fred@zope.com
Tue, 22 Jul 2003 11:09:35 -0400


Godefroid Chapelle writes:
 > +    Features added
 > +
 > +     - deny attributes being both part of tal:attributes
 > +       and having a messageid in i18n:attributes

You don't state your specific motivation, so I'll presume this is a
safety net.

While this sounds very reasonable on the face of it, I don't think
it's the right thing.  (Whether what was implemented to begin with is
the right thing is a separate question. ;)

When a message id is given by i18n:attributes, the result of the
tal:attributes expression should be used as the default text passed to
the translation service.  (If there is no tal:attributes setting for
the attribute, the undecorated attribute should be used as a source
for the default text, if present.)


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation