Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Aug 11, 2024
1 parent 613e379 commit 6a7be04
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Content.Client/_Sunrise/StatsBoard/StatsEntry.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ public StatsEntry(string entityName, float takeDamage, float takeHeal, float inf
var statsText = "";

if (takeDamage > 0)
statsText += $"Получил урона: {takeDamage}\n";
statsText += Loc.GetString("statsentry-dmg", ("name", takeDamage));
if (takeHeal > 0)
statsText += $"Получил лечения: {takeHeal}\n";
statsText += Loc.GetString("statsentry-heal", ("name", takeHeal));
if (inflictedDamage > 0)
statsText += $"Нанес урона: {inflictedDamage}\n";
statsText += Loc.GetString("statsentry-inf-dmg", ("name", inflictedDamage));
if (inflictedHeal > 0)
statsText += $"Вылечил урона: {inflictedHeal}\n";
if (slippedCount > 0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
id-card-access-level-blueshield = Синий Щит
id-card-access-level-ntrep = Представитель NT
id-card-access-level-magistrat = Магистрат
id-card-access-level-barber = Парихмахер
5 changes: 4 additions & 1 deletion Resources/Locale/ru-RU/_sunrise/statsboard/statsentry.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
statsentry-character = Персонаж:
statsentry-character = Персонаж:
statsentry-dmg = Получил урона: { $name }\n
statsentry-heal = Получил лечения: { $name }\n
statsentry-inf-dmg = Нанес урона: { $name }\n

0 comments on commit 6a7be04

Please sign in to comment.