localization and change of appearance of the phrase about the remaining time (#29844)

This commit is contained in:
chavonadelal 2024-07-09 16:36:33 +03:00 committed by deltanedas
parent 2d0fc339ed
commit 1f0d608fcd
2 changed files with 4 additions and 1 deletions

View 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()

View 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