zhou zhou
1 天以前 40905cbd04c2e332cd4bc2b9e0c5b3e1da9cccfa
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、API Key 与模型是否可调用。",
                description: "会直接校验当前服务地址、API 密钥与模型是否可调用。",
            },
            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 解析失败: %{message}",
                schemaParseFailed: "输入 Schema 解析失败: %{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: "正在整理当前阶段信息...",
            thinkingStatusStarted: "已开始",
            thinkingStatusUpdated: "进行中",
            thinkingStatusCompleted: "已完成",
            thinkingStatusFailed: "失败",
            thinkingStatusAborted: "已中止",
            noToolTrace: "当前轮未触发工具调用",
            noActivityTrace: "当前轮尚无思考或工具轨迹",
            unknownTool: "未知工具",
            traceTypeThinking: "思维链",
            traceTypeTool: "工具",
            toolStatusFailed: "失败",
            toolStatusCompleted: "完成",
            toolStatusRunning: "执行中",
@@ -529,6 +564,9 @@
            noFacts: "无事实",
            retainLatestRound: "仅保留当前轮",
            clearMemory: "清空记忆",
            runtimeOverview: "运行概览",
            runtimeExpand: "展开概览",
            runtimeCollapse: "收起概览",
            loadingRuntime: "正在加载 AI 运行时信息...",
            emptyHint: "这里会通过 SSE 流式返回 AI 回复。你也可以先去上面的快捷入口维护参数、Prompt 和 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}",