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 GitHub
parent 061ec432ff
commit f3342c5155
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()