Skip to content

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

Qt: regenerate the language table for the cheats iOS note

v0lumehicd50b5f35b43
diff --git a/frontend-qt/nspb_qt/localization.py b/frontend-qt/nspb_qt/localization.py
index f9ffaaf8..aadfff7c 100644
--- a/frontend-qt/nspb_qt/localization.py
+++ b/frontend-qt/nspb_qt/localization.py
@@ -285,6 +285,7 @@ TABLE: dict[str, tuple[str, str, str]] = {
'cheats.dropHint': ('松开以导入金手指', 'Drop to import cheats', 'Släpp för att importera fusk'),
'cheats.note': ('开关会立即保存,游戏下次启动时生效。', 'Switches are saved at once and apply the next time the game starts.', 'Reglagen sparas direkt och gäller nästa gång spelet startas.'),
'cheats.noteDevice': ('更改后请再次复制到 %@。', 'Copy to %@ again after a change.', 'Kopiera till %@ igen efter en ändring.'),
+ 'cheats.iosNote': ('金手指在 Mac 版应用中可用。在 iPhone 和 iPad 上,游戏启动时它们会被关闭,因为 iOS 不允许修改游戏的代码(seedds/nxnative#724)。', "Cheats work in the Mac app. On iPhone and iPad they are turned off when the game starts, because iOS does not allow changing the game's code (seedds/nxnative#724).", 'Fusk fungerar i Mac-appen. På iPhone och iPad stängs det av när spelet startar, eftersom iOS inte tillåter att spelets kod ändras (seedds/nxnative#724).'),
'pad.manage': ('管理', 'Manage', 'Hantera'),
'dev.signStage': ('为 %@ 签名', 'Sign for %@', 'Signerar för %@'),
'dev.installStage': ('安装到 %@', 'Install on %@', 'Installerar på %@'),
@@ -679,7 +680,7 @@ TABLE: dict[str, tuple[str, str, str]] = {
'dep.phase.download': ('下载', 'Download', 'Hämta'),
'dep.phase.unpack': ('解压', 'Unpack', 'Packa upp'),
'dep.python': ('Python + 包', 'Python + packages', 'Python + paket'),
- 'dep.python.hint': ('lz4 capstone fonttools backports.zstd', 'lz4 capstone fonttools backports.zstd', 'lz4 capstone fonttools backports.zstd'),
+ 'dep.python.hint': ('lz4 capstone fonttools zbic backports.zstd', 'lz4 capstone fonttools zbic backports.zstd', 'lz4 capstone fonttools zbic backports.zstd'),
'dep.fix.brewOwner': ('Homebrew 的目录属于其他用户,安装写不进去:在终端运行 sudo chown -R $(whoami) /opt/homebrew,然后重新安装。', "Homebrew's folder belongs to another user, so nothing can be installed: run sudo chown -R $(whoami) /opt/homebrew in Terminal, then install again.", 'Homebrews katalog ägs av en annan användare och kan inte skrivas till. Kör sudo chown -R $(whoami) /opt/homebrew i Terminal och installera sedan igen.'),
'dep.fix.brewMissing': ('没装 Homebrew:从 brew.sh 安装(安装程序会要你的密码),再点「重新检测」。', 'Homebrew is not installed: install it from brew.sh (the installer asks for your password), then press Check again.', 'Homebrew är inte installerat. Installera från brew.sh. Installationsprogrammet ber om ditt lösenord. Välj sedan ”Kontrollera igen”.'),
'dep.fix.xcodeLicense': ('Xcode 的许可协议还没接受:运行 sudo xcodebuild -license accept。', "Xcode's license is not accepted yet: run sudo xcodebuild -license accept.", 'Xcodes licensavtal är inte godkänt. Kör sudo xcodebuild -license accept.'),
@@ -736,7 +737,7 @@ TABLE: dict[str, tuple[str, str, str]] = {
'fail.translator.what': ('着色器翻译器无法运行,它需要适合这台 Mac 架构的 .NET 10 运行时。', "The shader translator does not run. It needs the .NET 10 runtime for this Mac's architecture.", "The shader translator does not run. It needs the .NET 10 runtime for this Mac's architecture."),
'fail.translator.next': ('用下面的按钮重新安装 .NET,然后再构建。如果环境变量 DOTNET_ROOT 指向了别的运行时,请取消设置。', 'Reinstall .NET with the button below, then build again. If DOTNET_ROOT names another runtime, unset it.', 'Reinstall .NET with the button below, then build again. If DOTNET_ROOT names another runtime, unset it.'),
'fail.translator.button': ('重新安装 .NET', 'Reinstall .NET', 'Reinstall .NET'),
- 'fail.zbic.what': ("这个游戏的模块用了 Nintendo 的 zstd 变体压缩(系统 22.0.0 起),读取它需要 Python 包 zbic,而它没有安装。", "This game's modules use Nintendo's zstd variant (system 22.0.0 and later), and reading them needs the Python package zbic, which is not installed.", 'Spelets moduler använder Nintendos zstd-variant (system 22.0.0 och senare) och för att läsa dem behövs Python-paketet zbic, som inte är installerat.'),
+ 'fail.zbic.what': ('这个游戏的模块用了 Nintendo 的 zstd 变体压缩(系统 22.0.0 起),读取它需要 Python 包 zbic,而它没有安装。', "This game's modules use Nintendo's zstd variant (system 22.0.0 and later), and reading them needs the Python package zbic, which is not installed.", 'Spelets moduler använder Nintendos zstd-variant (system 22.0.0 och senare) och för att läsa dem behövs Python-paketet zbic, som inte är installerat.'),
'fail.zbic.next': ('点下面的按钮安装 zbic,然后再构建。也可以在终端里运行 python3 -m pip install zbic,用的是构建所用的那个 Python。', 'Install zbic with the button below, then build again. Or run python3 -m pip install zbic in a terminal, with the Python the build uses.', 'Installera zbic med knappen nedan och bygg sedan igen. Eller kör python3 -m pip install zbic i en terminal, med den Python som bygget använder.'),
'fail.zbic.button': ('安装 zbic', 'Install zbic', 'Installera zbic'),
'fail.iosSDK.what': ('没有安装 iOS SDK,构建 iPhone 版本需要它。', 'The iOS SDK is not installed. An iPhone build needs it.', 'The iOS SDK is not installed. An iPhone build needs it.'),