Details
Description
Steps to reproduce / test case:
For example, in the file "qt_fr.ts" supplied with Qt 4.5.2, there is a "QNativeSocketEngine" context with 26 translated string. However these translations (socket errors) are never used by Qt. The only socket errors that are correctly translated are those coming from the "QAbstractSocket" context.
The problem seems to come from the fact that QNativeSocketEnginePrivate::setError() uses QT_TRANSLATE_NOOP, but they are then directly returned by QAbstractSocket::errorString(), without going through a tr() or translate() call.