From 72a9897283d48c044bb59ac984a7a2d3ca19e0f2 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 2 Jul 2016 11:04:22 +0200 Subject: [PATCH] 9557 : Translated text will not be printed in the program --- gramps/plugins/view/geofamclose.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/view/geofamclose.py b/gramps/plugins/view/geofamclose.py index 4d1b37766..703d1ec90 100644 --- a/gramps/plugins/view/geofamclose.py +++ b/gramps/plugins/view/geofamclose.py @@ -250,11 +250,17 @@ 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 : %s" % self.family_label(self.reffamily))) + mess1 = _("Family reference") + mess1 += " : " + self.family_label(self.reffamily) + self.message_layer.add_message(mess1) + mess2 = _("The other family") + mess2 += " : " if f1: - self.message_layer.add_message(_("The other family : %s" % self.family_label(f1))) + mess2 += self.family_label(f1) + self.message_layer.add_message(mess2) else: - self.message_layer.add_message(_("The other family : %s" % _("Unknown"))) + mess2 += _("Unknown") + self.message_layer.add_message(mess2) if self.reffamily_bookmark is None: self.reffamily_bookmark = self.reffamily.get_handle() self.add_bookmark_from_popup(None, self.reffamily_bookmark)