Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/editor/PhabricatorPasteEditEngine.php
Show All 33 Lines | protected function getObjectEditShortText($object) { | ||||
return $object->getMonogram(); | return $object->getMonogram(); | ||||
} | } | ||||
protected function getObjectCreateShortText() { | protected function getObjectCreateShortText() { | ||||
return pht('Create Paste'); | return pht('Create Paste'); | ||||
} | } | ||||
protected function getCommentViewHeaderText($object) { | protected function getCommentViewHeaderText($object) { | ||||
$is_serious = PhabricatorEnv::getEnvConfig('phabricator.serious-business'); | |||||
if (!$is_serious) { | |||||
return pht('Eat Paste'); | return pht('Eat Paste'); | ||||
} | } | ||||
return parent::getCommentViewHeaderText($object); | protected function getCommentViewButtonText($object) { | ||||
return pht('Nom Nom Nom Nom Nom'); | |||||
} | } | ||||
protected function getObjectViewURI($object) { | protected function getObjectViewURI($object) { | ||||
return '/P'.$object->getID(); | return '/P'.$object->getID(); | ||||
} | } | ||||
protected function buildCustomEditFields($object) { | protected function buildCustomEditFields($object) { | ||||
$langs = array( | $langs = array( | ||||
Show All 35 Lines |