summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/prefs
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/account/prefs')
-rw-r--r--template/en/default/account/prefs/email.html.tmpl66
-rw-r--r--template/en/default/account/prefs/footer.html.tmpl36
-rw-r--r--template/en/default/account/prefs/permissions.html.tmpl22
3 files changed, 67 insertions, 57 deletions
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl
index 8bbb62dfc..fa6295e72 100644
--- a/template/en/default/account/prefs/email.html.tmpl
+++ b/template/en/default/account/prefs/email.html.tmpl
@@ -21,19 +21,21 @@
#%]
[%# INTERFACE:
- # watchedusers: string.
+ # watchedusers: string.
# Comma-separated list of email addresses this user watches.
# excludeself: boolean.
# True if user is not receiving self-generated mail.
- # <rolename>: Multiple hashes, one for each rolename (e.g. owner; see
- # below), keyed by reasonname (e.g. comments; again, see
- # below). The value is a boolean - true if the user is
+ # <rolename>: Multiple hashes, one for each rolename (e.g. owner; see
+ # below), keyed by reasonname (e.g. comments; again, see
+ # below). The value is a boolean - true if the user is
# receiving mail for that reason when in that role.
# Also references the 'supportwatchers' Param.
#%]
+[% PROCESS global/variables.none.tmpl %]
+
[% useqacontact = Param('useqacontact') %]
-
+
<table>
[% IF Param('supportwatchers') %]
<tr>
@@ -45,8 +47,8 @@
<tr>
<td colspan="4">
If you want to help cover for someone when they're on vacation, or if
- you need to do the QA related to all of their bugs, you can tell
- Bugzilla to send mail related to their bugs to you also. List the
+ you need to do the QA related to all of their [% terms.bugs %], you can tell
+ [% terms.Bugzilla %] to send mail related to their [% terms.bugs %] to you also. List the
email addresses of any users you wish to watch here, separated by
commas.
</td>
@@ -64,7 +66,7 @@
<td colspan="2">
<p>
If you don't like getting a notification for "trivial"
- changes to bugs, you can use the settings below to
+ changes to [% terms.bugs %], you can use the settings below to
filter some (or even all) notifications.
</p>
</td>
@@ -138,7 +140,7 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
<table width="100%" border="1">
<tr>
<td colspan="[% useqacontact ? '5' : '4' %]" align="center" width="50%">
- <b>When my relationship to this bug is:</b>
+ <b>When my relationship to this [% terms.bug %] is:</b>
</td>
<td rowspan="2" width="50%">
<b>I want to receive mail when:</b>
@@ -165,28 +167,32 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
</td>
</tr>
- [% FOREACH reason = [
- { name = 'Removeme',
- description = 'I\'m added to or removed from this capacity' },
- { name = 'Comments',
- description = 'New Comments are added' },
- { name = 'Attachments',
- description = 'New Attachments are added' },
- { name = 'Status',
- description = 'Priority, status, severity, and/or milestone changes' },
- { name = 'Resolved',
- description = 'The bug is resolved or verified' },
- { name = 'Keywords',
- description = 'Keywords field changes' },
- { name = 'CC',
- description = 'CC field changes' },
- { name = 'Other',
- description = 'Any field not mentioned above changes' },
- { name = 'Unconfirmed',
- description = 'The bug is in the unconfirmed state' },
+[% bugLabelLower = BLOCK %]
+[% terms.bug %]
+[% END %]
+
+ [% FOREACH reason = [
+ { name = 'Removeme',
+ description = "I'm added to or removed from this capacity" },
+ { name = 'Comments',
+ description = "New Comments are added" },
+ { name = 'Attachments',
+ description = "New Attachments are added" },
+ { name = 'Status',
+ description = "Priority, status, severity, and/or milestone changes" },
+ { name = 'Resolved',
+ description = "The ${bugLabelLower} is resolved or verified" },
+ { name = 'Keywords',
+ description = "Keywords field changes" },
+ { name = 'CC',
+ description = "CC field changes" },
+ { name = 'Other',
+ description = "Any field not mentioned above changes" },
+ { name = 'Unconfirmed',
+ description = "The ${bugLabelLower} is in the unconfirmed state" },
] %]
<tr>
- [% FOREACH role = [ "Reporter", "Owner", "QAcontact", "CClist", "Voter" ]
+ [% FOREACH role = [ "Reporter", "Owner", "QAcontact", "CClist", "Voter" ]
%]
[% NEXT IF role == "QAcontact" AND NOT useqacontact %]
<td align="center">
@@ -199,6 +205,6 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
</td>
</tr>
[% END %]
-</table>
+</table>
<br>
diff --git a/template/en/default/account/prefs/footer.html.tmpl b/template/en/default/account/prefs/footer.html.tmpl
index 77ebd1e3a..87728b16a 100644
--- a/template/en/default/account/prefs/footer.html.tmpl
+++ b/template/en/default/account/prefs/footer.html.tmpl
@@ -20,25 +20,27 @@
#%]
[%# INTERFACE:
- # mybugslink: boolean. True if the user wishes the My Bugs link to appear.
+ # mybugslink: boolean. True if the user wishes the My Bugs link to appear.
# queries: array of hashes. May be empty. Each hash has two members:
# name: string. The name of the query.
# footer: boolean. True if the query appears in the footer.
#%]
-
+
+[% PROCESS global/variables.none.tmpl %]
+
<table>
<tr>
- <th align="right">The 'My bugs' link:</th>
+ <th align="right">The 'My [% terms.bugs %]' link:</th>
<td>
<select name="mybugslink">
- <option value="1">should appear on the footer of every page</option>
- <option value="0"
+ <option value="1">should appear on the footer of every page</option>
+ <option value="0"
[% " selected" IF NOT mybugslink %]>should not be displayed
- </option>
+ </option>
</select>
</td>
- </tr>
-
+ </tr>
+
<input type="hidden" name="numqueries" value="[% queries.size %]">
[% IF queries.size %]
[% FOREACH query = queries %]
@@ -46,31 +48,31 @@
<th align="right">Your query named '[% query.name FILTER html %]':</th>
<td>
<select name="query-[% loop.index %]">
- <option value="0">should only appear in the query page</option>
- <option value="1"
+ <option value="0">should only appear in the query page</option>
+ <option value="1"
[% " selected" IF query.footer %]>
should appear on the footer of every page
- </option>
+ </option>
</select>
</td>
</tr>
- <input type="hidden" name="name-[% loop.index %]"
+ <input type="hidden" name="name-[% loop.index %]"
value="[% query.name FILTER html %]">
[% END %]
[% ELSE %]
<tr>
<td colspan="4">
- <br>
- If you create remembered queries using the
+ <br>
+ If you create remembered queries using the
<a href="query.cgi">query page</a>,
- you can then come to this page and choose to have some of them
- appear in the footer of each Bugzilla page.
+ you can then come to this page and choose to have some of them
+ appear in the footer of each [% terms.Bugzilla %] page.
<br>
<br>
</td>
</tr>
[% END %]
-
+
</table>
diff --git a/template/en/default/account/prefs/permissions.html.tmpl b/template/en/default/account/prefs/permissions.html.tmpl
index cd516e769..0575bbad4 100644
--- a/template/en/default/account/prefs/permissions.html.tmpl
+++ b/template/en/default/account/prefs/permissions.html.tmpl
@@ -21,20 +21,22 @@
[%# INTERFACE:
# has_bits: array of hashes. May be empty.
- # name => Names of the permissions the user has.
- # desc => Descriptions of the permissions the user has.
- # set_bits: array of hashes. May be empty.
- # name => Names of the permissions the user can set for
+ # name => Names of the permissions the user has.
+ # desc => Descriptions of the permissions the user has.
+ # set_bits: array of hashes. May be empty.
+ # name => Names of the permissions the user can set for
# other people.
- # desc => Descriptions of the permissions the user can set for
+ # desc => Descriptions of the permissions the user can set for
# other people.
#%]
-
+
+[% PROCESS global/variables.none.tmpl %]
+
<table align="center">
<tr>
<td>
[% IF has_bits.size %]
- You have the following permission bits set on your account:
+ You have the following permission [% terms.bits %] set on your account:
<p>
<br>
<table align="center">
@@ -46,16 +48,16 @@
[% END %]
</table>
[% ELSE %]
- There are no permission bits set on your account.
+ There are no permission [% terms.bits %] set on your account.
[% END %]
[% IF user.groups.editusers %]
<br>
- You have editusers privileges. You can turn on and off
+ You have editusers privileges. You can turn on and off
all permissions for all users.
[% ELSIF set_bits.size %]
<br>
- And you can turn on or off the following bits for
+ And you can turn on or off the following [% terms.bits %] for
<a href="editusers.cgi">other users</a>:
<p>
<table align="center">