Merge branch 'l10n-fr' into testing

This commit is contained in:
Valentin Lorentz 2010-12-12 15:05:08 +01:00
commit 83f3fe1436
4 changed files with 21 additions and 5 deletions

View File

@ -39,7 +39,7 @@ msgstr "\"|\" avec rien ne le suivant. Je ne peux évidtemment pas faire un pipe
#: callbacks.py:515 #: callbacks.py:515
msgid "%s is not a valid %s." msgid "%s is not a valid %s."
msgstr "%s n'est pas un %s valide." msgstr "%s n'est pas du type '%s'."
#: callbacks.py:517 #: callbacks.py:517
msgid "That's not a valid %s." msgid "That's not a valid %s."

View File

@ -1,7 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Supybot-fr\n" "Project-Id-Version: Supybot-fr\n"
"POT-Creation-Date: 2010-10-16 12:34+CEST\n" "POT-Creation-Date: 2010-12-12 15:02+CET\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: Valentin Lorentz <progval@gmail.com>\n" "Last-Translator: Valentin Lorentz <progval@gmail.com>\n"
"Language-Team: Supybot-fr <progval@gmail.com>\n" "Language-Team: Supybot-fr <progval@gmail.com>\n"
@ -13,6 +13,14 @@ msgstr ""
"X-Poedit-Country: France\n" "X-Poedit-Country: France\n"
"X-Poedit-SourceCharset: ASCII\n" "X-Poedit-SourceCharset: ASCII\n"
#: plugin.py:103
msgid "configuration variable"
msgstr "variable de configuration"
#: plugin.py:109
msgid "settable configuration variable"
msgstr "variable de configuration modifiable"
#: plugin.py:136 #: plugin.py:136
msgid "" msgid ""
"<group>\n" "<group>\n"

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-16 12:34+CEST\n" "POT-Creation-Date: 2010-12-12 15:02+CET\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"
@ -15,6 +15,14 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
#: plugin.py:103
msgid "configuration variable"
msgstr ""
#: plugin.py:109
msgid "settable configuration variable"
msgstr ""
#: plugin.py:136 #: plugin.py:136
#, docstring #, docstring
msgid "" msgid ""

View File

@ -100,13 +100,13 @@ def getConfigVar(irc, msg, args, state):
state.args.append(group) state.args.append(group)
del args[0] del args[0]
except registry.InvalidRegistryName, e: except registry.InvalidRegistryName, e:
state.errorInvalid('configuration variable', str(e)) state.errorInvalid(_('configuration variable'), str(e))
addConverter('configVar', getConfigVar) addConverter('configVar', getConfigVar)
def getSettableConfigVar(irc, msg, args, state): def getSettableConfigVar(irc, msg, args, state):
getConfigVar(irc, msg, args, state) getConfigVar(irc, msg, args, state)
if not hasattr(state.args[-1], 'set'): if not hasattr(state.args[-1], 'set'):
state.errorInvalid('settable configuration variable', state.errorInvalid(_('settable configuration variable'),
state.args[-1]._name) state.args[-1]._name)
addConverter('settableConfigVar', getSettableConfigVar) addConverter('settableConfigVar', getSettableConfigVar)