From a430e3bce5857519e4114058fbd896ba7f116dd1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 29 May 2014 18:11:38 +0000 Subject: [PATCH] Misc: Internationalize two strings. --- plugins/Misc/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Misc/plugin.py b/plugins/Misc/plugin.py index 74c048d9c..ee26a9eca 100644 --- a/plugins/Misc/plugin.py +++ b/plugins/Misc/plugin.py @@ -168,8 +168,8 @@ class Misc(callbacks.Plugin): # echo [] will get us an empty token set, but there's no need # to log this in that case anyway, it being a nested command. self.log.info('Not replying to %s in %s, not a command.' % - (tokens[0], "channel %s" % channel - if channel != irc.nick else "private")) + (tokens[0], _('channel %s') % channel + if channel != irc.nick else _('private'))) if irc.nested: bracketConfig = conf.supybot.commands.nested.brackets brackets = conf.get(bracketConfig, channel)