mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-27 10:03:59 +00:00
PICARD-947: fix typo in parenthesis causing translation to fail
The string was correctly parsed by gettext, but not translated at runtime.
This commit is contained in:
@@ -281,11 +281,11 @@ class SearchDialog(PicardDialog):
|
||||
|
||||
def network_error(self, reply, error):
|
||||
error_msg = _("<strong>Following error occurred while fetching results:<br><br></strong>"
|
||||
"Network request error for %s:<br>%s (QT code %d, HTTP code %s)<br>" % (
|
||||
"Network request error for %s:<br>%s (QT code %d, HTTP code %s)<br>") % (
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user