diff options
Diffstat (limited to 'template/en/default/admin')
5 files changed, 88 insertions, 79 deletions
diff --git a/template/en/default/admin/flag-type/confirm-delete.html.tmpl b/template/en/default/admin/flag-type/confirm-delete.html.tmpl index 46522000b..6bf1ca43f 100644 --- a/template/en/default/admin/flag-type/confirm-delete.html.tmpl +++ b/template/en/default/admin/flag-type/confirm-delete.html.tmpl @@ -19,20 +19,22 @@ # Contributor(s): Myk Melez <myk@mozilla.org> #%] +[% PROCESS global/variables.none.tmpl %] + [%# Filter off the name here to be used multiple times below %] [% name = BLOCK %][% flag_type.name FILTER html %][% END %] -[% PROCESS global/header.html.tmpl - title = "Confirm Deletion of Flag Type '$name'" +[% PROCESS global/header.html.tmpl + title = "Confirm Deletion of Flag Type '$name'" %] <p> - There are [% flag_count %] flags of type [% name %]. - If you delete this type, those flags will also be deleted. Note that - instead of deleting the type you can + There are [% flag_count %] flags of type [% name %]. + If you delete this type, those flags will also be deleted. Note that + instead of deleting the type you can <a href="editflagtypes.cgi?action=deactivate&id=[% flag_type.id %]">deactivate it</a>, in which case the type and its flags will remain in the database - but will not appear in the Bugzilla UI. + but will not appear in the [% terms.Bugzilla %] UI. </p> <table> diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 157ad3592..a56c3bb65 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -19,6 +19,8 @@ # Contributor(s): Myk Melez <myk@mozilla.org> #%] +[% PROCESS global/variables.none.tmpl %] + [%# The javascript and header_html blocks get used in header.html.tmpl. %] [% javascript = BLOCK %] var usetms = 0; // do we have target milestone? @@ -26,7 +28,7 @@ var last_sel = []; // caches last selection var cpts = new Array(); [% FOREACH p = products %] - cpts['[% p FILTER js %]'] = [ + cpts['[% p FILTER js %]'] = [ [%- FOREACH item = components_by_product.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% END %] [% END %] @@ -36,9 +38,13 @@ [% END %] [% IF type.target_type == "bug" %] - [% title = "Create Flag Type for Bugs" %] + [% title = BLOCK %]Create Flag Type for [% terms.Bugs %][% END %] + [% typeLabelLowerPlural = BLOCK %][% terms.bugs %][% END %] + [% typeLabelLowerSingular = BLOCK %][% terms.bug %][% END %] [% ELSE %] [% title = "Create Flag Type for Attachments" %] + [% typeLabelLowerPlural = BLOCK %]attachments[% END %] + [% typeLabelLowerSingular = BLOCK %]attachment[% END %] [% END %] [% IF last_action == "copy" %] @@ -47,7 +53,7 @@ [% title = "Edit Flag Type $type.name" %] [% END %] -[% PROCESS global/header.html.tmpl +[% PROCESS global/header.html.tmpl title = title style = " table#form th { text-align: right; vertical-align: baseline; white-space: nowrap; } @@ -66,13 +72,13 @@ [% FOREACH category = type.exclusions %] <input type="hidden" name="exclusions" value="[% category %]"> [% END %] - + <table id="form" cellspacing="0" cellpadding="4" border="0"> <tr> <th>Name:</th> <td> a short name identifying this type<br> - <input type="text" name="name" value="[% type.name FILTER html %]" + <input type="text" name="name" value="[% type.name FILTER html %]" size="50" maxlength="50"> </td> </tr> @@ -84,12 +90,13 @@ <textarea name="description" rows="4" cols="80">[% type.description FILTER html %]</textarea> </td> </tr> - + <tr> <th>Category:</th> + <td> - the products/components to which [% type.target_type %]s must - (inclusions) or must not (exclusions) belong in order for users + the products/components to which [% typeLabelLowerPlural %] must + (inclusions) or must not (exclusions) belong in order for users to be able to set flags of this type for them <table> <tr> @@ -124,11 +131,11 @@ </table> </td> </tr> - + <tr> <th>Sort Key:</th> <td> - a number between 1 and 32767 by which this type will be sorted + a number between 1 and 32767 by which this type will be sorted when displayed to users in a list; ignore if you don't care what order the types appear in or if you want them to appear in alphabetical order<br> @@ -147,7 +154,7 @@ <tr> <th> </th> <td> - <input type="checkbox" name="is_requestable" [% "checked" IF type.is_requestable || !type.is_requestable.defined %]> + <input type="checkbox" name="is_requestable" [% "checked" IF type.is_requestable || !type.is_requestable.defined %]> requestable (users can ask for flags of this type to be set) </td> </tr> @@ -159,11 +166,11 @@ <input type="text" name="cc_list" value="[% type.cc_list FILTER html %]" size="80" maxlength="200"> </td> </tr> - + <tr> <th> </th> <td> - <input type="checkbox" name="is_requesteeble" [% "checked" IF type.is_requesteeble || !type.is_requesteeble.defined %]> + <input type="checkbox" name="is_requesteeble" [% "checked" IF type.is_requesteeble || !type.is_requesteeble.defined %]> specifically requestable (users can ask specific other users to set flags of this type as opposed to just asking the wind) </td> </tr> @@ -172,7 +179,7 @@ <th> </th> <td> <input type="checkbox" name="is_multiplicable" [% "checked" IF type.is_multiplicable || !type.is_multiplicable.defined %]> - multiplicable (multiple flags of this type can be set on the same [% type.target_type %]) + multiplicable (multiple flags of this type can be set on the same [% typeLabelLowerSingular %]) </td> </tr> diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index 43fbf8d56..0e3306d27 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -19,7 +19,9 @@ # Contributor(s): Myk Melez <myk@mozilla.org> #%] -[% PROCESS global/header.html.tmpl +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl title = 'Administer Flag Types' style = " table#flag_types tr th { text-align: left; } @@ -28,7 +30,7 @@ %] <p> - Flags are markers that identify whether a bug or attachment has been granted + Flags are markers that identify whether [% terms.abug %] or attachment has been granted or denied some status. Flags appear in the UI as a name and a status symbol ("+" for granted, "-" for denied, and "?" for statuses requested by users). </p> @@ -40,13 +42,13 @@ either the string "review+" or the string "review-" will appear in the patch, depending on whether the patch passed or failed review. </p> - -<h3>Flag Types for Bugs</h3> + +<h3>Flag Types for [% terms.Bugs %]</h3> [% PROCESS display_flag_types types=bug_types %] <p> - <a href="editflagtypes.cgi?action=enter&target_type=bug">Create Flag Type for Bugs</a> + <a href="editflagtypes.cgi?action=enter&target_type=bug">Create Flag Type for [% terms.Bugs %]</a> </p> <h3>Flag Types for Attachments</h3> @@ -63,8 +65,8 @@ { if (count > 0) { var msg = 'There are ' + count + ' flags of type ' + name + '. ' + - 'If you delete this type, those flags will also be ' + - 'deleted.\n\nNote: to deactivate the type instead ' + + 'If you delete this type, those flags will also be ' + + 'deleted.\n\nNote: to deactivate the type instead ' + 'of deleting it, edit it and uncheck its "is active" ' + 'flag.\n\nDo you really want to delete this flag type?'; if (!confirm(msg)) return false; @@ -95,12 +97,12 @@ <td>[% type.description FILTER html %]</td> <td> <a href="editflagtypes.cgi?action=copy&id=[% type.id %]">Copy</a> - | <a href="editflagtypes.cgi?action=confirmdelete&id=[% type.id %]" - onclick="return confirmDelete([% type.id %], '[% type.name FILTER js %]', + | <a href="editflagtypes.cgi?action=confirmdelete&id=[% type.id %]" + onclick="return confirmDelete([% type.id %], '[% type.name FILTER js %]', [% type.flag_count %]);">Delete</a> </td> </tr> - + [% END %] </table> diff --git a/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl b/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl index cf8fcca9c..8dfb97230 100644 --- a/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl +++ b/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl @@ -17,29 +17,30 @@ # Rights Reserved. # # Contributor(s): Joel Peshkin <bugreport@peshkin.net> - # + # #%] - +[% PROCESS global/variables.none.tmpl %] [% PROCESS global/header.html.tmpl title="Confirm Group Control Change for product \'$product\'" %] [% FOREACH group = mandatory_groups %] <P> -group '[% group.name FILTER html %]' impacts [% group.count %] bugs for which the group is -newly mandatory and will be added. +group '[% group.name FILTER html %]' impacts [% group.count %] [% terms.bugs %] for +which the group is newly mandatory and will be added. [% END %] [% FOREACH group = na_groups %] <P> -group '[% group.name FILTER html %]' impacts [% group.count %] bugs for which the group is no longer applicable and will be removed. -[% END %] +group '[% group.name FILTER html %]' impacts [% group.count %] +[% terms.bugs %] for which the group is no longer applicable and will +be removed.[% END %] <form method="post" > [% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %] <br> - Click "Continue" to proceed with the change including the changes + Click "Continue" to proceed with the change including the changes indicated above. If you do not want these changes, use "back" to return to the previous page. <p> diff --git a/template/en/default/admin/products/groupcontrol/edit.html.tmpl b/template/en/default/admin/products/groupcontrol/edit.html.tmpl index 11bb99de5..bc6ce11b4 100644 --- a/template/en/default/admin/products/groupcontrol/edit.html.tmpl +++ b/template/en/default/admin/products/groupcontrol/edit.html.tmpl @@ -19,16 +19,17 @@ # Contributor(s): Joel Peshkin <bugreport@peshkin.net> #%] +[% PROCESS global/variables.none.tmpl %] [% filt_product = product FILTER html %] -[% PROCESS global/header.html.tmpl +[% PROCESS global/header.html.tmpl title = "Edit Group Controls for '$filt_product'" %] <form method="post" action="editproducts.cgi"> <input type="hidden" name="action" value="updategroupcontrols"> <input type="hidden" name="product" value="[% filt_product %]"> - + <table id="form" cellspacing="0" cellpadding="4" border="1"> <tr bgcolor="#6666ff"> <th>Group</th> @@ -36,7 +37,7 @@ <th>MemberControl</th> <th>OtherControl</th> <th>Canedit</th> - <th>Bugs</th> + <th>[% terms.Bugs %]</th> </tr> [% FOREACH group = groups %] [% IF group.isactive == 0 AND group.bugcount > 0 %] @@ -63,22 +64,22 @@ <td> <select name="membercontrol_[% group.id %]"> <option value=[% const.CONTROLMAPNA %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.membercontrol == const.CONTROLMAPNA %] >NA </option> <option value=[% const.CONTROLMAPSHOWN %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.membercontrol == const.CONTROLMAPSHOWN %] >Shown </option> <option value=[% const.CONTROLMAPDEFAULT %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.membercontrol == const.CONTROLMAPDEFAULT %] >Default </option> <option value=[% const.CONTROLMAPMANDATORY %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.membercontrol == const.CONTROLMAPMANDATORY %] >Mandatory </option> @@ -87,22 +88,22 @@ <td> <select name="othercontrol_[% group.id %]"> <option value=[% const.CONTROLMAPNA %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.othercontrol == const.CONTROLMAPNA %] >NA </option> <option value=[% const.CONTROLMAPSHOWN %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.othercontrol == const.CONTROLMAPSHOWN %] >Shown </option> <option value=[% const.CONTROLMAPDEFAULT %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.othercontrol == const.CONTROLMAPDEFAULT %] >Default </option> <option value=[% const.CONTROLMAPMANDATORY %] - [% " selected=\"selected\"" + [% " selected=\"selected\"" IF group.othercontrol == const.CONTROLMAPMANDATORY %] >Mandatory </option> @@ -131,7 +132,7 @@ These settings control the relationship of the groups to this product. <p> If any group has <b>Entry</b> selected, then this product will -restrict bug entry to only those users who are members of all the +restrict [% terms.bug %] entry to only those users who are members of all the groups with entry selected. <p> If any group has <b>Canedit</b> selected, then this product @@ -141,7 +142,7 @@ all the canedit groups will be able to edit. This is an additional restriction that further restricts what can be edited by a user. <p> The <b>MemberControl</b> and <b>OtherControl</b> fields -indicate which bugs will be placed in +indicate which [% terms.bugs %] will be placed in this group according to the following definitions. <br> <table border=1> @@ -164,7 +165,7 @@ this group according to the following definitions. NA </td> <td> - Bugs in this product are never associated with this group. + [% terms.Bugs %] in this product are never associated with this group. </td> </tr> <tr> @@ -175,9 +176,9 @@ this group according to the following definitions. NA </td> <td> - Bugs in this product are permitted to be restricted to this - group. Users who are a member of this group will be able - to place bugs in this group. + [% terms.Bugs %] in this product are permitted to be restricted to this + group. Users who are a member of this group will be able to place [% terms.bugs %] in + this group. </td> </tr> <tr> @@ -188,8 +189,8 @@ this group according to the following definitions. Shown </td> <td> - Bugs in this product can be placed in this group by anyone - with permission to edit the bug even if they are not a member + [% terms.Bugs %] in this product can be placed in this group by anyone + with permission to edit the [% terms.bug %] even if they are not a member of this group. </td> </tr> @@ -201,9 +202,9 @@ this group according to the following definitions. Default </td> <td> - Bugs in this product can be placed in this group by anyone - with permission to edit the bug even if they are not a member - of this group. Non-members place bugs in this group by default. + [% terms.Bugs %] in this product can be placed in this group by anyone + with permission to edit the [% terms.bug %] even if they are not a member + of this group. Non-members place [% terms.bugs %] in this group by default. </td> </tr> <tr> @@ -214,11 +215,10 @@ this group according to the following definitions. Mandatory </td> <td> - Bugs in this product are permitted to be restricted to this - group. Users who are a member of this group will be able - to place bugs in this group. - Non-members will be forced to restrict bugs to this group - when they initially enter a bug in this product. + [% terms.Bugs %] in this product are permitted to be restricted to this + group. Users who are a member of this group will be able to place [% terms.bugs %] + in this group. Non-members will be forced to restrict [% terms.bugs %] to + this group when they initially enter [% terms.abug %] in this product. </td> </tr> <tr> @@ -229,10 +229,9 @@ this group according to the following definitions. NA </td> <td> - Bugs in this product are permitted to be restricted to this - group and are placed in this group by default. - Users who are a member of this group will be able - to place bugs in this group. + [% terms.Bugs %] in this product are permitted to be restricted to this + group and are placed in this group by default. Users who are a member of this + group will be able to place [% terms.bugs %] in this group. </td> </tr> <tr> @@ -243,11 +242,10 @@ this group according to the following definitions. Default </td> <td> - Bugs in this product are permitted to be restricted to this - group and are placed in this group by default. - Users who are a member of this group will be able - to place bugs in this group. Non-members will be able to - restrict bugs to this group on entry and will do so by default + [% terms.Bugs %] in this product are permitted to be restricted to this + group and are placed in this group by default. Users who are a member of this group + will be able to place [% terms.bugs %] in this group. Non-members will be + able to restrict [% terms.bugs %] to this group on entry and will do so by default </td> </tr> <tr> @@ -258,11 +256,10 @@ this group according to the following definitions. Mandatory </td> <td> - Bugs in this product are permitted to be restricted to this - group and are placed in this group by default. - Users who are a member of this group will be able - to place bugs in this group. Non-members will be forced - to place bugs in this group on entry. + [% terms.Bugs %] in this product are permitted to be restricted to this + group and are placed in this group by default. Users who are a member of this group + will be able to place [% terms.bugs %] in this group. Non-members will be forced + to place [% terms.bugs %] in this group on entry. </td> </tr> <tr> @@ -273,7 +270,7 @@ this group according to the following definitions. Mandatory </td> <td> - Bugs in this product are required to be restricted to this + [% terms.Bugs %] in this product are required to be restricted to this group. Users are not given any option. </td> </tr> |