From d69b9a45e9b7031fc569ca1970abd012a84fede1 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Thu, 17 Oct 2002 06:15:44 +0000 Subject: Bug 174221 - field names should be l10n in user-errors.html.tmpl. Patch by jeff.hedlund@matrixsi.com; r=burnus, gerv. --- process_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 439587178..43895ced3 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -710,7 +710,7 @@ foreach my $field ("estimated_time", "remaining_time") { my $er_time = trim($::FORM{$field}); if ($er_time ne $::FORM{'dontchange'}) { if ($er_time > 99999.99) { - ThrowUserError("value_out_of_range", {variable => $field}); + ThrowUserError("value_out_of_range", {field => $field}); } if ($er_time =~ /^(?:\d+(?:\.\d*)?|\.\d+)$/) { DoComma(); @@ -1199,7 +1199,7 @@ foreach my $id (@idlist) { $timestamp = FetchOneColumn(); if ($::FORM{'work_time'} > 99999.99) { - ThrowUserError("value_out_of_range", {variable => 'work_time'}); + ThrowUserError("value_out_of_range", {field => 'work_time'}); } if (defined $::FORM{'comment'} || defined $::FORM{'work_time'}) { if ($::FORM{'work_time'} != 0 && -- cgit v1.2.3-24-g4f1b