Skip to content

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

Language tests: 16:9 (Switch) reads the same in every language

v0lumehi48c949ccc961
diff --git a/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift b/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift
index cff33da9..258a4e9b 100644
--- a/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift
+++ b/frontend/Tests/NX2AppleTests/FrenchLocalizationTests.swift
@@ -17,7 +17,7 @@ final class FrenchLocalizationTests: IsolatedDefaultsTestCase {
"dep.spirv.win", "dep.zstd.win", "dep.python.hint", "controls.mode.auto", "controls.fn.A",
"controls.fn.B", "controls.fn.X", "controls.fn.Y", "controls.fn.L", "controls.fn.R",
"controls.fn.ZL", "controls.fn.ZR", "controls.fn.Plus", "controls.fn.Minus", "launch.mods",
- "pad.options", "engine.channel.stable", "launch.opt.DM_PRESENT_UPSCALE.off", "launch.opt.DM_PRESENT_UPSCALE.metalfx", "launch.opt.DM_UPSCALER.metalfx", "key.tab",
+ "pad.options", "engine.channel.stable", "launch.opt.DM_PRESENT_UPSCALE.off", "launch.opt.DM_PRESENT_UPSCALE.metalfx", "launch.opt.DM_UPSCALER.metalfx", "launch.opt.DM_SCREEN_ASPECT.0", "key.tab",
"switch2.badge", // the console's name
// The iOS shell's words that French writes as English does: OK, Interface, the Switch's Plus button, Version.
"ios.host.ok", "ios.ui.interface", "ios.ui.padPlus", "ios.ui.version",
diff --git a/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift b/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift
index a3ddf1ab..5867caaf 100644
--- a/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift
+++ b/frontend/Tests/NX2AppleTests/GermanLocalizationTests.swift
@@ -20,6 +20,7 @@ final class GermanLocalizationTests: IsolatedDefaultsTestCase {
"controls.fn.ZL", "controls.fn.ZR", "controls.fn.Plus", "controls.fn.Minus", "launch.mods",
"update.pill", "launch.opt.DM_OPMODE.0", "launch.opt.DM_PRESENT_UPSCALE.off",
"launch.opt.DM_FPS_TARGET.30", "launch.opt.DM_FPS_TARGET.60", "launch.opt.DM_PRESENT_UPSCALE.metalfx", "launch.opt.DM_UPSCALER.metalfx",
+ "launch.opt.DM_SCREEN_ASPECT.0", // 16:9 (Switch) reads the same in every language
"switch2.badge", // the console's name
// The iOS shell's words that German writes as English does: OK, the controller, the Switch's Minus and Plus buttons, Version.
// Every other ios.* key needs a German text that differs (ShellStringsTests in frontend-ios checks all six languages).