Add department bans (#11085)

* Add department bans

Also localised some stuff while I was there.

* loc
This commit is contained in:
metalgearsloth
2022-09-09 08:06:21 +10:00
committed by GitHub
parent 6f5e22a999
commit 72bc05e3ac
4 changed files with 107 additions and 12 deletions

View File

@@ -31,3 +31,18 @@ cmd-rolebanlist-help = Usage: <name or user ID> [include unbanned]
## Completion result hints
cmd-rolebanlist-hint-1 = <name or user ID>
cmd-rolebanlist-hint-2 = [include unbanned]
cmd-roleban-minutes-parse = {$time} is not a valid amount of minutes.\n{$help}
cmd-roleban-arg-count = Invalid amount of arguments.
cmd-roleban-job-parse = Job {$job} does not exist.
cmd-roleban-name-parse = Unable to find a player with that name.
cmd-roleban-existing = {$target} already has a role ban for {$role}.
cmd-roleban-success = Role banned {$target} from {$role} with reason {$reason} {$length}.
cmd-roleban-inf = permanently
cmd-roleban-until = until {$expires}
# Department bans
cmd-departmentban-desc = Bans a player from the roles comprising a department
cmd-departmentban-help = Usage: departmentban <name or user ID> <department> <reason> [duration in minutes, leave out or 0 for permanent ban]