diff options
| author | winter | 2024-12-31 14:30:16 +0000 |
|---|---|---|
| committer | winter | 2024-12-31 14:30:16 +0000 |
| commit | ad554b48e7dc355d9b33eede98f4e3e829fd867e (patch) | |
| tree | eb11cd4357bdbe2964b9d04495ab2e6c7212d9ed /templates/actor_profile.php | |
| parent | 721674973ca0a4d98cd081e9ff130c3356ddac03 (diff) | |
switch to my own translations system
i really don't like gettext
Diffstat (limited to 'templates/actor_profile.php')
| -rw-r--r-- | templates/actor_profile.php | 6 |
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 |
