[Zope3-checkins]
SVN: Zope3/tags/before-blow-services-merge/src/zope/app/form/browser/itemswidgets.py
Add translation of term titles.
Benji York
benji at zope.com
Thu Feb 17 16:03:37 EST 2005
Log message for revision 29191:
Add translation of term titles.
Changed:
U Zope3/tags/before-blow-services-merge/src/zope/app/form/browser/itemswidgets.py
-=-
Modified: Zope3/tags/before-blow-services-merge/src/zope/app/form/browser/itemswidgets.py
===================================================================
--- Zope3/tags/before-blow-services-merge/src/zope/app/form/browser/itemswidgets.py 2005-02-17 21:02:36 UTC (rev 29190)
+++ Zope3/tags/before-blow-services-merge/src/zope/app/form/browser/itemswidgets.py 2005-02-17 21:03:36 UTC (rev 29191)
@@ -106,7 +106,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