Admin UI localization (#29340)

admin ui localization

Co-authored-by: MetalSage <metalsage.official@gmail.com>
This commit is contained in:
MetalSage
2024-06-22 17:05:33 +04:00
committed by GitHub
parent df5c4df894
commit 061c1f520c
26 changed files with 86 additions and 51 deletions

View File

@@ -109,7 +109,7 @@ namespace Content.Client.Administration.UI.Tabs.PlayerTab
private void RefreshPlayerList(IReadOnlyList<PlayerInfo> players)
{
_players = players;
PlayerCount.Text = $"Players: {_playerMan.PlayerCount}";
PlayerCount.Text = Loc.GetString("player-tab-player-count", ("count", _playerMan.PlayerCount));
var filteredPlayers = players.Where(info => _showDisconnected || info.Connected).ToList();