On Thursday 17 March 2005 09:59, Dmitry Vasiliev wrote: > I want to make registration status widget fully translatable. > Although InactiveStatus and ActiveStatus is both MesssageID instances, > translation is not performed, since the term.title value always equal None. > So I want to make special case for SimpleTerm values: > > if title is None and isinstance(value, MessageID): > title = value > > Is this reasonable change? If so then I check it in with tests.
I think this is a bit extreme. Instead I have manually created a vocabulary in the schema. See revision 29832. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com