mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
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:
1 parent
b3dcefa2ac
commit
972519acdc
1 file changed
+1
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user