Skip to content

Commit

Permalink
Localization of the shuttle call sender (space-wizards#32286)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavonadelal authored Sep 18, 2024
1 parent 9fad1ab commit 6d41775
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content.Server/RoundEnd/RoundEndSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public bool IsRoundEndRequested()
return _countdownTokenSource != null;
}

public void RequestRoundEnd(EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "Station")
public void RequestRoundEnd(EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "round-end-system-shuttle-sender-announcement")
{
var duration = DefaultCountdownDuration;

Expand All @@ -143,7 +143,7 @@ public void RequestRoundEnd(EntityUid? requester = null, bool checkCooldown = tr
RequestRoundEnd(duration, requester, checkCooldown, text, name);
}

public void RequestRoundEnd(TimeSpan countdownTime, EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "Station")
public void RequestRoundEnd(TimeSpan countdownTime, EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "round-end-system-shuttle-sender-announcement")
{
if (_gameTicker.RunLevel != GameRunLevel.InRound)
return;
Expand Down Expand Up @@ -183,7 +183,7 @@ public void RequestRoundEnd(TimeSpan countdownTime, EntityUid? requester = null,
_chatSystem.DispatchGlobalAnnouncement(Loc.GetString(text,
("time", time),
("units", Loc.GetString(units))),
name,
Loc.GetString(name),
false,
null,
Color.Gold);
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/en-US/round-end/round-end-system.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ round-end-system-shuttle-called-announcement = An emergency shuttle has been sen
round-end-system-shuttle-already-called-announcement = An emergency shuttle has already been sent.
round-end-system-shuttle-auto-called-announcement = An automatic crew shift change shuttle has been sent. ETA: {$time} {$units}. Recall the shuttle to extend the shift.
round-end-system-shuttle-recalled-announcement = The emergency shuttle has been recalled.
round-end-system-shuttle-sender-announcement = Station
round-end-system-round-restart-eta-announcement = Restarting the round in {$time} {$units}...
eta-units-minutes = minutes
Expand Down

0 comments on commit 6d41775

Please sign in to comment.