Localize ETA units (#9267)
This commit is contained in:
@@ -116,17 +116,17 @@ namespace Content.Server.RoundEnd
|
||||
if (countdownTime.TotalSeconds < 60)
|
||||
{
|
||||
time = countdownTime.Seconds;
|
||||
units = "seconds";
|
||||
units = "eta-units-seconds";
|
||||
}
|
||||
else
|
||||
{
|
||||
time = countdownTime.Minutes;
|
||||
units = "minutes";
|
||||
units = "eta-units-minutes";
|
||||
}
|
||||
|
||||
_chatSystem.DispatchGlobalStationAnnouncement(Loc.GetString("round-end-system-shuttle-called-announcement",
|
||||
("time", time),
|
||||
("units", units)),
|
||||
("units", Loc.GetString(units))),
|
||||
Loc.GetString("Station"),
|
||||
false,
|
||||
Color.Gold);
|
||||
|
||||
@@ -3,3 +3,6 @@
|
||||
round-end-system-shuttle-called-announcement = An emergency shuttle has been sent. ETA: {$time} {$units}.
|
||||
round-end-system-shuttle-recalled-announcement = The emergency shuttle has been recalled.
|
||||
round-end-system-round-restart-eta-announcement = Restarting the round in {$minutes} minutes...
|
||||
|
||||
eta-units-minutes = minutes
|
||||
eta-units-seconds = seconds
|
||||
|
||||
Reference in New Issue
Block a user