Topic: Fix bad doctring

This commit is contained in:
Valentin Lorentz 2010-10-30 12:24:02 +02:00
parent b85d289bbb
commit 595d98df91
2 changed files with 13 additions and 3 deletions

View File

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -253,7 +253,7 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:471 plugin.py:485 #: plugin.py:471
#, docstring #, docstring
msgid "" msgid ""
"[<channel>]\n" "[<channel>]\n"
@ -267,6 +267,16 @@ msgstr ""
msgid "lock the topic" msgid "lock the topic"
msgstr "" msgstr ""
#: plugin.py:485
#, docstring
msgid ""
"[<channel>]\n"
"\n"
" Unlocks the topic (sets the mode +t) in <channel>. <channel> is only\n"
" necessary if the message isn't sent in the channel itself.\n"
" "
msgstr ""
#: plugin.py:495 #: plugin.py:495
msgid "unlock the topic" msgid "unlock the topic"
msgstr "" msgstr ""

View File

@ -484,7 +484,7 @@ class Topic(callbacks.Plugin):
def unlock(self, irc, msg, args, channel): def unlock(self, irc, msg, args, channel):
"""[<channel>] """[<channel>]
Locks the topic (sets the mode +t) in <channel>. <channel> is only Unlocks the topic (sets the mode +t) in <channel>. <channel> is only
necessary if the message isn't sent in the channel itself. necessary if the message isn't sent in the channel itself.
""" """
if not self._checkManageCapabilities(irc, msg, channel): if not self._checkManageCapabilities(irc, msg, channel):