1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/metamta
vrana e84f9f9ec9 Send Differential e-mails in user's language
Summary:
Works this way:

- Select users' language with multiplexing.
- Select default language otherwise (it can be different from current user's language).
- Build body and subject for each user individually.
- Set the original language after sending the mails.

Test Plan:
- Comment on a diff of user with custom translation.
- Set default to a custom translation. Comment on a diff of user with default translation.
- Set default to a default translation. Comment on a diff of user with default translation.

Repeat with/without multiplexing.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1139

Differential Revision: https://secure.phabricator.com/D2774
2012-06-18 12:41:09 -07:00
..
__tests__ Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
adapter Minor, fix MailImplementationTestAdapter constructor. See D2706. 2012-06-14 05:50:15 -07:00
constants Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
contentsource Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
replyhandler Send Differential e-mails in user's language 2012-06-18 12:41:09 -07:00
storage Send Differential e-mails in user's language 2012-06-18 12:41:09 -07:00
PhabricatorMetaMTAEmailBodyParser.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorMetaMTAWorker.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00