summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-10-21 14:51:39 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-10-28 12:38:37 +0000
commit688eee28212b4918a46e0d965e19137bba3586d7 (patch)
treee7cab8f13cdc33c3594e8ea93f8c6759f56ba324
parentb6eabe613fa926cb9a5feb191a10d110bfc89ea4 (diff)
downloadqtbase-688eee28212b4918a46e0d965e19137bba3586d7.tar.gz
Apple: Use 'en' instead of 'English' as development region
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 <timur.pocheptsov@qt.io> (cherry picked from commit d84ddf5905ce9f68612519b72cdd077077bd0419) Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r--cmake/macos/MacOSXBundleInfo.plist.in2
-rw-r--r--mkspecs/macx-clang/Info.plist.app2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/macos/MacOSXBundleInfo.plist.in b/cmake/macos/MacOSXBundleInfo.plist.in
index 2ead02b7d5..75de15ab50 100644
--- a/cmake/macos/MacOSXBundleInfo.plist.in
+++ b/cmake/macos/MacOSXBundleInfo.plist.in
@@ -29,7 +29,7 @@
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
<key>CFBundleDevelopmentRegion</key>
- <string>English</string>
+ <string>en</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
diff --git a/mkspecs/macx-clang/Info.plist.app b/mkspecs/macx-clang/Info.plist.app
index 9ee6a6bf0e..9aca41b6dd 100644
--- a/mkspecs/macx-clang/Info.plist.app
+++ b/mkspecs/macx-clang/Info.plist.app
@@ -21,6 +21,6 @@
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
- <string>English</string>
+ <string>en</string>
</dict>
</plist>