From 78c286fce251b114983b0171b349b5000c45a805 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 23:03:43 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14463 --- src/plugins/gramplet/SessionLogGramplet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/gramplet/SessionLogGramplet.py b/src/plugins/gramplet/SessionLogGramplet.py index e4e25cee7..c6c8cd0e8 100644 --- a/src/plugins/gramplet/SessionLogGramplet.py +++ b/src/plugins/gramplet/SessionLogGramplet.py @@ -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")