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.gen.display.place import displayer as _pd
|
||||||
from gramps.plugins.webreport.common import (FULLCLEAR, _EVENTMAP, html_escape)
|
from gramps.plugins.webreport.common import (FULLCLEAR, _EVENTMAP, html_escape)
|
||||||
from gramps.gen.lib import (Person, Family, Event, Place, Source, Repository,
|
from gramps.gen.lib import (Person, Family, Event, Place, Source, Repository,
|
||||||
Media, Note, Citation)
|
Media, Citation)
|
||||||
from gramps.gen.lib.date import Date
|
from gramps.gen.lib.date import Date
|
||||||
|
|
||||||
_ = glocale.translation.sgettext
|
_ = glocale.translation.sgettext
|
||||||
@ -84,9 +84,10 @@ class UpdatesPage(BasePage):
|
|||||||
# begin updates division
|
# begin updates division
|
||||||
with Html("div", class_="content", id="Updates") as section:
|
with Html("div", class_="content", id="Updates") as section:
|
||||||
outerwrapper += section
|
outerwrapper += section
|
||||||
description = ("This page contains the last updated objects in the"
|
description = self._("This page contains the last updated objects "
|
||||||
" database in the last %(days)d days and for a "
|
"in the database in the last %(days)d days and"
|
||||||
"maximum of %(nb)d objects per object type." % {
|
" for a maximum of %(nb)d objects per object "
|
||||||
|
"type." % {
|
||||||
'days' : self.days,
|
'days' : self.days,
|
||||||
'nb' : self.nbr
|
'nb' : self.nbr
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user