From fb1bbd2692cf2e193b57cce19a2a49a919965ad9 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Mon, 2 Feb 2026 22:55:25 +0800 Subject: chore(i18n): translation for music shortcode --- i18n/en.yml | 5 ++++- i18n/zh.yml | 3 +++ layouts/_shortcodes/music.html | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/i18n/en.yml b/i18n/en.yml index 53d21209..54a558ae 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -54,7 +54,7 @@ actionMenu: email: "or send me an email!" interact: Interact fediverse: Fediverse - openToot: Open Toot + openToot: Open T{oot fediversePlaceholder: your instance, optional webmention: Webmention webmentionPlaceholder: Your post URL @@ -68,3 +68,6 @@ webmention: likedBy: %d people liked this page mentionsHeading: Mentions interactOnFediverse: Interact on Fediverse +music: + netease: Netease + openIn: 'Open in {{ . }}' diff --git a/i18n/zh.yml b/i18n/zh.yml index 39b6db68..422eeada 100644 --- a/i18n/zh.yml +++ b/i18n/zh.yml @@ -67,3 +67,6 @@ webmention: likedBy: %d 人喜欢了这篇文章 mentionsHeading: 提及这篇文章的 interactOnFediverse: 在 Fediverse 上互动 +music: + netease: 网易云音乐 + openIn: '在 {{ . }} 中打开' diff --git a/layouts/_shortcodes/music.html b/layouts/_shortcodes/music.html index 86566adf..354d2c59 100644 --- a/layouts/_shortcodes/music.html +++ b/layouts/_shortcodes/music.html @@ -17,7 +17,7 @@ @@ -30,12 +30,12 @@ - 网易云 + {{ T "music.netease" }} {{ end }} @@ -43,7 +43,7 @@ -- cgit v1.2.3