diff --git a/src/differential/constants/ArcanistDifferentialRevisionStatus.php b/src/differential/constants/ArcanistDifferentialRevisionStatus.php index 4f641ee0..017000e9 100644 --- a/src/differential/constants/ArcanistDifferentialRevisionStatus.php +++ b/src/differential/constants/ArcanistDifferentialRevisionStatus.php @@ -7,14 +7,18 @@ final class ArcanistDifferentialRevisionStatus { const ACCEPTED = 2; const CLOSED = 3; const ABANDONED = 4; + const CHANGES_PLANNED = 5; + const IN_PREPARATION = 6; public static function getNameForRevisionStatus($status) { - static $map = array( - self::NEEDS_REVIEW => 'Needs Review', - self::NEEDS_REVISION => 'Needs Revision', - self::ACCEPTED => 'Accepted', - self::CLOSED => 'Closed', - self::ABANDONED => 'Abandoned', + $map = array( + self::NEEDS_REVIEW => pht('Needs Review'), + self::NEEDS_REVISION => pht('Needs Revision'), + self::ACCEPTED => pht('Accepted'), + self::CLOSED => pht('Closed'), + self::ABANDONED => pht('Abandoned'), + self::CHANGES_PLANNED => pht('Changes Planned'), + self::IN_PREPARATION => pht('In Preparation'), ); return idx($map, coalesce($status, '?'), 'Unknown');