mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 19:22:42 +01:00
Update a handful of missed HarbormasterBuildableStatus constants
Summary: See <https://discourse.phabricator-community.org/t/exception-undefined-class-status-building/1103>. Test Plan: Used `grep` more carefully. Differential Revision: https://secure.phabricator.com/D19068
This commit is contained in:
parent
11c9994134
commit
894e9dd852
1 changed files with 5 additions and 5 deletions
|
@ -1236,21 +1236,21 @@ abstract class PhabricatorApplicationTransaction
|
||||||
}
|
}
|
||||||
case PhabricatorTransactions::TYPE_BUILDABLE:
|
case PhabricatorTransactions::TYPE_BUILDABLE:
|
||||||
switch ($this->getNewValue()) {
|
switch ($this->getNewValue()) {
|
||||||
case HarbormasterBuildable::STATUS_BUILDING:
|
case HarbormasterBuildableStatus::STATUS_BUILDING:
|
||||||
return pht(
|
return pht(
|
||||||
'%s started building %s for %s.',
|
'%s started building %s for %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
$this->renderHandleLink(
|
$this->renderHandleLink(
|
||||||
$this->getMetadataValue('harbormaster:buildablePHID')),
|
$this->getMetadataValue('harbormaster:buildablePHID')),
|
||||||
$this->renderHandleLink($object_phid));
|
$this->renderHandleLink($object_phid));
|
||||||
case HarbormasterBuildable::STATUS_PASSED:
|
case HarbormasterBuildableStatus::STATUS_PASSED:
|
||||||
return pht(
|
return pht(
|
||||||
'%s completed building %s for %s.',
|
'%s completed building %s for %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
$this->renderHandleLink(
|
$this->renderHandleLink(
|
||||||
$this->getMetadataValue('harbormaster:buildablePHID')),
|
$this->getMetadataValue('harbormaster:buildablePHID')),
|
||||||
$this->renderHandleLink($object_phid));
|
$this->renderHandleLink($object_phid));
|
||||||
case HarbormasterBuildable::STATUS_FAILED:
|
case HarbormasterBuildableStatus::STATUS_FAILED:
|
||||||
return pht(
|
return pht(
|
||||||
'%s failed to build %s for %s.',
|
'%s failed to build %s for %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
|
@ -1418,9 +1418,9 @@ abstract class PhabricatorApplicationTransaction
|
||||||
return pht('Changed Subscribers');
|
return pht('Changed Subscribers');
|
||||||
case PhabricatorTransactions::TYPE_BUILDABLE:
|
case PhabricatorTransactions::TYPE_BUILDABLE:
|
||||||
switch ($this->getNewValue()) {
|
switch ($this->getNewValue()) {
|
||||||
case HarbormasterBuildable::STATUS_PASSED:
|
case HarbormasterBuildableStatus::STATUS_PASSED:
|
||||||
return pht('Build Passed');
|
return pht('Build Passed');
|
||||||
case HarbormasterBuildable::STATUS_FAILED:
|
case HarbormasterBuildableStatus::STATUS_FAILED:
|
||||||
return pht('Build Failed');
|
return pht('Build Failed');
|
||||||
default:
|
default:
|
||||||
return pht('Build Status');
|
return pht('Build Status');
|
||||||
|
|
Loading…
Reference in a new issue