mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-02 02:40:58 +01:00
Chatlog pht
Summary: Scan chatlog app for pht's Test Plan: ALLCAPS Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5098
This commit is contained in:
parent
1c6655cadd
commit
7ff2c1737c
4 changed files with 9 additions and 9 deletions
|
@ -7,7 +7,7 @@ final class PhabricatorApplicationChatLog extends PhabricatorApplication {
|
|||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return 'Chat Log';
|
||||
return pht('Chat Log');
|
||||
}
|
||||
|
||||
public function getIconName() {
|
||||
|
|
|
@ -28,9 +28,9 @@ final class PhabricatorChatLogChannelListController
|
|||
$table = new AphrontTableView($rows);
|
||||
$table->setHeaders(
|
||||
array(
|
||||
'Channel',
|
||||
'Service Name',
|
||||
'Service Type',
|
||||
pht('Channel'),
|
||||
pht('Service Name'),
|
||||
pht('Service Type'),
|
||||
));
|
||||
$table->setColumnClasses(
|
||||
array(
|
||||
|
@ -62,7 +62,7 @@ final class PhabricatorChatLogChannelListController
|
|||
$panel,
|
||||
),
|
||||
array(
|
||||
'title' => 'Channel List',
|
||||
'title' => pht('Channel List'),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,12 +143,12 @@ final class PhabricatorChatLogChannelLogController
|
|||
->setAction($uri)
|
||||
->appendChild(
|
||||
id(new AphrontFormTextControl())
|
||||
->setLabel('Date')
|
||||
->setLabel(pht('Date'))
|
||||
->setName('date')
|
||||
->setValue($request->getStr('date')))
|
||||
->appendChild(
|
||||
id(new AphrontFormSubmitControl())
|
||||
->setValue('Jump'));
|
||||
->setValue(pht('Jump')));
|
||||
|
||||
|
||||
return $this->buildStandardPageResponse(
|
||||
|
@ -161,7 +161,7 @@ final class PhabricatorChatLogChannelLogController
|
|||
$pager->render()),
|
||||
),
|
||||
array(
|
||||
'title' => 'Channel Log',
|
||||
'title' => pht('Channel Log'),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ abstract class PhabricatorChatLogController extends PhabricatorController {
|
|||
public function buildStandardPageResponse($view, array $data) {
|
||||
$page = $this->buildStandardPageView();
|
||||
|
||||
$page->setApplicationName('Chat Log');
|
||||
$page->setApplicationName(pht('Chat Log'));
|
||||
$page->setBaseURI('/chatlog/');
|
||||
$page->setTitle(idx($data, 'title'));
|
||||
$page->setGlyph('#');
|
||||
|
|
Loading…
Reference in a new issue