aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/interaction_button.php
diff options
context:
space:
mode:
authorwinter2024-12-31 14:30:16 +0000
committerwinter2024-12-31 14:30:16 +0000
commitad554b48e7dc355d9b33eede98f4e3e829fd867e (patch)
treeeb11cd4357bdbe2964b9d04495ab2e6c7212d9ed /templates/interaction_button.php
parent721674973ca0a4d98cd081e9ff130c3356ddac03 (diff)
switch to my own translations system
i really don't like gettext
Diffstat (limited to 'templates/interaction_button.php')
-rw-r--r--templates/interaction_button.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/interaction_button.php b/templates/interaction_button.php
index 40fe392..9115435 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' => __('note.action.like'),
+ 'dislike' => __('note.action.dislike'),
+ 'reshare' => __('note.action.reshare')
};
$icon = match ($action) {
'like' => 'favorite',