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/local_timeline.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/local_timeline.php') diff --git a/templates/local_timeline.php b/templates/local_timeline.php index f93300a..ec894a9 100644 --- a/templates/local_timeline.php +++ b/templates/local_timeline.php @@ -1,8 +1,8 @@ - 'Local timeline'], function () { + _('Local timeline')], function () { global $notes; call_template('alertbox', [ 'variety' => 'info', - 'message' => 'This timeline shows all public indexable notes posted by users on this server.' + 'message' => _('This timeline shows all public indexable notes posted by users on this server.') ]); foreach ($notes as $n) { call_template('note', ['note' => $n]); -- cgit v1.3