Fixed Missing or Misconfigured Locale Keys (#37595)

* Fixes and adds many localization keys from #34343
Open

* Fix comment, that is not how that works.

* Update Resources/Locale/en-US/components/screen-component.ftl

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Fixes cmd-parse-failure-int -> cmd-parse-failure-integer in OptionsUIController.cs, removes cmd-parse-failure-int from options-menu.ftl

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
TrixxedHeart
2025-05-20 06:07:52 -05:00
committed by GitHub
parent 0d4f9640b5
commit b682da9d9c
10 changed files with 12 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ public sealed class OptionsUIController : UIController
if (!int.TryParse(args[0], out var tab))
{
shell.WriteError(Loc.GetString("cmd-parse-failure-int", ("arg", args[0])));
shell.WriteError(Loc.GetString("cmd-parse-failure-integer", ("arg", args[0])));
return;
}

View File

@@ -187,6 +187,6 @@ public sealed class PanicBunkerMinOverallMinutesCommand : LocalizedCommands
}
_cfg.SetCVar(CCVars.PanicBunkerMinOverallMinutes, minutes);
shell.WriteLine(Loc.GetString("panicbunker-command-overall-minutes-age-set", ("minutes", minutes)));
shell.WriteLine(Loc.GetString("panicbunker-command-min-overall-minutes-set", ("minutes", minutes)));
}
}

View File

@@ -233,7 +233,7 @@ namespace Content.Server.RoundEnd
}
_chatSystem.DispatchGlobalAnnouncement(Loc.GetString("round-end-system-shuttle-recalled-announcement"),
Loc.GetString("Station"), false, colorOverride: Color.Gold);
Loc.GetString("round-end-system-shuttle-sender-announcement"), false, colorOverride: Color.Gold);
_audio.PlayGlobal("/Audio/Announcements/shuttlerecalled.ogg", Filter.Broadcast(), true);

View File

@@ -128,7 +128,7 @@ public sealed partial class SalvageSystem
{
var component = expedition.Comp;
component.NextOffer = _timing.CurTime + TimeSpan.FromSeconds(_cooldown);
Announce(uid, Loc.GetString("salvage-expedition-mission-completed"));
Announce(uid, Loc.GetString("salvage-expedition-completed"));
component.ActiveMission = 0;
component.Cooldown = true;
UpdateConsoles(expedition);

View File

@@ -1,6 +1,7 @@
## Actions Commands loc
## Upgradeaction command loc
upgradeaction-command-help = Usage: upgradeaction <entityUid> [level]
upgradeaction-command-need-one-argument = upgradeaction needs at least one argument, the action entity uid. The second optional argument is a specified level.
upgradeaction-command-max-two-arguments = upgradeaction has a maximum of two arguments, the action entity uid and the (optional) level to set.
upgradeaction-command-second-argument-not-number = upgradeaction's second argument can only be a number.

View File

@@ -1,3 +1,5 @@
cmd-colornetwork-desc = Paints the atmos devices in the specified color
cmd-colornetwork-help = colornetwork <uid> Pipe <HexColor>
cmd-colornetwork-no-access = You are not currently able to use mapping commands.
shell-entity-is-not-node-container = Target entity is not a node container.
shell-node-group-is-invalid = Invalid node group specified. Valid groups: { $groups }.

View File

@@ -0,0 +1,2 @@
screen-text = screenText
screen-color = screenColor

View File

@@ -27,7 +27,7 @@ cmd-banpanel-player-err = The specified player could not be found
cmd-banlist-desc = Lists a user's active bans.
cmd-banlist-help = Usage: banlist <name or user ID>
cmd-banlist-empty = No active bans found for {$user}
cmd-banlistF-hint = <name/user ID>
cmd-banlist-hint = <name/user ID>
cmd-ban_exemption_update-desc = Set an exemption to a type of ban on a player.
cmd-ban_exemption_update-help = Usage: ban_exemption_update <player> <flag> [<flag> [...]]

View File

@@ -4,6 +4,7 @@ ninja-suit-cooldown = The suit needs time to recuperate from the last attack.
ninja-cell-downgrade = The suit will only accept a new power cell that is better than the current one!
ninja-cell-too-large = This power source does not fit in the ninja suit!
ninja-download-fail = Server has no research data...
ninja-research-steal-fail = No new research nodes were stolen...
ninja-research-steal-success = Stole {$count} new nodes from {THE($server)}.

View File

@@ -0,0 +1 @@
pipe-painter-no-color-selected = (No color selected)