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