Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14466
This commit is contained in:
parent
8b0b4a3785
commit
c9d41950eb
@ -127,7 +127,8 @@ class SimpleBookTitleOptions(MenuReportOptions):
|
||||
|
||||
dateinfo = time.localtime(time.time())
|
||||
rname = self.__db.get_researcher().get_name()
|
||||
footer_string = _('Copyright %d %s') % (dateinfo[0], rname)
|
||||
footer_string = _('Copyright %(year)d %(name)s') % {
|
||||
'year' : dateinfo[0], 'name' : rname }
|
||||
footer = StringOption(_('Footer'), footer_string )
|
||||
footer.set_help(_("Footer string for the page."))
|
||||
menu.add_option(category_name, "footer", footer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user