diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index bf6c1df04..c1f4edc82 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -393,7 +393,7 @@ "includeSubFile": "\nInclude x subfiles", "untitled": "Untitled", "lockScreen": "Lock Screen", - "cloudIntro1": "End-to-end encrypted data synchronization", + "cloudIntro1": "End-to-end encrypted data sync", "cloudIntro2": "The encryption and decryption process is completely performed on the local device", "cloudIntro3": "The encryption algorithm is the industry-recognized safe AES GCM", "cloudIntro4": "The password set by the user is encrypted with the built-in key of the program and stored locally", @@ -634,7 +634,7 @@ "insertBottom": "Open Below the Tab", "insertRight": "Open Right the Tab", "account1": "Click to subscribe", - "account2": "
End-to-end encrypted data synchronization
End-to-end encrypted data backup
Cloud assets serving
", + "account2": "
End-to-end encrypted data sync
End-to-end encrypted data backup
Cloud assets serving
", "account3": "Trial Subscription", "account5": "Cloud assets hosting", "account6": "Remaining before subscription expires", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 26d104b23..7f1929681 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -640,7 +640,7 @@ "account6": "距订阅过期还剩", "account7": "更多高级特性", "account8": "
\uD83C\uDFEB 教育优惠 6.4 折
", - "account9": "
\uD83D\uDD25 两人团首年 6.4 折
", + "account9": "
\uD83D\uDD25 两人团首年 6.4 折
", "account10": "年付订阅", "account11": "早鸟优惠活动结束还剩", "account12": "相伴一生", diff --git a/app/src/config/account.ts b/app/src/config/account.ts index 3e04960ea..0fb4fa3af 100644 --- a/app/src/config/account.ts +++ b/app/src/config/account.ts @@ -4,8 +4,6 @@ import {Constants} from "../constants"; import {fetchPost} from "../util/fetch"; import {repos} from "./repos"; import {confirmDialog} from "../dialog/confirmDialog"; -import {needSubscribe} from "../util/needSubscribe"; -import {syncGuide} from "../sync/syncGuide"; import {hasClosestByClassName} from "../protyle/util/hasClosest"; import {getEventName} from "../protyle/util/compatibility"; import {processSync} from "../dialog/processSystem"; @@ -15,9 +13,9 @@ export const account = { genHTML: () => { let sponsor = "https://ld246.com/sponsor"; if ("zh_CN" !== window.siyuan.config.lang) { - sponsor = "https://opencollective.com/b3log"; + sponsor = ""; } - const payHTML = ` + let payHTML = ` ${window.siyuan.languages.account1}
@@ -32,10 +30,13 @@ ${window.siyuan.languages.account2} ${window.siyuan.languages.freeSub}
- +`; + if ("" !== sponsor) { + payHTML += ` ${window.siyuan.languages.sponsor} `; + } if (window.siyuan.user) { let userTitlesHTML = ""; if (window.siyuan.user.userTitles.length > 0) {