📄 user-error.html.tmpl
字号:
[% ELSIF error == "customfield_nonexistent" %] [% title = "Unknown Custom Field" %] There is no custom field with the name '[% name FILTER html %]'. [% 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: [% FOREACH dep = deps %] [%+ dep FILTER bug_link(dep) FILTER none %] [% END %]. 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 %] block itself or depend on itself. [% ELSIF error == "description_required" %] [% title = "Description Required" %] You must provide a description of the [% terms.bug %]. [% ELSIF error == "dupe_not_allowed" %] [% title = "Cannot mark $terms.bugs as duplicates" %] You cannot mark [% terms.bugs %] as duplicates when changing several [% terms.bugs %] at once. [% ELSIF error == "dupe_loop_detected" %] [% title = "Loop detected among duplicates" %] You cannot mark [% terms.bug %] [%+ bug_id FILTER html %] as a duplicate of [% IF dupe_of == bug_id %] itself [% ELSE %] [%+ terms.bug %] [%+ dupe_of FILTER html %], because it would create a duplicate loop [% END %]. [% 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 == "email_no_text_plain" %] Your message did not contain any text.[% terms.Bugzilla %] does not accept HTML-only email, or HTML email with attachments. [% ELSIF error == "empty_group_description" %] [% title = "The group description can not be empty" %] You must enter a description for the group. [% ELSIF error == "empty_group_name" %] [% title = "The group name can not be empty" %] You must enter a name for the group. [% ELSIF error == "entry_access_denied" %] [% title = "Permission Denied" %] [% admindocslinks = {'groups.html' => 'Group Security'} %] Sorry, either the product <em>[% product FILTER html %]</em> does not exist or you aren't authorized to enter [% terms.abug %] into it. [% ELSIF error == "field_already_exists" %] [% title = "Field Already Exists" %] The field '[% field.name FILTER html %]' ([% field.description FILTER html %]) already exists. Please choose another name. [% ELSIF error == "field_invalid_name" %] [% title = "Invalid Field Name" %] '[% name FILTER html %]' is not a valid name for a field. A name may contain only letters, numbers, and the underscore character. [% ELSIF error == "field_invalid_sortkey" %] [% title = "Invalid Sortkey for Field" %] The sortkey [% sortkey FILTER html %] that you have provided for this field is not a valid positive integer. [% ELSIF error == "field_missing_description" %] [% title = "Missing Description for Field" %] You must enter a description for this field. [% ELSIF error == "field_missing_name" %] [% title = "Missing Name for Field" %] You must enter a name for this field. [% ELSIF error == "fieldname_invalid" %] [% title = "Specified Field Does Not Exist" %] The field '[% field FILTER html %]' does not exist or cannot be edited with this interface. [% ELSIF error == "fieldname_not_specified" %] [% title = "Field Name Not Specified" %] No field name specified when trying to edit field values. [% ELSIF error == "fieldvalue_already_exists" %] [% title = "Field Value Already Exists" %] The value '[% value FILTER html %]' already exists for the '[%- field FILTER html %]' field. [% ELSIF error == "fieldvalue_doesnt_exist" %] [% title = "Specified Field Value Does Not Exist" %] The value '[% value FILTER html %]' does not exist for the '[% field FILTER html %]' field. [% ELSIF error == "fieldvalue_is_default" %] [% title = "Specified Field Value Is Default" %] '[% value FILTER html %]' is the default value for the '[% field FILTER html %]' field and cannot be deleted. [% IF user.groups.tweakparams %] You have to <a href="editparams.cgi?section=bugfields# [%- param_name FILTER url_quote %]">change</a> the default value first. [% END %] [% ELSIF error == "fieldvalue_name_too_long" %] [% title = "Field Value Is Too Long" %] The value of a field is limited to 60 characters. '[% value FILTER html %]' is too long ([% value.length %] characters). [% ELSIF error == "fieldvalue_not_editable" %] [% title = "Field Value Not Editable" %] The value '[% old_value FILTER html %]' cannot be renamed because it plays some special role for the '[% field FILTER html %]' field. [% ELSIF error == "fieldvalue_not_deletable" %] [% title = "Field Value Not Deletable" %] The value '[% value FILTER html %]' cannot be removed because it plays some special role for the '[% field FILTER html %]' field. [% ELSIF error == "fieldvalue_not_specified" %] [% title = "Field Value Not Specified" %] No field value specified when trying to edit a field value. [% ELSIF error == "fieldvalue_sortkey_invalid" %] [% title = "Invalid Field Value Sortkey" %] The sortkey '[% sortkey FILTER html %]' for the '[% name FILTER html %]' field is not a valid (positive) number. [% ELSIF error == "fieldvalue_still_has_bugs" %] [% title = "You Cannot Delete This Field Value" %] You cannot delete the value '[% value FILTER html %]' from the '[% field FILTER html%]' field, because there are still [%+ count FILTER html %] [%+ terms.bugs %] using it. [% ELSIF error == "fieldvalue_undefined" %] [% title = "Undefined Value Not Allowed" %] You must specify a value. [% 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. <br> We recommend that you store your attachment elsewhere on the web, [% IF Param("allow_attach_url") %] and then specify the URL to this file on the attachment creation page in the <b>AttachURL</b> field. [% ELSE %] and then insert the URL to it in a comment, or in the URL field for this [% terms.bug %]. [% END %] <br>Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again. [% ELSIF error == "flag_not_multiplicable" %] [% docslinks = {'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags'} %] You can't ask more than one person at a time for <em>[% type.name FILTER html %]</em>. [% ELSIF error == "flag_requestee_needs_privs" %] [% title = "Flag Requestee Needs Privileges" %] [% requestee.identity FILTER html %] does not have permission to set the <em>[% flagtype.name FILTER html %]</em> flag. Please select a user who is a member of the <em>[% flagtype.grant_group.name FILTER html %]</em> group. [% ELSIF error == "flag_requestee_unauthorized" %] [% title = "Flag Requestee Not Authorized" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', 'groups.html' => 'Group Security'} %] [% docslinks = {'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags'} %] You asked [% requestee.identity FILTER html %] for <code>[% flag_type.name FILTER html %]</code> on [% terms.bug %] [%+ bug_id FILTER html -%] [% IF attach_id && attach_id > 0 %], 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" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', 'groups.html' => 'Group Security'} %] [% docslinks = {'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags'} %] 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" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] The CC list [% cc_list FILTER html %] must be less than 200 characters long. [% ELSIF error == "flag_type_component_without_product" %] [% title = "Product Missing" %] A component was selected without a product being selected. [% ELSIF error == "flag_type_description_invalid" %] [% title = "Flag Type Description Invalid" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] The description must be less than 32K. [% ELSIF error == "flag_type_name_invalid" %] [% title = "Flag Type Name Invalid" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] The name <em>[% name FILTER html %]</em> must be 1-50 characters long and must not contain any spaces or commas. [% ELSIF error == "flag_update_denied" %] [% title = "Flag Modification Denied" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', 'groups.html' => 'Group Security'} %] [% docslinks = {'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags'} %] You tried to [% IF status == "+" %] grant [% ELSIF status == "-" %] deny [% ELSIF status == "X" %] clear [% ELSE %] request [% END %] <code>[% name FILTER html %] [% IF status == "X" %][% old_status FILTER html %][% END %]</code>. Only a sufficiently empowered user can make this change. [% 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 == "freetext_too_long" %] [% title = "Text Too Long" %] The text you entered is too long ([% text.length FILTER html %] characters, above the maximum length allowed of [% constants.MAX_FREETEXT_LENGTH FILTER none %] characters): <p><em>[% text FILTER html %]</em></p> [% ELSIF error == "group_cannot_delete" %] [% title = "Cannot Delete Group" %] The <em>[% name FILTER html %]</em> group cannot be deleted because there are <a href="editgroups.cgi?action=del&group=[% gid FILTER url_quote %]">records</a> in the database which refer to it. All references to this group must be removed before you can remove it. [% ELSIF error == "group_exists" %] [% title = "The group already exists" %] The group [% name FILTER html %] already exists. [% ELSIF error == "group_has_special_role" %] [% title = "Group not deletable" %] [% IF groups.size == 1 %] [% attr = "it" %] [% param = "parameter" %] [% ELSE %] [% attr = "them" %] [% param = "parameters" %] [% END %] The group '[% name FILTER html %]' is used by the '[% groups.join("' and '") FILTER html %]' [% param FILTER html %]. In order to delete this group, you first have to change the [%+ param FILTER html %] to make [% attr FILTER html %] point to another group. [% ELSIF error == "group_not_specified" %] [% title = "Group not specified" %] No group was specified. [% ELSIF error == "system_group_not_deletable" %] [% title = "System Groups not deletable" %] <em>[% name FILTER html %]</em> is a system group. This group cannot be deleted. [% ELSIF error == "group_unknown" %] [% title = "Unknown Group" %] The group [% name FILTER html %] does not exist. Please specify a valid group name. Create it first if necessary! [% 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 = "Unauthorized Action" %] You are not authorized to edit attachment [% attach_id FILTER html %]. [% ELSIF error == "illegal_attachment_edit_bug" %] [% title = "Unauthorized Action" %] You are not authorized to edit attachments on [% terms.bug %] [%+ bug_id FILTER html %].
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -