dashboard-nanobot/frontend/src/i18n/wizard.zh-cn.ts

65 lines
2.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

export const wizardZhCn = {
title: '引导式 Bot 创建',
sub: '先选镜像,再配置模型与代理文件。',
s1: '1. 选择 READY 镜像',
s2: '2. 模型与参数',
s3: '3. 代理文件配置',
s4: '4. 确认创建',
test: '测试模型连接',
testing: '测试中...',
next: '下一步',
prev: '上一步',
finish: '完成创建',
noReadyImage: '没有 READY 镜像,请先在镜像工厂登记。',
requiredBase: '请完整填写基础信息。',
providerRequired: '请先填写 provider、模型和 API Key。',
connFailed: (msg: string) => `连接失败: ${msg}`,
connOk: (preview: string) => (preview ? `连接成功,返回模型: ${preview}` : '连接成功'),
created: 'Bot 创建成功。',
createFailed: '创建失败,请检查后端日志',
loading: '加载中...',
loadImages: '加载镜像列表',
noReady: '暂无 READY 镜像。',
baseInfo: '基础信息',
botIdPlaceholder: 'Bot ID如 analyst_bot_01',
botIdHint: '只能输入英文字母、数字和下划线。',
botIdInvalid: 'Bot ID 只能包含英文字母、数字和下划线。',
botIdChecking: '正在检查 Bot ID 是否可用...',
botIdAvailable: 'Bot ID 可用。',
botIdExists: '该 Bot ID 已存在,请更换。',
botIdRequired: '请填写 Bot ID。',
botName: 'Bot 名称',
modelAccess: '模型接入',
modelNamePlaceholder: '模型名(如 qwen-plus',
modelParams: '模型参数',
skills: '技能',
skillsConfig: '技能配置',
skillsDesc: '选择该 Bot 需要安装的技能包。',
openSkillsManager: '打开技能面板',
noSkillsSelected: '未选择技能',
skillsSectionTitle: '技能管理',
skillsEmpty: '暂无可用技能。',
addSkill: '新增技能',
removeSkill: '移除技能',
tools: '环境变量',
toolsConfig: '环境变量配置',
toolsDesc: '配置运行时环境变量(容器重启后生效)。',
openToolsManager: '打开环境变量面板',
toolsSectionTitle: '环境变量',
envParamsDesc: '环境变量将注入该 Bot 容器,供 tools/skills 统一读取。',
noEnvParams: '暂无环境变量。',
envKey: '变量名(如 BRAVE_API_KEY',
envValue: '变量值',
showEnvValue: '显示变量值',
hideEnvValue: '隐藏变量值',
addEnvParam: '新增环境变量',
removeEnvParam: '移除环境变量',
tokenRange: '范围: 256 - 32768',
image: '镜像',
name: '名称',
model: '模型',
channels: '渠道',
autoStart: '创建后自动启动',
creating: '创建中...',
};