1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Fix project stories.

Summary: Fix missed %s

Test Plan: Load up feed.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D6692
This commit is contained in:
Chad Little 2013-08-06 21:01:20 -07:00
parent 6775005bad
commit 1ab7622edf

View file

@ -39,14 +39,14 @@ final class PhabricatorFeedStoryProject extends PhabricatorFeedStory {
case PhabricatorProjectTransactionType::TYPE_NAME:
if (strlen($old)) {
$action = pht(
'% renamed project %s from %s to %s.',
'%s renamed project %s from %s to %s.',
$author_link,
$this->linkTo($proj_phid),
$this->renderString($old),
$this->renderString($new));
} else {
$action = pht(
'% created project %s (as %s).',
'%s created project %s (as %s).',
$author_link,
$this->linkTo($proj_phid),
$this->renderString($new));
@ -69,7 +69,7 @@ final class PhabricatorFeedStoryProject extends PhabricatorFeedStory {
if ((count($add) == 1) && (count($rem) == 0) &&
(head($add) == $author_phid)) {
$action = pht(
'% joined project %s.',
'%s joined project %s.',
$author_link,
$this->linkTo($proj_phid));
} else if ((count($add) == 0) && (count($rem) == 1) &&