Fixes map vote localisation issue (#16904)
This commit is contained in:
@@ -214,7 +214,8 @@ namespace Content.Server.Voting.Managers
|
||||
}
|
||||
else
|
||||
{
|
||||
_chatManager.DispatchServerAnnouncement(Loc.GetString("ui-vote-map-notlobby-time"));
|
||||
var timeString = $"{ticker.RoundPreloadTime.Minutes:0}:{ticker.RoundPreloadTime.Seconds:00}";
|
||||
_chatManager.DispatchServerAnnouncement(Loc.GetString("ui-vote-map-notlobby-time", ("time", timeString)));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -17,5 +17,5 @@ ui-vote-gamemode-win = { $winner } won the gamemode vote!
|
||||
ui-vote-map-title = Next map
|
||||
ui-vote-map-tie = Tie for map vote! Picking... { $picked }
|
||||
ui-vote-map-win = { $winner } won the map vote!
|
||||
ui-vote-map-notlobby-time = Voting for maps is only valid in the pre-round lobby!
|
||||
ui-vote-map-notlobby = Voting for maps is only valid in the pre-round lobby!
|
||||
ui-vote-map-notlobby-time = Voting for maps is only valid in the pre-round lobby with { $time } remaining!
|
||||
|
||||
Reference in New Issue
Block a user