4934: Menu items on SimpleTable and ScratchPad ignore translation strings for object class
svn: r17793
This commit is contained in:
parent
ee14f249f3
commit
b8c0aaf572
@ -1332,7 +1332,7 @@ class MultiTreeView(gtk.TreeView):
|
||||
popup.append(menu_item)
|
||||
menu_item.show()
|
||||
# ---------------------------
|
||||
menu_item = gtk.MenuItem(_("the object|Make %s Active") % trans_objclass(objclass))
|
||||
menu_item = gtk.MenuItem(_("the object|Make %s active") % trans_objclass(objclass))
|
||||
menu_item.connect("activate",
|
||||
lambda widget: self.uistate.set_active(handle, objclass))
|
||||
popup.append(menu_item)
|
||||
|
@ -140,7 +140,7 @@ class SimpleTable(object):
|
||||
(index is not None and self.__link[index])):
|
||||
objclass, handle = self.__link[index]
|
||||
if objclass == 'Person':
|
||||
menu_item = gtk.MenuItem(_("the object|Make %s Active") % trans_objclass('Person'))
|
||||
menu_item = gtk.MenuItem(_("the object|Make %s active") % trans_objclass('Person'))
|
||||
menu_item.connect("activate",
|
||||
lambda widget: self.on_table_click(treeview))
|
||||
popup.append(menu_item)
|
||||
|
Loading…
Reference in New Issue
Block a user