[ZPT] Re: [Zip] Coming changes in page templates

Jim Fulton jim@zope.com
Thu, 03 Apr 2003 08:22:35 -0500

Florent Guillaume wrote:
> In article <16005.39855.381323.611627@grendel.zope.com> you write:
>> > +1, since we noticed this need at the pycon sprint . :-)
>>I figured that's where Jim came up with the new syntax.  ;-)
> Back in September I proposed
>     <img src="/something/pencil.png" alt="Edit (External)"
>          i18n:attributes="alt=alt_external_edit" />
> (see http://mail.zope.org/pipermail/zope3-dev/2002-September/002801.html)

Oops, sorry we missed that.

> which has the advantage of being backward-compatible,

When considering this issue, I grepped through the latest
Plone release for all uses of i18n:attribute and found
no cases with multiple attrs. I came to the conclusion, therefore,
that, in practice, there wasn't an issue.

 > but it's true that
> Jim's syntax is more in line with the rest of ZPT.

Yup. :)


Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (703) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org