From 7f3ee457fc730c9a21ba52175e5f1a4cf7496948 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Tue, 13 Sep 2016 19:05:05 -0700 Subject: [PATCH] 4827: HTML-Export, make language selectable (NarWeb filter name) --- gramps/plugins/webreport/narrativeweb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 5173dc6d1..a6a62ad5e 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -1688,7 +1688,7 @@ class BasePage: msg += self._(' on %(date)s') % { 'date' : self.rlocale.get_date(Today())} - origin1 = self.report.filter.get_name() + origin1 = self.report.filter.get_name(self.rlocale) filt_number = self.report.options['filter'] # optional "link-home" feature; see bug report #2736 if self.report.options['linkhome']: @@ -8151,7 +8151,7 @@ class StatisticsPage(BasePage): center_person = self.report.database.get_person_from_gramps_id( self.report.options['pid']) - origin = " :
" + report.filter.get_name() + origin = " :
" + report.filter.get_name(self.rlocale) with Html("div", class_="content", id='EventDetail') as section: section += Html("h3", self._("Narrative web content report for") + origin,