Skip to content

Commit

Permalink
holly shit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Aug 13, 2024
1 parent 31a72d2 commit 5c174a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 4 additions & 5 deletions Content.Server/StatsBoard/StatsBoardSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public string GetRoundStats()
var username = TryGetUsername(mostSlippedCharacter.Value);
var name = TryGetName(mostSlippedCharacter.Value);
var usernameColor = username != null ? $" ([color=gray]{username}[/color])" : "";
result += Loc.GetString("statsentry-most-slipped", ("name" name), ("username", usernameColor), ("count", maxSlippedCount));
result += Loc.GetString("statsentry-most-slipped", ("name", name), ("username", usernameColor), ("count", maxSlippedCount));
}

if (totalCreampied >= 1)
Expand Down Expand Up @@ -639,17 +639,16 @@ public string GetRoundStats()
var username = TryGetUsername(playerWithLongestSleepTime.Value);
var name = TryGetName(playerWithLongestSleepTime.Value);
var usernameColor = username != null ? $" ([color=gray]{username}[/color])" : "";
result += $"\nГлавной соней станции оказался [color=white]{name}[/color]{usernameColor}.";
result += $"\nОн спал на протяжении [color=yellow]{maxSleepTime.ToString("hh\\:mm\\:ss")}[/color].";
result += Loc.GetString("statsentry-player-with-longest-sleep-time", ("name", name), ("username", usernameColor));
result += Loc.GetString("statsentry-player-with-longest-sleep-time-time", ("time", maxSleepTime.ToString("hh\\:mm\\:ss")));
}

if (playerWithLongestSpaceTime != null)
{
var username = TryGetUsername(playerWithLongestSpaceTime.Value);
var name = TryGetName(playerWithLongestSpaceTime.Value);
var usernameColor = username != null ? $" ([color=gray]{username}[/color])" : "";
result +=
$"\nБольше всего времени в космосе провел [color=white]{name}[/color]{usernameColor} - [color=yellow]{maxSpaceTime.ToString("hh\\:mm\\:ss")}[/color].";
result += Loc.GetString("statsentry-player-with-longest-space-time", ("name", name), ("username", usernameColor), ("time", maxSpaceTime.ToString("hh\\:mm\\:ss")));
}

if (_clownCuffed.clown != null && _clownCuffed.time != null)
Expand Down
7 changes: 5 additions & 2 deletions Resources/Locale/ru-RU/_sunrise/statsboard/statsentry.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ statsentry-sleep-time = Проспал [color=yellow]{ $name }[/color]\n
statsentry-int-cc = Трогал карту капитана: { $name }
statsentry-species-entry-name = На станции были представители таких рас:
statsentry-species-entry = \n[bold][color=white]{ $name }[/color][/bold] в количестве [color=white]{count}[/color].
statsentry-species-entry = \n[bold][color=white]{ $name }[/color][/bold] в количестве [color=white]{ $count }[/color].
statsentry-mst-pop-species = \nСамой распространённой расой стал [color=white]{ $name }[/color].
statsentry-bank-balance = \nПод конец смены баланс карго составил [color=white]{ $balance }[/color] кредитов.
statsentry-firth-murder = \nПервая жертва станции - [color=white]{ $name }[/color]{ $username }.
Expand All @@ -38,4 +38,7 @@ statsentry-most-kills-mice-character = \n{ $name }[/color]{ $username } устр
statsentry-hamster-killer = \nУбийцей гамлета был [color=white]{ $name }[/color]{ $username }.
statsentry-total-cuffed-count = \nИгроки были закованы [color=white]{ $count }[/color] раз.
statsentry-player-with-longest-cuffed-time = \nБольше всего времени в наручниках провёл [color=white]{ $name }[/color]{ $username } - [color=yellow]{ $time }[/color].
statsentry-total-sleep-time = \nОбщее время сна игроков составило [color=yellow]{ $time }[/color].
statsentry-total-sleep-time = \nОбщее время сна игроков составило [color=yellow]{ $time }[/color].
statsentry-player-with-longest-sleep-time = \nГлавной соней станции оказался [color=white]{ $name }[/color]{ $username }.
statsentry-player-with-longest-sleep-time-time = \nОн спал на протяжении [color=yellow]{ $time }[/color].
statsentry-player-with-longest-space-time = \nБольше всего времени в космосе провел [color=white]{ $name }[/color]{ $usernameColor } - [color=yellow]{ $time }[/color].

0 comments on commit 5c174a9

Please sign in to comment.