diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 2479b183138..955c6a60d11 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1079,7 +1079,7 @@ "about11": "Network serving", "about12": "After enabling, other devices in the same LAN will be allowed to access. The application will be closed automatically after modification, please restart manually", "about13": "API token", - "about14": "The token needs to be authenticated when calling the API", + "about14": "The token needs to be authenticated when calling the API
HTTP request header Authorization: token ${token}", "about17": "Do not enable proxy when set to Direct connection", "about18": "When using a non-loopback address (127.0.0.1/[::1]) please set the Access authorization code first", "checkUpdate": "Check update", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 410d08aab76..9d526c571aa 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1079,7 +1079,7 @@ "about11": "Red de servicio", "about12": "Después de habilitarlo, se permitirá el acceso a otros dispositivos de la misma LAN. La aplicación se cerrará automáticamente después de la modificación, por favor reinicie manualmente", "about13": "Token API", - "about14": "El token debe ser autentificado al llamar a la API", + "about14": "El token debe ser autentificado al llamar a la API
Encabezado de solicitud HTTP Authorization: token ${token}", "about17": "No habilite el proxy cuando esté configurado como Conexión directa", "about18": "Cuando se utiliza una dirección sin bucle invertido (127.0.0.1/[::1] ) Primero configure el Código de autorización de acceso", "checkUpdate": "Comprobar actualización", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index cd5ca14cdeb..63bd467b45d 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1079,7 +1079,7 @@ "about11": "Service de réseau", "about12": "Après l'activation, les autres appareils du même réseau local seront autorisés à accéder. L'application sera fermée automatiquement après modification, veuillez la redémarrer manuellement.", "about13": "API token", - "about14": "Le token doit être authentifié lors de l'appel de l'API.", + "about14": "Le token doit être authentifié lors de l'appel de l'API
En-tête de requête HTTP Authorization: token ${token}", "about17": "N'activez pas le proxy lorsqu'il est défini sur Connexion directe.", "about18": "Lors de l'utilisation d'une adresse sans bouclage (127.0.0.1/[::1] ) Veuillez d'abord définir le Accès code d'autorisation", "checkUpdate": "Vérifier la mise à jour", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index aa09690577a..38fd3482053 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1079,7 +1079,7 @@ "about11": "網路伺服", "about12": "啟用後將允許同一區域網內的其他設備進行存取。修改後會自動關閉應用,請手動重啟", "about13": "API token", - "about14": "調用 API 時需要通過該 token 進行鑒權", + "about14": "調用 API 時需要通過該 token 進行鑒權
HTTP 請求標頭 Authorization: token ${token}", "about17": "設置為 直接連接 時不啟用代理", "about18": "使用非環回地址(127.0.0.1/[::1])時請先設置訪問授權碼", "checkUpdate": "檢查更新", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index c3e3bb495a7..f5188945450 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1079,7 +1079,7 @@ "about11": "网络伺服", "about12": "启用后将允许同一局域网内的其他设备进行访问。修改后会自动关闭应用,请手动重启", "about13": "API token", - "about14": "调用 API 时需要通过该 token 进行鉴权", + "about14": "调用 API 时需要通过该 token 进行鉴权
HTTP 请求标头 Authorization: token ${token}", "about17": "设置为 直接连接 时不启用代理", "about18": "使用非环回地址(127.0.0.1/[::1])时请先设置 访问授权码", "checkUpdate": "检查更新", diff --git a/app/src/config/about.ts b/app/src/config/about.ts index 3d3f52d173b..dd58986be9b 100644 --- a/app/src/config/about.ts +++ b/app/src/config/about.ts @@ -155,7 +155,7 @@ export const about = {
${window.siyuan.languages.about13} -
${window.siyuan.languages.about14}
+
${window.siyuan.languages.about14.replace("${token}", window.siyuan.config.api.token)}
diff --git a/app/src/mobile/settings/about.ts b/app/src/mobile/settings/about.ts index b8035e24e2d..68e34f4a3d1 100644 --- a/app/src/mobile/settings/about.ts +++ b/app/src/mobile/settings/about.ts @@ -131,7 +131,7 @@ export const initAbout = () => { ${window.siyuan.languages.copy}
-
${window.siyuan.languages.about14}
+
${window.siyuan.languages.about14.replace("${token}", window.siyuan.config.api.token)}