From 0b6207a40d4e4e98fcf27b010cbe5cfccf360413 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Thu, 9 Feb 2017 00:07:17 +0100 Subject: [PATCH] PICARD-947: fix typo in parenthesis causing translation to fail The string was correctly parsed by gettext, but not translated at runtime. --- picard/ui/searchdialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/picard/ui/searchdialog.py b/picard/ui/searchdialog.py index 974d75952..614a56dde 100644 --- a/picard/ui/searchdialog.py +++ b/picard/ui/searchdialog.py @@ -281,11 +281,11 @@ class SearchDialog(PicardDialog): def network_error(self, reply, error): error_msg = _("Following error occurred while fetching results:

" - "Network request error for %s:
%s (QT code %d, HTTP code %s)
" % ( + "Network request error for %s:
%s (QT code %d, HTTP code %s)
") % ( reply.request().url().toString(QtCore.QUrl.RemoveUserInfo), reply.errorString(), error, - repr(reply.attribute(QtNetwork.QNetworkRequest.HttpStatusCodeAttribute))) + repr(reply.attribute(QtNetwork.QNetworkRequest.HttpStatusCodeAttribute)) ) self.show_error(error_msg, show_retry_button=True)