From 205f19592f4cb53ee6ae9b0a8a8eefd8a2db6cd2 Mon Sep 17 00:00:00 2001 From: mx1700 Date: Sun, 4 Aug 2019 23:02:25 +0800 Subject: [PATCH] =?UTF-8?q?iOS=20=E7=89=88=E6=9C=AC=E5=8F=B7=E5=8D=87?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Timepill.xcodeproj/project.pbxproj | 3 +++ .../xcshareddata/xcschemes/Timepill.xcscheme | 1 + ios/Timepill/Info.plist | 4 +++- ios/Timepill/zh-Hans.lproj/LaunchScreen.strings | 3 +++ package-lock.json | 6 +++--- package.json | 2 +- 6 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 ios/Timepill/zh-Hans.lproj/LaunchScreen.strings diff --git a/ios/Timepill.xcodeproj/project.pbxproj b/ios/Timepill.xcodeproj/project.pbxproj index d6ca1e7..39f40bf 100644 --- a/ios/Timepill.xcodeproj/project.pbxproj +++ b/ios/Timepill.xcodeproj/project.pbxproj @@ -497,6 +497,7 @@ 5A9A3F91EEC9C9970CE72D43 /* Pods-TimepillTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TimepillTests.release.xcconfig"; path = "Target Support Files/Pods-TimepillTests/Pods-TimepillTests.release.xcconfig"; sourceTree = ""; }; 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 62865F98E711415DBA4DAFF9 /* libRCTXGPushModule.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTXGPushModule.a; sourceTree = ""; }; + 692AC7FE22F71BE3000A150F /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = ""; }; 693ABB6B22D0925E0044FDF8 /* Timepill.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = Timepill.entitlements; path = Timepill/Timepill.entitlements; sourceTree = ""; }; 693ABBB622D093C20044FDF8 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; 693ABBB822D093CE0044FDF8 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; @@ -1101,6 +1102,7 @@ English, en, Base, + "zh-Hans", ); mainGroup = 83CBB9F61A601CBA00E9B192; productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; @@ -1771,6 +1773,7 @@ isa = PBXVariantGroup; children = ( 13B07FB21A68108700A75B9A /* Base */, + 692AC7FE22F71BE3000A150F /* zh-Hans */, ); name = LaunchScreen.xib; path = Timepill; diff --git a/ios/Timepill.xcodeproj/xcshareddata/xcschemes/Timepill.xcscheme b/ios/Timepill.xcodeproj/xcshareddata/xcschemes/Timepill.xcscheme index e4233da..b96ca45 100644 --- a/ios/Timepill.xcodeproj/xcshareddata/xcschemes/Timepill.xcscheme +++ b/ios/Timepill.xcodeproj/xcshareddata/xcschemes/Timepill.xcscheme @@ -83,6 +83,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "zh-Hans" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/ios/Timepill/Info.plist b/ios/Timepill/Info.plist index 5f42401..51784d6 100644 --- a/ios/Timepill/Info.plist +++ b/ios/Timepill/Info.plist @@ -2,6 +2,8 @@ + CFBundleAllowMixedLocalizations + CFBundleDevelopmentRegion zh_CN CFBundleDisplayName @@ -21,7 +23,7 @@ CFBundleSignature ???? CFBundleVersion - 27 + 30 LSRequiresIPhoneOS NSAppTransportSecurity diff --git a/ios/Timepill/zh-Hans.lproj/LaunchScreen.strings b/ios/Timepill/zh-Hans.lproj/LaunchScreen.strings new file mode 100644 index 0000000..a15a1aa --- /dev/null +++ b/ios/Timepill/zh-Hans.lproj/LaunchScreen.strings @@ -0,0 +1,3 @@ + +/* Class = "UILabel"; text = "凌晨零点 集体失忆"; ObjectID = "8ie-xW-0ye"; */ +"8ie-xW-0ye.text" = "凌晨零点 集体失忆"; diff --git a/package-lock.json b/package-lock.json index 68e55d7..74bd8b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10879,9 +10879,9 @@ } }, "react-native-image-crop-picker": { - "version": "0.24.0", - "resolved": "https://registry.npm.taobao.org/react-native-image-crop-picker/download/react-native-image-crop-picker-0.24.0.tgz", - "integrity": "sha1-3xAVSPcpUb9m5WCIevc7EfMovdA=" + "version": "0.24.1", + "resolved": "https://registry.npm.taobao.org/react-native-image-crop-picker/download/react-native-image-crop-picker-0.24.1.tgz", + "integrity": "sha1-RAjiuyDjwILAGR4KzwyMeh6YBOo=" }, "react-native-image-pan-zoom": { "version": "2.1.11", diff --git a/package.json b/package.json index a4ec210..42aa179 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "react-native-device-info": "^1.6.1", "react-native-elements": "^0.19.0", "react-native-firebase": "^5.5.5", - "react-native-image-crop-picker": "^0.24.0", + "react-native-image-crop-picker": "^0.24.1", "react-native-image-pan-zoom": "^2.1.11", "react-native-image-progress": "^1.1.1", "react-native-image-resizer": "^1.0.0",