summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYaohan Chen <yaohan.chen@gmail.com>2007-08-10 09:30:06 +0000
committerYaohan Chen <yaohan.chen@gmail.com>2007-08-10 09:30:06 +0000
commit529e64cf4b05b4a92f2ce3f575be4332ed0691b5 (patch)
treef61f7cee4ffec876332dce8b6c04827edd6a7482 /data
parentf5f5f209dbd6b358e0c12df0a49166bb900d35a8 (diff)
* translator.rb: corrected naming of BabelfishTranslator#do_translate method
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/translator.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/rbot/plugins/translator.rb b/data/rbot/plugins/translator.rb
index ea1b8988..958a2d23 100644
--- a/data/rbot/plugins/translator.rb
+++ b/data/rbot/plugins/translator.rb
@@ -199,8 +199,7 @@ class BabelfishTranslator < Translator
super(Translator::Direction.pairs(language_pairs), cache)
end
- def translate(text, from, to)
- super
+ def do_translate(text, from, to)
if @form.fields.name('trtext').empty?
@form.add_field!('trtext', text)
else