update to match new cubicweb.web.stdmsgs definition
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 01 Dec 2009 09:15:49 +0100
changeset 88 5ac138583310
parent 87 5170c4644eaa
child 89 4985b1ea1d10
update to match new cubicweb.web.stdmsgs definition
debian/control
views.py
--- a/debian/control	Tue Nov 24 16:33:47 2009 +0100
+++ b/debian/control	Tue Dec 01 09:15:49 2009 +0100
@@ -11,7 +11,7 @@
 Conflicts: cubicweb-keywords
 Replaces: cubicweb-keywords
 Architecture: all
-Depends: cubicweb-common (>= 3.0.0)
+Depends: cubicweb-common (>= 3.5.5)
 Description: keyword component for the Cubicweb framework
  This Cubicweb component provides classification (hierarchies of keywords)
  to classify content. See also cubicweb-tag.
--- a/views.py	Tue Nov 24 16:33:47 2009 +0100
+++ b/views.py	Tue Dec 01 09:15:49 2009 +0100
@@ -163,8 +163,8 @@
         entity = self.entity(0)
         self.w(u'<table><tr><td>')
         self.w(u'<a class="button sglink" href="javascript: showKeywordSelector(%s, \'%s\', \'%s\');">%s</a></td>' % (
-            entity.eid, self.req._(stdmsgs.BUTTON_OK),
-            self.req._(stdmsgs.BUTTON_CANCEL), self.req._('add keywords')))
+            entity.eid, self.req._(stdmsgs.BUTTON_OK[0]),
+            self.req._(stdmsgs.BUTTON_CANCEL[0]), self.req._('add keywords')))
         self.w(u'<td><div id="kwformholder"></div>')
         self.w(u'</td></tr></table>')