Differential D18693 Diff 44881 src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/xaction/PhabricatorCalendarEventInviteTransaction.php
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | public function getTitle() { | ||||
} else if (!$add && $rem) { | } else if (!$add && $rem) { | ||||
return pht( | return pht( | ||||
'%s uninvited %s attendee(s): %s.', | '%s uninvited %s attendee(s): %s.', | ||||
$this->renderAuthor(), | $this->renderAuthor(), | ||||
phutil_count($rem), | phutil_count($rem), | ||||
$this->renderHandleList($rem)); | $this->renderHandleList($rem)); | ||||
} else { | } else { | ||||
return pht( | return pht( | ||||
'%s invited %s attendee(s): %s; uninvinted %s attendee(s): %s.', | '%s invited %s attendee(s): %s; uninvited %s attendee(s): %s.', | ||||
$this->renderAuthor(), | $this->renderAuthor(), | ||||
phutil_count($add), | phutil_count($add), | ||||
$this->renderHandleList($add), | $this->renderHandleList($add), | ||||
phutil_count($rem), | phutil_count($rem), | ||||
$this->renderHandleList($rem)); | $this->renderHandleList($rem)); | ||||
} | } | ||||
} | } | ||||
Show All 12 Lines | if ($add && !$rem) { | ||||
'%s uninvited %s attendee(s) to %s: %s.', | '%s uninvited %s attendee(s) to %s: %s.', | ||||
$this->renderAuthor(), | $this->renderAuthor(), | ||||
phutil_count($rem), | phutil_count($rem), | ||||
$this->renderObject(), | $this->renderObject(), | ||||
$this->renderHandleList($rem)); | $this->renderHandleList($rem)); | ||||
} else { | } else { | ||||
return pht( | return pht( | ||||
'%s updated the invite list for %s, invited %s: %s; '. | '%s updated the invite list for %s, invited %s: %s; '. | ||||
'uninvinted %s: %s.', | 'uninvited %s: %s.', | ||||
$this->renderAuthor(), | $this->renderAuthor(), | ||||
$this->renderObject(), | $this->renderObject(), | ||||
phutil_count($add), | phutil_count($add), | ||||
$this->renderHandleList($add), | $this->renderHandleList($add), | ||||
phutil_count($rem), | phutil_count($rem), | ||||
$this->renderHandleList($rem)); | $this->renderHandleList($rem)); | ||||
} | } | ||||
} | } | ||||
Show All 12 Lines |