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:
Vassilii Khachaturov 2011-03-09 14:18:31 +00:00
parent 786a0a5834
commit 662e78613f

View File

@ -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 )