summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-04-30 00:53:57 +0300
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-04-30 13:46:49 +0200
commit03d6142d434875204db8ac79d5bc0747f568539f (patch)
tree81d8b64e0569265a3c2934973b3cef1783411275
parente8556ad9161cc6f2f4596eedb430fea0892bbe5f (diff)
translator: replace underscores with spaces when showing the translator
Because "provided by google_translate" is ugly.
-rw-r--r--data/rbot/plugins/translator.rb2
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)