Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/editor/AlmanacInterfaceEditor.php
| <?php | <?php | ||||
| final class AlmanacInterfaceEditor | final class AlmanacInterfaceEditor | ||||
| extends PhabricatorApplicationTransactionEditor { | extends AlmanacEditor { | ||||
| public function getEditorApplicationClass() { | |||||
| return 'PhabricatorAlmanacApplication'; | |||||
| } | |||||
| public function getEditorObjectsDescription() { | public function getEditorObjectsDescription() { | ||||
| return pht('Almanac Interface'); | return pht('Almanac Interface'); | ||||
| } | } | ||||
| public function getCreateObjectTitle($author, $object) { | public function getCreateObjectTitle($author, $object) { | ||||
| return pht('%s created this interface.', $author); | return pht('%s created this interface.', $author); | ||||
| } | } | ||||
| public function getCreateObjectTitleForFeed($author, $object) { | public function getCreateObjectTitleForFeed($author, $object) { | ||||
| return pht('%s created %s.', $author, $object); | return pht('%s created %s.', $author, $object); | ||||
| } | } | ||||
| } | } | ||||