diff options
Diffstat (limited to 'templates/actor_profile.php')
| -rw-r--r-- | templates/actor_profile.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/actor_profile.php b/templates/actor_profile.php index f721fc8..c5b86c4 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">Joined on <?= $actor->created->format('Y-m-d') ?></div> + <div class="joinedDate"><?= sprintf(_('Joined on %s'), $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> + <a class="icon material-symbols-outlined" href="<?= $actor->homepage ?>" + title="<?= _('Open remote profile page') ?>" 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' => _("This user hasn't written a bio yet.")]); } ?> </div>
\ No newline at end of file |
