From 43b7dc314234e476a80d9acbd07292d7286cca5a Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 2 Apr 2008 22:42:25 +0000 Subject: Bug 405946: Some emails are not sent in the language chosen by the addressee - Patch by Frédéric Buclin r=wurblzap a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editproducts.cgi | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'editproducts.cgi') diff --git a/editproducts.cgi b/editproducts.cgi index d168360a6..4347ce836 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -939,10 +939,7 @@ if ($action eq 'update') { my ($who, $id) = (@$vote); # If some votes are removed, RemoveVotes() returns a list # of messages to send to voters. - my $msgs = - RemoveVotes($id, $who, "The rules for voting on this product " . - "has changed;\nyou had too many votes " . - "for a single bug."); + my $msgs = RemoveVotes($id, $who, 'votes_too_many_per_bug'); foreach my $msg (@$msgs) { MessageToMTA($msg); } @@ -991,11 +988,7 @@ if ($action eq 'update') { foreach my $bug_id (@$bug_ids) { # RemoveVotes() returns a list of messages to send # in case some voters had too many votes. - my $msgs = - RemoveVotes($bug_id, $who, "The rules for voting on this " . - "product has changed; you had " . - "too many\ntotal votes, so all " . - "votes have been removed."); + my $msgs = RemoveVotes($bug_id, $who, 'votes_too_many_per_user'); foreach my $msg (@$msgs) { MessageToMTA($msg); } -- cgit v1.2.3-24-g4f1b