Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/herald/DiffusionAuditorsHeraldAction.php
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | protected function getActionEffectMap() { | ||||
| ); | ); | ||||
| } | } | ||||
| protected function renderActionEffectDescription($type, $data) { | protected function renderActionEffectDescription($type, $data) { | ||||
| switch ($type) { | switch ($type) { | ||||
| case self::DO_ADD_AUDITORS: | case self::DO_ADD_AUDITORS: | ||||
| return pht( | return pht( | ||||
| 'Added %s auditor(s): %s.', | 'Added %s auditor(s): %s.', | ||||
| new PhutilNumber(count($data)), | phutil_count($data), | ||||
| $this->renderHandleList($data)); | $this->renderHandleList($data)); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||