Fix to allow deferred translation of place type
This commit is contained in:
parent
443043a8e2
commit
05ea21690d
@ -175,7 +175,8 @@ class PlaceReport(Report):
|
||||
place_details = [self._("Gramps ID: %s ") % place.get_gramps_id()]
|
||||
for level in get_location_list(self.database, place):
|
||||
place_details.append("%(type)s: %(name)s " %
|
||||
{'type': str(level[1]), 'name': level[0]})
|
||||
{'type': self._(level[1].xml_str()),
|
||||
'name': level[0]})
|
||||
|
||||
place_names = ''
|
||||
all_names = place.get_all_names()
|
||||
|
Loading…
Reference in New Issue
Block a user