From 721674973ca0a4d98cd081e9ff130c3356ddac03 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 24 Dec 2024 17:46:51 +0000 Subject: implement ui translations using gettext this was horrible i don't like gettext anymore --- templates/actor_profile_page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/actor_profile_page.php') diff --git a/templates/actor_profile_page.php b/templates/actor_profile_page.php index ffa94e3..bd60e2c 100644 --- a/templates/actor_profile_page.php +++ b/templates/actor_profile_page.php @@ -11,7 +11,7 @@ call_template('skeleton', [ echo '
'; $notes = Note::findAllWithAuthor($actor, 50); if (count($notes) == 0) { - call_template('placeholder_text', ['message' => "This user hasn't posted anything yet."]); + call_template('placeholder_text', ['message' => _("This user hasn't posted anything yet.")]); } foreach ($notes as $n) { call_template('note', ['note' => $n]); -- cgit v1.3