Commit cbd3ffb7 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 359768: Confusing error message when a user has too many votes for a product…

Bug 359768: Confusing error message when a user has too many votes for a product - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=timeless a=myk
parent 8109df6a
...@@ -1357,15 +1357,15 @@ ...@@ -1357,15 +1357,15 @@
[% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %]
You may only use at most [% max FILTER html %] votes for a single You may only use at most [% max FILTER html %] votes for a single
[%+ terms.bug %] in the [%+ terms.bug %] in the
<tt>[% prod FILTER html %]</tt> product, but you are trying to <tt>[% product FILTER html %]</tt> product, but you are trying to
use [% votes FILTER html %]. use [% votes FILTER html %].
[% ELSIF error == "too_many_votes_for_product" %] [% ELSIF error == "too_many_votes_for_product" %]
[% title = "Illegal Vote" %] [% title = "Illegal Vote" %]
[% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %]
You tried to use [% votes FILTER html %] votes, You tried to use [% votes FILTER html %] votes in the
which exceeds the [% max FILTER html %] vote per [% terms.bug %] limit <tt>[% product FILTER html %]</tt> product, which exceeds the maximum of
for the <tt>[% prod FILTER html %]</tt> product. [%+ max FILTER html %] votes for this product.
[% ELSIF error == "token_inexistent" %] [% ELSIF error == "token_inexistent" %]
[% title = "Token Does Not Exist" %] [% title = "Token Does Not Exist" %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment