From 03d6142d434875204db8ac79d5bc0747f568539f Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Thu, 30 Apr 2009 00:53:57 +0300 Subject: translator: replace underscores with spaces when showing the translator Because "provided by google_translate" is ugly. --- data/rbot/plugins/translator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins') 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) -- cgit v1.2.3