Merge branch 'l10n-fr' into testing

This commit is contained in:
Valentin Lorentz 2010-10-30 12:49:57 +02:00
commit f3528c57d4
2 changed files with 6 additions and 6 deletions

View File

@ -227,9 +227,9 @@ msgid ""
" isn't sent in the channel itself.\n" " isn't sent in the channel itself.\n"
" " " "
msgstr "" msgstr ""
"[<canal>]\n" "[<canal>] <nombre>\n"
"\n" "\n"
"<nombre> Retourne le topic numéro <nombre> du canal. <nombre> est un index dans les topics. <canal> n'est nécessaire que si le message n'est pas envoyé sur le canal lui-même." "Retourne le topic numéro <nombre> du canal. <nombre> est un index dans les topics. <canal> n'est nécessaire que si le message n'est pas envoyé sur le canal lui-même."
#: plugin.py:415 #: plugin.py:415
msgid "" msgid ""

View File

@ -209,8 +209,8 @@ class PluginInternationalization:
return (be, has) return (be, has)
def internationalizeDocstring(obj): def internationalizeDocstring(obj):
# FIXME: check if the plugin has an _ object if sys.modules[obj.__module__].__dict__.has_key('_'):
internationalizedCommands.update({hash(obj): obj}) internationalizedCommands.update({hash(obj): obj})
obj.__doc__=sys.modules[obj.__module__]._.__call__(obj.__doc__) obj.__doc__=sys.modules[obj.__module__]._.__call__(obj.__doc__)
# We use _.__call__() instead of _() because of a pygettext warning. # We use _.__call__() instead of _() because of a pygettext warning.
return obj return obj