diff --git a/ChangeLog b/ChangeLog index 4790f950a..a799b58eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2006-07-24 Alex Roitman + * src/DisplayTabs/_BackRefModel.py (BackRefModel.load_model): + Translate displayed object type. * debian/control (Build-Depends-Indep): Add python-central; (XS-Python-Version): Add. diff --git a/src/DisplayTabs/_BackRefModel.py b/src/DisplayTabs/_BackRefModel.py index bc80d2e13..110a44d21 100644 --- a/src/DisplayTabs/_BackRefModel.py +++ b/src/DisplayTabs/_BackRefModel.py @@ -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