diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-20 23:33:13 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-20 23:33:13 +0100 |
commit | 84b3bce9fb4d7d3b64ce20964bb43564b1881ce0 (patch) | |
tree | efca5643938a2197745afa8c13fd844ae0d404b3 /data/rbot/plugins/bash.rb | |
parent | 929205f7c7e94daf83f6d762ff7614753cfaa712 (diff) |
bash plugin: refactor and localize help
Diffstat (limited to 'data/rbot/plugins/bash.rb')
-rw-r--r-- | data/rbot/plugins/bash.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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) |