mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01:04 +01:00
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
This commit is contained in:
parent
6cd624384a
commit
4a901c788d
2 changed files with 4 additions and 4 deletions
|
@ -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('?');
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue