diff --git a/docs/.vuepress/components/Sponsor.vue b/docs/.vuepress/components/Sponsor.vue index f9fdf5849..44a6f1223 100644 --- a/docs/.vuepress/components/Sponsor.vue +++ b/docs/.vuepress/components/Sponsor.vue @@ -4,7 +4,7 @@
@@ -38,7 +38,10 @@ enum SponsorType { interface SponsorItem { icon: string; - name: string; + name: { + zh: string; + en: string; + }; type: SponsorType; qrcode: string; label: { @@ -50,7 +53,10 @@ interface SponsorItem { const sponsor: SponsorItem[] = [{ icon: "/images/202312/github-mark.svg", - name: 'Github', + name: { + zh: "GitHub", + en: "GitHub", + }, type: SponsorType.github, qrcode: "/images/202402/github-sponsor.png", label: { @@ -60,7 +66,10 @@ const sponsor: SponsorItem[] = [{ url: "https://github.com/sponsors/DGP-Studio" }, { icon: "/svg/afd-official.svg", - name: '爱发电', + name: { + zh: '爱发电', + en: "AFDian" + }, type: SponsorType.afdian, qrcode: "/images/202402/aifadian-qr.png", label: { @@ -70,7 +79,10 @@ const sponsor: SponsorItem[] = [{ url: "https://afdian.net/a/DismissedLight" }, { icon: "/svg/paypal.svg", - name: 'PayPal', + name: { + zh: 'PayPal', + en: "PayPal" + }, type: SponsorType.paypal, qrcode: "/images/202402/paypal-qr.png", label: {