aboutsummaryrefslogtreecommitdiffstats
path: root/core/qt-init.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-03 13:29:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-03 13:29:25 -0700
commit65f6db6e2c0eb1a943ed42f8ae2ced97e628b051 (patch)
tree0a873c5b70035d1cf501d30f4c2450d113cba418 /core/qt-init.cpp
parent20254a43c09bac9c28226aeb55c2a95865a4ec4a (diff)
downloadsubsurface-65f6db6e2c0eb1a943ed42f8ae2ced97e628b051.tar.gz
Don't warn about missing en-US translation for Qt
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r--core/qt-init.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index 1e74e9b07..02b3c78b1 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -52,7 +52,8 @@ void init_qt_late()
if (qtTranslator->load(loc, "qt", "_", translationLocation)) {
application->installTranslator(qtTranslator);
} else {
- qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation;
+ if (uiLang != "en_US" && uiLang != "en-US")
+ qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation;
}
ssrfTranslator = new QTranslator;
if (ssrfTranslator->load(loc, "subsurface", "_") ||