[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
Add translation of term titles.
Benji York
benji at zope.com
Fri Feb 18 09:39:49 EST 2005
Log message for revision 29206:
Add translation of term titles.
Changed:
U Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/itemswidgets.py 2005-02-18 14:39:14 UTC (rev 29205)
+++ Zope3/trunk/src/zope/app/form/browser/itemswidgets.py 2005-02-18 14:39:49 UTC (rev 29206)
@@ -110,7 +110,7 @@
is returned here since it's the only thing known to be a string, or
str()able."""
if ITitledTokenizedTerm.providedBy(term):
- return term.title
+ return self.translate(term.title)
return term.token
def convertTokensToValues(self, tokens):
More information about the Zope3-Checkins
mailing list