[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/security/browser/auth.py
Default value has been added for 'translate' call
Dmitry Vasiliev
dima at hlabs.spb.ru
Mon Mar 14 05:40:46 EST 2005
Log message for revision 29458:
Default value has been added for 'translate' call
Changed:
U Zope3/trunk/src/zope/app/security/browser/auth.py
-=-
Modified: Zope3/trunk/src/zope/app/security/browser/auth.py
===================================================================
--- Zope3/trunk/src/zope/app/security/browser/auth.py 2005-03-14 01:07:34 UTC (rev 29457)
+++ Zope3/trunk/src/zope/app/security/browser/auth.py 2005-03-14 10:40:45 UTC (rev 29458)
@@ -134,4 +134,4 @@
label = _('[Logout]')
return u'<a href="%s?nextURL=%s">%s</a>' % (
page, urllib.quote(self.request.getURL()),
- translate(label, context=self.request))
+ translate(label, context=self.request, default=label))
More information about the Zope3-Checkins
mailing list