1
0
Fork 0
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:
epriestley 2014-02-13 13:12:14 -08:00
parent 348b07a4be
commit 0159315763

View file

@ -117,6 +117,14 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
$one_line = pht('%s reopened revision %s', $one_line = pht('%s reopened revision %s',
$actor_link, $revision_link); $actor_link, $revision_link);
break; 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; return $one_line;
@ -200,6 +208,14 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
$one_line = pht('%s reopened revision %s %s', $one_line = pht('%s reopened revision %s %s',
$author_name, $revision_title, $revision_uri); $author_name, $revision_title, $revision_uri);
break; 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; return $one_line;
@ -308,6 +324,14 @@ final class PhabricatorFeedStoryDifferential extends PhabricatorFeedStory {
$title = pht('%s reopened revision %s', $title = pht('%s reopened revision %s',
$author_name, $revision_name); $author_name, $revision_name);
break; 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;
} }
} }