]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed Missing or Misconfigured Locale Keys (#37595)
authorTrixxedHeart <46364955+TrixxedBit@users.noreply.github.com>
Tue, 20 May 2025 11:07:52 +0000 (06:07 -0500)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 11:07:52 +0000 (13:07 +0200)
* 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>
Content.Client/UserInterface/Systems/EscapeMenu/OptionsUIController.cs
Content.Server/Administration/Commands/PanicBunkerCommand.cs
Content.Server/RoundEnd/RoundEndSystem.cs
Content.Server/Salvage/SalvageSystem.Expeditions.cs
Resources/Locale/en-US/actions/actions/actions-commands.ftl
Resources/Locale/en-US/commands/colornetwork-command.ftl
Resources/Locale/en-US/components/screen-component.ftl [new file with mode: 0644]
Resources/Locale/en-US/info/ban.ftl
Resources/Locale/en-US/ninja/ninja-actions.ftl
Resources/Locale/en-US/ui/spray-painter-window.ftl [new file with mode: 0644]

index fedd64a43ff6ada032ae0c10516cbe4d5f7c7df7..9f2179701ca157de4e43923b98ce29ff6ec767b1 100644 (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;
         }
 
index 18aed7e3f0835302ccb53df9c89476764b4b5173..1536bf0e9bf00faa417524621022d60507d836e9 100644 (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)));
     }
 }
index 900a52057e65fc1459e9fb28f6cfa82c136bfe54..2d4f582bfcc52df5b5e11b07b33e227666d5c77b 100644 (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);
 
index 0493bb22cee5354081e1ac32eb32e428003542af..466678be3da68e9a997c327ffc2000217fc1064e 100644 (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);
index c0cd59cdacae5ae4733da5689e55b03d344591d4..ac5374f008a3a113511117a95c25f3fa6993febf 100644 (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.
index 3fd60bcb89f8b29287bf8b4f45657c56860c0230..c77657000e7423cf126a7b0abf70177fb2ac90c1 100644 (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 }.
\ No newline at end of file
diff --git a/Resources/Locale/en-US/components/screen-component.ftl b/Resources/Locale/en-US/components/screen-component.ftl
new file mode 100644 (file)
index 0000000..baa3229
--- /dev/null
@@ -0,0 +1,2 @@
+screen-text = screenText
+screen-color = screenColor
\ No newline at end of file
index cc3a34c28b704c85586f13e70559412d47f5f469..5cbdaced9772329227e687616d4313e4712125d1 100644 (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> [...]]
index b3e295b7a29a13c1f50a6dabdd3313c455e29f0e..9ca0468666de500507bd6829a15bca72a4735413 100644 (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)}.
 
diff --git a/Resources/Locale/en-US/ui/spray-painter-window.ftl b/Resources/Locale/en-US/ui/spray-painter-window.ftl
new file mode 100644 (file)
index 0000000..5466810
--- /dev/null
@@ -0,0 +1 @@
+pipe-painter-no-color-selected = (No color selected)
\ No newline at end of file