@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+9 -9
+1 -1
src/applications/chatlog/applications/PhabricatorApplicationChatLog.php
··· 7 7 } 8 8 9 9 public function getShortDescription() { 10 - return 'Chat Log'; 10 + return pht('Chat Log'); 11 11 } 12 12 13 13 public function getIconName() {
+4 -4
src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php
··· 28 28 $table = new AphrontTableView($rows); 29 29 $table->setHeaders( 30 30 array( 31 - 'Channel', 32 - 'Service Name', 33 - 'Service Type', 31 + pht('Channel'), 32 + pht('Service Name'), 33 + pht('Service Type'), 34 34 )); 35 35 $table->setColumnClasses( 36 36 array( ··· 62 62 $panel, 63 63 ), 64 64 array( 65 - 'title' => 'Channel List', 65 + 'title' => pht('Channel List'), 66 66 )); 67 67 } 68 68 }
+3 -3
src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php
··· 143 143 ->setAction($uri) 144 144 ->appendChild( 145 145 id(new AphrontFormTextControl()) 146 - ->setLabel('Date') 146 + ->setLabel(pht('Date')) 147 147 ->setName('date') 148 148 ->setValue($request->getStr('date'))) 149 149 ->appendChild( 150 150 id(new AphrontFormSubmitControl()) 151 - ->setValue('Jump')); 151 + ->setValue(pht('Jump'))); 152 152 153 153 154 154 return $this->buildStandardPageResponse( ··· 161 161 $pager->render()), 162 162 ), 163 163 array( 164 - 'title' => 'Channel Log', 164 + 'title' => pht('Channel Log'), 165 165 )); 166 166 } 167 167
+1 -1
src/applications/chatlog/controller/PhabricatorChatLogController.php
··· 5 5 public function buildStandardPageResponse($view, array $data) { 6 6 $page = $this->buildStandardPageView(); 7 7 8 - $page->setApplicationName('Chat Log'); 8 + $page->setApplicationName(pht('Chat Log')); 9 9 $page->setBaseURI('/chatlog/'); 10 10 $page->setTitle(idx($data, 'title')); 11 11 $page->setGlyph('#');