4827: HTML-Export, make language selectable (NarWeb filter name)
This commit is contained in:
parent
dd496b9acf
commit
7f3ee457fc
@ -1688,7 +1688,7 @@ class BasePage:
|
|||||||
msg += self._(' on %(date)s') % {
|
msg += self._(' on %(date)s') % {
|
||||||
'date' : self.rlocale.get_date(Today())}
|
'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']
|
filt_number = self.report.options['filter']
|
||||||
# optional "link-home" feature; see bug report #2736
|
# optional "link-home" feature; see bug report #2736
|
||||||
if self.report.options['linkhome']:
|
if self.report.options['linkhome']:
|
||||||
@ -8151,7 +8151,7 @@ class StatisticsPage(BasePage):
|
|||||||
center_person = self.report.database.get_person_from_gramps_id(
|
center_person = self.report.database.get_person_from_gramps_id(
|
||||||
self.report.options['pid'])
|
self.report.options['pid'])
|
||||||
|
|
||||||
origin = " :<br/>" + report.filter.get_name()
|
origin = " :<br/>" + report.filter.get_name(self.rlocale)
|
||||||
with Html("div", class_="content", id='EventDetail') as section:
|
with Html("div", class_="content", id='EventDetail') as section:
|
||||||
section += Html("h3",
|
section += Html("h3",
|
||||||
self._("Narrative web content report for") + origin,
|
self._("Narrative web content report for") + origin,
|
||||||
|
Loading…
Reference in New Issue
Block a user