summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-17 08:15:44 +0200
committergerv%gerv.net <>2002-10-17 08:15:44 +0200
commitd69b9a45e9b7031fc569ca1970abd012a84fede1 (patch)
treecd3f7379862ee29e185d8d18bce9b8cfc8feb810 /template
parent7d49572502f78d54ba400392d78da146f401f5a4 (diff)
downloadbugzilla-d69b9a45e9b7031fc569ca1970abd012a84fede1.tar.gz
bugzilla-d69b9a45e9b7031fc569ca1970abd012a84fede1.tar.xz
Bug 174221 - field names should be l10n in user-errors.html.tmpl. Patch by jeff.hedlund@matrixsi.com; r=burnus, gerv.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/field-descs.html.tmpl6
-rw-r--r--template/en/default/global/user-error.html.tmpl6
2 files changed, 9 insertions, 3 deletions
diff --git a/template/en/default/global/field-descs.html.tmpl b/template/en/default/global/field-descs.html.tmpl
index 4e97c11f5..f8ffd4228 100644
--- a/template/en/default/global/field-descs.html.tmpl
+++ b/template/en/default/global/field-descs.html.tmpl
@@ -33,14 +33,17 @@
"component" => "Component",
"creation_ts" => "Bug Creation time",
"delta_ts" => "Last Changed time",
+ "estimated_time" => "Orig. Est.",
"everconfirmed" => "Ever confirmed?",
"groupset" => "Groupset",
"keywords" => "Keywords",
"op_sys" => "OS",
+ "percentage_complete" => "%Complete",
"priority" => "Priority",
"product_id" => "Product ID",
"product" => "Product",
"qa_contact" => "QA Contact",
+ "remaining_time" => "Hours Left",
"rep_platform" => "Hardware",
"reporter" => "Reporter",
"reporter_accessible" => "Reporter accessible?",
@@ -49,4 +52,5 @@
"status_whiteboard" => "Whiteboard",
"target_milestone" => "Target Milestone",
"version" => "Version",
- "votes" => "Votes" } %]
+ "votes" => "Votes",
+ "work_time" => "Hours Worked"} %]
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 <em>[% field_descs.$field %]</em> 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 <em>[% field_descs.$field %]</em>.
[% ELSIF error == "z_axis_defined_with_no_x_axis" %]
[% title = "Nonsensical Options" %]