diff options
| author | winter | 2024-12-24 17:46:51 +0000 |
|---|---|---|
| committer | winter | 2024-12-24 17:46:51 +0000 |
| commit | 721674973ca0a4d98cd081e9ff130c3356ddac03 (patch) | |
| tree | 5caa082baa4f23bd8a88f4f268fea6d9233f6553 /templates/note.php | |
| parent | d5a57276eb27e215dd0b1bd5eb67ac26acc9575b (diff) | |
implement ui translations using gettext
this was horrible i don't like gettext anymore
Diffstat (limited to 'templates/note.php')
| -rw-r--r-- | templates/note.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/note.php b/templates/note.php index 8887afb..83770aa 100644 --- a/templates/note.php +++ b/templates/note.php @@ -7,7 +7,7 @@ <span class="authorName"><?= $note->author->displayName ?></span> <span class="authorHandle">@<?= $note->author->getFullHandle() ?></span> <a class="timestamp" href="/@/<?= $note->author->getFullHandle() ?>/note/<?= $note->id ?>"> - <?= + <?= // TODO: localise $note->created->format('Y-m-d \a\t H:i') . (isset($note->modified) && $note->modified != $note->created ? ' (edited ' . $note->modified->format('Y-m-d \a\t H:i') . ')' |
