Differential D14073 Diff 34742 src/applications/metamta/herald/PhabricatorMetaMTAEmailHeraldAction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/metamta/herald/PhabricatorMetaMTAEmailHeraldAction.php
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | protected function getActionEffectMap() { | ||||
| ); | ); | ||||
| } | } | ||||
| protected function renderActionEffectDescription($type, $data) { | protected function renderActionEffectDescription($type, $data) { | ||||
| switch ($type) { | switch ($type) { | ||||
| case self::DO_SEND: | case self::DO_SEND: | ||||
| return pht( | return pht( | ||||
| 'Queued email to be delivered to %s target(s): %s.', | 'Queued email to be delivered to %s target(s): %s.', | ||||
| new PhutilNumber(count($data)), | phutil_count($data), | ||||
| $this->renderHandleList($data)); | $this->renderHandleList($data)); | ||||
| case self::DO_FORCE: | case self::DO_FORCE: | ||||
| return pht( | return pht( | ||||
| 'Queued email to be delivered to %s target(s), ignoring their '. | 'Queued email to be delivered to %s target(s), ignoring their '. | ||||
| 'notification preferences: %s.', | 'notification preferences: %s.', | ||||
| new PhutilNumber(count($data)), | phutil_count($data), | ||||
| $this->renderHandleList($data)); | $this->renderHandleList($data)); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||