Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/constants/PhabricatorAuditActionConstants.php
<?php | <?php | ||||
final class PhabricatorAuditActionConstants { | final class PhabricatorAuditActionConstants { | ||||
const CONCERN = 'concern'; | const CONCERN = 'concern'; | ||||
const ACCEPT = 'accept'; | const ACCEPT = 'accept'; | ||||
const COMMENT = 'comment'; | const COMMENT = 'comment'; | ||||
const RESIGN = 'resign'; | const RESIGN = 'resign'; | ||||
const CLOSE = 'close'; | const CLOSE = 'close'; | ||||
const ADD_CCS = 'add_ccs'; | const ADD_CCS = 'add_ccs'; | ||||
const ADD_AUDITORS = 'add_auditors'; | const ADD_AUDITORS = 'add_auditors'; | ||||
const INLINE = 'audit:inline'; | const INLINE = 'audit:inline'; | ||||
const ACTION = 'audit:action'; | |||||
joshuaspence: The (mis)alignment here is distracting | |||||
public static function getActionNameMap() { | public static function getActionNameMap() { | ||||
$map = array( | $map = array( | ||||
self::COMMENT => pht('Comment'), | self::COMMENT => pht('Comment'), | ||||
self::CONCERN => pht("Raise Concern \xE2\x9C\x98"), | self::CONCERN => pht("Raise Concern \xE2\x9C\x98"), | ||||
self::ACCEPT => pht("Accept Commit \xE2\x9C\x94"), | self::ACCEPT => pht("Accept Commit \xE2\x9C\x94"), | ||||
self::RESIGN => pht('Resign from Audit'), | self::RESIGN => pht('Resign from Audit'), | ||||
self::CLOSE => pht('Close Audit'), | self::CLOSE => pht('Close Audit'), | ||||
self::ADD_CCS => pht('Add CCs'), | self::ADD_CCS => pht('Add CCs'), | ||||
Show All 25 Lines |
The (mis)alignment here is distracting