diff options
-rw-r--r-- | data/rbot/plugins/translator.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/translator.rb b/data/rbot/plugins/translator.rb index 2bda65cf..6bd4dc22 100644 --- a/data/rbot/plugins/translator.rb +++ b/data/rbot/plugins/translator.rb @@ -295,7 +295,8 @@ class TranslatorPlugin < Plugin def help(plugin, topic=nil) if @translators.has_key?(plugin) translator = @translators[plugin] - _('%{info}, supported directions of translation: %{directions}') % { + _('%{translator} <from> <to> <phrase> => Look up phrase using %{info}, supported from -> to languages: %{directions}') % { + :translator => plugin, :info => translator.class::INFO, :directions => translator.directions.map do |source, targets| _('%{source} -> %{targets}') % |