diff options
| -rw-r--r-- | i18n/en.yml | 1 | ||||
| -rw-r--r-- | i18n/zh.yml | 1 | ||||
| -rw-r--r-- | layouts/_partials/posts/webmention-likes.html | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/i18n/en.yml b/i18n/en.yml index 76dc8bdc..9b1d2668 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -52,6 +52,7 @@ fuzzyTimes: night: Night midnight: Midnight actionMenu: + interact: Interact fediverse: Fediverse openToot: Open Toot fediversePlaceholder: your instance, optional diff --git a/i18n/zh.yml b/i18n/zh.yml index a65db5d6..52bfdf86 100644 --- a/i18n/zh.yml +++ b/i18n/zh.yml @@ -51,6 +51,7 @@ fuzzyTimes: night: '晚上' midnight: '深夜' actionMenu: + interact: 互动 fediverse: 联邦宇宙 openToot: 打开帖子 fediversePlaceholder: 实例域名,可留空 diff --git a/layouts/_partials/posts/webmention-likes.html b/layouts/_partials/posts/webmention-likes.html index e77b3253..ed52b730 100644 --- a/layouts/_partials/posts/webmention-likes.html +++ b/layouts/_partials/posts/webmention-likes.html @@ -3,7 +3,7 @@ <section class="mb-6 flex gap-2 items-center"> <div class="flex gap-1 group relative"> - <a data-tooltip title="互动" class="hover:no-underline cursor-pointer" onclick="toggleActionArea()"> + <a data-tooltip title="{{ T "actionMenu.interact" }}" class="hover:no-underline cursor-pointer" onclick="toggleActionArea()"> <div class="w-5 h-5 bg-neutral-200 dark:bg-neutral-600 flex justify-center items-center rd-full font-800">+</div> </a> <!-- Action Area --> |
