]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
poll: oopsie in the gettext string for poll status
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2012 11:39:41 +0000 (13:39 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 21 Sep 2012 11:39:41 +0000 (13:39 +0200)
data/rbot/plugins/poll.rb

index 814b2673ff67390a65dbb346d7475c10734672eb..33e2b4d87b925959e6e81a66899cfde606090416 100644 (file)
@@ -321,7 +321,7 @@ class PollPlugin < Plugin
       if poll.voters.has_key? m.sourcenick
         to_reply << _(" Be patient, it'll end %{end}")
       else
-        to_reply << _(" You have until %{poll.ends_at} to vote if you haven't!")
+        to_reply << _(" You have until %{end} to vote if you haven't!")
         options << " #{poll.options}"
       end
     else