Adjust messages
This commit is contained in:
parent
16a0a28e36
commit
79c70fdeb3
@ -817,9 +817,9 @@
|
||||
"fwarn_added": "Added warning {0}.",
|
||||
"fwarn_done": "Done.",
|
||||
"fwarn_sanction_invalid": "Invalid sanction, can be either deny or stasis.",
|
||||
"fwarn_stasis_invalid": "Invalid stasis amount, specify sanction as stasis=number.",
|
||||
"fwarn_deny_invalid": "Invalid denied commands, specify sanction as deny=command,command,command without spaces.",
|
||||
"fwarn_deny_invalid_command": "Invalid command \"{0}\", specify sanction as deny=command,command,command without spaces.",
|
||||
"fwarn_stasis_invalid": "Invalid stasis amount, specify sanction as \"stasis=number\".",
|
||||
"fwarn_deny_invalid": "Invalid denied commands, specify sanction as \"deny=command,command,command\" (without spaces).",
|
||||
"fwarn_deny_invalid_command": "Invalid command \"{0}\", specify sanction as \"deny=command,command,command\" (without spaces).",
|
||||
"fwarn_list_header": "{0} has {1} active warning points. Warnings prefixed with \u0002!\u0002 are unacknowledged.",
|
||||
"warn_list_header": "You have {0} active warning points. You must acknowledge all warnings prefixed with \u0002!\u0002 by using \"warn ack <id>\" before you can join games.",
|
||||
"fwarn_list": "{0}{1}[#{2} {3}] to {4} by {5} - {6} ({7} points, {8}){9}",
|
||||
|
@ -434,8 +434,10 @@ def plural(role, count=2):
|
||||
|
||||
def singular(plural):
|
||||
# converse of plural above (kinda)
|
||||
# this is used to map plural role names back to singular,
|
||||
# this is used to map plural team names back to singular,
|
||||
# so we don't need to worry about stuff like possessives
|
||||
# Note that this is currently only ever called on team names,
|
||||
# and will require adjustment if one wishes to use it on roles.
|
||||
conv = {"wolves": "wolf",
|
||||
"succubi": "succubus"}
|
||||
if plural in conv:
|
||||
|
Loading…
x
Reference in New Issue
Block a user