From 40905cbd04c2e332cd4bc2b9e0c5b3e1da9cccfa Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期一, 30 三月 2026 08:17:32 +0800
Subject: [PATCH] feat: complete rsf-design phase 1 integration
---
rsf-admin/src/i18n/zh.js | 72 ++++++++++++++++++++++++++++-------
1 files changed, 57 insertions(+), 15 deletions(-)
diff --git a/rsf-admin/src/i18n/zh.js b/rsf-admin/src/i18n/zh.js
index ba8a698..6759812 100644
--- a/rsf-admin/src/i18n/zh.js
+++ b/rsf-admin/src/i18n/zh.js
@@ -291,12 +291,13 @@
fields: {
providerType: "鎻愪緵鏂圭被鍨�",
model: "妯″瀷",
- baseUrl: "Base URL",
- apiKey: "API Key",
- temperature: "Temperature",
- topP: "Top P",
- maxTokens: "Max Tokens",
- timeoutMs: "Timeout(ms)",
+ baseUrl: "鏈嶅姟鍦板潃",
+ apiKey: "API 瀵嗛挜",
+ defaultStatus: "榛樿鐘舵��",
+ temperature: "娓╁害",
+ topP: "Top P 閲囨牱",
+ maxTokens: "鏈�澶� Tokens",
+ timeoutMs: "瓒呮椂(ms)",
streamingEnabled: "鍚敤娴佸紡鍝嶅簲",
validateStatus: "鏈�杩戞牎楠岀姸鎬�",
lastValidateElapsedMs: "鏈�杩戞牎楠岃�楁椂(ms)",
@@ -309,6 +310,16 @@
streaming: "娴佸紡鍝嶅簲",
nonStreaming: "闈炴祦寮�",
},
+ status: {
+ default: "榛樿",
+ nonDefault: "闈為粯璁�",
+ },
+ actions: {
+ setDefault: "璁句负榛樿",
+ currentDefault: "褰撳墠榛樿",
+ setDefaultSuccess: "宸茶缃负榛樿 AI 鍙傛暟",
+ setDefaultFailed: "璁剧疆榛樿 AI 鍙傛暟澶辫触",
+ },
dialog: {
create: "鏂板缓 AI 鍙傛暟",
edit: "缂栬緫 AI 鍙傛暟",
@@ -319,7 +330,7 @@
failed: "AI 鍙傛暟楠岃瘉澶辫触",
loading: "楠岃瘉涓�...",
beforeSave: "淇濆瓨鍓嶉獙璇�",
- description: "浼氱洿鎺ユ牎楠屽綋鍓� Base URL銆丄PI Key 涓庢ā鍨嬫槸鍚﹀彲璋冪敤銆�",
+ description: "浼氱洿鎺ユ牎楠屽綋鍓嶆湇鍔″湴鍧�銆丄PI 瀵嗛挜涓庢ā鍨嬫槸鍚﹀彲璋冪敤銆�",
},
form: {
sections: {
@@ -332,8 +343,8 @@
fields: {
code: "缂栫爜",
scene: "鍦烘櫙",
- systemPrompt: "System Prompt",
- userPromptTemplate: "User Prompt Template",
+ systemPrompt: "绯荤粺鎻愮ず璇�",
+ userPromptTemplate: "鐢ㄦ埛鎻愮ず璇嶆ā鏉�",
},
list: {
emptyTitle: "鏆傛棤 Prompt 閰嶇疆",
@@ -354,10 +365,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 +382,12 @@
transportType: "浼犺緭绫诲瀷",
builtinCode: "鍐呯疆 MCP",
serverUrl: "鏈嶅姟鍦板潃",
+ endpoint: "SSE 绔偣",
+ headersJson: "璇锋眰澶� JSON",
command: "鍛戒护",
+ argsJson: "鍙傛暟 JSON",
+ envJson: "鐜鍙橀噺 JSON",
+ requestTimeoutMs: "瓒呮椂(ms)",
sort: "鎺掑簭",
healthStatus: "鍋ュ悍鐘舵��",
lastInitElapsedMs: "鏈�杩戝垵濮嬪寲鑰楁椂(ms)",
@@ -400,6 +416,8 @@
emptyTitle: "鏆傛棤 MCP 鎸傝浇",
emptyDescription: "鍙互鏂板缓鍐呯疆 MCP銆佽繙绋� SSE 鎸傝浇鎴栨湰鍦� STDIO 鎸傝浇銆�",
sortValue: "鎺掑簭 %{value}",
+ timeoutValue: "瓒呮椂 %{value} ms",
+ initValue: "鍒濆鍖� %{value} ms",
noConnectivityTest: "灏氭湭鎵ц杩為�氭�ф祴璇�",
connectivityTest: "杩為�氭祴璇�",
},
@@ -421,7 +439,7 @@
},
},
tools: {
- schemaParseFailed: "Input Schema 瑙f瀽澶辫触: %{message}",
+ schemaParseFailed: "杈撳叆 Schema 瑙f瀽澶辫触: %{message}",
loadFailed: "鑾峰彇宸ュ叿鍒楄〃澶辫触",
inputRequired: "璇疯緭鍏ュ伐鍏锋祴璇� JSON",
testSuccess: "宸ュ叿 %{name} 娴嬭瘯瀹屾垚",
@@ -431,11 +449,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: "鎵ц娴嬭瘯",
@@ -487,7 +509,7 @@
},
},
drawer: {
- title: "AI 瀵硅瘽",
+ title: "WMS 鍔╂墜",
runtimeFailed: "鑾峰彇 AI 杩愯鏃跺け璐�",
sessionListFailed: "鑾峰彇 AI 浼氳瘽鍒楄〃澶辫触",
sessionDeleted: "浼氳瘽宸插垹闄�",
@@ -513,8 +535,21 @@
renameAction: "閲嶅懡鍚嶄細璇�",
deleteAction: "鍒犻櫎浼氳瘽",
toolTrace: "宸ュ叿璋冪敤杞ㄨ抗",
+ activityTrace: "鎬濈淮閾句笌宸ュ叿杞ㄨ抗",
+ thinkingProcess: "鎬濊�冭繃绋�",
+ thinkingExpand: "灞曞紑鎬濊�冭繃绋�",
+ thinkingCollapse: "鏀惰捣鎬濊�冭繃绋�",
+ thinkingEmpty: "姝e湪鏁寸悊褰撳墠闃舵淇℃伅...",
+ thinkingStatusStarted: "宸插紑濮�",
+ thinkingStatusUpdated: "杩涜涓�",
+ thinkingStatusCompleted: "宸插畬鎴�",
+ thinkingStatusFailed: "澶辫触",
+ thinkingStatusAborted: "宸蹭腑姝�",
noToolTrace: "褰撳墠杞湭瑙﹀彂宸ュ叿璋冪敤",
+ noActivityTrace: "褰撳墠杞皻鏃犳�濊�冩垨宸ュ叿杞ㄨ抗",
unknownTool: "鏈煡宸ュ叿",
+ traceTypeThinking: "鎬濈淮閾�",
+ traceTypeTool: "宸ュ叿",
toolStatusFailed: "澶辫触",
toolStatusCompleted: "瀹屾垚",
toolStatusRunning: "鎵ц涓�",
@@ -529,6 +564,9 @@
noFacts: "鏃犱簨瀹�",
retainLatestRound: "浠呬繚鐣欏綋鍓嶈疆",
clearMemory: "娓呯┖璁板繂",
+ runtimeOverview: "杩愯姒傝",
+ runtimeExpand: "灞曞紑姒傝",
+ runtimeCollapse: "鏀惰捣姒傝",
loadingRuntime: "姝e湪鍔犺浇 AI 杩愯鏃朵俊鎭�...",
emptyHint: "杩欓噷浼氶�氳繃 SSE 娴佸紡杩斿洖 AI 鍥炲銆備綘涔熷彲浠ュ厛鍘讳笂闈㈢殑蹇嵎鍏ュ彛缁存姢鍙傛暟銆丳rompt 鍜� MCP 鎸傝浇銆�",
userRole: "浣�",
@@ -544,6 +582,10 @@
sessionMetric: "Session: %{id}",
promptMetric: "Prompt: %{value}",
modelMetric: "Model: %{value}",
+ modelSelectorLabel: "瀵硅瘽妯″瀷",
+ modelSelectorHint: "鍒囨崲鍚庝粎褰卞搷褰撳墠浼氳瘽鍚庣画鍥炲锛屼笉浼氭敼鍔ㄥ叏灞�榛樿妯″瀷銆�",
+ modelSwitchFailed: "鍒囨崲瀵硅瘽妯″瀷澶辫触",
+ defaultModelSuffix: "(榛樿)",
mcpMetric: "MCP: %{value}",
historyMetric: "History: %{value}",
recentMetric: "Recent: %{value}",
--
Gitblit v1.9.1