diff --git a/src/plugins/tool/RelCalc.py b/src/plugins/tool/RelCalc.py index 11ddb53bb..d6db8f1eb 100644 --- a/src/plugins/tool/RelCalc.py +++ b/src/plugins/tool/RelCalc.py @@ -185,7 +185,7 @@ class RelCalc(Tool.Tool, ManagedWindow.ManagedWindow): if other_person is None: pass elif self.person.handle == other_person.handle: - rstr = _("%(person)s and %(active_person)s are the same person.")) % { + rstr = _("%(person)s and %(active_person)s are the same person.") % { 'person' : p1, 'active_person' : p2 } text.append((rstr, "")) elif len(rel_strings) == 0: @@ -210,8 +210,8 @@ class RelCalc(Tool.Tool, ManagedWindow.ManagedWindow): p2c = self.db.get_person_from_handle(common[1]) p1str = name_displayer.display(p1c) p2str = name_displayer.display(p2c) - commontext = " " + _("Their common ancestors are %(ancestor1)s and %(ancestor2)s.") - % { 'ancestor1' : p1str, 'ancestor2' : p2str } + commontext = " " + _("Their common ancestors are %(ancestor1)s and %(ancestor2)s.") % { + 'ancestor1' : p1str, 'ancestor2' : p2str } elif length > 2: index = 0 commontext = " " + _("Their common ancestors are: ")