mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Don't show localization warning unless verbose
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
022b3e450b
commit
bebee64ca9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void init_qt_late()
|
||||||
if (qtTranslator->load(loc, "qt", "_", translationLocation)) {
|
if (qtTranslator->load(loc, "qt", "_", translationLocation)) {
|
||||||
application->installTranslator(qtTranslator);
|
application->installTranslator(qtTranslator);
|
||||||
} else {
|
} else {
|
||||||
if (uiLang != "en_US" && uiLang != "en-US")
|
if (verbose && uiLang != "en_US" && uiLang != "en-US")
|
||||||
qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation;
|
qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation;
|
||||||
}
|
}
|
||||||
ssrfTranslator = new QTranslator;
|
ssrfTranslator = new QTranslator;
|
||||||
|
|
Loading…
Reference in a new issue