diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/translator.rb | 3 |
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 |