summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-21 07:01:16 +0200
committermkanat%bugzilla.org <>2006-09-21 07:01:16 +0200
commita8bedefe8cdb05c5895964cd5617f1bdfa36680b (patch)
tree32772e43691403eb9125b3453c9ee561e85b79f0 /template
parentc6433b10999a9bfe1f26bea4deaba11db3251fc0 (diff)
downloadbugzilla-a8bedefe8cdb05c5895964cd5617f1bdfa36680b.tar.gz
bugzilla-a8bedefe8cdb05c5895964cd5617f1bdfa36680b.tar.xz
Bug 352625: "You are receiving this mail because" messages cannot be localized
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=myk, a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/email/newchangedmail.txt.tmpl31
1 files changed, 29 insertions, 2 deletions
diff --git a/template/en/default/email/newchangedmail.txt.tmpl b/template/en/default/email/newchangedmail.txt.tmpl
index 2ae08d538..56b7636ad 100644
--- a/template/en/default/email/newchangedmail.txt.tmpl
+++ b/template/en/default/email/newchangedmail.txt.tmpl
@@ -43,5 +43,32 @@ X-Bugzilla-Changed-Fields: [% changedfields %]
--
Configure bugmail: [% Param('urlbase') %]userprefs.cgi?tab=email
-[%+ reasonsbody %]
-
+------- You are receiving this mail because: -------
+[% FOREACH relationship = reasons %]
+ [% SWITCH relationship %]
+ [% CASE constants.REL_ASSIGNEE %]
+You are the assignee for the [% terms.bug %].
+ [% CASE constants.REL_REPORTER %]
+You reported the [% terms.bug %].
+ [% CASE constants.REL_QA %]
+You are the QA contact for the [% terms.bug %].
+ [% CASE constants.REL_CC %]
+You are on the CC list for the [% terms.bug %].
+ [% CASE constants.REL_VOTER %]
+You are a voter for the [% terms.bug %].
+ [% END %]
+[% END %]
+[% FOREACH relationship = reasons_watch %]
+ [% SWITCH relationship %]
+ [% CASE constants.REL_ASSIGNEE %]
+You are watching the assignee of the [% terms.bug %].
+ [% CASE constants.REL_REPORTER %]
+You watching the reporter.
+ [% CASE constants.REL_QA %]
+You are watching the QA contact of the [% terms.bug %].
+ [% CASE constants.REL_CC %]
+You are watching someone on the CC list of the [% terms.bug %].
+ [% CASE constants.REL_VOTER %]
+You are watching a voter for the [% terms.bug %].
+ [% END %]
+[% END %]