tweak string for translation, to make gettext happy

This commit is contained in:
Paul Franklin 2016-06-06 13:36:52 -07:00
parent 4b6b37f0f6
commit 9c71217751

View File

@ -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"