Fix to allow deferred translation of place type
This commit is contained in:
parent
31bdd8f5f1
commit
170d63f378
@ -159,7 +159,8 @@ class PlaceReport(Report):
|
|||||||
place_details = [self._("Gramps ID: %s ") % place.get_gramps_id()]
|
place_details = [self._("Gramps ID: %s ") % place.get_gramps_id()]
|
||||||
for level in get_location_list(self.database, place):
|
for level in get_location_list(self.database, place):
|
||||||
place_details.append("%(type)s: %(name)s " %
|
place_details.append("%(type)s: %(name)s " %
|
||||||
{'type': str(level[1]), 'name': level[0]})
|
{'type': self._(level[1].xml_str()),
|
||||||
|
'name': level[0]})
|
||||||
|
|
||||||
self.doc.start_paragraph("PLC-PlaceTitle")
|
self.doc.start_paragraph("PLC-PlaceTitle")
|
||||||
place_title = place_displayer.display(self.database, place)
|
place_title = place_displayer.display(self.database, place)
|
||||||
|
Loading…
Reference in New Issue
Block a user