6086: minor improvements on translation strings (part3)

svn: r20561
This commit is contained in:
Jérôme Rapinat 2012-10-16 09:06:46 +00:00
parent 1445ea7f0d
commit fc4ac6cc7f

View File

@ -216,12 +216,12 @@ class GeoClose(GeoGraphyView):
self._createmap(p1, color, self.place_list_active, False) self._createmap(p1, color, self.place_list_active, False)
if self.refperson: if self.refperson:
color = self._config.get('geography.color1') color = self._config.get('geography.color1')
self.message_layer.add_message(_("Reference : %s ( %s - %s )" % ( _nd.display(self.refperson), self.message_layer.add_message(_("Reference : %(name)s ( %(birth)s - %(death)s )") % {'name': _nd.display(self.refperson),
self.birth(self.refperson), 'birth': self.birth(self.refperson),
self.death(self.refperson)))) 'death': self.death(self.refperson)})
self.message_layer.add_message(_("The other : %s ( %s - %s )" % ( _nd.display(p1), self.message_layer.add_message(_("The other : %(name)s ( %(birth)s - %(death)s )") % {'name': _nd.display(p1),
self.birth(p1), 'birth': self.birth(p1),
self.death(p1)))) 'death': self.death(p1)})
self._createmap(self.refperson, color, self.place_list_ref, True) self._createmap(self.refperson, color, self.place_list_ref, True)
else: else:
self.message_layer.add_message(_("You must choose one reference person.")) self.message_layer.add_message(_("You must choose one reference person."))