From 38dbf5b6f49dac68716f894aee687242346a21c2 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 21 Nov 2022 23:00:05 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E8=AE=BE=E7=BD=AE=20-=20=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E4=B8=AD=E4=B8=8D=E5=86=8D=E6=98=BE=E7=A4=BA=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E4=BB=B7=E6=A0=BC=20https://github.com/siyuan-note/si?= =?UTF-8?q?yuan/issues/6669?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/config/account.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/config/account.ts b/app/src/config/account.ts index 6e2a12a57..72f21be14 100644 --- a/app/src/config/account.ts +++ b/app/src/config/account.ts @@ -12,7 +12,11 @@ import {getEventName} from "../protyle/util/compatibility"; export const account = { element: undefined as Element, genHTML: () => { - const payHTML = ` + let sponsor = 'https://ld246.com/sponsor' + if ("zh_CN" !== window.siyuan.config.lang) { + sponsor = 'https://opencollective.com/b3log' + } + const payHTML = ` ${window.siyuan.languages.sponsor}