[Zope3-dev] SimpleTerm from MessageID
Dmitry Vasiliev
lists at hlabs.spb.ru
Thu Mar 17 09:59:00 EST 2005
Hello all!
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.
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the Zope3-dev
mailing list