mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
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
This commit is contained in:
parent
e246001bd2
commit
5320d85343
2 changed files with 14 additions and 8 deletions
|
@ -334,7 +334,7 @@ final class PhabricatorPeopleEditController
|
|||
|
||||
$form->appendChild(
|
||||
id(new AphrontFormStaticControl())
|
||||
->setLabel('Roles')
|
||||
->setLabel(pht('Roles'))
|
||||
->setValue($roles));
|
||||
}
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ final class PhabricatorPeopleProfileController
|
|||
->setDescription($profile->getTitle());
|
||||
|
||||
if ($user->getIsDisabled()) {
|
||||
$header->setStatus('Disabled');
|
||||
$header->setStatus(pht('Disabled'));
|
||||
} else {
|
||||
$statuses = id(new PhabricatorUserStatus())->loadCurrentStatuses(
|
||||
array($user->getPHID()));
|
||||
|
@ -180,33 +180,38 @@ final class PhabricatorPeopleProfileController
|
|||
|
||||
$content = hsprintf(
|
||||
'<div class="phabricator-profile-info-group">
|
||||
<h1 class="phabricator-profile-info-header">Basic Information</h1>
|
||||
<h1 class="phabricator-profile-info-header">%s</h1>
|
||||
<div class="phabricator-profile-info-pane">
|
||||
<table class="phabricator-profile-info-table">
|
||||
<tr>
|
||||
<th>PHID</th>
|
||||
<th>%s</th>
|
||||
<td>%s</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>User Since</th>
|
||||
<th>%s</th>
|
||||
<td>%s</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>'.
|
||||
'<div class="phabricator-profile-info-group">
|
||||
<h1 class="phabricator-profile-info-header">Flavor Text</h1>
|
||||
<h1 class="phabricator-profile-info-header">%s</h1>
|
||||
<div class="phabricator-profile-info-pane">
|
||||
<table class="phabricator-profile-info-table">
|
||||
<tr>
|
||||
<th>Blurb</th>
|
||||
<th>%s</th>
|
||||
<td>%s</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>',
|
||||
pht('Basic Information'),
|
||||
pht('PHID'),
|
||||
$user->getPHID(),
|
||||
pht('User Since'),
|
||||
phabricator_datetime($user->getDateCreated(), $viewer),
|
||||
pht('Flavor Text'),
|
||||
pht('Blurb'),
|
||||
$blurb);
|
||||
|
||||
return $content;
|
||||
|
@ -230,9 +235,10 @@ final class PhabricatorPeopleProfileController
|
|||
|
||||
return hsprintf(
|
||||
'<div class="phabricator-profile-info-group">
|
||||
<h1 class="phabricator-profile-info-header">Activity Feed</h1>
|
||||
<h1 class="phabricator-profile-info-header">%s</h1>
|
||||
<div class="phabricator-profile-info-pane">%s</div>
|
||||
</div>',
|
||||
pht('Activity Feed'),
|
||||
$view->render());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue