Remove product literal strings in "pht()", part 6
[phabricator.git] / src / applications / differential / relationships / DifferentialRevisionHasCommitRelationship.php
blob2eeff330bc6f5bf7e92a7a0f429af41a9e778e22
1 <?php
3 final class DifferentialRevisionHasCommitRelationship
4 extends DifferentialRevisionRelationship {
6 const RELATIONSHIPKEY = 'revision.has-commit';
8 public function getEdgeConstant() {
9 return DifferentialRevisionHasCommitEdgeType::EDGECONST;
12 protected function getActionName() {
13 return pht('Edit Commits');
16 protected function getActionIcon() {
17 return 'fa-code';
20 public function canRelateObjects($src, $dst) {
21 return ($dst instanceof PhabricatorRepositoryCommit);
24 public function getDialogTitleText() {
25 return pht('Edit Related Commits');
28 public function getDialogHeaderText() {
29 return pht('Current Commits');
32 public function getDialogButtonText() {
33 return pht('Save Related Commits');
36 protected function newRelationshipSource() {
37 return new DiffusionCommitRelationshipSource();