Patch from Egor Reentov <egor.gramps@gmail.com>:
i18n doesn't pick up strings concatenated using +, use syntactic literal concatenation instead. This enables l10n of the corresponding strings. CRed and tested --vassilii svn: r16785
This commit is contained in:
parent
786a0a5834
commit
662e78613f
@ -6496,15 +6496,15 @@ class NavWebOptions(MenuReportOptions):
|
|||||||
addopt( "introimg", introimg )
|
addopt( "introimg", introimg )
|
||||||
|
|
||||||
contactnote = NoteOption(_("Publisher contact note"))
|
contactnote = NoteOption(_("Publisher contact note"))
|
||||||
contactnote.set_help( _("A note to be used as the publisher contact."+
|
contactnote.set_help( _("A note to be used as the publisher contact."
|
||||||
"\nIf no publisher information is given," +
|
"\nIf no publisher information is given,"
|
||||||
"\nno contact page will be created")
|
"\nno contact page will be created")
|
||||||
)
|
)
|
||||||
addopt( "contactnote", contactnote )
|
addopt( "contactnote", contactnote )
|
||||||
|
|
||||||
contactimg = MediaOption(_("Publisher contact image"))
|
contactimg = MediaOption(_("Publisher contact image"))
|
||||||
contactimg.set_help( _("An image to be used as the publisher contact." +
|
contactimg.set_help( _("An image to be used as the publisher contact."
|
||||||
"\nIf no publisher information is given," +
|
"\nIf no publisher information is given,"
|
||||||
"\nno contact page will be created")
|
"\nno contact page will be created")
|
||||||
)
|
)
|
||||||
addopt( "contactimg", contactimg )
|
addopt( "contactimg", contactimg )
|
||||||
|
Loading…
Reference in New Issue
Block a user