summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/user-error.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-20 08:02:55 +0200
committerlpsolit%gmail.com <>2006-08-20 08:02:55 +0200
commit0e70cd46fe9377b9a267a8e1efbc6f8e7064e95e (patch)
tree58e7a9d2a9cb05677e641ff907e3fcd06ea53dc3 /template/en/default/global/user-error.html.tmpl
parent045e964867ae036ddc7d5b41a03dd48d8f291ee7 (diff)
downloadbugzilla-0e70cd46fe9377b9a267a8e1efbc6f8e7064e95e.tar.gz
bugzilla-0e70cd46fe9377b9a267a8e1efbc6f8e7064e95e.tar.xz
Bug 344875: Implement a UI to manage custom fields and remove customfield.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r--template/en/default/global/user-error.html.tmpl30
1 files changed, 27 insertions, 3 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index e67c1a81c..e07be8846 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -158,6 +158,8 @@
classifications
[% ELSIF object == "components" %]
components
+ [% ELSIF object == "custom_fields" %]
+ custom fields
[% ELSIF object == "flagtypes" %]
flag types
[% ELSIF object == "group_access" %]
@@ -307,9 +309,27 @@
Product [% product FILTER html %] does not have a component
named [% name FILTER html %].
- [% ELSIF error == "product_doesnt_exist" %]
- [% title = "Specified Product Does Not Exist" %]
- The product '[% product FILTER html %]' does not exist.
+ [% ELSIF error == "customfield_already_exists" %]
+ [% title = "Field Already Exists" %]
+ The field '[% field.name FILTER html %]' ([% field.description FILTER html %])
+ already exists. Please choose another name.
+
+ [% ELSIF error == "customfield_nonexistent" %]
+ [% title = "Unknown Custom Field" %]
+ There is no custom field with the name '[% name FILTER html %]'.
+
+ [% ELSIF error == "customfield_invalid_sortkey" %]
+ [% title = "Invalid Sortkey for Field" %]
+ The sortkey [% sortkey FILTER html %] that you have provided for
+ the '[% name FILTER html %]' field is not a valid positive integer.
+
+ [% ELSIF error == "customfield_missing_description" %]
+ [% title = "Missing Description for Field" %]
+ You must enter a description for the '[% name FILTER html %]' field.
+
+ [% ELSIF error == "customfield_missing_name" %]
+ [% title = "Missing Name for Field" %]
+ You must enter a name for this field.
[% ELSIF error == "dependency_loop_multi" %]
[% title = "Dependency Loop Detected" %]
@@ -1086,6 +1106,10 @@
Patches cannot be more than [% Param('maxpatchsize') %] KB in size.
Try breaking your patch into several pieces.
+ [% ELSIF error == "product_doesnt_exist" %]
+ [% title = "Specified Product Does Not Exist" %]
+ The product '[% product FILTER html %]' does not exist.
+
[% ELSIF error == "product_votes_per_bug_must_be_nonnegative" %]
[% title = "Maximum Votes Must Be Non-negative" %]
[% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %]