]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
localization and change of appearance of the phrase about the remaining time (#29844)
authorchavonadelal <156101927+chavonadelal@users.noreply.github.com>
Tue, 9 Jul 2024 13:36:33 +0000 (16:36 +0300)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2024 13:36:33 +0000 (23:36 +1000)
Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml.cs
Resources/Locale/en-US/communications/communications-console-component.ftl

index 4d8dd86a4dcce8e7dc5d464ea59bbc83102c8375..bbca06f5194ae333c55e4ec709217ec577d9af2d 100644 (file)
@@ -113,7 +113,9 @@ namespace Content.Client.Communications.UI
             }
 
             EmergencyShuttleButton.Text = Loc.GetString("comms-console-menu-recall-shuttle");
-            CountdownLabel.SetMessage($"Time remaining\n{Owner.Countdown.ToString()}s");
+            var infoText = Loc.GetString($"comms-console-menu-time-remaining",
+            ("time", Owner.Countdown.ToString()));
+            CountdownLabel.SetMessage(infoText);
         }
 
         public override void Close()
index bead43df286ffa3ba8342935c0c6638f12fdd88a..d3200914b3cc560e26c4ba9642af4ff3500083ff 100644 (file)
@@ -5,6 +5,7 @@ comms-console-menu-announcement-button = Announce
 comms-console-menu-broadcast-button = Broadcast
 comms-console-menu-call-shuttle = Call emergency shuttle
 comms-console-menu-recall-shuttle = Recall emergency shuttle
+comms-console-menu-time-remaining = Time remaining: {$time}
 
 # Popup
 comms-console-permission-denied = Permission denied