]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/translator.rb
script plugin: script echo and eval mark the message as replied
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / translator.rb
index 2bda65cf2369afefa2a1c2f715001e0075473ac2..6bd4dc226018ac9650ae2d40e5513a8f22e29164 100644 (file)
@@ -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}') %