try to use dict() for a better translation string

svn: r17015
This commit is contained in:
Jérôme Rapinat 2011-04-01 06:19:00 +00:00
parent 347ff65eac
commit 1b5b287455

View File

@ -199,7 +199,7 @@ class PersonDetails(Gramplet):
place = self.dbstate.db.get_place_from_handle(handle).get_title()
retval = _('%(date)s - %(place)s.') % {'date' : date, 'place' : place}
else:
retval = ('%s.') % date
retval = _('%(date)s.') % dict(date = date)
return retval
def load_person_image(self, person):