try to use dict() for a better translation string

svn: r17014
This commit is contained in:
Jérôme Rapinat 2011-04-01 06:17:46 +00:00
parent 4632f71fc1
commit 00db7d0d88

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):