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