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
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}"