mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Provide tailored strings for revision creation
Summary: See D17169. Ref T11114. Test Plan: {F2333825} Reviewers: chad Reviewed By: chad Maniphest Tasks: T11114 Differential Revision: https://secure.phabricator.com/D17170
This commit is contained in:
parent
11f3a8cfca
commit
00e2755eab
1 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,14 @@ final class DifferentialTransactionEditor
|
|||
return pht('Differential Revisions');
|
||||
}
|
||||
|
||||
public function getCreateObjectTitle($author, $object) {
|
||||
return pht('%s created this revision.', $author);
|
||||
}
|
||||
|
||||
public function getCreateObjectTitleForFeed($author, $object) {
|
||||
return pht('%s created %s.', $author, $object);
|
||||
}
|
||||
|
||||
public function getDiffUpdateTransaction(array $xactions) {
|
||||
$type_update = DifferentialTransaction::TYPE_UPDATE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue