From 9c71217751b20ed42bb07416d5f5e22a7a918177 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 6 Jun 2016 13:36:52 -0700 Subject: [PATCH] tweak string for translation, to make gettext happy --- gramps/plugins/graph/gvfamilylines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/graph/gvfamilylines.py b/gramps/plugins/graph/gvfamilylines.py index 40346f24a..1d9993550 100644 --- a/gramps/plugins/graph/gvfamilylines.py +++ b/gramps/plugins/graph/gvfamilylines.py @@ -446,12 +446,12 @@ class FamilyLinesReport(Report): gid = person.get_gramps_id() name = person.get_primary_name().get_regular_name() # translators: needed for Arabic, ignore othewise - self.doc.add_comment('# -> ' + self._('%s, %s') % (gid, name)) + id_n = self._("%(str1)s, %(str2)s") % {'str1':gid, 'str2':name} + self.doc.add_comment('# -> ' + id_n) self.write_people() self.write_families() - def find_parents(self): """ find the parents """ # we need to start with all of our "people of interest"