diff --git a/android/sample-app/src/main/AndroidManifest.xml b/android/sample-app/src/main/AndroidManifest.xml index e5c1831..a66466b 100644 --- a/android/sample-app/src/main/AndroidManifest.xml +++ b/android/sample-app/src/main/AndroidManifest.xml @@ -4,6 +4,7 @@ + + + diff --git a/android/sample-app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/sample-app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..ed6dc06 Binary files /dev/null and b/android/sample-app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/sample-app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/sample-app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..90c2ed9 Binary files /dev/null and b/android/sample-app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/sample-app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/sample-app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..6a7fdff Binary files /dev/null and b/android/sample-app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/sample-app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/sample-app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..20324d4 Binary files /dev/null and b/android/sample-app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/sample-app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/sample-app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..08d858e Binary files /dev/null and b/android/sample-app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/sample-app/src/main/res/values-zh/strings.xml b/android/sample-app/src/main/res/values-zh/strings.xml new file mode 100644 index 0000000..1930ce0 --- /dev/null +++ b/android/sample-app/src/main/res/values-zh/strings.xml @@ -0,0 +1,4 @@ + + + 八哥口语 + diff --git a/android/sample-app/src/main/res/values/strings.xml b/android/sample-app/src/main/res/values/strings.xml index d5bd5d9..fdb55f2 100644 --- a/android/sample-app/src/main/res/values/strings.xml +++ b/android/sample-app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - 跟读虫 + MynaTalk diff --git a/ios/OralTrainer.xcodeproj/project.pbxproj b/ios/OralTrainer.xcodeproj/project.pbxproj index 7d25a60..e9416c9 100644 --- a/ios/OralTrainer.xcodeproj/project.pbxproj +++ b/ios/OralTrainer.xcodeproj/project.pbxproj @@ -27,6 +27,7 @@ AA0000000000000000000052 /* CatalogView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000032 /* CatalogView.swift */; }; AA0000000000000000000053 /* TestView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000033 /* TestView.swift */; }; AA0000000000000000000054 /* FullscreenPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000034 /* FullscreenPlayerView.swift */; }; + AA0000000000000000000060 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000070 /* InfoPlist.strings */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -52,6 +53,7 @@ AA0000000000000000000032 /* CatalogView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CatalogView.swift; sourceTree = ""; }; AA0000000000000000000033 /* TestView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestView.swift; sourceTree = ""; }; AA0000000000000000000034 /* FullscreenPlayerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FullscreenPlayerView.swift; sourceTree = ""; }; + AA0000000000000000000071 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh-Hans; path = zh-Hans.lproj/InfoPlist.strings; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -145,6 +147,7 @@ children = ( AA0000000000000000000020 /* Assets.xcassets */, AA000000000000000000001F /* Info.plist */, + AA0000000000000000000070 /* InfoPlist.strings */, ); path = Resources; sourceTree = ""; @@ -208,6 +211,7 @@ buildActionMask = 2147483647; files = ( AA0000000000000000000040 /* Assets.xcassets in Resources */, + AA0000000000000000000060 /* InfoPlist.strings in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -242,6 +246,17 @@ }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXVariantGroup section */ + AA0000000000000000000070 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + AA0000000000000000000071 /* zh-Hans */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + /* Begin XCBuildConfiguration section */ AA0000000000000000000012 /* Debug */ = { isa = XCBuildConfiguration; diff --git a/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png b/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png new file mode 100644 index 0000000..c00260f Binary files /dev/null and b/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png differ diff --git a/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json index 13613e3..cefcc87 100644 --- a/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/ios/OralTrainer/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,6 +1,7 @@ { "images" : [ { + "filename" : "AppIcon.png", "idiom" : "universal", "platform" : "ios", "size" : "1024x1024" diff --git a/ios/OralTrainer/Resources/Info.plist b/ios/OralTrainer/Resources/Info.plist index 8578fad..e67e3d5 100644 --- a/ios/OralTrainer/Resources/Info.plist +++ b/ios/OralTrainer/Resources/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion zh_CN CFBundleDisplayName - 跟读虫 + MynaTalk CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/ios/OralTrainer/Resources/zh-Hans.lproj/InfoPlist.strings b/ios/OralTrainer/Resources/zh-Hans.lproj/InfoPlist.strings new file mode 100644 index 0000000..504c6fc --- /dev/null +++ b/ios/OralTrainer/Resources/zh-Hans.lproj/InfoPlist.strings @@ -0,0 +1 @@ +CFBundleDisplayName = "八哥口语"; diff --git a/ios/OralTrainer/Views/RootView.swift b/ios/OralTrainer/Views/RootView.swift index 329cde7..56de67f 100644 --- a/ios/OralTrainer/Views/RootView.swift +++ b/ios/OralTrainer/Views/RootView.swift @@ -67,7 +67,7 @@ struct RootView: View { private var header: some View { HStack(spacing: 0) { VStack(alignment: .leading, spacing: 2) { - Text("跟读虫") + Text("八哥口语") .font(.system(size: 32, weight: .bold)) .foregroundColor(.white) Text("外语跟读训练神器") diff --git a/ios/README.md b/ios/README.md index ad14ed0..b5b67c1 100644 --- a/ios/README.md +++ b/ios/README.md @@ -1,4 +1,4 @@ -# Oral Trainer iOS App(跟读虫 iOS 版) +# MynaTalk iOS App(八哥口语 iOS 版) iOS 端与 [android/](../android/README.md) 示例 App 功能对齐的移动端: