Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.8.4, 5.2.0 Beta1
-
None
-
Linux (Debian 7.2), Qt 4.8.4 (from qt-everywhere-opensource-src)
-
d47f83cab0c68b05d6ca926f2e80efb3e702bc6a (dev, 16.1.2014, 5.3)
Description
If we try to open a directory with QFile::open() errorString() returns an untranslated error.
QFSFileEnginePrivate::nativeOpen() (/src/corelib/io/qfsfileengine_unix.cpp in Qt4, qtbase/src/corelib/io/qfsfileengine_unix.cpp in Qt5) sets an error without translation.
To reproduce build attached program and run it with non-english locale. First error will be translated, second one will not.
Attachments
For Gerrit Dashboard: QTBUG-35594 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
75432,4 | Mark error message in qfsfileengine_unix.cpp as translatable. | dev | qt/qtbase | Status: MERGED | +2 | 0 |