diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 18a3379bc..4c430ca2b 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -918,6 +918,8 @@ "about4": "打开浏览器", "about5": "访问授权码", "about6": "配置后作为访问鉴权密码,留空则关闭鉴权", + "about7": "todo", + "about8": "todo", "about9": "自动上传报错信息和诊断数据", "about10": "启用后会通过 Sentry SDK 自动上传报错信息和诊断数据等不涉及个人隐私的数据,以便开发者修复缺陷。修改后会自动关闭应用,请手动重启", "about11": "网络伺服", diff --git a/app/src/config/about.ts b/app/src/config/about.ts index 524163f73..2ee82ca3a 100644 --- a/app/src/config/about.ts +++ b/app/src/config/about.ts @@ -56,28 +56,37 @@ export const about = {
+
+ + +
-
${window.siyuan.languages.dataRepoKey} diff --git a/app/src/config/search.ts b/app/src/config/search.ts index a1fd349de..e8e4dc5ae 100644 --- a/app/src/config/search.ts +++ b/app/src/config/search.ts @@ -80,10 +80,10 @@ export const initConfigSearch = (element: HTMLElement, app: App) => { // 关于 getLang(["autoLaunch", "autoLaunchTip", "about", "about1", "about2", "about3", "about4", "about5", "about6", - "about9", "about10", "about11", "about12", "about13", "about14", "about17", "config", "dataRepoKey", - "dataRepoKeyTip1", "dataRepoKeyTip2", "slogan", "currentVer", "checkUpdate", "updatePath", "systemLog", - "importKey", "genKey", "genKeyByPW", "copyKey", "resetRepo", "systemLogTip", "export", "downloadLatestVer", - "safeQuit", "directConnection", "siyuanNote", "key", "password", "copied", "resetRepoTip", + "about7", "about8", "about9", "about10", "about11", "about12", "about13", "about14", "about17", "config", + "dataRepoKey", "dataRepoKeyTip1", "dataRepoKeyTip2", "slogan", "currentVer", "checkUpdate", "updatePath", + "systemLog", "importKey", "genKey", "genKeyByPW", "copyKey", "resetRepo", "systemLogTip", "export", + "downloadLatestVer", "safeQuit", "directConnection", "siyuanNote", "key", "password", "copied", "resetRepoTip", "autoDownloadUpdatePkg", "autoDownloadUpdatePkgTip", "networkProxy", "keyPlaceholder", "initRepoKeyTip", "googleAnalytics", "googleAnalyticsTip"]), ]; diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index de5517286..6b69caa5a 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -635,6 +635,7 @@ interface IConfig { } openHelp: boolean system: { + lockScreenMode: number // 0:手动,1:手动+跟随系统 networkProxy: { host: string port: string