summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/user-error.html.tmpl
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-07-31 07:16:36 +0200
committerjocuri%softhome.net <>2004-07-31 07:16:36 +0200
commite0779526883e06fdd418557d7f5928b3ec443e43 (patch)
tree4cb03ee0cd71a09faef0a265340993dc037b154d /template/en/default/global/user-error.html.tmpl
parentd0b82de8afb79809f8ecc3d39c337b2bcf46b0bc (diff)
downloadbugzilla-e0779526883e06fdd418557d7f5928b3ec443e43.tar.gz
bugzilla-e0779526883e06fdd418557d7f5928b3ec443e43.tar.xz
Patch for bug 190220: templatize editcomponents.cgi; patch by GavinS <bugzilla@chimpychompy.org>; r=jouni, a=justdave.
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r--template/en/default/global/user-error.html.tmpl68
1 files changed, 67 insertions, 1 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index fcd3ca4fd..28002581a 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -20,7 +20,7 @@
#%]
[%# INTERFACE:
- # header_done: boolean. True if the header has already been printed.
+ # header_done: boolean. True if the Bugzilla header has already been printed.
# error: string. The tag of the error, or the error message to be displayed
# (deprecated). May contain HTML if it's an error message.
#%]
@@ -142,6 +142,72 @@
[% title = "Comment Too Long" %]
Comments cannot be longer than 65,535 characters.
+ [% ELSIF error == "auth_cant_edit_components" %]
+ [% title = "Access Denied" %]
+ Sorry, you aren't a member of the 'editcomponents' group, and so
+ you aren't allowed to add, modify or delete components.
+
+ [% ELSIF error == "component_already_exists" %]
+ [% title = "Component Already Exists" %]
+ A component with the name '[% name FILTER html %]' already exists.
+
+ [% ELSIF error == "component_blank_description" %]
+ [% title = "Blank Component Description Not Allowed" %]
+ You must enter a non-blank description for component '[% name FILTER html %]'.
+
+ [% ELSIF error == "component_blank_name" %]
+ [% title = "Blank Component Name Not Allowed" %]
+ You must enter a name for this new component.
+
+ [% ELSIF error == "component_must_have_a_name" %]
+ [% title = "Blank Component Name Not Allowed" %]
+ You cannot delete the component name for component '[% name FILTER html %]'.
+
+ [% ELSIF error == "component_cant_del_description" %]
+ [% title = "Blank Component Description Not Allowed" %]
+ You cannot delete the component description for
+ component '[% name FILTER html %]'.
+
+ [% ELSIF error == "component_name_too_long" %]
+ [% title = "Component Name Is Too Long" %]
+ The name of a component is limited to 64 characters.
+ '[% name FILTER html %]' is too long ([% name.size %] characters).
+
+ [% ELSIF error == "component_need_initialowner" %]
+ [% title = "Component Requires Initial Owner" %]
+ You must enter an initial owner for component '[% name FILTER html %]'.
+
+ [% ELSIF error == "component_need_valid_initialowner" %]
+ [% title = "Component Requires A Valid Initial Owner" %]
+ You must use an existing [% terms.Bugzilla %] account as initial owner for
+ component '[% name FILTER html %]'.
+
+ [% ELSIF error == "component_need_valid_initialqacontact" %]
+ [% title = "Component Requires A Valid Initial QA Contact" %]
+ You must use an existing [% terms.Bugzilla %] account as initial QA contact for
+ component '[% name FILTER html %]'.
+
+ [% ELSIF error == "component_no_action" %]
+ [% title = "No valid action specified" %]
+ No valid action was specified when trying to edit components.
+
+ [% ELSIF error == "product_not_specified" %]
+ [% title = "No Product Specified" %]
+ No product specified when trying to edit components.
+
+ [% ELSIF error == "component_not_specified" %]
+ [% title = "No Component Specified" %]
+ No component specified when trying to edit components.
+
+ [% ELSIF error == "component_not_valid" %]
+ [% title = "Specified Component Does Not Exist" %]
+ The component '[% name FILTER html %]' for product
+ '[% product FILTER html %]' does not exist.
+
+ [% ELSIF error == "product_doesnt_exist" %]
+ [% title = "Specified Product Does Not Exist" %]
+ The product '[% product FILTER html %]' does not exist.
+
[% ELSIF error == "dependency_loop_multi" %]
[% title = "Dependency Loop Detected" %]
The following [% terms.bug %](s) would appear on both the "depends on"