From 760782276a154dfc0e33a1119856295b91b82a51 Mon Sep 17 00:00:00 2001 From: bill Date: Tue, 9 Dec 2025 17:47:18 +0800 Subject: [PATCH] Feat: Translate webhook --- web/src/locales/en.ts | 22 ++++++++++++++++++++++ web/src/locales/zh.ts | 27 +++++++++++++++++++++++++-- 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index 800a99052..ace7b9444 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -1941,6 +1941,28 @@ Important structured information may include: names, dates, locations, events, k schema: 'Schema', response: 'Response', executionMode: 'Execution mode', + authMethods: 'Authentication Methods', + authType: 'Authentication Type', + limit: 'Request Limit', + per: 'Time Period', + maxBodySize: 'Maximum Body Size', + ipWhitelist: 'IP Whitelist', + tokenHeader: 'Token Header', + tokenValue: 'Token Value', + username: 'Username', + password: 'Password', + algorithm: 'Algorithm', + secret: 'Secret', + issuer: 'Issuer', + audience: 'Audience', + requiredClaims: 'Required Claims', + header: 'Header', + status: 'Status', + headersTemplate: 'Headers Template', + bodyTemplate: 'Body Template', + basic: 'Basic', + bearer: 'Bearer', + apiKey: 'Api Key', }, }, llmTools: { diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 0bc556d14..ff1bb0c17 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -1756,12 +1756,35 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`, removeLast: '移除最后一个', }, webhook: { + name: '网络钩子', methods: '方法', contentTypes: '内容类型', security: '安全配置', - schema: 'Schema', - response: '响应内容', + schema: '模式', + response: '响应', executionMode: '执行模式', + authMethods: '认证方法', + authType: '认证类型', + limit: '请求限制', + per: '时间周期', + maxBodySize: '最大主体大小', + ipWhitelist: 'IP白名单', + tokenHeader: '令牌头部', + tokenValue: '令牌值', + username: '用户名', + password: '密码', + algorithm: '算法', + secret: '密钥', + issuer: '签发者', + audience: '受众', + requiredClaims: '必需声明', + header: '头部', + status: '状态', + headersTemplate: '头部模板', + bodyTemplate: '主体模板', + basic: '基础认证', + bearer: '承载令牌', + apiKey: 'API密钥', }, }, footer: {