From 84b3bce9fb4d7d3b64ce20964bb43564b1881ce0 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 20 Jan 2009 23:33:13 +0100 Subject: bash plugin: refactor and localize help --- data/rbot/plugins/bash.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/rbot/plugins/bash.rb b/data/rbot/plugins/bash.rb index 2d52a5ec..a09c53ab 100644 --- a/data/rbot/plugins/bash.rb +++ b/data/rbot/plugins/bash.rb @@ -67,7 +67,11 @@ class BashPlugin < Plugin include REXML def help(plugin, topic="") - "bash => print a random quote from bash.org, bash quote_id => print that quote id from bash.org, bash latest => print the latest quote from bash.org (currently broken, need to get josh@bash.org to fix the xml)" + [ + _("bash => print a random quote from bash.org"), + _("bash quote_id => print that quote id from bash.org"), + _("bash latest => print the latest quote from bash.org (currently broken, need to get josh@bash.org to fix the xml)") + ].join(", ") end def bash_filter(s) -- cgit v1.2.3