From dca80238f0df3b7fb7e50870e84505ff0e1d8989 Mon Sep 17 00:00:00 2001 From: Pok <113675512+Pok27@users.noreply.github.com> Date: Sat, 11 Oct 2025 00:57:38 +0300 Subject: [PATCH] Attempt to fix all unlocalized lines (#40284) * missing-localization * cmd * fix: fixed patron page throwing exception due to unexpected patron tier in yaml * Revert "fix: fixed patron page throwing exception due to unexpected patron tier in yaml" This reverts commit 28458c78b1f2eed30fda898ec26059b27f1766f1. * review and update * no cmd * fix * fix 99 --------- Co-authored-by: pa.pecherskij --- .../UI/BanPanel/BanPanel.xaml.cs | 4 +- .../Administration/UI/Logs/AdminLogsEui.cs | 2 +- Content.Client/Credits/CreditsWindow.xaml.cs | 4 +- .../CriminalRecordsConsoleWindow.xaml | 2 +- .../HumanoidMarkingModifierWindow.xaml | 6 +- .../HumanoidMarkingModifierWindow.xaml.cs | 6 +- .../CrewMonitoringNavMapControl.cs | 2 +- .../CrewMonitoring/CrewMonitoringWindow.xaml | 12 +-- .../CrewMonitoringWindow.xaml.cs | 2 +- Content.Client/NPC/NPCWindow.xaml | 18 ++-- .../Pinpointer/UI/StationMapWindow.xaml | 2 +- Content.Client/UserInterface/StatValuesEui.cs | 2 +- .../Systems/Bwoink/AHelpUIController.cs | 2 +- .../Controls/Roles/MakeGhostRoleWindow.xaml | 22 ++--- .../Roles/MakeGhostRoleWindow.xaml.cs | 8 +- .../Systems/Storage/Controls/StorageWindow.cs | 2 +- .../Systems/AdminVerbSystem.Tools.cs | 82 +++++++++---------- .../en-US/administration/admin-verbs.ftl | 45 ++++++++++ .../Locale/en-US/administration/bwoink.ftl | 1 + .../en-US/components/storage-component.ftl | 1 + .../Locale/en-US/credits/credits-window.ftl | 2 + .../Locale/en-US/ghost/make-ghost-gui.ftl | 21 +++++ Resources/Locale/en-US/info/ban.ftl | 1 + .../components/crew-monitoring-component.ftl | 23 ++---- .../en-US/navmap-beacons/station_map.ftl | 1 + Resources/Locale/en-US/npc/npc-debug.ftl | 11 +++ .../en-US/preferences/ui/markings-picker.ftl | 6 ++ Resources/Locale/en-US/ui/navmap.ftl | 1 + Resources/Locale/en-US/ui/stat-values.ftl | 1 + 29 files changed, 188 insertions(+), 104 deletions(-) create mode 100644 Resources/Locale/en-US/ghost/make-ghost-gui.ftl create mode 100644 Resources/Locale/en-US/npc/npc-debug.ftl create mode 100644 Resources/Locale/en-US/ui/stat-values.ftl diff --git a/Content.Client/Administration/UI/BanPanel/BanPanel.xaml.cs b/Content.Client/Administration/UI/BanPanel/BanPanel.xaml.cs index d20c741673..7566942506 100644 --- a/Content.Client/Administration/UI/BanPanel/BanPanel.xaml.cs +++ b/Content.Client/Administration/UI/BanPanel/BanPanel.xaml.cs @@ -226,7 +226,7 @@ public sealed partial class BanPanel : DefaultWindow var roleGroupCheckbox = new Button { Name = $"{groupName}GroupCheckbox", - Text = "Ban all", + Text = Loc.GetString("role-bans-ban-group"), Margin = new Thickness(0, 0, 5, 0), ToggleMode = true, }; @@ -391,7 +391,7 @@ public sealed partial class BanPanel : DefaultWindow TimeLine.Text = args.Text; if (!double.TryParse(args.Text, out var result)) { - ExpiresLabel.Text = "err"; + ExpiresLabel.Text = Loc.GetString("ban-panel-expiry-error"); ErrorLevel |= ErrorLevelEnum.Minutes; TimeLine.ModulateSelfOverride = Color.Red; UpdateSubmitEnabled(); diff --git a/Content.Client/Administration/UI/Logs/AdminLogsEui.cs b/Content.Client/Administration/UI/Logs/AdminLogsEui.cs index 1544b827ae..28aca23f75 100644 --- a/Content.Client/Administration/UI/Logs/AdminLogsEui.cs +++ b/Content.Client/Administration/UI/Logs/AdminLogsEui.cs @@ -166,7 +166,7 @@ public sealed class AdminLogsEui : BaseEui ClydeWindow = _clyde.CreateWindow(new WindowCreateParameters { Maximized = false, - Title = "Admin Logs", + Title = Loc.GetString("admin-logs-title"), Monitor = monitor, Width = 1100, Height = 400 diff --git a/Content.Client/Credits/CreditsWindow.xaml.cs b/Content.Client/Credits/CreditsWindow.xaml.cs index 050d801170..6035bcc2bd 100644 --- a/Content.Client/Credits/CreditsWindow.xaml.cs +++ b/Content.Client/Credits/CreditsWindow.xaml.cs @@ -100,11 +100,11 @@ public sealed partial class CreditsWindow : DefaultWindow var container = new BoxContainer { Orientation = LayoutOrientation.Horizontal }; - var previousPageButton = new Button { Text = "Previous Page" }; + var previousPageButton = new Button { Text = Loc.GetString("credits-window-previous-page-button") }; previousPageButton.OnPressed += _ => PopulateAttributions(attributionsContainer, count - AttributionsSourcesPerPage); - var nextPageButton = new Button { Text = "Next Page" }; + var nextPageButton = new Button { Text = Loc.GetString("credits-window-next-page-button") }; nextPageButton.OnPressed += _ => PopulateAttributions(attributionsContainer, count + AttributionsSourcesPerPage); diff --git a/Content.Client/CriminalRecords/CriminalRecordsConsoleWindow.xaml b/Content.Client/CriminalRecords/CriminalRecordsConsoleWindow.xaml index 179304a978..f88fa07f5a 100644 --- a/Content.Client/CriminalRecords/CriminalRecordsConsoleWindow.xaml +++ b/Content.Client/CriminalRecords/CriminalRecordsConsoleWindow.xaml @@ -58,7 +58,7 @@ StyleClasses="LabelBig" /> -