Fix to allow deferred translation of place type
This commit is contained in:
parent
9ab27bf83b
commit
ca1863984b
@ -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