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. --- template/en/default/global/user-error.html.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'template/en/default/global/user-error.html.tmpl') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 0c964b190..ddc9ce11c 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -29,6 +29,8 @@ # alphabetical order by error tag, and leave a blank line between errors. #%] +[% PROCESS "global/field-descs.html.tmpl" %] + [% DEFAULT title = "Error" %] [% error_message = BLOCK %] @@ -345,7 +347,7 @@ [% ELSIF error == "need_positive_number" %] [% title = "Positive Number Required" %] - [% field %] requires a positive number. + The [% field_descs.$field %] field requires a positive number. [% ELSIF error == "need_product" %] [% title = "Product Required" %] @@ -543,7 +545,7 @@ [% ELSIF error == "value_out_of_range" %] [% title = "Value Out Of Range" %] - Value is out of range for field [% variable %]. + Value is out of range for field [% field_descs.$field %]. [% ELSIF error == "z_axis_defined_with_no_x_axis" %] [% title = "Nonsensical Options" %] -- cgit v1.2.3-24-g4f1b