diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index d6ce2d79ff..a8587f09e8 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -1887,6 +1887,7 @@ "tools": { "availableTools": "Available Tools", "inputSchema": "Input Schema", + "inputSchema.enum.allowedValues": "Allowed Values", "loadError": "Get tools Error", "noToolsAvailable": "No tools available", "enable": "Enable Tool", diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json index 20944b1b9e..927002ace8 100644 --- a/src/renderer/src/i18n/locales/ja-jp.json +++ b/src/renderer/src/i18n/locales/ja-jp.json @@ -1887,6 +1887,7 @@ "tools": { "availableTools": "利用可能なツール", "inputSchema": "入力スキーマ", + "inputSchema.enum.allowedValues": "許可された値", "loadError": "ツール取得エラー", "noToolsAvailable": "利用可能なツールなし", "enable": "ツールを有効にする", diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index 94be920dee..1c2307b828 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -1887,6 +1887,7 @@ "tools": { "availableTools": "Доступные инструменты", "inputSchema": "Схема ввода", + "inputSchema.enum.allowedValues": "Допустимые значения", "loadError": "Ошибка получения инструментов", "noToolsAvailable": "Нет доступных инструментов", "enable": "Включить инструмент", diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index 2cf1a3f88c..3e18390eb7 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -1887,6 +1887,7 @@ "tools": { "availableTools": "可用工具", "inputSchema": "输入模式", + "inputSchema.enum.allowedValues": "允许的值", "loadError": "获取工具失败", "noToolsAvailable": "无可用工具", "enable": "启用工具", diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index 30c746b0de..9de94e3ff8 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -1887,6 +1887,7 @@ "tools": { "availableTools": "可用工具", "inputSchema": "輸入模式", + "inputSchema.enum.allowedValues": "允許的值", "loadError": "獲取工具失敗", "noToolsAvailable": "無可用工具", "enable": "啟用工具", @@ -2448,4 +2449,4 @@ "visualization": "視覺化" } } -} \ No newline at end of file +} diff --git a/src/renderer/src/pages/settings/MCPSettings/McpTool.tsx b/src/renderer/src/pages/settings/MCPSettings/McpTool.tsx index 724eccb290..13012c7c80 100644 --- a/src/renderer/src/pages/settings/MCPSettings/McpTool.tsx +++ b/src/renderer/src/pages/settings/MCPSettings/McpTool.tsx @@ -84,7 +84,9 @@ const MCPToolsSection = ({ tools, server, onToggleTool, onToggleAutoApprove }: M )} {prop.enum && (