From 916ea08ea9302418f50cde5fefd8c462fe982b87 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 24 Jul 2024 10:55:04 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12013 --- app/src/config/search.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/src/config/search.ts b/app/src/config/search.ts index 06f5c7f8c..f14c32942 100644 --- a/app/src/config/search.ts +++ b/app/src/config/search.ts @@ -45,7 +45,7 @@ export const initConfigSearch = (element: HTMLElement, app: App) => { "apiKeyTip", "apiProxy", "apiProxyTip", "apiBaseURL", "apiBaseURLTip", "apiUserAgentTip", "apiVersion", "apiVersionTip", "apiProvider", "apiProviderTip", "apiTemperature", "apiTemperatureTip", "apiMaxContexts", "apiMaxContextsTip"])), - // 图片 + // 资源 getLang(["assets", "unreferencedAssets", "missingAssets"]), // 导出 @@ -76,15 +76,20 @@ export const initConfigSearch = (element: HTMLElement, app: App) => { .concat(Object.keys(Constants.SIYUAN_KEYMAP.editor.list)) .concat(Object.keys(Constants.SIYUAN_KEYMAP.editor.table))), + // 账号 + getLang(["accountTip", "accountName", "password", "captcha", "forgetPassword", "login", "register", + "twoFactorCaptcha", "account1", "account2", "account5"]), + // 云端 getLang(["cloudStorage", "trafficStat", "sync", "backup", "cdn", "total", "sizeLimit", "cloudBackup", "cloudBackupTip", "updatePath", "cloudSync", "upload", "download", "syncMode", "syncModeTip", "generateConflictDoc", "generateConflictDocTip", "syncProvider", "syncProviderTip", "syncMode1", "syncMode2", "reposTip", "openSyncTip1", "openSyncTip2", "cloudSyncDir", "config"]), - // 账号 - getLang(["accountTip", "accountName", "password", "captcha", "forgetPassword", "login", "register", - "twoFactorCaptcha", "account1", "account2", "account5"]), + // 发布 + getLang(["publishService", "publishServiceTip", "publishServicePort", "publishServicePortTip", + "publishServiceAddresses", "publishServiceAddressesTip", "publishServiceAuth", "publishServiceAuthTip", + "publishServiceAuthAccounts", "publishServiceAuthAccountsTip"]), // 关于 getLang(["autoLaunch", "autoLaunchTip", "about", "about1", "about2", "about3", "about4", "about5", "about6",