From 2628dc03c4743578f2b8e7320b7b4f5e4e715167 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 9 Dec 2014 18:38:21 -0800 Subject: [PATCH] Network: More minor improvements to 'whois' output --- plugins/Network/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Network/plugin.py b/plugins/Network/plugin.py index 702414ff3..a89b77d42 100644 --- a/plugins/Network/plugin.py +++ b/plugins/Network/plugin.py @@ -262,7 +262,7 @@ class Network(callbacks.Plugin): else: server = _('') if '301' in d: - away = ' %s is away: %s.' % (nick, d['301'].args[2]) + away = ' %s is away: %s.' % (nick, d['301'].args[2]) else: away = '' if '320' in d: @@ -291,9 +291,9 @@ class Network(callbacks.Plugin): (replyIrc, replyMsg, d, command) = self._whois[(irc, loweredNick)] del self._whois[(irc, loweredNick)] if command == 'whois': - template = _('There is no %s on %s.') + template = _('There is no user %s on %s.') else: - template = _('There was no %s on %s.') + template = _('There was no user %s on %s.') s = template % (nick, irc.network) replyIrc.reply(s) do401 = do402