Adjust messages

This commit is contained in:
skizzerz 2016-06-20 13:44:09 -05:00
parent 16a0a28e36
commit 79c70fdeb3
2 changed files with 6 additions and 4 deletions

View File

@ -817,9 +817,9 @@
"fwarn_added": "Added warning {0}.", "fwarn_added": "Added warning {0}.",
"fwarn_done": "Done.", "fwarn_done": "Done.",
"fwarn_sanction_invalid": "Invalid sanction, can be either deny or stasis.", "fwarn_sanction_invalid": "Invalid sanction, can be either deny or stasis.",
"fwarn_stasis_invalid": "Invalid stasis amount, specify sanction as stasis=number.", "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": "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_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.", "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.", "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}", "fwarn_list": "{0}{1}[#{2} {3}] to {4} by {5} - {6} ({7} points, {8}){9}",

View File

@ -434,8 +434,10 @@ def plural(role, count=2):
def singular(plural): def singular(plural):
# converse of plural above (kinda) # 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 # 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", conv = {"wolves": "wolf",
"succubi": "succubus"} "succubi": "succubus"}
if plural in conv: if plural in conv: