Przeglądaj źródła

多语言部分

桂欢 1 rok temu
rodzic
commit
89026fc03e

+ 29 - 0
SLAiELTS/SLAiELTS.xcodeproj/project.pbxproj

@@ -142,6 +142,7 @@
 		3D58825E2A28397D00F1B38E /* SLCitySetVc.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3D58825C2A28397D00F1B38E /* SLCitySetVc.xib */; };
 		3D58828B2A2976CD00F1B38E /* SLMsgBgSetVc.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D5882892A2976CD00F1B38E /* SLMsgBgSetVc.m */; };
 		3D58828C2A2976CD00F1B38E /* SLMsgBgSetVc.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3D58828A2A2976CD00F1B38E /* SLMsgBgSetVc.xib */; };
+		3D5882992A29BBC100F1B38E /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3D58829B2A29BBC100F1B38E /* InfoPlist.strings */; };
 		3D5BC38B29E3E77400748197 /* SLMoentsChatView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D5BC38A29E3E77400748197 /* SLMoentsChatView.m */; };
 		3D5BC38F29E3F87100748197 /* SLFriensInfoVc.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D5BC38D29E3F87100748197 /* SLFriensInfoVc.m */; };
 		3D5BC39029E3F87100748197 /* SLFriensInfoVc.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3D5BC38E29E3F87100748197 /* SLFriensInfoVc.xib */; };
@@ -526,6 +527,10 @@
 		3D5882882A2976CD00F1B38E /* SLMsgBgSetVc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLMsgBgSetVc.h; sourceTree = "<group>"; };
 		3D5882892A2976CD00F1B38E /* SLMsgBgSetVc.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLMsgBgSetVc.m; sourceTree = "<group>"; };
 		3D58828A2A2976CD00F1B38E /* SLMsgBgSetVc.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SLMsgBgSetVc.xib; sourceTree = "<group>"; };
+		3D5882932A29BB5100F1B38E /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = "<group>"; };
+		3D5882942A29BB5200F1B38E /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
+		3D58829A2A29BBC100F1B38E /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
+		3D58829C2A29BBE100F1B38E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
 		3D5BC38929E3E77400748197 /* SLMoentsChatView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLMoentsChatView.h; sourceTree = "<group>"; };
 		3D5BC38A29E3E77400748197 /* SLMoentsChatView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLMoentsChatView.m; sourceTree = "<group>"; };
 		3D5BC38C29E3F87100748197 /* SLFriensInfoVc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLFriensInfoVc.h; sourceTree = "<group>"; };
@@ -1238,6 +1243,7 @@
 		3D2DC3B229B06D000041A729 /* Vendor */ = {
 			isa = PBXGroup;
 			children = (
+				3D58828D2A29B9DB00F1B38E /* Resources */,
 				3D3BC1212A1DF58100AEEE8E /* 音波 */,
 				3D2DC3C529B078FE0041A729 /* Resources.bundle */,
 				3D2DC3B329B06D200041A729 /* nuisdk.framework */,
@@ -1336,6 +1342,14 @@
 			path = MomentsNewsCell;
 			sourceTree = "<group>";
 		};
+		3D58828D2A29B9DB00F1B38E /* Resources */ = {
+			isa = PBXGroup;
+			children = (
+				3D58829B2A29BBC100F1B38E /* InfoPlist.strings */,
+			);
+			path = Resources;
+			sourceTree = "<group>";
+		};
 		3D796C6629B8305C00B7B28A /* FBKVOController */ = {
 			isa = PBXGroup;
 			children = (
@@ -1974,6 +1988,7 @@
 			knownRegions = (
 				en,
 				Base,
+				"zh-Hans",
 			);
 			mainGroup = 3D8C9F6E29AC57F100678283;
 			productRefGroup = 3D8C9F7829AC57F200678283 /* Products */;
@@ -1995,6 +2010,7 @@
 				3D6EE45929F25AB400B02EBB /* SLRecomFriendsCell.xib in Resources */,
 				3D58825E2A28397D00F1B38E /* SLCitySetVc.xib in Resources */,
 				3D3BC1C22A2587E900AEEE8E /* SLNewMsgBgView.xib in Resources */,
+				3D5882992A29BBC100F1B38E /* InfoPlist.strings in Resources */,
 				3DF3DAB329B9B86200CAD3AB /* SLUserCenterViewController.xib in Resources */,
 				3DB97D6C29D6ABC100B12754 /* sdRefeshView_arrow@2x.png in Resources */,
 				3D3BC34B2A25E73800AEEE8E /* icon_yb_bg.jpg in Resources */,
@@ -2323,10 +2339,20 @@
 /* End PBXSourcesBuildPhase section */
 
 /* Begin PBXVariantGroup section */
+		3D58829B2A29BBC100F1B38E /* InfoPlist.strings */ = {
+			isa = PBXVariantGroup;
+			children = (
+				3D58829A2A29BBC100F1B38E /* zh-Hans */,
+				3D58829C2A29BBE100F1B38E /* en */,
+			);
+			name = InfoPlist.strings;
+			sourceTree = "<group>";
+		};
 		3D8C9F8329AC57F200678283 /* Main.storyboard */ = {
 			isa = PBXVariantGroup;
 			children = (
 				3D8C9F8429AC57F200678283 /* Base */,
+				3D5882932A29BB5100F1B38E /* zh-Hans */,
 			);
 			name = Main.storyboard;
 			sourceTree = "<group>";
@@ -2335,6 +2361,7 @@
 			isa = PBXVariantGroup;
 			children = (
 				3D8C9F8929AC57F300678283 /* Base */,
+				3D5882942A29BB5200F1B38E /* zh-Hans */,
 			);
 			name = LaunchScreen.storyboard;
 			sourceTree = "<group>";
@@ -2346,6 +2373,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
 				CLANG_ANALYZER_NONNULL = YES;
 				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
@@ -2404,6 +2432,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
 				CLANG_ANALYZER_NONNULL = YES;
 				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";

+ 7 - 0
SLAiELTS/SLAiELTS/Vendor/Resources/en.lproj/InfoPlist.strings

@@ -0,0 +1,7 @@
+/* 
+  InfoPlist.strings
+  SLAiELTS
+
+  Created by Gusont on 2023/6/2.
+  
+*/

+ 7 - 0
SLAiELTS/SLAiELTS/Vendor/Resources/zh-Hans.lproj/InfoPlist.strings

@@ -0,0 +1,7 @@
+/* 
+  InfoPlist.strings
+  SLAiELTS
+
+  Created by Gusont on 2023/6/2.
+  
+*/

+ 1 - 0
SLAiELTS/SLAiELTS/en-AU.lproj/LaunchScreen.strings

@@ -0,0 +1 @@
+

+ 1 - 0
SLAiELTS/SLAiELTS/en-AU.lproj/Main.strings

@@ -0,0 +1 @@
+

+ 1 - 0
SLAiELTS/SLAiELTS/zh-Hans.lproj/LaunchScreen.strings

@@ -0,0 +1 @@
+

+ 1 - 0
SLAiELTS/SLAiELTS/zh-Hans.lproj/Main.strings

@@ -0,0 +1 @@
+