From: lpsolit%gmail.com <> Date: Wed, 8 Nov 2006 03:04:02 +0000 (+0000) Subject: Bug 359768: Confusing error message when a user has too many votes for a product... X-Git-Tag: bugzilla-2.23.4~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbd3ffb71d9754b7ad7e69190a5eab39ee595f3e;p=thirdparty%2Fbugzilla.git Bug 359768: Confusing error message when a user has too many votes for a product - Patch by Frédéric Buclin r=timeless a=myk --- diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index df5f767ea1..6fc244fb51 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1357,15 +1357,15 @@ [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] You may only use at most [% max FILTER html %] votes for a single [%+ terms.bug %] in the - [% prod FILTER html %] product, but you are trying to + [% product FILTER html %] product, but you are trying to use [% votes FILTER html %]. [% ELSIF error == "too_many_votes_for_product" %] [% title = "Illegal Vote" %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] - You tried to use [% votes FILTER html %] votes, - which exceeds the [% max FILTER html %] vote per [% terms.bug %] limit - for the [% prod FILTER html %] product. + You tried to use [% votes FILTER html %] votes in the + [% product FILTER html %] product, which exceeds the maximum of + [%+ max FILTER html %] votes for this product. [% ELSIF error == "token_inexistent" %] [% title = "Token Does Not Exist" %]