qt5base-lts/src/network/access
Giuseppe D'Angelo 5b414f73d6 Fix QNetworkReply::errorString returning an untranslated string
The QHttpNetworkConnectionPrivate::errorDetail is supposed to return a
translated string, which is then set as the QNetworkReply error.
The current code incorrectly uses QT_TRANSLATE_NOOP,
which mark the strings for translation, but does not translate them.
The result is that even with a translator loaded those strings are
written in English.

Fixes QTBUG-18382.

Merge-request: 2671
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>

(cherry picked from commit 434686a926a2a6e71f3cdea2508898b7800f7c81)

Change-Id: I8673cef7671d41106f50b75e78394916f3b720c9
Reviewed-on: http://codereview.qt-project.org/4691
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-09-12 20:59:47 +02:00
..
access.pri Add QUrl::topLevelDomain() and move TLD table from QtNetwork to QtCore 2011-05-24 12:12:04 +02:00
qabstractnetworkcache_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qabstractnetworkcache.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qabstractnetworkcache.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qftp.cpp Remove QT3_SUPPORT from network 2011-07-05 15:32:39 +02:00
qftp.h Remove QT3_SUPPORT from network 2011-07-05 15:32:39 +02:00
qhttp.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttp.h Remove QT3_SUPPORT from network 2011-07-05 15:32:39 +02:00
qhttpmultipart_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpmultipart.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpmultipart.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpnetworkconnection_p.h QNAM HTTP: Re-write compression code 2011-07-12 15:34:12 +02:00
qhttpnetworkconnection.cpp Fix QNetworkReply::errorString returning an untranslated string 2011-09-12 20:59:47 +02:00
qhttpnetworkconnectionchannel_p.h QNAM HTTP: Re-write compression code 2011-07-12 15:34:12 +02:00
qhttpnetworkconnectionchannel.cpp QHttpNetworkConnection : Fix the case when we only have one channel 2011-08-30 13:01:59 +02:00
qhttpnetworkheader_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpnetworkheader.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpnetworkreply_p.h QHttpNetworkReply: Change dataReadProgress to qint64. 2011-08-30 13:01:40 +02:00
qhttpnetworkreply.cpp QNAM HTTP: Re-write compression code 2011-07-12 15:34:12 +02:00
qhttpnetworkrequest_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpnetworkrequest.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qhttpthreaddelegate_p.h Fix compilation with QT_NO_* 2011-09-12 16:03:47 +02:00
qhttpthreaddelegate.cpp Fix compilation with QT_NO_* 2011-09-12 16:03:47 +02:00
qnetworkaccessauthenticationmanager_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessauthenticationmanager.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessbackend_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessbackend.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccesscache_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccesscache.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccesscachebackend_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccesscachebackend.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessdebugpipebackend_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessdebugpipebackend.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessfilebackend_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessfilebackend.cpp QNetworkAccessFileBackend: Do not accept file url without scheme set. 2011-07-19 15:00:46 +02:00
qnetworkaccessftpbackend_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessftpbackend.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessmanager_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkaccessmanager.cpp QNAM: Introduce clearAccessCache() 2011-07-13 12:07:47 +02:00
qnetworkaccessmanager.h QNAM: Introduce clearAccessCache() 2011-07-13 12:07:47 +02:00
qnetworkcookie_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkcookie.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkcookie.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkcookiejar_p.h Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging 2011-05-25 01:11:52 +10:00
qnetworkcookiejar.cpp Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging 2011-05-25 01:11:52 +10:00
qnetworkcookiejar.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkdiskcache_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkdiskcache.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkdiskcache.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreply_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreply.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreply.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplydataimpl_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplydataimpl.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplyfileimpl_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplyfileimpl.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplyhttpimpl_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplyhttpimpl.cpp QNAM HTTP: Do zero-copy for small HTTP replies by default 2011-07-12 13:57:14 +02:00
qnetworkreplyimpl_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkreplyimpl.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkrequest_p.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qnetworkrequest.cpp QNAM: Add support for more KnownHeaders 2011-07-08 11:22:30 +02:00
qnetworkrequest.h QNAM: Add support for more KnownHeaders 2011-07-08 11:22:30 +02:00