mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't warn about missing en-US translation for Qt
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
20254a43c0
commit
65f6db6e2c
1 changed files with 2 additions and 1 deletions
|
@ -52,6 +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")
|
||||||
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…
Add table
Add a link
Reference in a new issue