4871: The Reference Gramplet in all Views, bottom panel: The Type is not translated.

svn: r17336
This commit is contained in:
Doug Blank 2011-04-29 12:40:16 +00:00
parent 5093902494
commit d2f21b2b74

View File

@ -52,7 +52,7 @@ class Backlinks(Gramplet):
for classname, handle in \ for classname, handle in \
self.dbstate.db.find_backlink_handles(active_handle): self.dbstate.db.find_backlink_handles(active_handle):
name = navigation_label(self.dbstate.db, classname, handle)[0] name = navigation_label(self.dbstate.db, classname, handle)[0]
self.model.add((classname, name)) self.model.add((_(classname), name))
self.set_has_data(self.model.count > 0) self.set_has_data(self.model.count > 0)
def get_has_data(self, active_handle): def get_has_data(self, active_handle):