From fc4ac6cc7f2ea5c51cc5eeed6ca4bf263a21b391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 16 Oct 2012 09:06:46 +0000 Subject: [PATCH] 6086: minor improvements on translation strings (part3) svn: r20561 --- gramps/plugins/view/geoclose.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/plugins/view/geoclose.py b/gramps/plugins/view/geoclose.py index bed78b180..d5b18bfa1 100644 --- a/gramps/plugins/view/geoclose.py +++ b/gramps/plugins/view/geoclose.py @@ -216,12 +216,12 @@ class GeoClose(GeoGraphyView): self._createmap(p1, color, self.place_list_active, False) if self.refperson: color = self._config.get('geography.color1') - self.message_layer.add_message(_("Reference : %s ( %s - %s )" % ( _nd.display(self.refperson), - self.birth(self.refperson), - self.death(self.refperson)))) - self.message_layer.add_message(_("The other : %s ( %s - %s )" % ( _nd.display(p1), - self.birth(p1), - self.death(p1)))) + self.message_layer.add_message(_("Reference : %(name)s ( %(birth)s - %(death)s )") % {'name': _nd.display(self.refperson), + 'birth': self.birth(self.refperson), + 'death': self.death(self.refperson)}) + self.message_layer.add_message(_("The other : %(name)s ( %(birth)s - %(death)s )") % {'name': _nd.display(p1), + 'birth': self.birth(p1), + 'death': self.death(p1)}) self._createmap(self.refperson, color, self.place_list_ref, True) else: self.message_layer.add_message(_("You must choose one reference person."))