📄 user-error.html.tmpl
字号:
[%# 1.0@bugzilla.org %][%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham <gerv@gerv.net> #%][%# INTERFACE: # header_done: boolean. True if the 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. #%][%# This is a list of all the possible user errors. Please keep them in # alphabetical order by error tag, and leave a blank line between errors. # # Note that you must explicitly filter every single template variable # in this file; if you do not wish to change it, use the "none" filter. #%][% PROCESS global/variables.none.tmpl %][% PROCESS "global/field-descs.none.tmpl" %][% DEFAULT title = "Error" %][% error_message = BLOCK %] [% IF error == "account_creation_disabled" %] [% title = "Account Creation Disabled" %] User account creation has been disabled or restricted. <hr> New accounts must be created by an administrator. [% ELSIF error == "account_disabled" %] [% title = "Account Disabled" %] [% disabled_reason FILTER none %] <hr> If you believe your account should be restored, please send email to [% Param("maintainer") %] explaining why. [% ELSIF error == "account_exists" %] [% title = "Account Already Exists" %] There is already an account with [% IF email %] the login name [% email FILTER html %]. [% ELSE %] that login name. [% END %] [% ELSIF error == "account_inexistent" %] [% title = "Account Does Not Exist" %] There is no [% terms.Bugzilla %] account with that login name. [% ELSIF error == "alias_has_comma_or_space" %] [% title = "Invalid Characters In Alias" %] The alias you entered, <em>[% alias FILTER html %]</em>, contains one or more commas or spaces. Aliases cannot contain commas or spaces because those characters are used to separate aliases from each other in lists. Please choose another alias that does not contain commas and spaces. [% ELSIF error == "alias_in_use" %] [% title = "Alias In Use" %] [% bug_link FILTER none %] has already taken the alias <em>[% alias FILTER html %]</em>. Please choose another one. [% ELSIF error == "alias_is_numeric" %] [% title = "Alias Is Numeric" %] You tried to give this [% terms.bug %] the alias <em>[% alias FILTER html %]</em>, but aliases cannot be merely numbers, since they could then be confused with [% terms.bug %] IDs. Please choose another alias containing at least one letter. [% ELSIF error == "alias_too_long" %] [% title = "Alias Too Long" %] [% terms.Bug %] aliases cannot be longer than 20 characters. Please choose a shorter alias. [% ELSIF error == "auth_cant_create_account" %] [% title = "Can't create accounts" %] This site is using an authentication scheme which does not permit account creation. Please contact an administrator to get a new account created. [% ELSIF error == "authorization_failure" %] [% title = "Authorization Failed" %] You are not allowed to [% action FILTER html %]. [% ELSIF error == "attachment_access_denied" %] [% title = "Access Denied" %] You are not authorized to access this attachment. [% ELSIF error == "bug_access_denied" %] [% title = "Access Denied" %] You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. [% ELSIF error == "bug_access_query" %] [% title = "Access Denied" %] You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. To see this [% terms.bug %], you must first <a href="show_bug.cgi?id= [% bug_id FILTER url_quote %]&GoAheadAndLogIn=1">log in to an account</a> with the appropriate permissions. [% ELSIF error == "buglist_parameters_required" %] [% title = "Parameters Required" %] You may not search, or create saved searches, without any search terms. [% ELSIF error == "bugs_not_changed" %] [% title = BLOCK %][% terms.Bugs %] Not Changed[% END %] Um, you apparently did not change anything on the selected [% terms.bugs %]. [% ELSIF error == "chart_too_large" %] [% title = "Chart Too Large" %] Sorry, but 2000 x 2000 is the maximum size for a chart. [% ELSIF error == "comment_required" %] [% title = "Comment Required" %] You have to specify a <b>comment</b> on this change. Please give some words on the reason for your change. [% ELSIF error == "comment_too_long" %] [% title = "Comment Too Long" %] Comments cannot be longer than 65,535 characters. [% ELSIF error == "dependency_loop_multi" %] [% title = "Dependency Loop Detected" %] The following [% terms.bug %](s) would appear on both the "depends on" and "blocks" parts of the dependency tree if these changes are committed: [% both FILTER none %]. This would create a circular dependency, which is not allowed. [% ELSIF error == "dependency_loop_single" %] [% title = "Dependency Loop Detected" %] You can't make [% terms.abug %] blocked or dependent on itself. [% ELSIF error == "description_required" %] [% title = "Description Required" %] You must provide a description of the [% terms.bug %]. [% ELSIF error == "dupe_of_self_disallowed" %] [% title = "Cannot mark $terms.abug as a duplicate of itself" %] You can't mark [% terms.abug %] as a duplicate of itself. [% ELSIF error == "email_change_in_progress" %] [% title = "Email Change Already In Progress" %] Email change already in progress; please check your email. [% ELSIF error == "email_confirmation_failed" %] [% title = "Email Address Confirmation Failed" %] Email address confirmation failed. [% ELSIF error == "entry_access_denied" %] [% title = "Permission Denied" %] Sorry, either the product <em>[% product FILTER html %]</em> does not exist, or you don't have the required permissions to enter [% terms.abug %] against that product. [% ELSIF error == "file_not_specified" %] [% title = "No File Specified" %] You did not specify a file to attach. [% ELSIF error == "file_too_large" %] [% title = "File Too Large" %] The file you are trying to attach is [% filesize FILTER html %] kilobytes (KB) in size. Non-patch attachments cannot be more than [% Param('maxattachmentsize') %] KB. If your attachment is an image, try converting it to a compressable format like JPG or PNG, or put it elsewhere on the web and link to it from the [% terms.bug %]'s URL field or a comment in the [% terms.bug %]. [% ELSIF error == "flag_requestee_unauthorized" %] [% title = "Flag Requestee Not Authorized" %] You asked [% requestee.identity FILTER html %] for <code>[% flag_type.name FILTER html %]</code> on [% terms.bug %] [% bug_id FILTER html -%] [% IF attach_id %], attachment [% attach_id FILTER html %][% END %], but that [% terms.bug %] has been restricted to users in certain groups, and the user you asked isn't in all the groups to which the [% terms.bug %] has been restricted. Please choose someone else to ask, or make the [% terms.bug %] accessible to users on its CC: list and add that user to the list. [% ELSIF error == "flag_requestee_unauthorized_attachment" %] [% title = "Flag Requestee Not Authorized" %] You asked [% requestee.identity FILTER html %] for <code>[% flag_type.name FILTER html %]</code> on [%+ terms.bug %] [%+ bug_id FILTER html %], attachment [% attach_id FILTER html %], but that attachment is restricted to users in the [% Param("insidergroup") FILTER html %] group, and the user you asked isn't in that group. Please choose someone else to ask, or ask an administrator to add the user to the group. [% 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 <em>[% name FILTER html %]</em> must be 1-50 characters long and must not contain any spaces or commas. [% ELSIF error == "format_not_found" %] [% title = "Format Not Found" %] The requested format <em>[% format FILTER html %]</em> does not exist with a content type of <em>[% ctype FILTER html %]</em>. [% 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 <em>[% sortkey FILTER html %]</em>. [% ELSIF error == "illegal_at_least_x_votes" %] [% title = "Your Search Makes No Sense" %] The <em>At least ___ votes</em> field must be a simple number. You entered <tt>[% value FILTER html %]</tt>, which isn't. [% ELSIF error == "illegal_attachment_edit" %] [% title = "Unauthorised Action" %] You are not authorised to edit attachment [% attach_id FILTER html %]. [% ELSIF error == "illegal_attachment_edit_bug" %] [% title = "Unauthorised Action" %] You are not authorised to edit attachments on [% terms.bug %] [%+ bug_id FILTER html %]. [% ELSIF error == "illegal_attachment_is_patch" %] [% title = "Your Search Makes No Sense" %] The only legal values for the <em>Attachment is patch</em> field are 0 and 1. [% ELSIF error == "illegal_change" %] [% title = "Not allowed" %] You tried to change the <strong>[% field_descs.$field FILTER html %]</strong> field from <em>[% oldvalue FILTER html %]</em> to <em>[% newvalue FILTER html %]</em>, but only the owner or submitter of the [% terms.bug %], or a sufficiently empowered user, may change that field. [% ELSIF error == "illegal_changed_in_last_x_days" %] [% title = "Your Search Makes No Sense" %] The <em>Changed in last ___ days</em> field must be a simple number. You entered <tt>[% value FILTER html %]</tt>, which isn't. [% ELSIF error == "illegal_date" %] [% title = "Illegal Date" %] '<tt>[% date FILTER html %]</tt>' is not a legal date.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -