diff options
author | Raine Virta <rane@kapsi.fi> | 2010-09-18 11:24:50 +0300 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-09-23 14:57:55 +0200 |
commit | eec6a651aa70f124e05fb3e7b7fabb5a1b3bd6b4 (patch) | |
tree | 89ea9c243033a69db69aed0957d108e068abe770 | |
parent | 6345c6652f037d20c46a90e79aa59d85ec7fe1a6 (diff) |
time: use "time zone" consistently in replies
-rw-r--r-- | data/rbot/plugins/time.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/rbot/plugins/time.rb b/data/rbot/plugins/time.rb index 4a1effd7..b623d390 100644 --- a/data/rbot/plugins/time.rb +++ b/data/rbot/plugins/time.rb @@ -83,7 +83,7 @@ class TimePlugin < Plugin zone = @registry[ m.sourcenick ] m.reply "#{m.sourcenick}: #{getTime( m, zone )}" else - m.reply "#{m.sourcenick}: use time set <Continent/City> to set your timezone." + m.reply "#{m.sourcenick}: use time set <Continent/City> to set your time zone." end end end @@ -120,16 +120,16 @@ class TimePlugin < Plugin begin getTime( m, zone ) rescue TZInfo::InvalidTimezoneIdentifier - m.reply "#{zone} is an invalid timezone. Format is Continent/City or a two character country code." + m.reply "#{zone} is an invalid time zone. Format is Continent/City or a two character country code." return end @registry[ user ] = zone - m.reply "Ok, I'll remember that #{user} is on the #{zone} timezone" + m.reply "Ok, I'll remember that #{user} is on the #{zone} time zone" end def resetZone( m, user ) @registry.delete(user) - m.reply "Ok, I've forgotten #{user}'s timezone" + m.reply "Ok, I've forgotten #{user}'s time zone" end def parse(m, params) |