diff options
author | Raine Virta <rane@kapsi.fi> | 2009-04-30 00:53:57 +0300 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-04-30 13:46:49 +0200 |
commit | 03d6142d434875204db8ac79d5bc0747f568539f (patch) | |
tree | 81d8b64e0569265a3c2934973b3cef1783411275 /data/rbot | |
parent | e8556ad9161cc6f2f4596eedb430fea0892bbe5f (diff) |
translator: replace underscores with spaces when showing the translator
Because "provided by google_translate" is ugly.
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/translator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/translator.rb b/data/rbot/plugins/translator.rb index 5f2dece7..a8a31a5e 100644 --- a/data/rbot/plugins/translator.rb +++ b/data/rbot/plugins/translator.rb @@ -353,7 +353,7 @@ class TranslatorPlugin < Plugin end m.reply(if params[:show_provider] _('%{translation} (provided by %{translator})') % - {:translation => translation, :translator => tname} + {:translation => translation, :translator => tname.gsub("_", " ")} else translation end) |