From afbdcf89f5a609ea53a505bf91213435e8c14f02 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 29 Jul 2012 12:35:51 +0000 Subject: [PATCH 1/4] Misc: Fix l10n-fr. --- plugins/Misc/locale/fr.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Misc/locale/fr.po b/plugins/Misc/locale/fr.po index e6544c62d..55ff8c0ad 100644 --- a/plugins/Misc/locale/fr.po +++ b/plugins/Misc/locale/fr.po @@ -281,8 +281,8 @@ msgid "" " given .\n" " defaults to the current channel." msgstr "" -"[] [--match-case]\\n" -"Retourne le nick de quelqu'un dans le salon dont le nick commence par les indiquées. correspond par défaut au salon actuel." +"[] [--match-case]\n" +"Retourne le nick de quelqu'un dans le salon dont le nick commence par les indiquées. correspond par défaut au salon actuel." #: plugin.py:519 msgid "I'm not even in %s." From ea21c7aff568ca64ac0e9f7cde63cb940cd9a8d1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 29 Jul 2012 13:40:03 +0000 Subject: [PATCH 2/4] Google: Fix l10n-fr --- plugins/Google/locale/fr.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Google/locale/fr.po b/plugins/Google/locale/fr.po index d0532554c..16645b48e 100644 --- a/plugins/Google/locale/fr.po +++ b/plugins/Google/locale/fr.po @@ -134,7 +134,7 @@ msgid "" " accepts a filtering level ('active', 'moderate', 'off').\n" " " msgstr "" -" [--filtre ] [--language ]\n" +" [--filter ] [--language ]\n" "\n" "Rercherche la chaîne donnée sur Google. Autant de résultats que possible sont donnés. --language accepte une abbréviation de langue ; --filter accepte un niveau de filtrage ('active', 'moderate', 'off')." From bdbb618ac819b3fb3d32a7fa4c216da5d1a95e6e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 29 Jul 2012 18:06:56 +0000 Subject: [PATCH 3/4] Anonymous: Fix l10n-fr. --- plugins/Anonymous/locale/fr.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Anonymous/locale/fr.po b/plugins/Anonymous/locale/fr.po index a67e9bf4b..83022e658 100644 --- a/plugins/Anonymous/locale/fr.po +++ b/plugins/Anonymous/locale/fr.po @@ -81,7 +81,7 @@ msgid "" msgstr "" " \n" "\n" -"Envoie le au . Vous ne pouvez envoyer à que si /cs register ##fschfsch supybot.plugins.Anonymous.allowPrivateTarget vaut True." +"Envoie le au . Vous ne pouvez envoyer à que si supybot.plugins.Anonymous.allowPrivateTarget vaut True." #: plugin.py:94 msgid "" From 8bacf6734d7f61c50498a8e25a577907aaf803c4 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 30 Jul 2012 11:18:02 +0200 Subject: [PATCH 4/4] Fix typo in registry.close(). --- src/registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registry.py b/src/registry.py index 1417f77b1..c1f06b23b 100644 --- a/src/registry.py +++ b/src/registry.py @@ -117,12 +117,12 @@ def close(registry, filename, private=True): try: x = value.__class__(value._default, value._help) except Exception, e: - exception('Exception instantiating default for %s:', + exception('Exception instantiating default for %s:' % value._name) try: lines.append('# Default value: %s\n' % x) except Exception, e: - exception('Exception printing default value of %s:', + exception('Exception printing default value of %s:' % value._name) lines.append('###\n') fd.writelines(lines)