diff --git a/cmake/modules/MacOSXBundleInfo.plist.in b/cmake/modules/MacOSXBundleInfo.plist.in index 4e79cc7401..5705f344d6 100644 --- a/cmake/modules/MacOSXBundleInfo.plist.in +++ b/cmake/modules/MacOSXBundleInfo.plist.in @@ -3,13 +3,15 @@ NSPrincipalClass - NSApplication - LSMinimumSystemVersion + NSApplication + LSMinimumSystemVersion 11.0 - LSUIElement - - CFBundleDevelopmentRegion - English + LSUIElement + + CFBundleDevelopmentRegion + en + CFBundleAllowMixedLocalizations + CFBundleExecutable @APPLICATION_NAME@ CFBundleIconFile @@ -29,7 +31,7 @@ CFBundleShortVersionString @MIRALL_VERSION_STRING@ NSHumanReadableCopyright - (C) 2014-2024 @APPLICATION_VENDOR_XML_ESCAPED@ + (C) 2014-2025 @APPLICATION_VENDOR_XML_ESCAPED@ NSSupportsAutomaticGraphicsSwitching NSRequiresAquaSystemAppearance diff --git a/src/gui/application.cpp b/src/gui/application.cpp index 6c00e6b6d7..53c85e4b21 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -1003,8 +1003,10 @@ QString substLang(const QString &lang) void Application::setupTranslations() { + qCInfo(lcApplication) << "System UI languages are:" << QLocale::system().uiLanguages(); const auto enforcedLocale = Theme::instance()->enforcedLocale(); const auto lang = substLang(!enforcedLocale.isEmpty() ? enforcedLocale : QLocale::system().uiLanguages(QLocale::TagSeparator::Underscore).first()); + qCInfo(lcApplication) << "selected application language:" << lang; auto *translator = new QTranslator(this); auto *qtTranslator = new QTranslator(this);