From 7fadad0e3dffd1921f5101c759b05f31a6934217 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 29 Apr 2012 19:25:44 +0300 Subject: [PATCH] PluginDownloader: add @plugin help PluginDownloader. --- plugins/PluginDownloader/messages.pot | 23 +++++++++++++---------- plugins/PluginDownloader/plugin.py | 7 +++++-- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/plugins/PluginDownloader/messages.pot b/plugins/PluginDownloader/messages.pot index d259b524b..f76b858db 100644 --- a/plugins/PluginDownloader/messages.pot +++ b/plugins/PluginDownloader/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2012-03-11 20:58+UTC\n" +"POT-Creation-Date: 2012-04-29 19:20+EEST\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,14 +15,17 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: plugin.py:219 +#: plugin.py:245 #, docstring msgid "" -"Add the help for \"@plugin help PluginDownloader\" here\n" -" This should describe *how* to use this plugin." +"This plugin allows you to install unofficial plugins from\n" +" multiple repositories easily. Use the \"repolist\" command to see list of\n" +" available repositories and \"repolist \" to list plugins, \n" +" which are available in that repository. When you want to install plugin,\n" +" just run command \"install \"." msgstr "" -#: plugin.py:224 +#: plugin.py:253 #, docstring msgid "" "[]\n" @@ -32,19 +35,19 @@ msgid "" " repositories." msgstr "" -#: plugin.py:232 plugin.py:243 +#: plugin.py:261 plugin.py:272 msgid ", " msgstr "" -#: plugin.py:234 plugin.py:253 +#: plugin.py:263 plugin.py:282 msgid "This repository does not exist or is not known by this bot." msgstr "" -#: plugin.py:241 +#: plugin.py:270 msgid "No plugin found in this repository." msgstr "" -#: plugin.py:248 +#: plugin.py:277 #, docstring msgid "" " \n" @@ -52,7 +55,7 @@ msgid "" " Downloads and installs the from the ." msgstr "" -#: plugin.py:258 +#: plugin.py:287 msgid "This plugin does not exist in this repository." msgstr "" diff --git a/plugins/PluginDownloader/plugin.py b/plugins/PluginDownloader/plugin.py index 80b79d86b..546e53a23 100644 --- a/plugins/PluginDownloader/plugin.py +++ b/plugins/PluginDownloader/plugin.py @@ -242,8 +242,11 @@ repositories = { } class PluginDownloader(callbacks.Plugin): - """Add the help for "@plugin help PluginDownloader" here - This should describe *how* to use this plugin.""" + """This plugin allows you to install unofficial plugins from + multiple repositories easily. Use the "repolist" command to see list of + available repositories and "repolist " to list plugins, + which are available in that repository. When you want to install plugin, + just run command "install ".""" @internationalizeDocstring def repolist(self, irc, msg, args, repository):