* src/DisplayTabs/_BackRefModel.py (BackRefModel.load_model):
Translate displayed object type. svn: r7067
This commit is contained in:
parent
7bfe655fe0
commit
648d0b4a52
@ -1,4 +1,6 @@
|
||||
2006-07-24 Alex Roitman <shura@gramps-project.org>
|
||||
* src/DisplayTabs/_BackRefModel.py (BackRefModel.load_model):
|
||||
Translate displayed object type.
|
||||
* debian/control (Build-Depends-Indep): Add python-central;
|
||||
(XS-Python-Version): Add.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user