Remove product literal strings in "pht()", part 18
[phabricator.git] / src / applications / project / editor / PhabricatorProjectTriggerEditor.php
blob9014fd6f16b76ba8d06b5a32dda1ba05714c8715
1 <?php
3 final class PhabricatorProjectTriggerEditor
4 extends PhabricatorApplicationTransactionEditor {
6 public function getEditorApplicationClass() {
7 return 'PhabricatorProjectApplication';
10 public function getEditorObjectsDescription() {
11 return pht('Triggers');
14 public function getCreateObjectTitle($author, $object) {
15 return pht('%s created this trigger.', $author);
18 public function getCreateObjectTitleForFeed($author, $object) {
19 return pht('%s created %s.', $author, $object);
22 public function getTransactionTypes() {
23 $types = parent::getTransactionTypes();
25 $types[] = PhabricatorTransactions::TYPE_EDIT_POLICY;
27 return $types;
30 protected function supportsSearch() {
31 return true;