Browse Source

Output current system locale for debugging

QGC4.4
Gus Grubba 6 years ago
parent
commit
1ef90d0955
  1. 1
      src/QGCApplication.cc

1
src/QGCApplication.cc

@ -181,6 +181,7 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting) @@ -181,6 +181,7 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting)
#if defined (__macos__)
locale = QLocale(locale.name());
#endif
qDebug() << "System reported locale:" << locale << locale.name();
//-- Our localization
if(_QGCTranslator.load(locale, "qgc_", "", ":/localization"))
_app->installTranslator(&_QGCTranslator);

Loading…
Cancel
Save