📄 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> # Frédéric Buclin <LpSolit@gmail.com> #%][%# INTERFACE: # 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. #%][%# 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. # # Extension- or custom-specific error handling can be easily added # via hooks: just place your <extension>-errors.html.tmpl into # template/en/extension/hook/global/user-error.html.tmpl/errors/ # Note: be aware of uniqueness of error string parameter value, since # nobody can guarantee the hook files processing order in the future #%][% 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 an alias that does not contain commas and spaces. [% ELSIF error == "alias_in_use" %] [% title = "Alias In Use" %] [% terms.Bug %] [%+ bug_link FILTER none %] has already taken the alias <em>[% alias FILTER html %]</em>. Please choose another one. [% ELSIF error == "alias_not_defined" %] [% title = "Alias Is Not Defined" %] You did not supply an alias to this [% terms.bug %]. [% 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 an 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 == "auth_failure" %] [% title = "Authorization Required" %] Sorry, [% IF group %] you aren't a member of the '[% group FILTER html %]' group, [% END %] [% IF reason %] [% IF group %] and [% END %] [% IF reason == "cant_bless" %] you don't have permissions to add or remove people from a group, [% ELSIF reason == "not_visible" %] there are visibility restrictions on certain user groups, [% END %] [% END %] [% IF group || reason %] and so [% END %] you are not authorized to [% IF action == "access" %] access [% ELSIF action == "add" %] add new [% ELSIF action == "begin" %] begin [% ELSIF action == "modify" %] modify [% ELSIF action == "delete" %] delete [% ELSIF action == "edit" %] add, modify or delete [% ELSIF action == "move" %] move [% ELSIF action == "run" %] run [% ELSIF action == "schedule" %] schedule [% ELSIF action == "use" %] use [% END %] [% IF object == "attachment" %] this attachment [% ELSIF object == "bugs" %] [%+ terms.bugs %] [% ELSIF object == "charts" %] the "New Charts" feature [% ELSIF object == "classifications" %] classifications [% ELSIF object == "components" %] components [% ELSIF object == "field_values" %] field values [% ELSIF object == "flagtypes" %] flag types [% ELSIF object == "group_access" %] group access [% ELSIF object == "groups" %] groups [% ELSIF object == "keywords" %] keywords [% ELSIF object == "milestones" %] milestones [% ELSIF object == "multiple_bugs" %] multiple [% terms.bugs %] at once [% ELSIF object == "parameters" %] parameters [% ELSIF object == "products" %] products [% ELSIF object == "quips" %] quips [% ELSIF object == "reports" %] whine reports [% ELSIF object == "sanity_check" %] a sanity check [% ELSIF object == "settings" %] settings [% ELSIF object == "sudo_session" %] an sudo session [% ELSIF object == "timetracking_summaries" %] time-tracking summary reports [% ELSIF object == "user" %] the user you specified [% ELSIF object == "users" %] users [% ELSIF object == "versions" %] versions [% END %]. [% ELSIF error == "attachment_removed" %] [% title = "Attachment Removed" %] The attachment you are attempting to access has been removed. [% 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 %] You do not seem to have made any changes in the selected [% terms.bugs %], so there is nothing to Commit. [% 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 explain your change. [% ELSIF error == "comment_too_long" %] [% title = "Comment Too Long" %] Comments cannot be longer than 65,535 characters. [% ELSIF error == "auth_classification_not_enabled" %] [% title = "Classification Not Enabled" %] Sorry, classification is not enabled. [% ELSIF error == "classification_not_specified" %] [% title = "You Must Supply A Classification Name" %] You must enter a classification name. [% ELSIF error == "classification_already_exists" %] [% title = "Classification Already Exists" %] A classification with the name '[% name FILTER html %]' already exists. [% ELSIF error == "classification_doesnt_exist" %] [% title = "Classification Does Not Exist" %] The classification '[% name FILTER html %]' does not exist. [% ELSIF error == "classification_doesnt_exist_for_product" %] [% title = "Classification Does Not Exist For Product" %] The classification '[% classification FILTER html %]' does not exist for product '[% product FILTER html %]'. [% ELSIF error == "classification_not_deletable" %] [% title = "Default Classification Can Not Be Deleted" %] You can not delete the default classification [% ELSIF error == "classification_has_products" %] Sorry, there are products for this classification. You must reassign those products to another classification before you can delete this one. [% 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_has_bugs" %] [% title = BLOCK %]Component has [% terms.Bugs %][% END %] There are [% nb FILTER html %] [%+ terms.bugs %] entered for this component! You must reassign those [% terms.bugs %] to another component before you can delete this one. [% 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 Default Assignee" %] You must enter a default assignee for component '[% name FILTER html %]'. [% ELSIF error == "component_not_valid" %] [% title = "Specified Component Does Not Exist" %] 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 == "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 %] 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_entry_found" %] [% title = "Already marked as duplicate" %] This [% terms.bug %] has already been marked as a duplicate of [% terms.bug %] [%+ dupe_of FILTER html %]. [% 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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -