From e2ed179f4c2fac2180c40fea30ce5921e1c0b908 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 17 Apr 2019 15:11:15 +0100 Subject: [PATCH] Temporarily log out UI languages on launcher start This is to help with diagnosing: https://sourceforge.net/p/flightgear/codetickets/2121/ --- src/GUI/QtLauncher.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index 0c7b653aa..5e934bcd4 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -290,6 +290,8 @@ void initApp(int& argc, char** argv, bool doInitQSettings) static_qApp->installTranslator(fallbackTranslator); } + qInfo() << "UI languages:" << QLocale().uiLanguages(); + QTranslator* translator = new QTranslator(static_qApp.get()); // check for --langauge=xx option and prefer that over QLocale // detection of the locale if it exists