* src/DisplayTabs/_BackRefModel.py (BackRefModel.load_model):

Translate displayed object type.


svn: r7067
This commit is contained in:
Alex Roitman
2006-07-24 18:30:42 +00:00
parent 7bfe655fe0
commit 648d0b4a52
2 changed files with 5 additions and 1 deletions

View File

@@ -92,6 +92,8 @@ class BackRefModel(gtk.ListStore):
gid = p.gramps_id
handle = p.handle
self.append(row=[dtype, gid, name, handle])
# dtype is the class name, i.e. is English
# We need to use localized string in the model.
self.append(row=[_(dtype), gid, name, handle])
yield True
yield False