Make the Lobby Round Timer a bit clearer (#11977)
This commit is contained in:
@@ -128,7 +128,8 @@ namespace Content.Client.Lobby
|
|||||||
if (_gameTicker.IsGameStarted)
|
if (_gameTicker.IsGameStarted)
|
||||||
{
|
{
|
||||||
_lobby!.StartTime.Text = string.Empty;
|
_lobby!.StartTime.Text = string.Empty;
|
||||||
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-station-time", ("stationTime", _gameTiming.CurTime.Subtract(_gameTicker.RoundStartTimeSpan).ToString("hh\\:mm")));
|
var roundTime = _gameTiming.CurTime.Subtract(_gameTicker.RoundStartTimeSpan);
|
||||||
|
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-round-time", ("hours", roundTime.Hours), ("minutes", roundTime.Minutes));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -152,7 +153,7 @@ namespace Content.Client.Lobby
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-station-time", ("stationTime", TimeSpan.Zero.ToString("hh\\:mm")));
|
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-round-not-started");
|
||||||
_lobby!.StartTime.Text = Loc.GetString("lobby-state-round-start-countdown-text", ("timeLeft", text));
|
_lobby!.StartTime.Text = Loc.GetString("lobby-state-round-start-countdown-text", ("timeLeft", text));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,4 +7,5 @@ lobby-state-ready-button-ready-up-state = Ready Up
|
|||||||
lobby-state-player-status-not-ready = Not Ready
|
lobby-state-player-status-not-ready = Not Ready
|
||||||
lobby-state-player-status-ready = Ready
|
lobby-state-player-status-ready = Ready
|
||||||
lobby-state-player-status-observer = Observer
|
lobby-state-player-status-observer = Observer
|
||||||
lobby-state-player-status-station-time = The station time is: {$stationTime}
|
lobby-state-player-status-round-not-started = The round hasn't started yet
|
||||||
|
lobby-state-player-status-round-time = The round time is: {$hours} hours and {$minutes} minutes
|
||||||
|
|||||||
Reference in New Issue
Block a user