From 3ddff6cf18676ab6749da565302244fff7ca1f49 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 22 Jan 2015 18:44:37 +0200 Subject: [PATCH 1/4] Debug: rewrite README.md I am lazy, so I simply copied it from plugin help. --- plugins/Debug/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Debug/README.md b/plugins/Debug/README.md index d60b47a97..a792386d1 100644 --- a/plugins/Debug/README.md +++ b/plugins/Debug/README.md @@ -1 +1,2 @@ -Insert a description of your plugin here, with any notes, etc. about using it. +This plugin provides debugging abilities for Supybot. It should not be +loaded with a default installation. From 25f673d483e6838e9cdaca81a9861dce1f3f0935 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 22 Jan 2015 18:48:36 +0200 Subject: [PATCH 2/4] Debug: update --- plugins/Debug/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Debug/plugin.py b/plugins/Debug/plugin.py index 672d02985..6753f4c06 100644 --- a/plugins/Debug/plugin.py +++ b/plugins/Debug/plugin.py @@ -30,8 +30,8 @@ ### """ -This is for jemfinch's debugging only. If this somehow gets added and -committed, remove it immediately. It must not be released with Supybot. +This is for debugging purpouses and you shouldn't load this plugin unless +Supybot developer requests you to do so for debugging some issue. """ import supybot.plugins as plugins From 1e99533d7408f9472e45b76fada00940022368f5 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 22 Jan 2015 18:54:43 +0200 Subject: [PATCH 3/4] Debug: add messages.pot & locales/ I added .gitignore to locales/ as it would get removed if it was empty. When people start adding translations, it's probably safe to remove. This plugin looks too difficult for me to translate, but I will take a look later. --- plugins/Debug/locales/.gitignore | 0 plugins/Debug/messages.pot | 131 +++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 plugins/Debug/locales/.gitignore create mode 100644 plugins/Debug/messages.pot diff --git a/plugins/Debug/locales/.gitignore b/plugins/Debug/locales/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/plugins/Debug/messages.pot b/plugins/Debug/messages.pot new file mode 100644 index 000000000..d32425795 --- /dev/null +++ b/plugins/Debug/messages.pot @@ -0,0 +1,131 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2015-01-22 18:54+EET\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: ENCODING\n" +"Generated-By: pygettext.py 1.5\n" + + +#: plugin.py:32 +#, docstring +msgid "" +"\n" +"This is for debugging purpouses and you shouldn't load this plugin unless\n" +"Supybot developer requests you to do so for debugging some issue.\n" +msgstr "" + +#: plugin.py:47 +#, docstring +msgid "Pseudo-module" +msgstr "" + +#: plugin.py:68 +#, docstring +msgid "" +"This plugin provides debugging abilities for Supybot. It\n" +" should not be loaded with a default installation." +msgstr "" + +#: plugin.py:89 +#, docstring +msgid "" +"\n" +"\n" +" Evaluates (which should be a Python expression) and\n" +" returns its value. If an exception is raised, reports the\n" +" exception (and logs the traceback to the bot's logfile).\n" +" " +msgstr "" + +#: plugin.py:107 +#, docstring +msgid "" +"\n" +"\n" +" Execs . Returns success if it didn't raise any exceptions.\n" +" " +msgstr "" + +#: plugin.py:116 +#, docstring +msgid "" +"\n" +"\n" +" Evaluates the given expression.\n" +" " +msgstr "" + +#: plugin.py:127 +#, docstring +msgid "" +"\n" +"\n" +" Raises the exception matching .\n" +" " +msgstr "" + +#: plugin.py:139 +#, docstring +msgid "" +"\n" +"\n" +" Sends (not queues) the raw IRC message given.\n" +" " +msgstr "" + +#: plugin.py:148 +#, docstring +msgid "" +"[]\n" +"\n" +" Starts tracing function calls to . If is not\n" +" given, sys.stdout is used. This causes much output.\n" +" " +msgstr "" + +#: plugin.py:162 +#, docstring +msgid "" +"takes no arguments\n" +"\n" +" Stops tracing function calls on stdout.\n" +" " +msgstr "" + +#: plugin.py:171 +#, docstring +msgid "" +"[]\n" +"\n" +" Returns the result of the channeldb converter.\n" +" " +msgstr "" + +#: plugin.py:179 +#, docstring +msgid "" +"[]\n" +"\n" +" Does gc collections, returning the number of objects collected\n" +" each time. defaults to 1.\n" +" " +msgstr "" + +#: plugin.py:192 +#, docstring +msgid "" +"takes no arguments\n" +"\n" +" Returns the environment of the supybot process.\n" +" " +msgstr "" + From 10adcfc9042c1aec3976e7ffbd291e4ab2b99d13 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 22 Jan 2015 22:00:30 +0200 Subject: [PATCH 4/4] Debug: fix language [CI SKIP] --- plugins/Debug/messages.pot | 6 +++--- plugins/Debug/plugin.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/Debug/messages.pot b/plugins/Debug/messages.pot index d32425795..022e32ec6 100644 --- a/plugins/Debug/messages.pot +++ b/plugins/Debug/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2015-01-22 18:54+EET\n" +"POT-Creation-Date: 2015-01-23 08:27+EET\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,8 +19,8 @@ msgstr "" #, docstring msgid "" "\n" -"This is for debugging purpouses and you shouldn't load this plugin unless\n" -"Supybot developer requests you to do so for debugging some issue.\n" +"This is for debugging purposes only and you shouldn't load this it unless\n" +"a Supybot developer requests you to debug some issue.\n" msgstr "" #: plugin.py:47 diff --git a/plugins/Debug/plugin.py b/plugins/Debug/plugin.py index 6753f4c06..d87525cd8 100644 --- a/plugins/Debug/plugin.py +++ b/plugins/Debug/plugin.py @@ -30,8 +30,8 @@ ### """ -This is for debugging purpouses and you shouldn't load this plugin unless -Supybot developer requests you to do so for debugging some issue. +This is for debugging purposes only and you shouldn't load this it unless +a Supybot developer requests you to debug some issue. """ import supybot.plugins as plugins