From b8cc9c9614a11fcc5405f202b19852365b90a36b Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 14:46:29 +0800
Subject: [PATCH] #AI.国际化
---
rsf-admin/src/i18n/zh.js | 39 +++++++++++++++++++++++++--------------
1 files changed, 25 insertions(+), 14 deletions(-)
diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js
index ba8a698..acf150c 100644
--- a/rsf-admin/src/i18n/zh.js
+++ b/rsf-admin/src/i18n/zh.js
@@ -291,12 +291,12 @@
fields: {
providerType: "鎻愪緵鏂圭被鍨�",
model: "妯″瀷",
- baseUrl: "Base URL",
- apiKey: "API Key",
- temperature: "Temperature",
- topP: "Top P",
- maxTokens: "Max Tokens",
- timeoutMs: "Timeout(ms)",
+ baseUrl: "鏈嶅姟鍦板潃",
+ apiKey: "API 瀵嗛挜",
+ temperature: "娓╁害",
+ topP: "Top P 閲囨牱",
+ maxTokens: "鏈�澶� Tokens",
+ timeoutMs: "瓒呮椂(ms)",
streamingEnabled: "鍚敤娴佸紡鍝嶅簲",
validateStatus: "鏈�杩戞牎楠岀姸鎬�",
lastValidateElapsedMs: "鏈�杩戞牎楠岃�楁椂(ms)",
@@ -319,7 +319,7 @@
failed: "AI 鍙傛暟楠岃瘉澶辫触",
loading: "楠岃瘉涓�...",
beforeSave: "淇濆瓨鍓嶉獙璇�",
- description: "浼氱洿鎺ユ牎楠屽綋鍓� Base URL銆丄PI Key 涓庢ā鍨嬫槸鍚﹀彲璋冪敤銆�",
+ description: "浼氱洿鎺ユ牎楠屽綋鍓嶆湇鍔″湴鍧�銆丄PI 瀵嗛挜涓庢ā鍨嬫槸鍚﹀彲璋冪敤銆�",
},
form: {
sections: {
@@ -332,8 +332,8 @@
fields: {
code: "缂栫爜",
scene: "鍦烘櫙",
- systemPrompt: "System Prompt",
- userPromptTemplate: "User Prompt Template",
+ systemPrompt: "绯荤粺鎻愮ず璇�",
+ userPromptTemplate: "鐢ㄦ埛鎻愮ず璇嶆ā鏉�",
},
list: {
emptyTitle: "鏆傛棤 Prompt 閰嶇疆",
@@ -354,10 +354,10 @@
metadata: "绀轰緥鍏冩暟鎹� JSON",
loading: "棰勮涓�...",
render: "棰勮娓叉煋",
- description: "鐢ㄥ綋鍓嶈〃鍗曞唴瀹规覆鏌� System Prompt 鍜� User Prompt銆�",
+ description: "鐢ㄥ綋鍓嶈〃鍗曞唴瀹规覆鏌撶郴缁熸彁绀鸿瘝鍜岀敤鎴锋彁绀鸿瘝銆�",
resolvedVariables: "宸茶В鏋愬彉閲忥細%{value}",
- renderedSystemPrompt: "娓叉煋鍚庣殑 System Prompt",
- renderedUserPrompt: "娓叉煋鍚庣殑 User Prompt",
+ renderedSystemPrompt: "娓叉煋鍚庣殑绯荤粺鎻愮ず璇�",
+ renderedUserPrompt: "娓叉煋鍚庣殑鐢ㄦ埛鎻愮ず璇�",
},
form: {
sections: {
@@ -371,7 +371,12 @@
transportType: "浼犺緭绫诲瀷",
builtinCode: "鍐呯疆 MCP",
serverUrl: "鏈嶅姟鍦板潃",
+ endpoint: "SSE 绔偣",
+ headersJson: "璇锋眰澶� JSON",
command: "鍛戒护",
+ argsJson: "鍙傛暟 JSON",
+ envJson: "鐜鍙橀噺 JSON",
+ requestTimeoutMs: "瓒呮椂(ms)",
sort: "鎺掑簭",
healthStatus: "鍋ュ悍鐘舵��",
lastInitElapsedMs: "鏈�杩戝垵濮嬪寲鑰楁椂(ms)",
@@ -400,6 +405,8 @@
emptyTitle: "鏆傛棤 MCP 鎸傝浇",
emptyDescription: "鍙互鏂板缓鍐呯疆 MCP銆佽繙绋� SSE 鎸傝浇鎴栨湰鍦� STDIO 鎸傝浇銆�",
sortValue: "鎺掑簭 %{value}",
+ timeoutValue: "瓒呮椂 %{value} ms",
+ initValue: "鍒濆鍖� %{value} ms",
noConnectivityTest: "灏氭湭鎵ц杩為�氭�ф祴璇�",
connectivityTest: "杩為�氭祴璇�",
},
@@ -421,7 +428,7 @@
},
},
tools: {
- schemaParseFailed: "Input Schema 瑙f瀽澶辫触: %{message}",
+ schemaParseFailed: "杈撳叆 Schema 瑙f瀽澶辫触: %{message}",
loadFailed: "鑾峰彇宸ュ叿鍒楄〃澶辫触",
inputRequired: "璇疯緭鍏ュ伐鍏锋祴璇� JSON",
testSuccess: "宸ュ叿 %{name} 娴嬭瘯瀹屾垚",
@@ -431,11 +438,15 @@
description: "鏀寔杩為�氭�ф祴璇曘�佺粨鏋勫寲 Schema 棰勮鍜屾寜杈撳叆鍙傛暟鑷姩鐢熸垚娴嬭瘯琛ㄥ崟銆�",
refresh: "鍒锋柊宸ュ叿",
noTools: "褰撳墠鎸傝浇鏈В鏋愬嚭浠讳綍宸ュ叿銆�",
+ connectivityInit: "鍒濆鍖� %{value} ms",
+ connectivityToolCount: "宸ュ叿 %{count} 涓�",
purpose: "鐢ㄩ��: %{value}",
fieldCount: "%{count} 涓弬鏁�",
+ returnDirect: "鐩存帴杩斿洖",
+ normal: "鏅�氭ā寮�",
queryBoundary: "鏌ヨ杈圭晫: %{value}",
exampleQuestions: "绀轰緥鎻愰棶",
- formattedSchema: "鏍煎紡鍖� Input Schema",
+ formattedSchema: "鏍煎紡鍖栬緭鍏� Schema",
testInput: "娴嬭瘯杈撳叆 JSON",
testInputPlaceholder: "渚嬪锛歿\"code\":\"A01\"}",
executeTest: "鎵ц娴嬭瘯",
--
Gitblit v1.9.1