Skip to content

Commit c43c1b4

Browse files
committed
Update
1 parent 822e354 commit c43c1b4

File tree

3 files changed

+52
-5
lines changed

3 files changed

+52
-5
lines changed

Demo/What's New?.xcodeproj/project.pbxproj

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
3A46CBB2285444CC00BE79A3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A46CBB1285444CC00BE79A3 /* ContentView.swift */; };
1212
3A46CBB4285444CD00BE79A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3A46CBB3285444CD00BE79A3 /* Assets.xcassets */; };
1313
3A46CBB8285444CD00BE79A3 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3A46CBB7285444CD00BE79A3 /* Preview Assets.xcassets */; };
14-
3A46CBCE28544C9C00BE79A3 /* data.json in Resources */ = {isa = PBXBuildFile; fileRef = 3A46CBCD28544C9C00BE79A3 /* data.json */; };
1514
3AB7E09128630E380059EEFE /* SwiftNEW in Frameworks */ = {isa = PBXBuildFile; productRef = 3AB7E09028630E380059EEFE /* SwiftNEW */; };
15+
3AE0026A2962DD540055979A /* data.json in Resources */ = {isa = PBXBuildFile; fileRef = 3AE0026C2962DD540055979A /* data.json */; };
1616
3AE7A52728BDB0BF00B4789E /* SwiftNEW in Frameworks */ = {isa = PBXBuildFile; productRef = 3AE7A52628BDB0BF00B4789E /* SwiftNEW */; };
1717
/* End PBXBuildFile section */
1818

@@ -24,7 +24,8 @@
2424
3A46CBB5285444CD00BE79A3 /* What_s_New_.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = What_s_New_.entitlements; sourceTree = "<group>"; };
2525
3A46CBB7285444CD00BE79A3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
2626
3A46CBC4285447F600BE79A3 /* SwiftNEW */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = SwiftNEW; path = ../../../SwiftNEW; sourceTree = "<group>"; };
27-
3A46CBCD28544C9C00BE79A3 /* data.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = data.json; sourceTree = "<group>"; };
27+
3AE0026B2962DD540055979A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = en; path = en.lproj/data.json; sourceTree = "<group>"; };
28+
3AE0026D2962DD810055979A /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = "zh-Hant"; path = "zh-Hant.lproj/data.json"; sourceTree = "<group>"; };
2829
/* End PBXFileReference section */
2930

3031
/* Begin PBXFrameworksBuildPhase section */
@@ -62,7 +63,7 @@
6263
children = (
6364
3A46CBAF285444CC00BE79A3 /* What_s_New_App.swift */,
6465
3A46CBB1285444CC00BE79A3 /* ContentView.swift */,
65-
3A46CBCD28544C9C00BE79A3 /* data.json */,
66+
3AE0026C2962DD540055979A /* data.json */,
6667
3A46CBB3285444CD00BE79A3 /* Assets.xcassets */,
6768
3A46CBB5285444CD00BE79A3 /* What_s_New_.entitlements */,
6869
3A46CBB6285444CD00BE79A3 /* Preview Content */,
@@ -132,6 +133,7 @@
132133
knownRegions = (
133134
en,
134135
Base,
136+
"zh-Hant",
135137
);
136138
mainGroup = 3A46CBA3285444CC00BE79A3;
137139
packageReferences = (
@@ -153,7 +155,7 @@
153155
files = (
154156
3A46CBB8285444CD00BE79A3 /* Preview Assets.xcassets in Resources */,
155157
3A46CBB4285444CD00BE79A3 /* Assets.xcassets in Resources */,
156-
3A46CBCE28544C9C00BE79A3 /* data.json in Resources */,
158+
3AE0026A2962DD540055979A /* data.json in Resources */,
157159
);
158160
runOnlyForDeploymentPostprocessing = 0;
159161
};
@@ -171,11 +173,24 @@
171173
};
172174
/* End PBXSourcesBuildPhase section */
173175

176+
/* Begin PBXVariantGroup section */
177+
3AE0026C2962DD540055979A /* data.json */ = {
178+
isa = PBXVariantGroup;
179+
children = (
180+
3AE0026B2962DD540055979A /* en */,
181+
3AE0026D2962DD810055979A /* zh-Hant */,
182+
);
183+
name = data.json;
184+
sourceTree = "<group>";
185+
};
186+
/* End PBXVariantGroup section */
187+
174188
/* Begin XCBuildConfiguration section */
175189
3A46CBB9285444CD00BE79A3 /* Debug */ = {
176190
isa = XCBuildConfiguration;
177191
buildSettings = {
178192
ALWAYS_SEARCH_USER_PATHS = NO;
193+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
179194
CLANG_ANALYZER_NONNULL = YES;
180195
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
181196
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
@@ -234,6 +249,7 @@
234249
isa = XCBuildConfiguration;
235250
buildSettings = {
236251
ALWAYS_SEARCH_USER_PATHS = NO;
252+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
237253
CLANG_ANALYZER_NONNULL = YES;
238254
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
239255
CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";

Demo/What's New?/data.json renamed to Demo/What's New?/en.lproj/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"body": "on iOS."
1010
},
1111
{
12-
"icon": "appclip",
12+
"icon": "app",
1313
"title": "Demo",
1414
"subtitle": "is Better now",
1515
"body": "Following the Package Version."
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[
2+
{
3+
"version": "3.9",
4+
"new": [
5+
{
6+
"icon": "app.fill",
7+
"title": "應用圖標",
8+
"subtitle": "支持",
9+
"body": "在 iOS 上。"
10+
},
11+
{
12+
"icon": "app",
13+
"title": "演示",
14+
"subtitle": "現在好多了",
15+
"body": "遵循包版本。"
16+
},
17+
{
18+
"icon": "macpro.gen3.server",
19+
"title": "無服務器",
20+
"subtitle": "設計",
21+
"body": "免費開源! ❤️‍🔥"
22+
},
23+
{
24+
"icon": "arrow.triangle.pull",
25+
"title": "貢獻",
26+
"subtitle": "一起",
27+
"body": "提出請求,變得更好! 🎉"
28+
}
29+
]
30+
}
31+
]

0 commit comments

Comments
 (0)