diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-31 11:21:26 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-31 11:21:26 +0800 |
| commit | d0a912c51ee71cf87ea3a785fa546cb6ef267c73 (patch) | |
| tree | 5b7bbdc8ce2864efec51b8aeaaee6bf5e1c54b6e | |
| parent | e238516797b087d27b351f408168b1cf64364385 (diff) | |
chore(i18n): translate interact button
| -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 --> |
