web/views/bookmark.py
changeset 6582 8eb7883b4223
parent 6548 fd36c1049eed
child 6684 b8bd0ecced2e
--- a/web/views/bookmark.py	Thu Oct 21 18:38:36 2010 +0200
+++ b/web/views/bookmark.py	Fri Oct 22 09:15:35 2010 +0200
@@ -18,6 +18,7 @@
 """Primary view for bookmarks + user's bookmarks box"""
 
 __docformat__ = "restructuredtext en"
+_ = unicode
 
 from logilab.mtconverter import xml_escape
 
@@ -100,7 +101,7 @@
             label = self.build_link(bookmark.title, bookmark.action_url())
             if self.can_delete:
                 dlink = u'[<a class="action" href="javascript:removeBookmark(%s)" title="%s">-</a>]' % (
-                    bookmark.eid, _('delete this bookmark'))
+                    bookmark.eid, req._('delete this bookmark'))
                 label = '<div>%s %s</div>' % (dlink, label)
             self.append(label)
         if self.can_edit: