From 71a25a9e281f2d2ad18e1e72fcae3d8a024274a6 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 2 Jul 2016 23:00:34 +0200 Subject: [PATCH] 9557: Translated text will not be printed (bad copy/paste) --- gramps/plugins/view/geofamclose.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/plugins/view/geofamclose.py b/gramps/plugins/view/geofamclose.py index da35e487d..068ebde41 100644 --- a/gramps/plugins/view/geofamclose.py +++ b/gramps/plugins/view/geofamclose.py @@ -250,14 +250,14 @@ class GeoFamClose(GeoGraphyView): if self.reffamily: color = self._config.get('geography.color1') self._createmap(self.reffamily, color, self.place_list_ref, True) - self.message_layer.add_message(_("Family reference : %(ref)s") % - { 'ref' : self.family_label(self.reffamily)}) + self.message_layer.add_message(_("Family reference : %s") % + self.family_label(self.reffamily)) if f1: - self.message_layer.add_message(_("The other family : %(fam)s") % - { 'fam' : self.family_label(self.reffamily)}) + self.message_layer.add_message(_("The other family : %s") % + self.family_label(f1)) else: - self.message_layer.add_message(_("The other family : %(fam)s") % - { 'fam' : self.family_label(self.reffamily)}) + self.message_layer.add_message(_("The other family : %s") % + _("Unknown")) if self.reffamily_bookmark is None: self.reffamily_bookmark = self.reffamily.get_handle() self.add_bookmark_from_popup(None, self.reffamily_bookmark)