From ca1863984b51086ed98de2299e70c5b3463b89d9 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 22 May 2016 22:50:19 +0100 Subject: [PATCH] Fix to allow deferred translation of place type --- gramps/plugins/textreport/placereport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/textreport/placereport.py b/gramps/plugins/textreport/placereport.py index b1ff09b67..4a6ef880d 100644 --- a/gramps/plugins/textreport/placereport.py +++ b/gramps/plugins/textreport/placereport.py @@ -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()