📄 messages.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> # Max Kanat-Alexander <mkanat@bugzilla.org> #%][%# This is a list of all the possible messages. Please keep them in # alphabetical order by message tag, and leave a blank line between messages. #%][% PROCESS global/variables.none.tmpl %][% PROCESS "global/field-descs.none.tmpl" %][% message_tag = message %][% message = BLOCK %] [% IF message_tag == "account_created" %] [% title = "User $otheruser.login created" %] A new user account [% otheruser.login FILTER html %] has been created successfully. [% IF groups.size %] You may want to edit the group settings now, using the form below. [% END %] [% IF login_info %] You can now go to the <a href="index.cgi">Log In</a> page to enter this [% terms.Bugzilla %] installation. [% END %] [% ELSIF message_tag == "account_creation_cancelled" %] [% title = "User Account Creation Canceled" %] The creation of the user account [% account FILTER html %] has been canceled. [% ELSIF message_tag == "account_updated" %] [% IF changed_fields.size + groups_added_to.size + groups_removed_from.size + groups_granted_rights_to_bless.size + groups_denied_rights_to_bless.size %] [% title = "User $loginold updated" %] The following changes have been made to the user account [%+ loginold FILTER html %]: <ul> [% FOREACH field = changed_fields %] <li> [% IF field == 'login_name' %] The login is now [% otheruser.login FILTER html %]. [% ELSIF field == 'realname' %] The real name has been updated. [% ELSIF field == 'cryptpassword' %] A new password has been set. [% ELSIF field == 'disabledtext' %] The disable text has been modified. [% ELSIF field == 'disable_mail' %] [% IF otheruser.email_disabled %] [% terms.Bug %]mail has been disabled. [% ELSE %] [% terms.Bug %]mail has been enabled. [% END %] [% END %] </li> [% END %] [% IF groups_added_to.size %] <li> The account has been added to the [%+ groups_added_to.join(', ') FILTER html %] group[% 's' IF groups_added_to.size > 1 %]. </li> [% END %] [% IF groups_removed_from.size %] <li> The account has been removed from the [%+ groups_removed_from.join(', ') FILTER html %] group[% 's' IF groups_removed_from.size > 1 %]. </li> [% END %] [% IF groups_granted_rights_to_bless.size %] <li> The account has been granted rights to bless the [%+ groups_granted_rights_to_bless.join(', ') FILTER html %] group[% 's' IF groups_granted_rights_to_bless.size > 1 %]. </li> [% END %] [% IF groups_denied_rights_to_bless.size %] <li> The account has been denied rights to bless the [%+ groups_denied_rights_to_bless.join(', ') FILTER html %] group[% 's' IF groups_denied_rights_to_bless.size > 1 %]. </li> [% END %] </ul> [% ELSE %] [% title = "User $otheruser.login not changed" %] You didn't request any changes to the user's account [%+ otheruser.login FILTER html %]. [% END %] [% ELSIF message_tag == "account_deleted" %] [% title = "User $otheruser.login deleted" %] The user account [% otheruser.login FILTER html %] has been deleted successfully. [% ELSIF message_tag == "attachment_creation_failed" %] The [% terms.bug %] was created successfully, but attachment creation failed. Please add your attachment by clicking the "Create a New Attachment" link below. [% ELSIF message_tag == "bug_confirmed_by_votes" %] *** This [% terms.bug %] has been confirmed by popular vote. *** [% ELSIF message_tag == "bug_duplicate_of" %] *** This [% terms.bug %] has been marked as a duplicate of [% terms.bug %] [%+ dupe_of FILTER html %] *** [% ELSIF message_tag == "bug_has_duplicate" %] *** [% terms.Bug %] [%+ dupe FILTER html %] has been marked as a duplicate of this [% terms.bug %]. *** [% ELSIF message_tag == "bug_moved_to" %] <p>[% terms.Bug %] moved to [% Param("move-to-url") FILTER html %].</p> <p>If the move succeeded, [% login FILTER html %] will receive a mail containing the number of the new [% terms.bug %] in the other database. If all went well, please mark this [% terms.bug %] verified, and paste in a link to the new [% terms.bug %]. Otherwise, reopen this [% terms.bug %]. [% ELSIF message_tag == "buglist_adding_field" %] [% title = "Adding field to search page..." %] [% link = "Click here if the page does not redisplay automatically." %] [% ELSIF message_tag == "buglist_updated_named_query" %] Your search named <code>[% queryname FILTER html %]</code> has been updated. [% ELSIF message_tag == "buglist_new_default_query" %] OK, you now have a new default search. You may also bookmark the result of any individual search. [% ELSIF message_tag == "buglist_new_named_query" %] OK, you have a new search named <code>[% queryname FILTER html %]</code>. [% ELSIF message_tag == "buglist_query_gone" %] [% title = "Search is gone" %] [% link = "Go back to the search page." %] OK, the <b>[% namedcmd FILTER html %]</b> search is gone. [% ELSIF message_tag == "buglist_sorted_by_relevance" %] [% terms.Bugs %] on this list are sorted by relevance, with the most relevant [% terms.bugs %] at the top. [% IF bugs.size == constants.FULLTEXT_BUGLIST_LIMIT %] Only the [% constants.FULLTEXT_BUGLIST_LIMIT FILTER html %] most relevant [% terms.bugs %] are shown. [% END %] [% ELSIF message_tag == "change_columns" %] [% title = "Change columns" %] Resubmitting your search with new columns... Click <a href="[% redirect_url FILTER html %]">here</a> if the page does not automatically refresh. [% ELSIF message_tag == "custom_field_created" %] [% title = "Custom Field Created" %] The new custom field '[% field.name FILTER html %]' has been successfully created. [% ELSIF message_tag == "custom_field_updated" %] [% title = "Custom Field Updated" %] Properties of the '[% field.name FILTER html %]' field have been successfully updated. [% ELSIF message_tag == "emailold_change_cancelled" %] [% title = "Cancel Request to Change Email Address" %] The request to change the email address for your account to [%+ new_email FILTER html %] has been canceled. [% ELSIF message_tag == "email_change_cancelled" %] [% title = "Cancel Request to Change Email Address" %] The request to change the email address for the account [%+ old_email FILTER html %] to [%+ new_email FILTER html %] has been canceled. [% ELSIF message_tag == "email_change_cancelled_reinstated" %] [% title = "Cancel Request to Change Email Address" %] The request to change the email address for the account [%+ old_email FILTER html %] to [%+ new_email FILTER html %] has been canceled. Your old account settings have been reinstated. [% ELSIF message_tag == "flag_creation_failed" %] [% title = "Flag Creation Failure" %] An error occured while validating flags: [%+ flag_creation_error FILTER none %] [% ELSIF message_tag == "logged_out" %] [% title = "Logged Out" %] [% url = "index.cgi?GoAheadAndLogIn=1" %] [% link = "Log in again." %] <b>Your login has been forgotten</b>. The cookie that was remembering your login is now gone. You will be prompted for a login the next time it is required. [% ELSIF message_tag == "login_changed" %] [% title = "$terms.Bugzilla Login Changed" %]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -