From d29ca0a227e47d8a680e32b73c4d77be3f19c5b4 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 22 Jan 2011 09:54:53 +0100 Subject: [PATCH] Import Time plugin from Supybot-plugin repo --- plugins/Time/__init__.py | 4 +++- plugins/Time/locale/fr.po | 42 +++++++++++++++++++++++++++++---------- plugins/Time/messages.pot | 38 ++++++++++++++++++++++++++--------- plugins/Time/plugin.py | 20 +++++++++++++++++++ plugins/Time/test.py | 4 ++++ 5 files changed, 88 insertions(+), 20 deletions(-) diff --git a/plugins/Time/__init__.py b/plugins/Time/__init__.py index f74a9b4a2..6cf97ccd7 100644 --- a/plugins/Time/__init__.py +++ b/plugins/Time/__init__.py @@ -42,7 +42,9 @@ __author__ = supybot.authors.jemfinch # This is a dictionary mapping supybot.Author instances to lists of # contributions. -__contributors__ = {} +__contributors__ = {'tztime': supybot.Author('Valentin Lorentz', 'ProgVal', + 'progval@gmail.com')} + import config import plugin diff --git a/plugins/Time/locale/fr.po b/plugins/Time/locale/fr.po index 40929781a..e2c10e807 100644 --- a/plugins/Time/locale/fr.po +++ b/plugins/Time/locale/fr.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Supybot-fr\n" -"POT-Creation-Date: 2010-10-20 09:38+CEST\n" +"POT-Creation-Date: 2010-11-17 09:46+CET\n" "PO-Revision-Date: \n" "Last-Translator: Valentin Lorentz \n" "Language-Team: Supybot-fr \n" @@ -21,7 +21,7 @@ msgid "" " the empty string, the timestamp will not be shown." msgstr "Détermine la chaîne de format pour les timestamps. Référez-vous à la documentation du module Python time pour voir quels formats sont acceptés. Si vous définissez cette variable à une chaîne vide, le timestamp ne sera pas affiché." -#: plugin.py:60 +#: plugin.py:61 msgid "" "[y] [w] [d] [h] [m] [s]\n" "\n" @@ -36,7 +36,7 @@ msgstr "" "\n" "Retourne le nombre de secondes de la date donnée. Un exemple d'utilisation est \"seconds 2h 30m\", ce qui retournera 9000. Utile pour planifier des évènement à un certain nombre de secondes dans le futur." -#: plugin.py:95 +#: plugin.py:96 msgid "" "