8200: Person Relatives Tab should use the type from the relationship (#396)

* 8200: Person Relatives Tab should use the type from the relationship

* 8200: Flag variables as there are now two variables.
This commit is contained in:
Serge Noiraud 2017-06-02 20:07:31 +02:00 committed by GitHub
parent 213d656df4
commit 24af1b8420

View File

@ -85,7 +85,9 @@ class RelativesGramplet(Gramplet):
spouse = database.get_person_from_handle(spouse_handle)
spousename = name_displayer.display(spouse)
text = "%s" % spousename
self.append_text(_("%d. Partner: ") % (famc))
self.append_text(_("%(count)d. %(relation)s: ") %
{"count": famc,
"relation": family.get_relationship()})
self.link(text, 'Person', spouse_handle)
self.append_text("\n")
else: