@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.

Some pht()'s for People that got missed

Summary: We certainly don't go all-caps enough, else we would have noticed them.

Test Plan: Looked at profiles, people edit page before and after with All-Caps

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5450

authored by

Anh Nhan Nguyen and committed by
epriestley
5320d853 e246001b

+14 -8
+1 -1
src/applications/people/controller/PhabricatorPeopleEditController.php
··· 334 334 335 335 $form->appendChild( 336 336 id(new AphrontFormStaticControl()) 337 - ->setLabel('Roles') 337 + ->setLabel(pht('Roles')) 338 338 ->setValue($roles)); 339 339 } 340 340
+13 -7
src/applications/people/controller/PhabricatorPeopleProfileController.php
··· 131 131 ->setDescription($profile->getTitle()); 132 132 133 133 if ($user->getIsDisabled()) { 134 - $header->setStatus('Disabled'); 134 + $header->setStatus(pht('Disabled')); 135 135 } else { 136 136 $statuses = id(new PhabricatorUserStatus())->loadCurrentStatuses( 137 137 array($user->getPHID())); ··· 180 180 181 181 $content = hsprintf( 182 182 '<div class="phabricator-profile-info-group"> 183 - <h1 class="phabricator-profile-info-header">Basic Information</h1> 183 + <h1 class="phabricator-profile-info-header">%s</h1> 184 184 <div class="phabricator-profile-info-pane"> 185 185 <table class="phabricator-profile-info-table"> 186 186 <tr> 187 - <th>PHID</th> 187 + <th>%s</th> 188 188 <td>%s</td> 189 189 </tr> 190 190 <tr> 191 - <th>User Since</th> 191 + <th>%s</th> 192 192 <td>%s</td> 193 193 </tr> 194 194 </table> 195 195 </div> 196 196 </div>'. 197 197 '<div class="phabricator-profile-info-group"> 198 - <h1 class="phabricator-profile-info-header">Flavor Text</h1> 198 + <h1 class="phabricator-profile-info-header">%s</h1> 199 199 <div class="phabricator-profile-info-pane"> 200 200 <table class="phabricator-profile-info-table"> 201 201 <tr> 202 - <th>Blurb</th> 202 + <th>%s</th> 203 203 <td>%s</td> 204 204 </tr> 205 205 </table> 206 206 </div> 207 207 </div>', 208 + pht('Basic Information'), 209 + pht('PHID'), 208 210 $user->getPHID(), 211 + pht('User Since'), 209 212 phabricator_datetime($user->getDateCreated(), $viewer), 213 + pht('Flavor Text'), 214 + pht('Blurb'), 210 215 $blurb); 211 216 212 217 return $content; ··· 230 235 231 236 return hsprintf( 232 237 '<div class="phabricator-profile-info-group"> 233 - <h1 class="phabricator-profile-info-header">Activity Feed</h1> 238 + <h1 class="phabricator-profile-info-header">%s</h1> 234 239 <div class="phabricator-profile-info-pane">%s</div> 235 240 </div>', 241 + pht('Activity Feed'), 236 242 $view->render()); 237 243 } 238 244 }