From f4d36cd087106d7677c41ef85bb0768e9985b7c6 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 28 Dec 2015 20:00:41 +0100 Subject: [PATCH] Admin: internationalize a string. --- plugins/Admin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Admin/plugin.py b/plugins/Admin/plugin.py index d6c7533c5..5848b4322 100644 --- a/plugins/Admin/plugin.py +++ b/plugins/Admin/plugin.py @@ -159,7 +159,7 @@ class Admin(callbacks.Plugin): when attempting to join the channel. """ if not irc.isChannel(channel): - irc.errorInvalid('channel', channel, Raise=True) + irc.errorInvalid(_('channel'), channel, Raise=True) networkGroup = conf.supybot.networks.get(irc.network) networkGroup.channels().add(channel) if key: