1
0
Fork 0
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:
Chad Little 2013-02-23 07:12:53 -08:00
parent 1c6655cadd
commit 7ff2c1737c
4 changed files with 9 additions and 9 deletions

View file

@ -7,7 +7,7 @@ final class PhabricatorApplicationChatLog extends PhabricatorApplication {
} }
public function getShortDescription() { public function getShortDescription() {
return 'Chat Log'; return pht('Chat Log');
} }
public function getIconName() { public function getIconName() {

View file

@ -28,9 +28,9 @@ final class PhabricatorChatLogChannelListController
$table = new AphrontTableView($rows); $table = new AphrontTableView($rows);
$table->setHeaders( $table->setHeaders(
array( array(
'Channel', pht('Channel'),
'Service Name', pht('Service Name'),
'Service Type', pht('Service Type'),
)); ));
$table->setColumnClasses( $table->setColumnClasses(
array( array(
@ -62,7 +62,7 @@ final class PhabricatorChatLogChannelListController
$panel, $panel,
), ),
array( array(
'title' => 'Channel List', 'title' => pht('Channel List'),
)); ));
} }
} }

View file

@ -143,12 +143,12 @@ final class PhabricatorChatLogChannelLogController
->setAction($uri) ->setAction($uri)
->appendChild( ->appendChild(
id(new AphrontFormTextControl()) id(new AphrontFormTextControl())
->setLabel('Date') ->setLabel(pht('Date'))
->setName('date') ->setName('date')
->setValue($request->getStr('date'))) ->setValue($request->getStr('date')))
->appendChild( ->appendChild(
id(new AphrontFormSubmitControl()) id(new AphrontFormSubmitControl())
->setValue('Jump')); ->setValue(pht('Jump')));
return $this->buildStandardPageResponse( return $this->buildStandardPageResponse(
@ -161,7 +161,7 @@ final class PhabricatorChatLogChannelLogController
$pager->render()), $pager->render()),
), ),
array( array(
'title' => 'Channel Log', 'title' => pht('Channel Log'),
)); ));
} }

View file

@ -5,7 +5,7 @@ abstract class PhabricatorChatLogController extends PhabricatorController {
public function buildStandardPageResponse($view, array $data) { public function buildStandardPageResponse($view, array $data) {
$page = $this->buildStandardPageView(); $page = $this->buildStandardPageView();
$page->setApplicationName('Chat Log'); $page->setApplicationName(pht('Chat Log'));
$page->setBaseURI('/chatlog/'); $page->setBaseURI('/chatlog/');
$page->setTitle(idx($data, 'title')); $page->setTitle(idx($data, 'title'));
$page->setGlyph('#'); $page->setGlyph('#');