From 91b171e7584920d03abb9c45e779c84f3dee975c Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Sun, 29 Sep 2002 01:42:23 +0000 Subject: Fix for bug 98801: Implementation of the request tracker, a set of enhancements to attachment statuses. r=gerv,bbaetz --- template/en/default/global/user-error.html.tmpl | 39 +++++++++++++++++++++---- 1 file changed, 34 insertions(+), 5 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 c6f970df3..c9dca30d4 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -30,7 +30,7 @@ #%] [% DEFAULT title = "Error" %] - + [% error_message = BLOCK %] [% IF error == "aaa_example_error_tag" %] [% title = "Example Error" %] @@ -75,6 +75,10 @@ Bug aliases cannot be longer than 20 characters. Please choose a shorter alias. + [% ELSIF error == "authorization_failure" %] + [% title = "Authorization Failed" %] + You are not allowed to [% action %]. + [% ELSIF error == "attachment_access_denied" %] [% title = "Access Denied" %] You are not permitted access to this attachment. @@ -129,6 +133,23 @@ format like JPG or PNG, or put it elsewhere on the web and link to it from the bug's URL field or in a comment on the bug. + [% ELSIF error == "flag_type_cc_list_invalid" %] + [% title = "Flag Type CC List Invalid" %] + The CC list [% cc_list FILTER html %] must be less than 200 characters long. + + [% ELSIF error == "flag_type_description_invalid" %] + [% title = "Flag Type Description Invalid" %] + The description must be less than 32K. + + [% ELSIF error == "flag_type_name_invalid" %] + [% title = "Flag Type Name Invalid" %] + The name [% name FILTER html %] must be 1-50 characters long. + + [% ELSIF error == "flag_type_sortkey_invalid" %] + [% title = "Flag Type Sort Key Invalid" %] + The sort key must be an integer between 0 and 32767 inclusive. + It cannot be [% variables.sortkey %]. + [% ELSIF error == "illegal_at_least_x_votes" %] [% title = "Your Query Makes No Sense" %] The At least ___ votes field must be a simple number. @@ -176,10 +197,6 @@ [% title = "Invalid Attachment ID" %] The attachment id [% attach_id FILTER html %] is invalid. - [% ELSIF error == "invalid_attach_status" %] - [% title = "Invalid Attachment Status" %] - One of the statuses you entered is not a valid status for this attachment. - [% ELSIF error == "invalid_content_type" %] [% title = "Invalid Content-Type" %] The content type [% contenttype FILTER html %] is invalid. @@ -281,6 +298,18 @@ intentionally cleared out the "Reassign bug to" field, [% Param("browserbugmessage") %] + [% ELSIF error == "requestee_too_short" %] + [% title = "Requestee Name Too Short" %] + One or two characters match too many users, so please enter at least + three characters of the name/email address of the user you want to set + the flag. + + [% ELSIF error == "requestee_too_many_matches" %] + [% title = "Requestee String Matched Too Many Times" %] + The string [% requestee FILTER html %] matched more than + 100 users. Enter more of the name to bring the number of matches + down to a reasonable amount. + [% ELSIF error == "unknown_keyword" %] [% title = "Unknown Keyword" %] [% keyword FILTER html %] is not a known keyword. -- cgit v1.2.3-24-g4f1b