From 015931576330ddc48af77256268b7ffcb134427e Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 13 Feb 2014 13:12:14 -0800 Subject: [PATCH] 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 --- .../PhabricatorFeedStoryDifferential.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/applications/feed/story/PhabricatorFeedStoryDifferential.php b/src/applications/feed/story/PhabricatorFeedStoryDifferential.php index f6dc133804..20b6013608 100644 --- a/src/applications/feed/story/PhabricatorFeedStoryDifferential.php +++ b/src/applications/feed/story/PhabricatorFeedStoryDifferential.php @@ -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; } }