From 65f6db6e2c0eb1a943ed42f8ae2ced97e628b051 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 3 Jul 2017 13:29:25 -0700 Subject: Don't warn about missing en-US translation for Qt Signed-off-by: Dirk Hohndel --- core/qt-init.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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", "_") || -- cgit v1.2.3-70-g09d2