diff --git a/src/applications/chatlog/applications/PhabricatorApplicationChatLog.php b/src/applications/chatlog/applications/PhabricatorApplicationChatLog.php index 5c5a813288..5c873ac414 100644 --- a/src/applications/chatlog/applications/PhabricatorApplicationChatLog.php +++ b/src/applications/chatlog/applications/PhabricatorApplicationChatLog.php @@ -7,7 +7,7 @@ final class PhabricatorApplicationChatLog extends PhabricatorApplication { } public function getShortDescription() { - return 'Chat Log'; + return pht('Chat Log'); } public function getIconName() { diff --git a/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php b/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php index 5db5cd0bee..a33cdd6450 100644 --- a/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php @@ -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'), )); } } diff --git a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php index 1e98428f96..5629f88029 100644 --- a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php @@ -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'), )); } diff --git a/src/applications/chatlog/controller/PhabricatorChatLogController.php b/src/applications/chatlog/controller/PhabricatorChatLogController.php index ef9a195fbf..b7f12ab97c 100644 --- a/src/applications/chatlog/controller/PhabricatorChatLogController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogController.php @@ -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('#');