feat(system):优化后端
1.新增后端测试 2.增加了后端的加密 3.增加了i18n(国际化)
This commit is contained in:
@@ -19,12 +19,15 @@
|
||||
"signUpToStart": "Sign up to start using the platform",
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"usernamePlaceholder": "Enter your username",
|
||||
"passwordPlaceholder": "Enter your password",
|
||||
"signIn": "Sign In",
|
||||
"signUp": "Sign Up",
|
||||
"noAccount": "Don't have an account?",
|
||||
"hasAccount": "Already have an account?",
|
||||
"processing": "Processing...",
|
||||
"registerSuccess": "Registration successful. Please log in."
|
||||
"registerSuccess": "Registration successful. Please log in.",
|
||||
"authFailed": "Authentication failed, please check your credentials"
|
||||
},
|
||||
"chat": {
|
||||
"newChat": "New Chat",
|
||||
@@ -35,7 +38,16 @@
|
||||
"send": "Send",
|
||||
"selectChat": "Select a chat history or create a new one to start.",
|
||||
"assistantName": "kilostar Assistant",
|
||||
"errorCommunication": "Sorry, an error occurred while communicating with the server."
|
||||
"errorCommunication": "Sorry, an error occurred while communicating with the server.",
|
||||
"mistakeWarning": "KiloStar can make mistakes. Please verify important information.",
|
||||
"addAttachment": "Add attachment",
|
||||
"defaultTitle": "Chat",
|
||||
"quickActions": {
|
||||
"brainstorm": "Brainstorm",
|
||||
"writeCode": "Write code",
|
||||
"summarize": "Summarize doc",
|
||||
"search": "Search info"
|
||||
}
|
||||
},
|
||||
"workflow": {
|
||||
"workflows": "Workflows",
|
||||
@@ -66,6 +78,11 @@
|
||||
"refresh": "Refresh Data",
|
||||
"workflowDetails": "Workflow Details",
|
||||
"loading": "Loading Workflows...",
|
||||
"titleRequired": "Please enter a workflow title",
|
||||
"commandRequired": "Please enter a detailed command",
|
||||
"createFailed": "Failed to create workflow, please try again",
|
||||
"chars": "chars",
|
||||
"submitHint": "Ctrl + Enter to submit",
|
||||
"status": {
|
||||
"waiting": "Waiting",
|
||||
"running": "Running",
|
||||
@@ -104,13 +121,86 @@
|
||||
"editUserRole": "Edit User Role",
|
||||
"enterUsername": "e.g. jsmith",
|
||||
"enterPassword": "Enter secure password",
|
||||
"fillBoth": "Please fill in both username and password."
|
||||
"fillBoth": "Please fill in both username and password.",
|
||||
"registerFailed": "Registration failed. Please try again.",
|
||||
"roleUser": "User",
|
||||
"userManagementDesc": "Manage system users and their roles",
|
||||
"noUsers": "No users found",
|
||||
"systemSettingsDesc": "Global platform configurations",
|
||||
"langEnglish": "English",
|
||||
"langChinese": "简体中文"
|
||||
},
|
||||
"agent": {
|
||||
"individual": "Individual",
|
||||
"individualDesc": "Manage system nodes and custom workers",
|
||||
"providerManagement": "Provider Management",
|
||||
"skills": "Skills",
|
||||
"tools": "Tools"
|
||||
"providerDesc": "Configure external AI model providers",
|
||||
"addProvider": "Add Provider",
|
||||
"noProviders": "No providers configured yet",
|
||||
"providerFillAll": "Please fill in all fields.",
|
||||
"providerAddFailed": "Failed to add provider. Please check your inputs and try again.",
|
||||
"deleteProviderConfirm": "Delete this provider?",
|
||||
"providerType": "Type",
|
||||
"providerTitle": "Title",
|
||||
"baseUrl": "Base URL",
|
||||
"apiKey": "API Key",
|
||||
"providerTitlePlaceholder": "My OpenAI",
|
||||
"baseUrlPlaceholder": "https://api.openai.com/v1",
|
||||
"apiKeyPlaceholder": "sk-...",
|
||||
"addNewProvider": "Add New Provider",
|
||||
"endpoint": "Endpoint",
|
||||
"addWorker": "Add Worker",
|
||||
"loadFailed": "Failed to load data",
|
||||
"deleteWorkerConfirm": "Delete this agent?",
|
||||
"noIndividuals": "No individuals found.",
|
||||
"name": "Name",
|
||||
"type": "Type",
|
||||
"providerModel": "Provider / Model",
|
||||
"editSystemNode": "Edit System Node",
|
||||
"createWorker": "Create Worker",
|
||||
"editWorker": "Edit Worker",
|
||||
"provider": "Provider",
|
||||
"model": "Model",
|
||||
"description": "Description",
|
||||
"systemPrompt": "System Prompt",
|
||||
"outputTemplate": "Output Template (JSON)",
|
||||
"boundSkill": "Bound Skill",
|
||||
"workspace": "Workspace (JSON)",
|
||||
"tools": "Tools",
|
||||
"noTools": "No tools",
|
||||
"system": "System",
|
||||
"type.ordinary_individual": "Ordinary",
|
||||
"type.skill_individual": "Skill",
|
||||
"type.special_individual": "Special"
|
||||
},
|
||||
"plugin": {
|
||||
"toolManagement": "Tool Management",
|
||||
"toolDesc": "Manage agent tools and functions",
|
||||
"availableTools": "Available Tools",
|
||||
"toolSubDesc": "Installed tools for agents",
|
||||
"noTools": "No tools installed yet.",
|
||||
"skillManagement": "Skill Management",
|
||||
"skillDesc": "Manage agent skills and functions",
|
||||
"installSkill": "Install Skill",
|
||||
"installSkillDesc": "Install from a repository",
|
||||
"repoUrl": "Repository URL",
|
||||
"repoUrlPlaceholder": "https://github.com/user/repo",
|
||||
"pathOptional": "Path (Optional)",
|
||||
"pathPlaceholder": "subfolder/path",
|
||||
"skillInstallSuccess": "Skill installed successfully",
|
||||
"skillInstallFailed": "Failed to install skill",
|
||||
"deleteSkillConfirm": "Delete {{name}}?",
|
||||
"skillDeleteFailed": "Failed to delete skill",
|
||||
"installedSkills": "Installed Skills ({{count}})",
|
||||
"noSkills": "No skills installed yet.",
|
||||
"install": "Install"
|
||||
},
|
||||
"topbar": {
|
||||
"switchToEn": "Switch to English",
|
||||
"switchToZh": "切换到中文",
|
||||
"lightMode": "Light mode",
|
||||
"darkMode": "Dark mode",
|
||||
"logout": "Logout"
|
||||
},
|
||||
"common": {
|
||||
"close": "Close",
|
||||
@@ -118,6 +208,20 @@
|
||||
"loading": "Loading...",
|
||||
"error": "Error",
|
||||
"success": "Success",
|
||||
"back": "Back"
|
||||
"back": "Back",
|
||||
"unnamed": "Unnamed",
|
||||
"unknown": "Unknown",
|
||||
"default": "Default",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"deleteFailed": "Failed",
|
||||
"saving": "Saving...",
|
||||
"saveFailed": "Failed to save",
|
||||
"installing": "Installing...",
|
||||
"select": "Select",
|
||||
"none": "None",
|
||||
"creating": "Creating...",
|
||||
"actions": "Actions",
|
||||
"cancel": "Cancel"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,12 +19,15 @@
|
||||
"signUpToStart": "注册以开始使用平台",
|
||||
"username": "用户名",
|
||||
"password": "密码",
|
||||
"usernamePlaceholder": "请输入用户名",
|
||||
"passwordPlaceholder": "请输入密码",
|
||||
"signIn": "登录",
|
||||
"signUp": "注册",
|
||||
"noAccount": "还没有账号?",
|
||||
"hasAccount": "已有账号?",
|
||||
"processing": "处理中...",
|
||||
"registerSuccess": "注册成功,请登录。"
|
||||
"registerSuccess": "注册成功,请登录。",
|
||||
"authFailed": "登录失败,请检查用户名和密码"
|
||||
},
|
||||
"chat": {
|
||||
"newChat": "新对话",
|
||||
@@ -35,7 +38,16 @@
|
||||
"send": "发送",
|
||||
"selectChat": "选择对话记录或创建新对话以开始",
|
||||
"assistantName": "kilostar 助手",
|
||||
"errorCommunication": "抱歉,与服务器通信时出错。"
|
||||
"errorCommunication": "抱歉,与服务器通信时出错。",
|
||||
"mistakeWarning": "KiloStar 可能会犯错,重要信息请自行核实。",
|
||||
"addAttachment": "添加附件",
|
||||
"defaultTitle": "新对话",
|
||||
"quickActions": {
|
||||
"brainstorm": "头脑风暴",
|
||||
"writeCode": "写代码",
|
||||
"summarize": "总结文档",
|
||||
"search": "查找资料"
|
||||
}
|
||||
},
|
||||
"workflow": {
|
||||
"workflows": "工作流",
|
||||
@@ -66,6 +78,11 @@
|
||||
"refresh": "刷新数据",
|
||||
"workflowDetails": "工作流详情",
|
||||
"loading": "正在加载工作流...",
|
||||
"titleRequired": "请输入工作流标题",
|
||||
"commandRequired": "请输入具体需求描述",
|
||||
"createFailed": "创建工作流失败,请重试",
|
||||
"chars": "字符",
|
||||
"submitHint": "Ctrl + Enter 发送",
|
||||
"status": {
|
||||
"waiting": "等待中",
|
||||
"running": "运行中",
|
||||
@@ -104,13 +121,86 @@
|
||||
"editUserRole": "编辑用户角色",
|
||||
"enterUsername": "例如:zhangsan",
|
||||
"enterPassword": "输入安全密码",
|
||||
"fillBoth": "请填写用户名和密码。"
|
||||
"fillBoth": "请填写用户名和密码。",
|
||||
"registerFailed": "注册失败,请重试。",
|
||||
"roleUser": "用户",
|
||||
"userManagementDesc": "管理系统用户及其角色",
|
||||
"noUsers": "暂无用户",
|
||||
"systemSettingsDesc": "全局平台配置",
|
||||
"langEnglish": "English",
|
||||
"langChinese": "简体中文"
|
||||
},
|
||||
"agent": {
|
||||
"individual": "个体",
|
||||
"individualDesc": "管理系统节点和自定义工作者",
|
||||
"providerManagement": "供应商管理",
|
||||
"skills": "技能",
|
||||
"tools": "工具"
|
||||
"providerDesc": "配置外部 AI 模型供应商",
|
||||
"addProvider": "添加供应商",
|
||||
"noProviders": "暂无已配置的供应商",
|
||||
"providerFillAll": "请填写所有字段。",
|
||||
"providerAddFailed": "添加供应商失败,请检查输入后重试。",
|
||||
"deleteProviderConfirm": "确定要删除此供应商吗?",
|
||||
"providerType": "类型",
|
||||
"providerTitle": "名称",
|
||||
"baseUrl": "基础 URL",
|
||||
"apiKey": "API 密钥",
|
||||
"providerTitlePlaceholder": "我的 OpenAI",
|
||||
"baseUrlPlaceholder": "https://api.openai.com/v1",
|
||||
"apiKeyPlaceholder": "sk-...",
|
||||
"addNewProvider": "添加新供应商",
|
||||
"endpoint": "接口",
|
||||
"addWorker": "添加工作者",
|
||||
"loadFailed": "加载数据失败",
|
||||
"deleteWorkerConfirm": "确定要删除此代理吗?",
|
||||
"noIndividuals": "暂无个体",
|
||||
"name": "名称",
|
||||
"type": "类型",
|
||||
"providerModel": "供应商 / 模型",
|
||||
"editSystemNode": "编辑系统节点",
|
||||
"createWorker": "创建工作节点",
|
||||
"editWorker": "编辑工作节点",
|
||||
"provider": "供应商",
|
||||
"model": "模型",
|
||||
"description": "描述",
|
||||
"systemPrompt": "系统提示词",
|
||||
"outputTemplate": "输出模板 (JSON)",
|
||||
"boundSkill": "绑定技能",
|
||||
"workspace": "工作空间 (JSON)",
|
||||
"tools": "工具",
|
||||
"noTools": "暂无工具",
|
||||
"system": "系统",
|
||||
"type.ordinary_individual": "普通",
|
||||
"type.skill_individual": "技能",
|
||||
"type.special_individual": "特殊"
|
||||
},
|
||||
"plugin": {
|
||||
"toolManagement": "工具管理",
|
||||
"toolDesc": "管理代理工具和函数",
|
||||
"availableTools": "可用工具",
|
||||
"toolSubDesc": "已安装的工具",
|
||||
"noTools": "暂无已安装的工具",
|
||||
"skillManagement": "技能管理",
|
||||
"skillDesc": "管理代理技能和函数",
|
||||
"installSkill": "安装技能",
|
||||
"installSkillDesc": "从代码仓库安装",
|
||||
"repoUrl": "仓库地址",
|
||||
"repoUrlPlaceholder": "https://github.com/user/repo",
|
||||
"pathOptional": "路径(可选)",
|
||||
"pathPlaceholder": "子文件夹/路径",
|
||||
"skillInstallSuccess": "技能安装成功",
|
||||
"skillInstallFailed": "技能安装失败",
|
||||
"deleteSkillConfirm": "确定要删除技能 {{name}} 吗?",
|
||||
"skillDeleteFailed": "删除技能失败",
|
||||
"installedSkills": "已安装技能 ({{count}})",
|
||||
"noSkills": "暂无已安装的技能",
|
||||
"install": "安装"
|
||||
},
|
||||
"topbar": {
|
||||
"switchToEn": "Switch to English",
|
||||
"switchToZh": "切换到中文",
|
||||
"lightMode": "浅色模式",
|
||||
"darkMode": "深色模式",
|
||||
"logout": "退出登录"
|
||||
},
|
||||
"common": {
|
||||
"close": "关闭",
|
||||
@@ -118,6 +208,20 @@
|
||||
"loading": "加载中...",
|
||||
"error": "错误",
|
||||
"success": "成功",
|
||||
"back": "返回"
|
||||
"back": "返回",
|
||||
"unnamed": "未命名",
|
||||
"unknown": "未知",
|
||||
"default": "默认",
|
||||
"edit": "编辑",
|
||||
"delete": "删除",
|
||||
"deleteFailed": "删除失败",
|
||||
"saving": "保存中...",
|
||||
"saveFailed": "保存失败",
|
||||
"installing": "安装中...",
|
||||
"select": "请选择",
|
||||
"none": "无",
|
||||
"creating": "创建中...",
|
||||
"actions": "操作",
|
||||
"cancel": "取消"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user