From 7d6a341a69b90731ba271e5dd313faf487064fbf Mon Sep 17 00:00:00 2001 From: eltrac Date: Sun, 15 Mar 2026 22:02:25 +0800 Subject: feat(i18n): view on fediverse button --- i18n/en.toml | 1 + i18n/zh.toml | 1 + layouts/_shortcodes/fedicard.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/i18n/en.toml b/i18n/en.toml index 27426b41..82391c89 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -8,6 +8,7 @@ back2top = "I'll take you up!" emailMe = "If you prefer one-on-one communication, or just want to say hello, feel free to email me at" rss_comment_link = "Come and leave a comment" viewExternalSource = "View External Source" +ViewOnFediverse = "View on Fediverse" [archivePage] postCountMonthly = "{{ . }} POSTS" diff --git a/i18n/zh.toml b/i18n/zh.toml index e268cb74..c08ee278 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -9,6 +9,7 @@ back2top = "我带你上去!" emailMe = "如果你偏好一对一的沟通,或者只是想打个招呼,欢迎发邮件到" rss_comment_link = "读完啦?来坐坐吧" viewExternalSource = "查看外部来源和完整互动" +ViewOnFediverse = "在联邦宇宙查看" [theme] auto = "自动" diff --git a/layouts/_shortcodes/fedicard.html b/layouts/_shortcodes/fedicard.html index d8cbc453..1f10ebeb 100644 --- a/layouts/_shortcodes/fedicard.html +++ b/layouts/_shortcodes/fedicard.html @@ -127,7 +127,7 @@
- View on Fediverse + {{ T "ViewOnFediverse" . }}
-- cgit v1.2.3