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/interaction_button.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/interaction_button.php') diff --git a/templates/interaction_button.php b/templates/interaction_button.php index ed257df..40fe392 100644 --- a/templates/interaction_button.php +++ b/templates/interaction_button.php @@ -1,9 +1,9 @@ 'Like', - 'dislike' => 'Dislike', - 'reshare' => 'Reshare' + 'like' => _('Like'), + 'dislike' => _('Dislike'), + 'reshare' => _('Reshare') }; $icon = match ($action) { 'like' => 'favorite', -- cgit v1.3