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/interaction_button.php | |
| parent | d5a57276eb27e215dd0b1bd5eb67ac26acc9575b (diff) | |
implement ui translations using gettext
this was horrible i don't like gettext anymore
Diffstat (limited to 'templates/interaction_button.php')
| -rw-r--r-- | templates/interaction_button.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ <?php $active = $active ?? false; $tooltip = match ($action) { - 'like' => 'Like', - 'dislike' => 'Dislike', - 'reshare' => 'Reshare' + 'like' => _('Like'), + 'dislike' => _('Dislike'), + 'reshare' => _('Reshare') }; $icon = match ($action) { 'like' => 'favorite', |
