diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-10-11 11:03:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-11 13:50:35 -0700 |
commit | 344fc98bfc0e1ac4db3a67d1c5f68472531bc1df (patch) | |
tree | 379ddc093ef7e1eb320c61952e5c319f0056b282 /qt-gui.cpp | |
parent | e5a2e025d706715fd9c7c2ce2dbf3bcc2e35e409 (diff) | |
download | subsurface-344fc98bfc0e1ac4db3a67d1c5f68472531bc1df.tar.gz |
Better diagnostic message when not finding translations
This way we know where the program was looking for the files.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index 8d3421e9f..8a27b6eb2 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -103,7 +103,8 @@ void init_ui(int *argcp, char ***argvp) if (qtTranslator->load(loc,"qt", "_", QLibraryInfo::location(QLibraryInfo::TranslationsPath))) { application->installTranslator(qtTranslator); } else { - qDebug() << "can't find Qt localization for locale" << uiLang; + qDebug() << "can't find Qt localization for locale" << uiLang << + "searching in" << QLibraryInfo::location(QLibraryInfo::TranslationsPath); } ssrfTranslator = new QTranslator; if (ssrfTranslator->load(loc,"subsurface", "_") || |