New Feature: Votekick bans distinguish themselves as votekicks (#35258)

* Feature

* Localization
This commit is contained in:
Winkarst 2025-02-17 23:39:12 +03:00 committed by GitHub
parent fc673967ee
commit 03c56efa00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -544,7 +544,7 @@ namespace Content.Server.Voting.Managers
uint minutes = (uint)_cfg.GetCVar(CCVars.VotekickBanDuration);
_bans.CreateServerBan(targetUid, target, null, targetIP, targetHWid, minutes, severity, reason);
_bans.CreateServerBan(targetUid, target, null, targetIP, targetHWid, minutes, severity, Loc.GetString("votekick-ban-reason", ("reason", reason)));
}
}
else

View file

@ -9,3 +9,5 @@ votekick-webhook-description = Initiator: { $initiator }; Target: { $target }
votekick-webhook-cancelled-admin-online = **Vote cancelled due to admins online**
votekick-webhook-cancelled-admin-target = **Vote cancelled due to target being admin**
votekick-webhook-cancelled-antag-target = **Vote cancelled due to target being antag**
votekick-ban-reason = "Votekick: {$reason}"