From 662e78613f8947cd56b14f6b1c101d08dc9b2303 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Wed, 9 Mar 2011 14:18:31 +0000 Subject: [PATCH] Patch from Egor Reentov : 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 --- src/plugins/webreport/NarrativeWeb.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 333ac3758..a76fe7d9a 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -6496,15 +6496,15 @@ class NavWebOptions(MenuReportOptions): addopt( "introimg", introimg ) contactnote = NoteOption(_("Publisher contact note")) - contactnote.set_help( _("A note to be used as the publisher contact."+ - "\nIf no publisher information is given," + + contactnote.set_help( _("A note to be used as the publisher contact." + "\nIf no publisher information is given," "\nno contact page will be created") ) addopt( "contactnote", contactnote ) contactimg = MediaOption(_("Publisher contact image")) - contactimg.set_help( _("An image to be used as the publisher contact." + - "\nIf no publisher information is given," + + contactimg.set_help( _("An image to be used as the publisher contact." + "\nIf no publisher information is given," "\nno contact page will be created") ) addopt( "contactimg", contactimg )