Narrative web: some strings not translated (#838)
* Narrative web: some strings not translated The confidence and the date are not translated in the family map page. The date doesn't use the specified date format. Fixes #11207 * Narrative web: another string to translate
This commit is contained in:
@ -2265,7 +2265,7 @@ class BasePage: # pylint: disable=C1001
|
|||||||
if conf == conf_strings[Citation.CONF_NORMAL]:
|
if conf == conf_strings[Citation.CONF_NORMAL]:
|
||||||
conf = None
|
conf = None
|
||||||
else:
|
else:
|
||||||
conf = _(conf)
|
conf = self._(conf)
|
||||||
for (label, data) in [[self._("Date"),
|
for (label, data) in [[self._("Date"),
|
||||||
self.rlocale.get_date(sref.date)],
|
self.rlocale.get_date(sref.date)],
|
||||||
[self._("Page"), sref.page],
|
[self._("Page"), sref.page],
|
||||||
|
@ -904,11 +904,11 @@ class PersonPages(BasePage):
|
|||||||
trow.extend(
|
trow.extend(
|
||||||
Html("td", data, class_=colclass, inline=True)
|
Html("td", data, class_=colclass, inline=True)
|
||||||
for data, colclass in [
|
for data, colclass in [
|
||||||
(date, "ColumnDate"),
|
(self.rlocale.get_date(date), "ColumnDate"),
|
||||||
(self.place_link(handle, placetitle,
|
(self.place_link(handle, placetitle,
|
||||||
uplink=True),
|
uplink=True),
|
||||||
"ColumnPlace"),
|
"ColumnPlace"),
|
||||||
(str(etype), "ColumnType")
|
(self._(str(etype)), "ColumnType")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user