Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

The data transfer speaks for itself: the activity bar, the log note, 开始传输, the external-drive note, and Chinese for the shell

LNPANDY9bc81ec69440
diff --git a/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings b/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings
index 35178d56..ba188482 100644
--- a/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings
+++ b/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings
@@ -8,6 +8,12 @@
"state": "translated",
"value": "\"%@\" is not a DM_ switch."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "\"%@\" 不是 DM_ 开关。"
+ }
}
}
},
@@ -18,6 +24,12 @@
"state": "translated",
"value": "%@ appears twice in launcher.json."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 在 launcher.json 中出现了两次。"
+ }
}
}
},
@@ -28,6 +40,12 @@
"state": "translated",
"value": "%@ has a wrong or missing value at \"%@\"."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 的 \"%@\" 值错误或缺失。"
+ }
}
}
},
@@ -38,6 +56,12 @@
"state": "translated",
"value": "%@ has no \"%@\"%@."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 缺少 \"%@\"%@。"
+ }
}
}
},
@@ -48,6 +72,12 @@
"state": "translated",
"value": "%@ has the unknown kind \"%@\"."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 的类型 \"%@\" 未知。"
+ }
}
}
},
@@ -58,6 +88,12 @@
"state": "translated",
"value": "%@ is a choice without [value, label] options."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 是没有 [value, label] 选项的选择项。"
+ }
}
}
},
@@ -68,6 +104,12 @@
"state": "translated",
"value": "%@ is a range without min, max and step."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 是缺少 min、max、step 的范围项。"
+ }
}
}
},
@@ -78,6 +120,12 @@
"state": "translated",
"value": "%@ is not in this game's folder. Install the game again."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 不在此游戏的文件夹中。请重新安装游戏。"
+ }
}
}
},
@@ -88,6 +136,12 @@
"state": "translated",
"value": "%@ is not valid JSON."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 不是有效的 JSON。"
+ }
}
}
},
@@ -98,6 +152,12 @@
"state": "translated",
"value": "%lld additional content packs"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%lld 个附加内容包"
+ }
}
}
},
@@ -108,6 +168,12 @@
"state": "translated",
"value": "1 additional content pack"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "1 个附加内容包"
+ }
}
}
},
@@ -118,6 +184,12 @@
"state": "translated",
"value": "Can't read this game"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "无法读取此游戏"
+ }
}
}
},
@@ -128,6 +200,12 @@
"state": "translated",
"value": "Choose a RomFS folder or romfs.img on this device, an external drive, or iCloud Drive."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "在此设备、外置硬盘或 Mac 上选择 RomFS 文件夹或 romfs.img。iOS 启动器会记住该位置。"
+ }
}
}
},
@@ -138,6 +216,12 @@
"state": "translated",
"value": "Done"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "完成"
+ }
}
}
},
@@ -148,6 +232,12 @@
"state": "translated",
"value": "Game code missing"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏代码缺失"
+ }
}
}
},
@@ -158,6 +248,12 @@
"state": "translated",
"value": "Game files damaged"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏文件已损坏"
+ }
}
}
},
@@ -168,6 +264,12 @@
"state": "translated",
"value": "Game manifest missing"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏清单缺失"
+ }
}
}
},
@@ -178,6 +280,12 @@
"state": "translated",
"value": "Launching is not available yet."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "启动功能尚不可用。"
+ }
}
}
},
@@ -188,6 +296,12 @@
"state": "translated",
"value": "Manifest not supported"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "清单不受支持"
+ }
}
}
},
@@ -198,6 +312,12 @@
"state": "translated",
"value": "No additional content"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "无附加内容"
+ }
}
}
},
@@ -208,6 +328,12 @@
"state": "translated",
"value": "No game data for %@ was found in that folder."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "在该文件夹中未找到 %@ 的游戏数据。"
+ }
}
}
},
@@ -218,6 +344,12 @@
"state": "translated",
"value": "No update address is set up for this app."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此 App 未设置更新地址。"
+ }
}
}
},
@@ -228,6 +360,12 @@
"state": "translated",
"value": "OK"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "好"
+ }
}
}
},
@@ -238,6 +376,12 @@
"state": "translated",
"value": "Only the end of the log is shown."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "仅显示日志末尾部分。"
+ }
}
}
},
@@ -248,6 +392,12 @@
"state": "translated",
"value": "Player %@"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "玩家 %@"
+ }
}
}
},
@@ -258,6 +408,12 @@
"state": "translated",
"value": "Settings list damaged"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "设置列表已损坏"
+ }
}
}
},
@@ -268,6 +424,12 @@
"state": "translated",
"value": "Settings list missing"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "设置列表缺失"
+ }
}
}
},
@@ -278,6 +440,12 @@
"state": "translated",
"value": "Settings list not supported"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "设置列表不受支持"
+ }
}
}
},
@@ -288,6 +456,12 @@
"state": "translated",
"value": "Shell"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "壳"
+ }
}
}
},
@@ -298,6 +472,12 @@
"state": "translated",
"value": "That folder could not be remembered. Try a different one."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "无法记住该文件夹。请换一个试试。"
+ }
}
}
},
@@ -308,6 +488,12 @@
"state": "translated",
"value": "That location could not be remembered. Try a different one."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "无法记住该位置。请换一个试试。"
+ }
}
}
},
@@ -318,6 +504,12 @@
"state": "translated",
"value": "The folder is named %@ but the manifest says %@."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "文件夹名为 %@,但清单显示 %@。"
+ }
}
}
},
@@ -328,6 +520,12 @@
"state": "translated",
"value": "The folder you chose before is no longer readable. Please choose it again."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "之前选择的文件夹已无法读取。请重新选择。"
+ }
}
}
},
@@ -338,6 +536,12 @@
"state": "translated",
"value": "The game's code is missing from this app. Rebuild and reinstall it."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此 App 中缺少游戏代码。请重新构建并安装。"
+ }
}
}
},
@@ -348,6 +552,12 @@
"state": "translated",
"value": "The game's manifest"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏清单"
+ }
}
}
},
@@ -358,6 +568,12 @@
"state": "translated",
"value": "The location you picked before is no longer readable (the app was signed differently). Please choose it again."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "之前选择的位置已无法读取(App 被重签)。请重新选择。"
+ }
}
}
},
@@ -368,6 +584,12 @@
"state": "translated",
"value": "The manifest lists no modules."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "清单中未列出任何模块。"
+ }
}
}
},
@@ -378,6 +600,12 @@
"state": "translated",
"value": "The settings list"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "设置列表"
+ }
}
}
},
@@ -388,6 +616,12 @@
"state": "translated",
"value": "This app's folder"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "本 App 的文件夹"
+ }
}
}
},
@@ -398,6 +632,12 @@
"state": "translated",
"value": "This app's folder has no data for this game yet. Copy it to games/%@ in this app's folder in Files."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "本 App 的文件夹中还没有此游戏的数据。请拷贝到 games/%@,或点「使用应用数据」。"
+ }
}
}
},
@@ -408,6 +648,12 @@
"state": "translated",
"value": "This game has no launcher.json."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏没有 launcher.json。"
+ }
}
}
},
@@ -418,6 +664,12 @@
"state": "translated",
"value": "This game has no log yet. It appears after the game has run."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏还没有日志。运行一次后会出现。"
+ }
}
}
},
@@ -428,6 +680,12 @@
"state": "translated",
"value": "This game was built for a different version of this app. Update the app or rebuild the game in the launcher on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏是为本 App 的其它版本构建的。请更新 App 或在 Mac 启动器中重新构建。"
+ }
}
}
},
@@ -438,6 +696,12 @@
"state": "translated",
"value": "This game's files are damaged. Rebuild the game in the launcher on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏文件已损坏。请在 Mac 上的启动器中重新构建。"
+ }
}
}
},
@@ -448,6 +712,12 @@
"state": "translated",
"value": "This game's folder has no game.manifest.json."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏的文件夹中没有 game.manifest.json。"
+ }
}
}
},
@@ -458,6 +728,12 @@
"state": "translated",
"value": "This game's manifest is damaged. Rebuild the game in the launcher on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏的清单已损坏。请在 Mac 上的启动器中重新构建。"
+ }
}
}
},
@@ -468,6 +744,12 @@
"state": "translated",
"value": "This game's manifest is missing. Rebuild the game in the launcher on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏的清单缺失。请在 Mac 上的启动器中重新构建。"
+ }
}
}
},
@@ -478,6 +760,12 @@
"state": "translated",
"value": "This game's settings list is damaged. Rebuild the game in the launcher on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏的设置列表已损坏。请在 Mac 上的启动器中重新构建。"
+ }
}
}
},
@@ -488,6 +776,12 @@
"state": "translated",
"value": "This game's settings list is missing. Rebuild the game in the launcher on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏的设置列表缺失。请在 Mac 上的启动器中重新构建。"
+ }
}
}
},
@@ -498,6 +792,12 @@
"state": "translated",
"value": "Unknown game"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "未知游戏"
+ }
}
}
},
@@ -508,6 +808,12 @@
"state": "translated",
"value": "chain \"%@\" is not of the form b-<hex>."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "chain \"%@\" 不符合 b-<十六进制> 格式。"
+ }
}
}
},
@@ -518,6 +824,12 @@
"state": "translated",
"value": "framework \"%@\" is not a .framework name."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "framework \"%@\" 不是 .framework 名称。"
+ }
}
}
},
@@ -528,6 +840,12 @@
"state": "translated",
"value": "game \"%@\" in launcher.json is not 16 hex digits."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "launcher.json 中的 game \"%@\" 不是 16 位十六进制。"
+ }
}
}
},
@@ -538,6 +856,12 @@
"state": "translated",
"value": "game.manifest.json has schema %lld, this app reads schema %lld."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "game.manifest.json 的 schema 为 %lld,本 App 读取 %lld。"
+ }
}
}
},
@@ -548,6 +872,12 @@
"state": "translated",
"value": "launcher.json has schema %lld, this app reads schema 1."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "launcher.json 的 schema 为 %lld,本 App 读取 1。"
+ }
}
}
},
@@ -558,6 +888,12 @@
"state": "translated",
"value": "launcher.json is for %@, the manifest for %@."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "launcher.json 属于 %@,而清单属于 %@。"
+ }
}
}
},
@@ -568,6 +904,12 @@
"state": "translated",
"value": "loader \"%@\" is neither FR nor FH."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "loader \"%@\" 既不是 FR 也不是 FH。"
+ }
}
}
},
@@ -578,6 +920,12 @@
"state": "translated",
"value": "title_id \"%@\" is not 16 hex digits."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "title_id \"%@\" 不是 16 位十六进制。"
+ }
}
}
}
diff --git a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
index 168d5061..7807ca09 100644
--- a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
+++ b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
@@ -8,6 +8,12 @@
"state": "translated",
"value": "%lld of %lld"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "第 %lld 个,共 %lld"
+ }
}
}
},
@@ -18,6 +24,12 @@
"state": "translated",
"value": "A little room for adventure"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "给冒险留一点空间"
+ }
}
}
},
@@ -28,6 +40,12 @@
"state": "translated",
"value": "App update needed"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "需要更新 App"
+ }
}
}
},
@@ -38,6 +56,12 @@
"state": "translated",
"value": "Back"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "返回"
+ }
}
}
},
@@ -48,6 +72,12 @@
"state": "translated",
"value": "Brings back the settings this game was tested with."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "恢复此游戏测试时使用的设置。"
+ }
}
}
},
@@ -58,6 +88,12 @@
"state": "translated",
"value": "Build this game again on your Mac and install it on this device. The Mac app checks every file while it builds, so the new copy is complete."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "在 Mac 上重新构建此游戏并安装到本设备。Mac 应用构建时会检查每个文件,新副本是完整的。"
+ }
}
}
},
@@ -68,6 +104,12 @@
"state": "translated",
"value": "Charging"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "充电中"
+ }
}
}
},
@@ -78,6 +120,12 @@
"state": "translated",
"value": "Choose"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择"
+ }
}
}
},
@@ -88,6 +136,12 @@
"state": "translated",
"value": "Choose folder…"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择文件夹…"
+ }
}
}
},
@@ -98,6 +152,12 @@
"state": "translated",
"value": "Choose game data…"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择游戏数据…"
+ }
}
}
},
@@ -108,6 +168,12 @@
"state": "translated",
"value": "Choose the same iCloud Drive folder you use on your Mac."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择与 Mac 上相同的 iCloud Drive 文件夹。"
+ }
}
}
},
@@ -118,6 +184,12 @@
"state": "translated",
"value": "Choose this game's data to get ready to play."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择此游戏的数据以开始游戏。"
+ }
}
}
},
@@ -128,6 +200,12 @@
"state": "translated",
"value": "Choose…"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择…"
+ }
}
}
},
@@ -138,6 +216,12 @@
"state": "translated",
"value": "Close controllers"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "关闭手柄列表"
+ }
}
}
},
@@ -148,6 +232,12 @@
"state": "translated",
"value": "Cloud saves"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "云存档"
+ }
}
}
},
@@ -158,6 +248,12 @@
"state": "translated",
"value": "Connect a controller in Bluetooth settings. Touch controls are always available in the library."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "在蓝牙设置中连接手柄。触屏控制始终可用。"
+ }
}
}
},
@@ -168,6 +264,12 @@
"state": "translated",
"value": "Controllers"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "手柄"
+ }
}
}
},
@@ -178,6 +280,12 @@
"state": "translated",
"value": "Decrease"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "减小"
+ }
}
}
},
@@ -188,15 +296,11 @@
"state": "translated",
"value": "Details"
}
- }
- }
- },
- "Title ID %@": {
- "localizations": {
- "en": {
+ },
+ "zh-Hans": {
"stringUnit": {
"state": "translated",
- "value": "Title ID %@"
+ "value": "详情"
}
}
}
@@ -208,6 +312,12 @@
"state": "translated",
"value": "Done"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "完成"
+ }
}
}
},
@@ -218,6 +328,12 @@
"state": "translated",
"value": "Double-tap to select"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "轻点两下以选择"
+ }
}
}
},
@@ -228,6 +344,12 @@
"state": "translated",
"value": "For a bug report"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "用于问题报告"
+ }
}
}
},
@@ -238,6 +360,12 @@
"state": "translated",
"value": "Game data"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏数据"
+ }
}
}
},
@@ -248,6 +376,12 @@
"state": "translated",
"value": "Game settings"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏设置"
+ }
}
}
},
@@ -258,6 +392,12 @@
"state": "translated",
"value": "How to fix"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "如何修复"
+ }
}
}
},
@@ -268,6 +408,12 @@
"state": "translated",
"value": "How to update"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "如何更新"
+ }
}
}
},
@@ -278,6 +424,12 @@
"state": "translated",
"value": "Increase"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "增大"
+ }
}
}
},
@@ -288,6 +440,12 @@
"state": "translated",
"value": "Install a newer version of this app to play this game."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "安装本 App 的更新版本以游玩此游戏。"
+ }
}
}
},
@@ -298,6 +456,12 @@
"state": "translated",
"value": "Library"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏库"
+ }
}
}
},
@@ -308,6 +472,12 @@
"state": "translated",
"value": "Move between controls"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "在控件之间移动"
+ }
}
}
},
@@ -318,6 +488,12 @@
"state": "translated",
"value": "Needs game data"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "需要游戏数据"
+ }
}
}
},
@@ -328,6 +504,12 @@
"state": "translated",
"value": "No additional content"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "无附加内容"
+ }
}
}
},
@@ -338,6 +520,12 @@
"state": "translated",
"value": "No battery level"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "无电量信息"
+ }
}
}
},
@@ -348,6 +536,12 @@
"state": "translated",
"value": "No controllers connected"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "未连接手柄"
+ }
}
}
},
@@ -358,6 +552,12 @@
"state": "translated",
"value": "No data selected"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "未选择数据"
+ }
}
}
},
@@ -368,6 +568,12 @@
"state": "translated",
"value": "Off"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "关"
+ }
}
}
},
@@ -378,6 +584,12 @@
"state": "translated",
"value": "On"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "开"
+ }
}
}
},
@@ -388,6 +600,12 @@
"state": "translated",
"value": "On a controller"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "在手柄上"
+ }
}
}
},
@@ -398,6 +616,12 @@
"state": "translated",
"value": "Play"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "开始"
+ }
}
}
},
@@ -408,6 +632,12 @@
"state": "translated",
"value": "Played %@"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "%@ 玩过"
+ }
}
}
},
@@ -418,6 +648,12 @@
"state": "translated",
"value": "Played today"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "今天玩过"
+ }
}
}
},
@@ -428,6 +664,12 @@
"state": "translated",
"value": "Played yesterday"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "昨天玩过"
+ }
}
}
},
@@ -438,6 +680,12 @@
"state": "translated",
"value": "Ready to play"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "随时可玩"
+ }
}
}
},
@@ -448,6 +696,12 @@
"state": "translated",
"value": "Recently played"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "最近游玩"
+ }
}
}
},
@@ -458,6 +712,12 @@
"state": "translated",
"value": "Reset to tested defaults"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "恢复测试默认值"
+ }
}
}
},
@@ -468,6 +728,12 @@
"state": "translated",
"value": "Select"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "选择"
+ }
}
}
},
@@ -478,6 +744,12 @@
"state": "translated",
"value": "Show log"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "显示日志"
+ }
}
}
},
@@ -488,6 +760,28 @@
"state": "translated",
"value": "This game needs a newer version of this app. Update it with the Mac app on your Mac, then install it on this device again."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "此游戏需要本 App 的更新版本。请在 Mac 应用中更新。"
+ }
+ }
+ }
+ },
+ "Title ID %@": {
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Title ID %@"
+ }
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Title ID %@"
+ }
}
}
},
@@ -498,6 +792,12 @@
"state": "translated",
"value": "Turn off"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "关闭"
+ }
}
}
},
@@ -508,6 +808,12 @@
"state": "translated",
"value": "Turn off cloud saves"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "关闭云存档"
+ }
}
}
},
@@ -518,6 +824,12 @@
"state": "translated",
"value": "Unavailable"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "不可用"
+ }
}
}
},
@@ -528,6 +840,12 @@
"state": "translated",
"value": "Update app"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "更新 App"
+ }
}
}
},
@@ -538,6 +856,12 @@
"state": "translated",
"value": "Use app data"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "使用应用数据"
+ }
}
}
},
@@ -548,6 +872,12 @@
"state": "translated",
"value": "Version %@"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "版本 %@"
+ }
}
}
},
@@ -558,6 +888,12 @@
"state": "translated",
"value": "Your games"
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "你的游戏"
+ }
}
}
},
@@ -568,9 +904,15 @@
"state": "translated",
"value": "Your games will appear here when they are included in this app."
}
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "游戏加入此 App 后会显示在这里。"
+ }
}
}
}
},
"version": "1.0"
-}
+}
\ No newline at end of file
diff --git a/frontend-qt/nspb_qt/localization.py b/frontend-qt/nspb_qt/localization.py
index 087f51a5..9450557d 100644
--- a/frontend-qt/nspb_qt/localization.py
+++ b/frontend-qt/nspb_qt/localization.py
@@ -233,7 +233,8 @@ TABLE: dict[str, tuple[str, str, str, str, str]] = {
'shell.copyNotConnected': ('%@ 目前没有连接。请用数据线连接并保持解锁。', '%@ is not connected right now. Connect it with a cable and keep it unlocked.', '%@ är inte ansluten just nu. Anslut den med kabel och låt den vara olåst.', '%@ ist gerade nicht verbunden. Schließe es mit einem Kabel an und lass es entsperrt.', '%@ n’est pas connecté pour le moment. Branchez-le avec un câble et gardez-le déverrouillé.'),
'shell.copyWaiting': ('正在等待数据线。%@ 接上后会自动开始复制。', 'Waiting for a cable. The copy starts when %@ is connected.', 'Väntar på en kabel. Kopieringen startar när %@ är ansluten.', 'Warte auf ein Kabel. Das Kopieren beginnt, sobald %@ verbunden ist.', 'En attente d’un câble. La copie démarre dès que %@ est connecté.'),
'shell.copyTitle': ('复制游戏数据', 'Copy the game data', 'Kopiera speldata', 'Spieldaten kopieren', 'Copier les données du jeu'),
- 'shell.copyContinue': ('继续', 'Continue', 'Fortsätt', 'Weiter', 'Continuer'),
+ 'shell.copyStart': ('开始传输', 'Start the transfer', 'Starta överföringen', 'Start the transfer', 'Start the transfer'),
+ 'shell.copyExternalNote': ('也可以把游戏数据 img 文件自行拷贝到外置存储设备,然后在 iOS 启动器里指定游戏数据位置,不必经由此 Mac 传输。', 'You can also copy the game data img file to external storage yourself and point the iOS launcher at the game data location — no transfer from this Mac needed.', 'Du kan också kopiera speldata-img-filen till extern lagring själv och peka iOS-startprogrammet på speldata-platsen — ingen överföring från den här Macen behövs.', 'You can also copy the game data img file to external storage yourself and point the iOS launcher at the game data location — no transfer from this Mac needed.', 'You can also copy the game data img file to external storage yourself and point the iOS launcher at the game data location — no transfer from this Mac needed.'),
'shell.copyWaitCable': ('等待数据线', 'Wait for a cable', 'Vänta på kabel', 'Auf ein Kabel warten', 'Attendre un câble'),
'shell.copySkip': ('暂不复制', 'Not now', 'Inte nu', 'Nicht jetzt', 'Pas maintenant'),
'shell.copyStopWaiting': ('不再等待', 'Stop waiting', 'Sluta vänta', 'Nicht mehr warten', 'Ne plus attendre'),
@@ -362,6 +363,7 @@ TABLE: dict[str, tuple[str, str, str, str, str]] = {
'prog.eta': ('还剩 %@', '%@ left', '%@ kvar', 'Noch %@', '%@ restant'),
'activity.mac': ('正在构建 Mac 版', 'Mac build in progress', 'Mac-byggning pågår', 'Mac-Build läuft', 'Compilation Mac en cours'),
'activity.ios': ('正在构建 iPhone 版', 'iPhone build in progress', 'iPhone-byggning pågår', 'iPhone-Build läuft', 'Compilation iPhone en cours'),
+ 'activity.transfer': ('正在传输游戏文件到 iPhone', 'Transferring game files to the iPhone', 'Överför spelfiler till iPhone', 'Transferring game files to the iPhone', 'Transferring game files to the iPhone'),
'section.files': ('游戏文件', 'Game files', 'Spelfiler', 'Spieldateien', 'Fichiers du jeu'),
'section.target': ('在哪里玩', 'Play on', 'Spela på', 'Spielen auf', 'Jouer sur'),
'section.progress': ('构建进度', 'Progress', 'Förlopp', 'Fortschritt', 'Progression'),
@@ -787,7 +789,7 @@ TABLE: dict[str, tuple[str, str, str, str, str]] = {
'log.exported': ('日志已保存:%@', 'Log saved: %@', 'Logg sparad: %@', 'Protokoll gesichert: %@', 'Journal enregistré\xa0: %@'),
'log.exportFail': ('保存失败:%@', 'Could not save: %@', 'Kunde inte spara: %@', 'Sichern nicht möglich: %@', 'Enregistrement impossible\xa0: %@'),
'log.at': ('日志同时写入 %@', 'The log is also written to %@', 'Loggen skrivs också till %@', 'Das Protokoll wird auch nach %@ geschrieben', 'Le journal est aussi écrit dans %@'),
- 'log.placeholder': ('构建日志会显示在这里', 'The build log appears here', 'Byggloggen visas här', 'Das Build-Protokoll erscheint hier', 'Le journal de compilation apparaît ici'),
+ 'log.transferNote': ('构建已完成。以下日志属于构建脚本;游戏文件的传输由启动器执行——它的问题(如设备锁定)和进度显示在下方「复制游戏数据」卡片里。', 'The build has finished. The log below belongs to the build script; the game-file transfer is driven by the launcher — its questions (a locked device) and progress appear in the Copy the game data card below.', 'Bygget är klart. Loggen nedan hör till byggskriptet; överföringen av spelfilerna drivs av startprogrammet — dess frågor (en låst enhet) och framsteg visas i kortet "Kopiera speldata" nedan.', 'The build has finished. The log below belongs to the build script; the game-file transfer is driven by the launcher — its questions (a locked device) and progress appear in the Copy the game data card below.', 'The build has finished. The log below belongs to the build script; the game-file transfer is driven by the launcher — its questions (a locked device) and progress appear in the Copy the game data card below.'),
'btn.build': ('开始构建', 'Start build', 'Starta bygget', 'Build starten', 'Lancer la compilation'),
'btn.rebuild': ('重新构建', 'Rebuild', 'Bygg om', 'Neu bauen', 'Recompiler'),
'btn.stop': ('停止', 'Stop', 'Stoppa', 'Stopp', 'Arrêter'),
diff --git a/frontend/Sources/NSPortBuilder/ContentView.swift b/frontend/Sources/NSPortBuilder/ContentView.swift
index a467e80e..bee713fa 100644
--- a/frontend/Sources/NSPortBuilder/ContentView.swift
+++ b/frontend/Sources/NSPortBuilder/ContentView.swift
@@ -3366,6 +3366,12 @@ struct BuilderView: View {
/// pointed ("see the log below") while the log itself was out of view on a short window (#52).
@ViewBuilder private var logPanel: some View {
group(m.t("section.log")) {
+ if m.shellCopy != nil || m.shellWaiting {
+ // The log below is the build's own output; the data transfer is driven by the app, so
+ // its questions and errors (a locked device, a failed listing) answer here, not in it.
+ Text(m.t("log.transferNote")).font(.manrope(12.5)).foregroundStyle(.secondary)
+ .fixedSize(horizontal: false, vertical: true).padding(.horizontal, 14).padding(.top, 2)
+ }
disclosure(m.t("build.log"), isOpen: logOpen) { logOpen.toggle() }
if logOpen { logView.padding(.horizontal, 14).padding(.bottom, 14) }
}
diff --git a/frontend/Sources/NSPortBuilder/LauncherView.swift b/frontend/Sources/NSPortBuilder/LauncherView.swift
index 51f7621b..d5d38c06 100644
--- a/frontend/Sources/NSPortBuilder/LauncherView.swift
+++ b/frontend/Sources/NSPortBuilder/LauncherView.swift
@@ -692,7 +692,8 @@ struct ContentView: View {
if m.running {
Image(systemName: "wrench.and.screwdriver").font(.system(size: 22, weight: .light)).foregroundStyle(.secondary)
VStack(alignment: .leading, spacing: 4) {
- Text(m.t(m.target == BuildTarget.mac ? "activity.mac" : "activity.ios")).font(.manrope(15, .bold))
+ Text(m.t(m.shellCopy != nil || m.shellWaiting || m.stages.contains { $0.id == 1003 && $0.state == .running }
+ ? "activity.transfer" : (m.target == BuildTarget.mac ? "activity.mac" : "activity.ios"))).font(.manrope(15, .bold))
TimelineView(.periodic(from: Date(), by: 1)) { context in // the clock ticks while a count may stand still
Text(m.stages.last(where: { $0.state == .running })
.map { [$0.name, $0.detail, $0.clock(at: context.date, left: m.t("prog.eta"))].filter { !$0.isEmpty }.joined(separator: " · ") }
diff --git a/frontend/Sources/NSPortBuilder/Localization.swift b/frontend/Sources/NSPortBuilder/Localization.swift
index 879ce902..5cc0ff87 100644
--- a/frontend/Sources/NSPortBuilder/Localization.swift
+++ b/frontend/Sources/NSPortBuilder/Localization.swift
@@ -274,7 +274,8 @@ enum L10n {
"shell.copyNotConnected": ("%@ 目前没有连接。请用数据线连接并保持解锁。", "%@ is not connected right now. Connect it with a cable and keep it unlocked."),
"shell.copyWaiting": ("正在等待数据线。%@ 接上后会自动开始复制。", "Waiting for a cable. The copy starts when %@ is connected."),
"shell.copyTitle": ("复制游戏数据", "Copy the game data"),
- "shell.copyContinue": ("继续", "Continue"),
+ "shell.copyStart": ("开始传输", "Start the transfer"),
+ "shell.copyExternalNote": ("也可以把游戏数据 img 文件自行拷贝到外置存储设备,然后在 iOS 启动器里指定游戏数据位置,不必经由此 Mac 传输。", "You can also copy the game data img file to external storage yourself and point the iOS launcher at the game data location — no transfer from this Mac needed."),
"shell.copyWaitCable": ("等待数据线", "Wait for a cable"),
"shell.copySkip": ("暂不复制", "Not now"),
"shell.copyStopWaiting": ("不再等待", "Stop waiting"),
@@ -407,6 +408,7 @@ enum L10n {
"prog.eta": ("\u{8fd8}\u{5269} %@", "%@ left"),
"activity.mac": ("\u{6b63}\u{5728}\u{6784}\u{5efa} Mac \u{7248}", "Mac build in progress"),
"activity.ios": ("\u{6b63}\u{5728}\u{6784}\u{5efa} iPhone \u{7248}", "iPhone build in progress"),
+ "activity.transfer": ("正在传输游戏文件到 iPhone", "Transferring game files to the iPhone"),
"section.files": ("\u{6e38}\u{620f}\u{6587}\u{4ef6}", "Game files"),
"section.target": ("\u{5728}\u{54ea}\u{91cc}\u{73a9}", "Play on"),
"section.progress": ("\u{6784}\u{5efa}\u{8fdb}\u{5ea6}", "Progress"),
@@ -909,7 +911,7 @@ enum L10n {
"log.exported": ("日志已保存:%@", "Log saved: %@"),
"log.exportFail": ("保存失败:%@", "Could not save: %@"),
"log.at": ("日志同时写入 %@", "The log is also written to %@"),
- "log.placeholder": ("构建日志会显示在这里", "The build log appears here"),
+ "log.transferNote": ("构建已完成。以下日志属于构建脚本;游戏文件的传输由启动器执行——它的问题(如设备锁定)和进度显示在下方「复制游戏数据」卡片里。", "The build has finished. The log below belongs to the build script; the game-file transfer is driven by the launcher — its questions (a locked device) and progress appear in the Copy the game data card below."),
// ---- footer ----
"btn.build": ("开始构建", "Start build"),
@@ -1366,6 +1368,8 @@ enum L10n {
"shell.copyNotConnected": "%@ är inte ansluten just nu. Anslut den med kabel och låt den vara olåst.",
"shell.copyWaiting": "Väntar på en kabel. Kopieringen startar när %@ är ansluten.",
"shell.copyTitle": "Kopiera speldata",
+ "shell.copyStart": "Starta överföringen",
+ "shell.copyExternalNote": "Du kan också kopiera speldata-img-filen till extern lagring själv och peka iOS-startprogrammet på speldata-platsen — ingen överföring från den här Macen behövs.",
"shell.copyContinue": "Fortsätt",
"shell.copyWaitCable": "Vänta på kabel",
"shell.copySkip": "Inte nu",
@@ -1466,6 +1470,7 @@ enum L10n {
"prog.eta": "%@ kvar",
"activity.mac": "Mac-byggning pågår",
"activity.ios": "iPhone-byggning pågår",
+ "activity.transfer": "Överför spelfiler till iPhone",
"section.files": "Spelfiler",
"section.target": "Spela på",
"section.progress": "Förlopp",
@@ -1801,6 +1806,7 @@ enum L10n {
"log.exported": "Logg sparad: %@",
"log.exportFail": "Kunde inte spara: %@",
"log.at": "Loggen skrivs också till %@",
+ "log.transferNote": "Bygget är klart. Loggen nedan hör till byggskriptet; överföringen av spelfilerna drivs av startprogrammet — dess frågor (en låst enhet) och framsteg visas i kortet \"Kopiera speldata\" nedan.",
"log.placeholder": "Byggloggen visas här",
"btn.build": "Starta bygget",
"btn.rebuild": "Bygg om",
diff --git a/frontend/Sources/NSPortBuilder/ShellCopyView.swift b/frontend/Sources/NSPortBuilder/ShellCopyView.swift
index 244ae3a3..fc9bda11 100644
--- a/frontend/Sources/NSPortBuilder/ShellCopyView.swift
+++ b/frontend/Sources/NSPortBuilder/ShellCopyView.swift
@@ -12,8 +12,10 @@ struct ShellCopyCard: View {
Text(m.t("shell.copyTitle")).font(.manrope(14, .semibold))
Text(plan.sizeText).font(.manrope(13)).foregroundStyle(.secondary)
Text(plan.connectionText).font(.manrope(13)).fixedSize(horizontal: false, vertical: true)
+ Text(m.t("shell.copyExternalNote")).font(.manrope(12.5)).foregroundStyle(.secondary)
+ .fixedSize(horizontal: false, vertical: true).padding(.top, 1)
HStack(spacing: 10) {
- Button(m.t("shell.copyContinue")) { m.answerShellCopy(.copy) }
+ Button(m.t("shell.copyStart")) { m.answerShellCopy(.copy) }
if plan.canWaitForCable { Button(m.t("shell.copyWaitCable")) { m.answerShellCopy(.waitForCable) } }
Button(m.t("shell.copySkip")) { m.answerShellCopy(.skip) }
}