diff --git a/gramps/plugins/webreport/basepage.py b/gramps/plugins/webreport/basepage.py index c7c3ac4f9..711ce781e 100644 --- a/gramps/plugins/webreport/basepage.py +++ b/gramps/plugins/webreport/basepage.py @@ -2265,7 +2265,7 @@ class BasePage: # pylint: disable=C1001 if conf == conf_strings[Citation.CONF_NORMAL]: conf = None else: - conf = _(conf) + conf = self._(conf) for (label, data) in [[self._("Date"), self.rlocale.get_date(sref.date)], [self._("Page"), sref.page], diff --git a/gramps/plugins/webreport/person.py b/gramps/plugins/webreport/person.py index 0ff323cfb..41af1735f 100644 --- a/gramps/plugins/webreport/person.py +++ b/gramps/plugins/webreport/person.py @@ -904,11 +904,11 @@ class PersonPages(BasePage): trow.extend( Html("td", data, class_=colclass, inline=True) for data, colclass in [ - (date, "ColumnDate"), + (self.rlocale.get_date(date), "ColumnDate"), (self.place_link(handle, placetitle, uplink=True), "ColumnPlace"), - (str(etype), "ColumnType") + (self._(str(etype)), "ColumnType") ] )