From 7707685733d26bf1c7278a2f338416a038c2709b Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 7 Apr 2017 05:33:30 -0700 Subject: [PATCH] Fix two strings with missing pht() Summary: Fixes T12517. Test Plan: Viewed Config application; viewed repository list. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12517 Differential Revision: https://secure.phabricator.com/D17639 --- .../config/application/PhabricatorConfigApplication.php | 2 +- .../diffusion/controller/DiffusionRepositoryListController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/config/application/PhabricatorConfigApplication.php b/src/applications/config/application/PhabricatorConfigApplication.php index 510cb6f76d..9789b7de9f 100644 --- a/src/applications/config/application/PhabricatorConfigApplication.php +++ b/src/applications/config/application/PhabricatorConfigApplication.php @@ -27,7 +27,7 @@ final class PhabricatorConfigApplication extends PhabricatorApplication { } public function getName() { - return 'Config'; + return pht('Config'); } public function getShortDescription() { diff --git a/src/applications/diffusion/controller/DiffusionRepositoryListController.php b/src/applications/diffusion/controller/DiffusionRepositoryListController.php index d886209c89..5a21d2e3f1 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryListController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryListController.php @@ -14,7 +14,7 @@ final class DiffusionRepositoryListController extends DiffusionController { ->setName(pht('Commits')); $items[] = id(new PHUIListItemView()) - ->setName('Browse Commits') + ->setName(pht('Browse Commits')) ->setHref($this->getApplicationURI('commit/')); return id(new PhabricatorRepositorySearchEngine())