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

Fix a transposed feed story in Badges

Summary: See <https://discourse.phabricator-community.org/t/badge-quality-from-and-to-interchanged-in-activity-log/987>. These are swapped.

Test Plan: Changed a badge quality, viewed feed story, saw it position the strings correctly.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18870
This commit is contained in:
epriestley 2018-01-16 11:01:29 -08:00
parent 82bfb98179
commit 3e983b583d

View file

@ -37,11 +37,11 @@ final class PhabricatorBadgesBadgeQualityTransaction
$new = $this->getQualityLabel($this->getNewValue());
return pht(
'%s updated %s quality from %s to %s.',
'%s updated the quality of %s from %s to %s.',
$this->renderAuthor(),
$this->renderObject(),
$new,
$old);
$old,
$new);
}
public function validateTransactions($object, array $xactions) {