From 007c58703fd913ba53aa97e46316fd94e9f1155e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 25 Oct 2010 13:11:59 +0200 Subject: [PATCH] Remove internationalization of a non-internationalizable string --- plugins/Channel/messages.pot | 6 +----- plugins/Channel/plugin.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/Channel/messages.pot b/plugins/Channel/messages.pot index 4e73c5e42..ee821ac23 100644 --- a/plugins/Channel/messages.pot +++ b/plugins/Channel/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2010-10-16 10:17+CEST\n" +"POT-Creation-Date: 2010-10-25 13:10+CEST\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -305,10 +305,6 @@ msgid "" " " msgstr "" -#: plugin.py:409 -msgid "haveOp" -msgstr "" - #: plugin.py:409 msgid "invite someone" msgstr "" diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index 9e65004f6..982c9017a 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -406,7 +406,7 @@ class Channel(callbacks.Plugin): nick = nick or msg.nick self._sendMsg(irc, ircmsgs.invite(nick, channel)) self.invites[(irc.getRealIrc(), ircutils.toLower(nick))] = irc - invite = wrap(invite, ['op', (_('haveOp'), _('invite someone')), + invite = wrap(invite, ['op', ('haveOp', _('invite someone')), additional('nick')]) def do341(self, irc, msg):