From 688eee28212b4918a46e0d965e19137bba3586d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 21 Oct 2022 14:51:39 +0200 Subject: [PATCH] Apple: Use 'en' instead of 'English' as development region MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is consistent with what $(DEVELOPMENT_LANGUAGE) reports, as well as the Apple Locales Programming Guide which states that "Locale names such as “English”, “French”, and “Japanese” are deprecated in OS X and are supported solely for backward compatibility." Change-Id: I99779d678ef9d4ea90249572f2f977e9b4df6c62 Reviewed-by: Timur Pocheptsov (cherry picked from commit d84ddf5905ce9f68612519b72cdd077077bd0419) Reviewed-by: Tor Arne Vestbø --- cmake/macos/MacOSXBundleInfo.plist.in | 2 +- mkspecs/macx-clang/Info.plist.app | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/macos/MacOSXBundleInfo.plist.in b/cmake/macos/MacOSXBundleInfo.plist.in index 2ead02b7d59..75de15ab50f 100644 --- a/cmake/macos/MacOSXBundleInfo.plist.in +++ b/cmake/macos/MacOSXBundleInfo.plist.in @@ -29,7 +29,7 @@ ${MACOSX_BUNDLE_ICON_FILE} CFBundleDevelopmentRegion - English + en NSPrincipalClass NSApplication diff --git a/mkspecs/macx-clang/Info.plist.app b/mkspecs/macx-clang/Info.plist.app index 9ee6a6bf0ea..9aca41b6dd9 100644 --- a/mkspecs/macx-clang/Info.plist.app +++ b/mkspecs/macx-clang/Info.plist.app @@ -21,6 +21,6 @@ NSSupportsAutomaticGraphicsSwitching CFBundleDevelopmentRegion - English + en