From 4a901c788dc13aca6a05ee5370a024384a07c5d0 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 21 May 2013 15:29:21 -0700 Subject: [PATCH] Some help pht Summary: pht Test Plan: diff review, test shortcuts. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5991 --- .../help/controller/PhabricatorHelpController.php | 2 +- .../PhabricatorHelpKeyboardShortcutController.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/applications/help/controller/PhabricatorHelpController.php b/src/applications/help/controller/PhabricatorHelpController.php index a8ddf088fa..247175c3ec 100644 --- a/src/applications/help/controller/PhabricatorHelpController.php +++ b/src/applications/help/controller/PhabricatorHelpController.php @@ -5,7 +5,7 @@ abstract class PhabricatorHelpController extends PhabricatorController { public function buildStandardPageResponse($view, array $data) { $page = $this->buildStandardPageView(); - $page->setApplicationName('Help'); + $page->setApplicationName(pht('Help')); $page->setBaseURI('/help/'); $page->setTitle(idx($data, 'title')); $page->setGlyph('?'); diff --git a/src/applications/help/controller/PhabricatorHelpKeyboardShortcutController.php b/src/applications/help/controller/PhabricatorHelpKeyboardShortcutController.php index d92bdc923f..f745b6da3c 100644 --- a/src/applications/help/controller/PhabricatorHelpKeyboardShortcutController.php +++ b/src/applications/help/controller/PhabricatorHelpKeyboardShortcutController.php @@ -18,7 +18,7 @@ final class PhabricatorHelpKeyboardShortcutController // terribly discoverable. $keys[] = array( 'keys' => array('esc'), - 'description' => 'Close any dialog, including this one.', + 'description' => pht('Close any dialog, including this one.'), ); $stroke_map = array( @@ -55,9 +55,9 @@ final class PhabricatorHelpKeyboardShortcutController $dialog = id(new AphrontDialogView()) ->setUser($user) - ->setTitle('Keyboard Shortcuts') + ->setTitle(pht('Keyboard Shortcuts')) ->appendChild($table) - ->addCancelButton('#', 'Close'); + ->addCancelButton('#', pht('Close')); return id(new AphrontDialogResponse()) ->setDialog($dialog);