Adding named variables to format strings for errors in 'make distcheck' to work.

svn: r14463
This commit is contained in:
Rob G. Healey 2010-02-24 23:03:43 +00:00
parent ec7001837a
commit 78c286fce2

View File

@ -81,6 +81,6 @@ class LogGramplet(Gramplet):
if mother_handle:
mother = self.dbstate.db.get_person_from_handle(mother_handle)
mother_name = name_displayer.display(mother)
name = _("%s and %s") % (mother_name, father_name)
name = _("%(mother)s and %(father)s") % { 'mother' : mother_name, 'father' : father_name }
self.link(name, ltype, handle)
self.append_text("\n")