X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Ftranslator.rb;h=6bd4dc226018ac9650ae2d40e5513a8f22e29164;hb=3d901ac98e5bf4c4c8e1a605208fabc4ba71a73e;hp=2bda65cf2369afefa2a1c2f715001e0075473ac2;hpb=e4f4b9bcf98b930af915352a695b04585800f89d;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git 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} => 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}') %