📄 user-error.html.tmpl
字号:
[% ELSIF error == "query_name_too_long" %] [% title = "Query Name Too Long" %] The name of the query must be less than 64 characters long. [% ELSIF error == "quicksearch_unknown_field" %] [% title = "Unknown QuickSearch Field" %] [% IF fields.unique.size == 1 %] Field <code>[% fields.first FILTER html %]</code> is not a known field. [% ELSE %] Fields [% FOREACH field = fields.unique.sort %] <code>[% field FILTER html %]</code> [% ', ' UNLESS loop.last() %] [% END %] are not known fields. [% END %] The legal field names are <a href="page.cgi?id=quicksearchhack.html">listed here</a>. [% ELSIF error == "reassign_to_empty" %] [% title = "Illegal Reassignment" %] To reassign [% terms.abug %], you must provide an address for the new assignee. [% ELSIF error == "require_component" %] [% title = "Component Needed" %] To file this [% terms.bug %], you must first choose a component. If necessary, just guess. [% ELSIF error == "require_new_password" %] [% title = "New Password Needed" %] You cannot change your password without choosing a new one. [% ELSIF error == "require_summary" %] [% title = "Summary Needed" %] You must enter a summary for this [% terms.bug %]. [% ELSIF error == "resolution_deletion_not_allowed" %] [% title = "Resolution Change Not Allowed" %] You cannot clear the resolution of non-open [% terms.bugs %]. [% ELSIF error == "resolution_not_allowed" %] [% title = "Resolution Not Allowed" %] You cannot set a resolution for open [% terms.bugs %]. [% ELSIF error == "saved_search_used_by_whines" %] [% title = "Saved Search In Use" %] [% docslinks = {'whining.html' => 'About Whining'} %] The saved search <em>[% search_name FILTER html %]</em> is being used by <a href="editwhines.cgi">Whining events</a> with the following subjects: [%+ subjects FILTER html %] [% ELSIF error == "search_content_without_matches" %] [% title = "Illegal Search" %] The "content" field can only be used with "matches" search and the "matches" search can only be used with the "content" field. [% ELSIF error == "series_already_exists" %] [% title = "Series Already Exists" %] [% docslinks = {'reporting.html' => 'Reporting'} %] A series named <em>[% series.category FILTER html %] / [%+ series.subcategory FILTER html %] / [%+ series.name FILTER html %]</em> already exists. [% ELSIF error == "sidebar_supports_mozilla_only" %] Sorry - sidebar.cgi currently only supports Mozilla based web browsers. <a href="http://www.mozilla.org">Upgrade today</a>. :-) [% ELSIF error == "still_unresolved_bugs" %] [% IF dependency_count == 1 %] [% terms.Bug %]# <a href="show_bug.cgi?id=[% dependencies.0.bug_id FILTER none %]">[% dependencies.0.bug_id FILTER none %]</a> still has [% dependencies.0.dependencies FILTER html %] unresolved [% IF dependencies.0.dependencies == 1 %] dependency [% ELSE %] dependencies [% END %]. Show <a href="showdependencytree.cgi?id=[% dependencies.0.bug_id FILTER none %]&hide_resolved=1">Dependency Tree</a>. [% ELSE %] There are [% dependency_count FILTER none %] open [% terms.bugs %] which have unresolved dependencies. <br> [% FOREACH bug = dependencies %] [% terms.Bug %]# <a href="show_bug.cgi?id=[% bug.bug_id FILTER none %]">[% bug.bug_id FILTER none %]</a> has [% bug.dependencies FILTER html %] open [% IF bug.dependencies == 1 %] dependency. [% ELSE %] dependencies. [% END %] (<a href="showdependencytree.cgi?id=[% bug.bug_id FILTER none %]&hide_resolved=1">Dependency Tree</a>)<br> [% END %] [% END %] [% ELSIF error == "sudo_in_progress" %] [% title = "Session In Progress" %] A sudo session (impersonating [% target FILTER html %]) is in progress. End that session (using the link in the footer) before starting a new one. [% ELSIF error == "sudo_password_required" %] [% title = "Password Required" %] Your [% terms.Bugzilla %] password is required to begin a sudo session. Please <a href="relogin.cgi?action=prepare-sudo&target_login= [%- target_login FILTER html %]&reason= [%- reason FILTER html %]">go back</a> and enter your password. [% ELSIF error == "sudo_preparation_required" %] [% title = "Preparation Required" %] You may not start a sudo session directly. Please <a href="relogin.cgi?action=prepare-sudo&target_login= [%- target_login FILTER html %]&reason= [%- reason FILTER html %]">start your session normally</a>. [% ELSIF error == "sudo_protected" %] [% title = "User Protected" %] The user [% login FILTER html %] may not be impersonated by sudoers. [% ELSIF error == "too_many_votes_for_bug" %] [% title = "Illegal Vote" %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] You may only use at most [% max FILTER html %] votes for a single [%+ terms.bug %] in the <tt>[% product FILTER html %]</tt> product, but you are trying to use [% votes FILTER html %]. [% ELSIF error == "too_many_votes_for_product" %] [% title = "Illegal Vote" %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] You tried to use [% votes FILTER html %] votes in the <tt>[% product FILTER html %]</tt> product, which exceeds the maximum of [%+ max FILTER html %] votes for this product. [% ELSIF error == "token_inexistent" %] [% title = "Token Does Not Exist" %] The token you submitted does not exist, has expired, or has been canceled. [% ELSIF error == "too_soon_for_new_token" %] [% title = "Too Soon For New Token" %] You have requested [% IF type == "password" %] a password [% ELSIF type == "account" %] an account [% END %] token too recently to request another. Please wait a while and try again. [% ELSIF error == "unknown_keyword" %] [% title = "Unknown Keyword" %] <code>[% keyword FILTER html %]</code> is not a known keyword. The legal keyword names are <a href="describekeywords.cgi">listed here</a>. [% ELSIF error == "unknown_tab" %] [% title = "Unknown Tab" %] <code>[% current_tab_name FILTER html %]</code> is not a legal tab name. [% ELSIF error == "version_already_exists" %] [% title = "Version Already Exists" %] [% admindocslinks = {'versions.html' => 'Administering versions'} %] The version '[% name FILTER html %]' already exists for product ' [%- product FILTER html %]'. [% ELSIF error == "version_blank_name" %] [% title = "Blank Version Name Not Allowed" %] You must enter a name for this version. [% ELSIF error == "version_has_bugs" %] [% title = BLOCK %]Version has [% terms.Bugs %][% END %] There are [% nb FILTER html %] [%+ terms.bugs %] associated with this version! You must reassign those [% terms.bugs %] to another version before you can delete this one. [% ELSIF error == "version_not_specified" %] [% title = "No Version Specified" %] No version specified when trying to edit versions. [% ELSIF error == "version_not_valid" %] [% title = "Specified Version Does Not Exist" %] The version '[% version FILTER html %]' for product '[% product FILTER html %]' does not exist. [% ELSIF error == "users_deletion_disabled" %] [% title = "Deletion not activated" %] [% admindocslinks = {'useradmin.html' => 'User administration'} %] Sorry, the deletion of user accounts is not allowed. [% ELSIF error == "user_has_responsibility" %] [% title = "Can't Delete User Account" %] [% admindocslinks = {'useradmin.html' => 'User administration'} %] The user you want to delete is set up as the default [% terms.bug %] assignee [% IF Param('useqacontact') %] or QA contact [% END %] for at least one component. For this reason, you cannot delete the account at this time. [% ELSIF error == "user_login_required" %] [% title = "Login Name Required" %] [% admindocslinks = {'useradmin.html' => 'User administration'} %] You must enter a login name for the new user. [% ELSIF error == "user_match_failed" %] [% title = "Match Failed" %] <tt>[% name FILTER html %]</tt> does not exist or you are not allowed to see that user. [% ELSIF error == "votes_must_be_nonnegative" %] [% title = "Votes Must Be Non-negative" %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] Only use non-negative numbers for your [% terms.bug %] votes. [% ELSIF error == "wrong_token_for_cancelling_email_change" %] [% title = "Wrong Token" %] That token cannot be used to cancel an email address change. [% ELSIF error == "wrong_token_for_changing_passwd" %] [% title = "Wrong Token" %] That token cannot be used to change your password. [% ELSIF error == "wrong_token_for_confirming_email_change" %] [% title = "Wrong Token" %] That token cannot be used to change your email address. [% ELSIF error == "wrong_token_for_creating_account" %] [% title = "Wrong Token" %] That token cannot be used to create a user account. [% ELSIF error == "zero_length_file" %] [% title = "File Is Empty" %] The file you are trying to attach is empty, does not exist, or you don't have permission to read it. [% ELSIF error == "illegal_user_id" %] [% title = "Illegal User ID" %] User ID '[% userid FILTER html %]' is not valid integer. [% ELSE %] [%# Try to find hooked error messages %] [% error_message = Hook.process("errors") %] [% IF not error_message %] [% title = "Error string not found" %] The user error string <code>[% error FILTER html %]</code> was not found. Please send email to [% Param("maintainer") %] describing the steps taken to obtain this message. [% ELSE %] [% error_message FILTER none %] [% END %] [% END %][% END %][%# We only want HTML error messages for ERROR_MODE_WEBPAGE %][% USE Bugzilla %][% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %] [% IF Bugzilla.usage_mode == constants.USAGE_MODE_BROWSER %] [% error_message FILTER none %] [% ELSE %] [% error_message FILTER txt %] [% END %] [% RETURN %][% END %][% UNLESS header_done %] [% PROCESS global/header.html.tmpl %][% END %][% PROCESS global/docslinks.html.tmpl docslinks = docslinks admindocslinks = admindocslinks%]<table cellpadding="20"> <tr> <td bgcolor="#ff0000"> <font size="+2"> [% error_message FILTER none %] </font> </td> </tr></table><p> Please press <b>Back</b> and try again.</p>[%# If a saved search fails, people want the ability to edit or delete it. # This is the best way of getting information about that possible saved # search from any error call location. %][% namedcmd = Bugzilla.cgi.param("namedcmd") %][% sharer_id = Bugzilla.cgi.param("sharer_id") %][% IF namedcmd AND error != "missing_query" AND error != "saved_search_used_by_whines" AND !sharer_id %] <p> Alternatively, you can <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= [% namedcmd FILTER url_quote %]">forget</a> [% FOREACH q = Bugzilla.user.queries %] [% IF q.name == namedcmd %] or <a href="query.cgi?[% q.url FILTER html %]">edit</a> [% END %] [% END %] the saved search '[% namedcmd FILTER html %]'. </p>[% END %] [% PROCESS global/footer.html.tmpl %]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -