diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-10-21 14:51:39 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-10-23 17:36:46 +0200 |
commit | d84ddf5905ce9f68612519b72cdd077077bd0419 (patch) | |
tree | 10c371255fc1a7007ded17d89363b86cb147193f | |
parent | a8c6958a875a6c6ad67b5741a5daa89f5340710c (diff) |
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."
Pick-to: 6.4
Change-Id: I99779d678ef9d4ea90249572f2f977e9b4df6c62
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rw-r--r-- | cmake/macos/MacOSXBundleInfo.plist.in | 2 | ||||
-rw-r--r-- | mkspecs/macx-clang/Info.plist.app | 2 | ||||
-rw-r--r-- | tests/manual/ios_assets/Info.ios.cmake.plist | 2 |
3 files changed, 3 insertions, 3 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> diff --git a/tests/manual/ios_assets/Info.ios.cmake.plist b/tests/manual/ios_assets/Info.ios.cmake.plist index ebbb6d93ef..3bb6f562ee 100644 --- a/tests/manual/ios_assets/Info.ios.cmake.plist +++ b/tests/manual/ios_assets/Info.ios.cmake.plist @@ -33,7 +33,7 @@ <string></string> <key>CFBundleDevelopmentRegion</key> - <string>English</string> + <string>en</string> <key>LSRequiresIPhoneOS</key> <true/> |