From 595d98df91cb290fc9a9610a8820cb3e9d13ca0d Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 30 Oct 2010 12:24:02 +0200 Subject: [PATCH] Topic: Fix bad doctring --- plugins/Topic/messages.pot | 14 ++++++++++++-- plugins/Topic/plugin.py | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/plugins/Topic/messages.pot b/plugins/Topic/messages.pot index d4dcc2f4a..5b224355c 100644 --- a/plugins/Topic/messages.pot +++ b/plugins/Topic/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2010-10-20 09:38+CEST\n" +"POT-Creation-Date: 2010-10-30 12:23+CEST\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -253,7 +253,7 @@ msgid "" " " msgstr "" -#: plugin.py:471 plugin.py:485 +#: plugin.py:471 #, docstring msgid "" "[]\n" @@ -267,6 +267,16 @@ msgstr "" msgid "lock the topic" msgstr "" +#: plugin.py:485 +#, docstring +msgid "" +"[]\n" +"\n" +" Unlocks the topic (sets the mode +t) in . is only\n" +" necessary if the message isn't sent in the channel itself.\n" +" " +msgstr "" + #: plugin.py:495 msgid "unlock the topic" msgstr "" diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index 9991a16ed..66256493a 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -484,7 +484,7 @@ class Topic(callbacks.Plugin): def unlock(self, irc, msg, args, channel): """[] - Locks the topic (sets the mode +t) in . is only + Unlocks the topic (sets the mode +t) in . is only necessary if the message isn't sent in the channel itself. """ if not self._checkManageCapabilities(irc, msg, channel):