Narweb: Description message is not translatable (#1036)
This commit is contained in:
parent
2b2624fd7a
commit
0f88753a72
@ -47,7 +47,7 @@ from gramps.plugins.webreport.basepage import BasePage
|
||||
from gramps.gen.display.place import displayer as _pd
|
||||
from gramps.plugins.webreport.common import (FULLCLEAR, _EVENTMAP, html_escape)
|
||||
from gramps.gen.lib import (Person, Family, Event, Place, Source, Repository,
|
||||
Media, Note, Citation)
|
||||
Media, Citation)
|
||||
from gramps.gen.lib.date import Date
|
||||
|
||||
_ = glocale.translation.sgettext
|
||||
@ -84,13 +84,14 @@ class UpdatesPage(BasePage):
|
||||
# begin updates division
|
||||
with Html("div", class_="content", id="Updates") as section:
|
||||
outerwrapper += section
|
||||
description = ("This page contains the last updated objects in the"
|
||||
" database in the last %(days)d days and for a "
|
||||
"maximum of %(nb)d objects per object type." % {
|
||||
'days' : self.days,
|
||||
'nb' : self.nbr
|
||||
}
|
||||
)
|
||||
description = self._("This page contains the last updated objects "
|
||||
"in the database in the last %(days)d days and"
|
||||
" for a maximum of %(nb)d objects per object "
|
||||
"type." % {
|
||||
'days' : self.days,
|
||||
'nb' : self.nbr
|
||||
}
|
||||
)
|
||||
section += Html("p", description)
|
||||
|
||||
header = self._("People")
|
||||
|
Loading…
Reference in New Issue
Block a user