From 41effcea13b4a5831dd80835f47829027b39f19f Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 20 Feb 2015 16:50:40 -0800 Subject: [PATCH 1/2] Network.whois: simplify message when user isn't on any public channels The current message ("xyz isn't on any non-secret channels or is using a channel-list hiding umode.") is long and awkwardly worded. This also removes an extra period from showing up at the end of the output. --- plugins/Network/plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index aeaaa8636..e060fcf23 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -243,8 +243,7 @@ class Network(callbacks.Plugin): L.append(format(_('is on %L'), normal)) else: if command == 'whois': - L = [_('isn\'t on any non-secret channels or is using a ' - 'channel-list hiding umode.')] + L = [_('isn\'t on any publically visible channels')] else: L = [] channels = format('%L', L) From 5f23855d278ad4d5527c90cc4000b2c2eddef971 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 20 Feb 2015 22:20:49 -0800 Subject: [PATCH 2/2] oops how do i english --- plugins/Network/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index e060fcf23..548039e95 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -243,7 +243,7 @@ class Network(callbacks.Plugin): L.append(format(_('is on %L'), normal)) else: if command == 'whois': - L = [_('isn\'t on any publically visible channels')] + L = [_('isn\'t on any publicly visible channels')] else: L = [] channels = format('%L', L)