1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

Mark 'closed' as translatable

Summary:
This is to allow conservative people to bring back the old manners.

NOTE: It doesn't mark all occurrences but I think that's good enough. We will eventually mark them all.

Test Plan: Translated 'closed', displayed closed revision.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, asukhachev

Maniphest Tasks: T1139

Differential Revision: https://secure.phabricator.com/D2760
This commit is contained in:
vrana 2012-06-14 19:18:05 -07:00
parent 9e3eb37a90
commit 22d12fe499
2 changed files with 3 additions and 3 deletions

View file

@ -36,13 +36,13 @@ final class DifferentialAction {
const ACTION_CLAIM = 'claim'; const ACTION_CLAIM = 'claim';
public static function getActionPastTenseVerb($action) { public static function getActionPastTenseVerb($action) {
static $verbs = array( $verbs = array(
self::ACTION_COMMENT => 'commented on', self::ACTION_COMMENT => 'commented on',
self::ACTION_ACCEPT => 'accepted', self::ACTION_ACCEPT => 'accepted',
self::ACTION_REJECT => 'requested changes to', self::ACTION_REJECT => 'requested changes to',
self::ACTION_RETHINK => 'planned changes to', self::ACTION_RETHINK => 'planned changes to',
self::ACTION_ABANDON => 'abandoned', self::ACTION_ABANDON => 'abandoned',
self::ACTION_CLOSE => 'closed', self::ACTION_CLOSE => pht('closed'),
self::ACTION_REQUEST => 'requested a review of', self::ACTION_REQUEST => 'requested a review of',
self::ACTION_RECLAIM => 'reclaimed', self::ACTION_RECLAIM => 'reclaimed',
self::ACTION_UPDATE => 'updated', self::ACTION_UPDATE => 'updated',

View file

@ -379,7 +379,7 @@ final class DifferentialRevisionListController extends DifferentialController {
array( array(
'all' => 'All', 'all' => 'All',
'open' => 'Open', 'open' => 'Open',
'closed' => 'Closed', 'closed' => pht('Closed'),
'abandoned' => 'Abandoned', 'abandoned' => 'Abandoned',
)); ));
case 'order': case 'order':