diff --git a/app.xcodeproj/project.pbxproj b/app.xcodeproj/project.pbxproj index ec3d51ba..38ea292f 100644 --- a/app.xcodeproj/project.pbxproj +++ b/app.xcodeproj/project.pbxproj @@ -19,6 +19,7 @@ 393759E928123E5E004F0AEC /* MessageRemindViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 393759E828123E5E004F0AEC /* MessageRemindViewModel.swift */; }; 393759EB2812951E004F0AEC /* InputPersonInfoController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 393759EA2812951E004F0AEC /* InputPersonInfoController.swift */; }; 39A36F8128002CFF009B07A9 /* NETabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 39A36F8028002CFF009B07A9 /* NETabBarController.swift */; }; + 39E9E27728D87E9800A11820 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 39E9E27528D87E9800A11820 /* Localizable.strings */; }; 39F793C827E20434007F63FF /* NENavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 39F793C727E20434007F63FF /* NENavigationController.swift */; }; 4B3B9BDF277AFEE50091A74E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B3B9BDE277AFEE50091A74E /* AppDelegate.swift */; }; 4B3B9BE3277AFEE50091A74E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B3B9BE2277AFEE50091A74E /* ViewController.swift */; }; @@ -63,6 +64,8 @@ 393759E828123E5E004F0AEC /* MessageRemindViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageRemindViewModel.swift; sourceTree = ""; }; 393759EA2812951E004F0AEC /* InputPersonInfoController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputPersonInfoController.swift; sourceTree = ""; }; 39A36F8028002CFF009B07A9 /* NETabBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NETabBarController.swift; sourceTree = ""; }; + 39E9E27628D87E9800A11820 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; + 39E9E27828D87EA000A11820 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; 39F793C727E20434007F63FF /* NENavigationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NENavigationController.swift; sourceTree = ""; }; 4B3B9BDB277AFEE50091A74E /* app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = app.app; sourceTree = BUILT_PRODUCTS_DIR; }; 4B3B9BDE277AFEE50091A74E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -70,7 +73,6 @@ 4B3B9BE5277AFEE50091A74E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 4B3B9BE7277AFEE70091A74E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 4B3B9BEA277AFEE70091A74E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 4B3B9BEC277AFEE70091A74E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 9E98CA4B27BCEC15008A8738 /* MeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MeViewController.swift; sourceTree = ""; }; 9EA2014027BE4B4800F8BBD0 /* AppKey.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppKey.swift; sourceTree = ""; }; A9E4316D70F3EF2E6BD5E5CB /* Pods-app.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-app.release.xcconfig"; path = "Target Support Files/Pods-app/Pods-app.release.xcconfig"; sourceTree = ""; }; @@ -148,11 +150,11 @@ 4B3B9BDE277AFEE50091A74E /* AppDelegate.swift */, 9EA2014027BE4B4800F8BBD0 /* AppKey.swift */, 4B3B9BE2277AFEE50091A74E /* ViewController.swift */, + 39E9E27528D87E9800A11820 /* Localizable.strings */, 393759D1281033C9004F0AEC /* Mine */, 4B3B9BE4277AFEE50091A74E /* Main.storyboard */, 4B3B9BE7277AFEE70091A74E /* Assets.xcassets */, 4B3B9BE9277AFEE70091A74E /* LaunchScreen.storyboard */, - 4B3B9BEC277AFEE70091A74E /* Info.plist */, ); path = app; sourceTree = ""; @@ -230,6 +232,7 @@ buildActionMask = 2147483647; files = ( 4B3B9BEB277AFEE70091A74E /* LaunchScreen.storyboard in Resources */, + 39E9E27728D87E9800A11820 /* Localizable.strings in Resources */, 4B3B9BE8277AFEE70091A74E /* Assets.xcassets in Resources */, 4B3B9BE6277AFEE50091A74E /* Main.storyboard in Resources */, ); @@ -309,6 +312,15 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ + 39E9E27528D87E9800A11820 /* Localizable.strings */ = { + isa = PBXVariantGroup; + children = ( + 39E9E27628D87E9800A11820 /* en */, + 39E9E27828D87EA000A11820 /* zh-Hans */, + ); + name = Localizable.strings; + sourceTree = ""; + }; 4B3B9BE4277AFEE50091A74E /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( diff --git a/app/Info.plist b/app/Info.plist index ee29e9a1..a856f55d 100644 --- a/app/Info.plist +++ b/app/Info.plist @@ -17,7 +17,11 @@ NSCameraUsageDescription 若不允许,你将无法拍摄照片 NSPhotoLibraryUsageDescription - 若不允许,你将无法导入照片上传头像。 + 若不允许,你将无法导入照片 + NSPhotoLibraryAddUsageDescription + 若不允许,则无法使用相册功能 + NSMicrophoneUsageDescription + 若不允许,则无法使用麦克风功能 UIApplicationSupportsMultipleScenes diff --git a/app/zh-Hans.lproj/InfoPlist.strings b/app/zh-Hans.lproj/InfoPlist.strings new file mode 100644 index 00000000..262ad21e --- /dev/null +++ b/app/zh-Hans.lproj/InfoPlist.strings @@ -0,0 +1,10 @@ + +// Copyright (c) 2022 NetEase, Inc. All rights reserved. +// Use of this source code is governed by a MIT license that can be +// found in the LICENSE file. + +"NSCameraUsageDescription"="若不允许,你将无法拍摄照片"; +"NSPhotoLibraryAddUsageDescription"="若不允许,你将无法导入照片"; +"NSPhotoLibraryUsageDescription"="若不允许,则无法使用相册功能"; +"NSMicrophoneUsageDescription"="若不允许,则无法使用麦克风功能"; +"CFBundleDisplayName"="云信IM"; diff --git a/app/zh-Hans.lproj/Localizable.strings b/app/zh-Hans.lproj/Localizable.strings new file mode 100644 index 00000000..f9ea31ba --- /dev/null +++ b/app/zh-Hans.lproj/Localizable.strings @@ -0,0 +1,56 @@ + +// Copyright (c) 2022 NetEase, Inc. All rights reserved. +// Use of this source code is governed by a MIT license that can be +// found in the LICENSE file. + +"open_push"="请到设置中开启推送功能"; +"message"="消息"; +"qchat"="圈组"; +"contact"="通讯录"; +"mine"="我"; +"logout"="退出登录"; +"about_yunxin"="关于云信"; +"want_to_logout"="确认要退出登录吗?"; +"person_info"="个人信息"; +"cancel"="取消"; +"setting_birthday_failure"="设置生日失败"; +"setting_head_failure"="修改头像失败"; +"setting_nickname_failure"="修改昵称失败"; +"male"="男"; +"female"="女"; +"change_gender_failure"="修改性别失败"; +"change_phone_failure"="修改手机号失败"; +"change_email_failure"="修改邮箱失败"; +"change_sign_failure"="修改签名失败"; +"copy_success"="复制成功"; +"save"="保存"; +"birehday"="生日"; +"phone"="手机"; +"email"="邮箱"; +"sign_remind"="个性签名消息提醒"; + +"message_remind"="消息提醒"; +"product_intro"="产品介绍"; +"receiver_mode"="听筒模式"; +"delete_friend"="删除好友是否同步删除备注"; +"message_read_function"="消息已读未读功能"; +"version"="版本号"; +"headImage"="头像"; +"nickname"="昵称"; +"account"="账号"; +"gender"="性别"; +"unknown"="未知"; +"individuality_sign"="个性签名"; +"new_message_remind"="新消息通知"; +"ring_mode"="响铃模式"; +"vibration_mode"="震动模式"; +"syn_receive_push"="PC/Web同步接收推送"; +"display_message_detail"="通知栏显示消息详情"; +"setting"="设置"; +"confirm"="确认"; +"cancel"="取消"; +"real_service"="真正稳定的IM云服务"; +"appName"="云信IM"; +"brand_des"="网易云信"; +//image +