- command = _("poll vote #{poll.id} <SINGLE-LETTER>")
- m.reply _("You have #{Bold}#{target_duration}#{NormalText} to: " +
- "#{Bold}/msg #{@bot.nick} #{command}#{NormalText} or " +
- "#{Bold}#{@bot.config['core.address_prefix']}#{command}#{NormalText} ")
+ command = _("poll vote %{id} <SINGLE-LETTER>") % {
+ :id => poll.id
+ }
+ instructions = _("you have %{duration}, vote with ")
+ instructions << _("%{priv} or %{public}")
+ m.reply instructions % {
+ :duration => "#{Bold}#{target_duration}#{Bold}",
+ :priv => "#{Bold}/msg #{@bot.nick} #{command}#{Bold}",
+ :public => "#{Bold}#{@bot.config['core.address_prefix'].first}#{command}#{Bold}"
+ }