Differential D16488 Diff 39670 src/applications/calendar/xaction/PhabricatorCalendarEventAllDayTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/xaction/PhabricatorCalendarEventAllDayTransaction.php
Show All 18 Lines | final class PhabricatorCalendarEventAllDayTransaction | ||||
public function getTitle() { | public function getTitle() { | ||||
if ($this->getNewValue()) { | if ($this->getNewValue()) { | ||||
return pht( | return pht( | ||||
'%s changed this as an all day event.', | '%s changed this as an all day event.', | ||||
$this->renderAuthor()); | $this->renderAuthor()); | ||||
} else { | } else { | ||||
return pht( | return pht( | ||||
'%s conveted this from an all day event.', | '%s converted this from an all day event.', | ||||
$this->renderAuthor()); | $this->renderAuthor()); | ||||
} | } | ||||
} | } | ||||
public function getTitleForFeed() { | public function getTitleForFeed() { | ||||
if ($this->getNewValue()) { | if ($this->getNewValue()) { | ||||
return pht( | return pht( | ||||
'%s changed %s to an all day event.', | '%s changed %s to an all day event.', | ||||
Show All 11 Lines |