De-uglify message
This commit is contained in:
parent
b08d802df7
commit
faa3925e7d
@ -124,7 +124,8 @@
|
|||||||
"invalid_channel": "You need to be in {0} to use that command.",
|
"invalid_channel": "You need to be in {0} to use that command.",
|
||||||
"swap_notice": "More than one player is logged in to your account. Use '{0}swap <nick>' to swap.",
|
"swap_notice": "More than one player is logged in to your account. Use '{0}swap <nick>' to swap.",
|
||||||
"account_not_playing": "You do not appear to be playing. Make sure you are identified to the same account.",
|
"account_not_playing": "You do not appear to be playing. Make sure you are identified to the same account.",
|
||||||
"target_not_playing": "That person is no{0} playing.",
|
"target_not_playing": "That person is not playing.",
|
||||||
|
"target_no_longer_playing": "That person is no longer playing.",
|
||||||
"target_not_logged_in": "That person is not logged in to NickServ.",
|
"target_not_logged_in": "That person is not logged in to NickServ.",
|
||||||
"player_swap": "\u0002{0}\u0002 has swapped places with \u0002{1}\u0002.",
|
"player_swap": "\u0002{0}\u0002 has swapped places with \u0002{1}\u0002.",
|
||||||
"get_pingif": "You will be pinged when there are at least {0} players joined.",
|
"get_pingif": "You will be pinged when there are at least {0} players joined.",
|
||||||
|
@ -568,11 +568,11 @@ def replace(var, wrapper, message):
|
|||||||
target, _ = users.complete_match(rest[0], pl)
|
target, _ = users.complete_match(rest[0], pl)
|
||||||
|
|
||||||
if target is None:
|
if target is None:
|
||||||
wrapper.pm(messages["target_not_playing"].format("t"))
|
wrapper.pm(messages["target_not_playing"])
|
||||||
return
|
return
|
||||||
|
|
||||||
if target not in pl:
|
if target not in pl:
|
||||||
wrapper.pm(messages["target_not_playing"].format(" longer" if target.nick in var.DEAD else "t")) # FIXME: Need to fix once var.DEAD holds User instances
|
wrapper.pm(messages["target_no_longer_playing" if target.nick in var.DEAD else "target_not_playing"]) # FIXME: Need to fix once var.DEAD holds User instances
|
||||||
return
|
return
|
||||||
|
|
||||||
if target.account is None:
|
if target.account is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user