Setup's switch says On/Off from its own keys, not vanilla's ON/OFF

With prepared resources, options.on/off made it "Splitscreen: OFF", unlike
the label before localization and what the live splitscreen tests expect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
martipopsandClaude Opus 5.5 committed 2026-11-01 16:14:43 -05:00
1 parent b3dcefa2ac
commit 972519acdc
1 file changed
+1 -4
+1 -4
View File
@@ -146,10 +146,7 @@ impl SplitUi {
"switch",
&[
&tr("horizon.extras.splitscreen", &[]),
&lang::get_or(
if self.on { "options.on" } else { "options.off" },
&tr(if self.on { "on" } else { "off" }, &[]),
),
&tr(if self.on { "on" } else { "off" }, &[]),
],
),
Target::Switch,