9557: Translated text will not be printed (bad copy/paste)

This commit is contained in:
SNoiraud 2016-07-02 23:00:34 +02:00
parent ef28c52f4c
commit 71a25a9e28

View File

@ -250,14 +250,14 @@ class GeoFamClose(GeoGraphyView):
if self.reffamily: if self.reffamily:
color = self._config.get('geography.color1') color = self._config.get('geography.color1')
self._createmap(self.reffamily, color, self.place_list_ref, True) self._createmap(self.reffamily, color, self.place_list_ref, True)
self.message_layer.add_message(_("Family reference : %(ref)s") % self.message_layer.add_message(_("Family reference : %s") %
{ 'ref' : self.family_label(self.reffamily)}) self.family_label(self.reffamily))
if f1: if f1:
self.message_layer.add_message(_("The other family : %(fam)s") % self.message_layer.add_message(_("The other family : %s") %
{ 'fam' : self.family_label(self.reffamily)}) self.family_label(f1))
else: else:
self.message_layer.add_message(_("The other family : %(fam)s") % self.message_layer.add_message(_("The other family : %s") %
{ 'fam' : self.family_label(self.reffamily)}) _("Unknown"))
if self.reffamily_bookmark is None: if self.reffamily_bookmark is None:
self.reffamily_bookmark = self.reffamily.get_handle() self.reffamily_bookmark = self.reffamily.get_handle()
self.add_bookmark_from_popup(None, self.reffamily_bookmark) self.add_bookmark_from_popup(None, self.reffamily_bookmark)