Vanessa 2022-06-13 20:36:06 +08:00
parent ba0aaed4f2
commit df1bba4341
6 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
"snapshotPassword": "Snapshot Password",
"plsChoose": "Please choose first",
"clearMessage": "Read",
"freeSub": "Free Trial Subscription",

View file

@ -1,4 +1,5 @@
{
"snapshotPassword": "Mot de passe de l'instantané",
"plsChoose": "Veuillez d'abord choisir",
"clearMessage": "Lire",
"freeSub": "Abonnement d'essai gratuit",

View file

@ -1,4 +1,5 @@
{
"snapshotPassword": "快照密碼",
"plsChoose": "請先進行選擇",
"clearMessage": "已讀",
"freeSub": "免費試用訂閱",

View file

@ -1,4 +1,5 @@
{
"snapshotPassword": "快照密码",
"plsChoose": "请先进行选择",
"clearMessage": "已读",
"freeSub": "免费试用订阅",

View file

@ -80,6 +80,16 @@ export const about = {
<svg><use xlink:href="#iconLock"></use></svg>${window.siyuan.languages.config}
</button>
</div>
<div class="b3-label fn__flex">
<div class="fn__flex-1">
${window.siyuan.languages.snapshotPassword}
<div class="b3-label__text">${window.siyuan.languages.snapshotPasswordTip}</div>
</div>
<div class="fn__space"></div>
<button class="fn__flex-center b3-button b3-button--outline fn__size200" id="snapshotPassword">
<svg><use xlink:href="#iconLock"></use></svg>${window.siyuan.languages.config}
</button>
</div>
<div class="fn__flex b3-label">
<div class="fn__flex-1">
${window.siyuan.languages.currentVer} v${Constants.SIYUAN_VERSION}

View file

@ -64,7 +64,7 @@ export const initConfigSearch = (element: HTMLElement) => {
// 关于
getLang(["about", "about1", "about2", "about3", "about4", "about5", "about6", "about7", "about8",
"about11", "about12", "about13", "about14", "about15", "about16",
"slogan", "currentVer", "checkUpdate", "updatePath"]),
"slogan", "currentVer", "checkUpdate", "updatePath", "snapshotPassword"]),
];
const inputElement = element.querySelector(".b3-form__icon input") as HTMLInputElement;
if (window.siyuan.config.system.container !== "ios") {