From 327580674054ee629827731dcc71cdcb6d0618e0 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 17 Mar 2015 07:58:39 +0100 Subject: [PATCH] Rename showWhichResponded to showDictName. --- plugins/Dict/config.py | 2 +- plugins/Dict/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Dict/config.py b/plugins/Dict/config.py index 107c8aa27..dba9045f2 100644 --- a/plugins/Dict/config.py +++ b/plugins/Dict/config.py @@ -48,7 +48,7 @@ conf.registerChannelValue(Dict, 'default', registry.String('*', _("""Determines the default dictionary the bot will ask for definitions in. If this value is '*' (without the quotes) the bot will use all dictionaries to define words."""))) -conf.registerChannelValue(Dict, 'showWhichResponded', +conf.registerChannelValue(Dict, 'showDictName', registry.Boolean(True, _("""Determines whether the bot will show which dictionaries responded to a query, if the selected dictionary is '*'. """))) diff --git a/plugins/Dict/plugin.py b/plugins/Dict/plugin.py index 016c6d6c6..68dcb9d27 100644 --- a/plugins/Dict/plugin.py +++ b/plugins/Dict/plugin.py @@ -123,7 +123,7 @@ class Dict(callbacks.Plugin): L.append('%s: %s' % (db, s)) utils.sortBy(len, L) if dictionary == '*' and len(dbs) > 1 and \ - self.registryValue("showWhichResponded", msg.args[0]): + self.registryValue("showDictName", msg.args[0]): s = format(_('%L responded: %s'), list(dbs), '; '.join(L)) else: s = '; '.join(L)