Web: Fix supybot.plugins.Web.nonSnarfingRegexp and update l10n-fr and l10n-it.

This commit is contained in:
Valentin Lorentz 2012-01-28 20:40:45 +01:00
parent ccc9185684
commit 3a59601d29
3 changed files with 12 additions and 16 deletions

View File

@ -50,10 +50,9 @@ conf.registerChannelValue(Web, 'titleSnarfer',
registry.Boolean(False, _("""Determines whether the bot will output the registry.Boolean(False, _("""Determines whether the bot will output the
HTML title of URLs it sees in the channel."""))) HTML title of URLs it sees in the channel.""")))
conf.registerChannelValue(Web, 'nonSnarfingRegexp', conf.registerChannelValue(Web, 'nonSnarfingRegexp',
registry.Regexp(None, _("""Determines what URLs are to be snarfed and registry.Regexp(None, _("""Determines what URLs matching the given regexp
stored in the database in the channel; URLs matching the regexp given will will not be snarfed. Give the empty string if you have no URLs that you'd
not be snarfed. Give the empty string if you have no URLs that you'd like like to exclude from being snarfed.""")))
to exclude from being snarfed.""")))
conf.registerGroup(Web, 'fetch') conf.registerGroup(Web, 'fetch')
conf.registerGlobalValue(Web.fetch, 'maximum', conf.registerGlobalValue(Web.fetch, 'maximum',

View File

@ -21,11 +21,10 @@ msgstr "Détermine si le bot affichera le titre HTML des URLs qu'il voit sur le
#: config.py:53 #: config.py:53
msgid "" msgid ""
"Determines what URLs are to be snarfed and\n" "Determines what URLs matching the given regexp\n"
" stored in the database in the channel; URLs matching the regexp given will\n" " will not be snarfed. Give the empty string if you have no URLs that you'd\n"
" not be snarfed. Give the empty string if you have no URLs that you'd like\n" " like to exclude from being snarfed."
" to exclude from being snarfed." msgstr "Détermine quelles URLs ne seront pas écoutées. Donnez une chaîne vide si vous ne voulez ignorer aucune URL."
msgstr "Détermine quelles URLs seront écoutées et stockées dans la base de données sur ce canal ; les URLs correspondant à l'expression régulière ne seront pas écoutées. Donnez une chaîne vide si vous ne voulez ignorer aucune URL."
#: config.py:60 #: config.py:60
msgid "" msgid ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Supybot-fr\n" "Project-Id-Version: Supybot-fr\n"
"POT-Creation-Date: 2011-02-26 09:49+CET\n" "POT-Creation-Date: 2011-02-26 09:49+CET\n"
"PO-Revision-Date: 2011-10-26 12:25+0200\n" "PO-Revision-Date: 2011-01-28 20:03+0100\n"
"Last-Translator: skizzhg <skizzhg@gmx.com>\n" "Last-Translator: skizzhg <skizzhg@gmx.com>\n"
"Language-Team: Italian <skizzhg@gmx.com>\n" "Language-Team: Italian <skizzhg@gmx.com>\n"
"Language: it\n" "Language: it\n"
@ -20,13 +20,11 @@ msgstr ""
#: config.py:53 #: config.py:53
msgid "" msgid ""
"Determines what URLs are to be snarfed and\n" "Determines what URLs matching the given regexp\n"
" stored in the database in the channel; URLs matching the regexp given will\n" " will not be snarfed. Give the empty string if you have no URLs that you'd\n"
" not be snarfed. Give the empty string if you have no URLs that you'd like\n" " like to exclude from being snarfed."
" to exclude from being snarfed."
msgstr "" msgstr ""
"Determina quali URL vanno intercettati e memorizzati nel database del canale;\n" "Determina quali URL corrispondenti alla regexp fornita non verranno intercettati.\n"
" quelli che corrispondono alla regexp fornita non verranno coinvolti.\n"
" Se non si vuole escludere alcun URL, fornire una stringa vuota.\n" " Se non si vuole escludere alcun URL, fornire una stringa vuota.\n"
#: config.py:60 #: config.py:60