mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
Add some missing text for Differential inline transactions
Summary: Ref T2222. Add inline and default text. Test Plan: Feed works again. Reviewers: chad, btrahan Reviewed By: chad CC: aran Maniphest Tasks: T2222 Differential Revision: https://secure.phabricator.com/D8218
This commit is contained in:
parent
348b07a4be
commit
0159315763
1 changed files with 24 additions and 0 deletions
|
@ -117,6 +117,14 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
|
|||
$one_line = pht('%s reopened revision %s',
|
||||
$actor_link, $revision_link);
|
||||
break;
|
||||
case DifferentialTransaction::TYPE_INLINE:
|
||||
$one_line = pht('%s added inline comments to %s',
|
||||
$actor_link, $revision_link);
|
||||
break;
|
||||
default:
|
||||
$one_line = pht('%s edited %s',
|
||||
$actor_link, $revision_link);
|
||||
break;
|
||||
}
|
||||
|
||||
return $one_line;
|
||||
|
@ -200,6 +208,14 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
|
|||
$one_line = pht('%s reopened revision %s %s',
|
||||
$author_name, $revision_title, $revision_uri);
|
||||
break;
|
||||
case DifferentialTransaction::TYPE_INLINE:
|
||||
$one_line = pht('%s added inline comments to %s %s',
|
||||
$author_name, $revision_title, $revision_uri);
|
||||
break;
|
||||
default:
|
||||
$one_line = pht('%s edited %s %s',
|
||||
$author_name, $revision_title, $revision_uri);
|
||||
break;
|
||||
}
|
||||
|
||||
return $one_line;
|
||||
|
@ -308,6 +324,14 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
|
|||
$title = pht('%s reopened revision %s',
|
||||
$author_name, $revision_name);
|
||||
break;
|
||||
case DifferentialTransaction::TYPE_INLINE:
|
||||
$title = pht('%s added inline comments to %s',
|
||||
$author_name, $revision_name);
|
||||
break;
|
||||
default:
|
||||
$title = pht('%s edited revision %s',
|
||||
$author_name, $revision_name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue