aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor_profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/actor_profile.php')
-rw-r--r--templates/actor_profile.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/actor_profile.php b/templates/actor_profile.php
index c5b86c4..8a97bd8 100644
--- a/templates/actor_profile.php
+++ b/templates/actor_profile.php
@@ -4,18 +4,18 @@
<div>
<div class="displayName"><?= $actor->displayName ?></div>
<div class="handle">@<?= $actor->getFullHandle() ?></div>
- <div class="joinedDate"><?= sprintf(_('Joined on %s'), $actor->created->format('Y-m-d')) ?></div>
+ <div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), $actor->created->format('Y-m-d')) ?></div>
</div>
<div>
<?php if (!$actor->isLocal): ?>
<a class="icon material-symbols-outlined" href="<?= $actor->homepage ?>"
- title="<?= _('Open remote profile page') ?>" target="_blank">open_in_new</a>
+ title="<?= __('user.profile.openRemote') ?>" target="_blank">open_in_new</a>
<?php endif; ?>
</div>
</div>
<?php if (isset($actor->bio) && $actor->bio != '') { ?>
<p class="bio"><?= $actor->bio ?></p>
<?php } else {
- call_template('placeholder_text', ['message' => _("This user hasn't written a bio yet.")]);
+ call_template('placeholder_text', ['message' => __('user.profile.bio.placeholder')]);
} ?>
</div> \ No newline at end of file