From 4e4bfa3f76d565dd27b4d1a8903430b7c0b14140 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 30 May 2007 19:08:10 +0000 Subject: Bug 369987: Display real field names in editvalues.cgi - Patch by Frédéric Buclin r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 615499426..9de2d03fc 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -424,7 +424,7 @@ [% ELSIF error == "fieldvalue_already_exists" %] [% title = "Field Value Already Exists" %] The value '[% value FILTER html %]' already exists for the - '[%- field FILTER html %]' field. + '[%- field.description FILTER html %]' field. [% ELSIF error == "fieldvalue_doesnt_exist" %] [% title = "Specified Field Value Does Not Exist" %] @@ -434,7 +434,7 @@ [% ELSIF error == "fieldvalue_is_default" %] [% title = "Specified Field Value Is Default" %] '[% value FILTER html %]' is the default value for - the '[% field FILTER html %]' field and cannot be deleted. + the '[% field.description FILTER html %]' field and cannot be deleted. [% IF user.groups.tweakparams %] You have to change the default value first. @@ -448,12 +448,12 @@ [% ELSIF error == "fieldvalue_not_editable" %] [% title = "Field Value Not Editable" %] The value '[% old_value FILTER html %]' cannot be renamed because - it plays some special role for the '[% field FILTER html %]' field. + it plays some special role for the '[% field.description FILTER html %]' field. [% ELSIF error == "fieldvalue_not_deletable" %] [% title = "Field Value Not Deletable" %] The value '[% value FILTER html %]' cannot be removed because - it plays some special role for the '[% field FILTER html %]' field. + it plays some special role for the '[% field.description FILTER html %]' field. [% ELSIF error == "fieldvalue_not_specified" %] [% title = "Field Value Not Specified" %] -- cgit v1.2.3-24-g4f1b