mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-20 17:30:59 +00:00
Merge branch 'rc/new-plugin' into refactor/new-plugin-system
This commit is contained in:
@@ -2,6 +2,8 @@ const zhHans = {
|
||||
common: {
|
||||
login: '登录',
|
||||
logout: '退出登录',
|
||||
accountOptions: '账户选项',
|
||||
account: '账户',
|
||||
email: '邮箱',
|
||||
password: '密码',
|
||||
welcome: '欢迎回到 LangBot 👋',
|
||||
@@ -39,6 +41,22 @@ const zhHans = {
|
||||
addRound: '添加回合',
|
||||
copySuccess: '复制成功',
|
||||
test: '测试',
|
||||
forgotPassword: '忘记密码?',
|
||||
loading: '加载中...',
|
||||
theme: '主题',
|
||||
changePassword: '修改密码',
|
||||
currentPassword: '当前密码',
|
||||
newPassword: '新密码',
|
||||
confirmNewPassword: '确认新密码',
|
||||
enterCurrentPassword: '输入当前密码',
|
||||
enterNewPassword: '输入新密码',
|
||||
enterConfirmPassword: '确认新密码',
|
||||
currentPasswordRequired: '当前密码不能为空',
|
||||
newPasswordRequired: '新密码不能为空',
|
||||
confirmPasswordRequired: '确认密码不能为空',
|
||||
passwordsDoNotMatch: '两次输入的密码不一致',
|
||||
changePasswordSuccess: '密码修改成功',
|
||||
changePasswordFailed: '密码修改失败,请检查当前密码是否正确',
|
||||
},
|
||||
notFound: {
|
||||
title: '页面不存在',
|
||||
@@ -86,13 +104,12 @@ const zhHans = {
|
||||
string: '字符串',
|
||||
number: '数字',
|
||||
boolean: '布尔值',
|
||||
extraParametersDescription:
|
||||
'将在请求时附加到请求体中,如 max_tokens, temperature, top_p 等',
|
||||
selectModelProvider: '选择模型供应商',
|
||||
modelProviderDescription: '请填写供应商向您提供的模型名称',
|
||||
selectModel: '请选择模型',
|
||||
testSuccess: '测试成功',
|
||||
testError: '测试失败,请检查模型配置',
|
||||
llmModels: '对话模型',
|
||||
},
|
||||
bots: {
|
||||
title: '机器人',
|
||||
@@ -257,6 +274,10 @@ const zhHans = {
|
||||
today: '今天',
|
||||
updateTime: '更新于',
|
||||
defaultBadge: '默认',
|
||||
sortBy: '排序方式',
|
||||
newestCreated: '最新创建',
|
||||
recentlyEdited: '最近编辑',
|
||||
earliestEdited: '最早编辑',
|
||||
basicInfo: '基础信息',
|
||||
aiCapabilities: 'AI 能力',
|
||||
triggerConditions: '触发条件',
|
||||
@@ -291,8 +312,68 @@ const zhHans = {
|
||||
loadMessagesFailed: '加载消息失败',
|
||||
loadPipelinesFailed: '加载流水线失败',
|
||||
atTips: '提及机器人',
|
||||
streaming: '流式传输',
|
||||
},
|
||||
},
|
||||
knowledge: {
|
||||
title: '知识库',
|
||||
createKnowledgeBase: '创建知识库',
|
||||
editKnowledgeBase: '编辑知识库',
|
||||
selectKnowledgeBase: '选择知识库',
|
||||
empty: '无',
|
||||
editDocument: '文档',
|
||||
description: '配置可用于提升模型回复质量的知识库',
|
||||
metadata: '元数据',
|
||||
documents: '文档',
|
||||
kbNameRequired: '知识库名称不能为空',
|
||||
kbDescriptionRequired: '知识库描述不能为空',
|
||||
embeddingModelUUIDRequired: '嵌入模型不能为空',
|
||||
daysAgo: '天前',
|
||||
today: '今天',
|
||||
kbName: '知识库名称',
|
||||
kbDescription: '知识库描述',
|
||||
topK: '召回数量',
|
||||
topKRequired: '召回数量不能为空',
|
||||
topKMax: '召回数量最大值为 30',
|
||||
topKdescription: '召回相关文档块的数量,取值范围为 1-30',
|
||||
defaultDescription: '一个知识库',
|
||||
embeddingModelUUID: '嵌入模型',
|
||||
selectEmbeddingModel: '选择嵌入模型',
|
||||
embeddingModelDescription: '用于向量化文本,可在模型配置页面配置',
|
||||
updateTime: '更新于',
|
||||
cannotChangeEmbeddingModel: '知识库创建后不可修改嵌入模型',
|
||||
updateKnowledgeBaseSuccess: '知识库更新成功',
|
||||
updateKnowledgeBaseFailed: '知识库更新失败',
|
||||
documentsTab: {
|
||||
name: '名称',
|
||||
status: '状态',
|
||||
noResults: '暂无文档',
|
||||
dragAndDrop: '拖拽文件到此处或点击上传',
|
||||
uploading: '上传中...',
|
||||
supportedFormats: '支持 PDF、Word、TXT、Markdown、HTML、ZIP 等文档格式',
|
||||
uploadSuccess: '文件上传成功!',
|
||||
uploadError: '文件上传失败,请重试',
|
||||
uploadingFile: '上传文件中...',
|
||||
actions: '操作',
|
||||
delete: '删除文件',
|
||||
fileDeleteSuccess: '文件删除成功',
|
||||
fileDeleteFailed: '文件删除失败',
|
||||
processing: '处理中',
|
||||
completed: '完成',
|
||||
failed: '失败',
|
||||
},
|
||||
deleteKnowledgeBaseConfirmation:
|
||||
'你确定要删除这个知识库吗?此知识库下的所有文档将被删除。',
|
||||
retrieve: '检索测试',
|
||||
retrieveTest: '检索测试',
|
||||
query: '查询',
|
||||
queryPlaceholder: '输入查询内容...',
|
||||
distance: '距离',
|
||||
content: '内容',
|
||||
fileName: '文件名',
|
||||
noResults: '暂无结果',
|
||||
retrieveError: '检索失败',
|
||||
},
|
||||
register: {
|
||||
title: '初始化 LangBot 👋',
|
||||
description: '这是您首次启动 LangBot',
|
||||
@@ -301,6 +382,38 @@ const zhHans = {
|
||||
initSuccess: '初始化成功 请登录',
|
||||
initFailed: '初始化失败:',
|
||||
},
|
||||
resetPassword: {
|
||||
title: '重置密码 🔐',
|
||||
description: '输入恢复密钥和新的密码来重置您的账户密码',
|
||||
recoveryKey: '恢复密钥',
|
||||
recoveryKeyDescription:
|
||||
'存储在配置文件`data/config.yaml`的`system.recovery_key`中',
|
||||
newPassword: '新密码',
|
||||
enterRecoveryKey: '输入恢复密钥',
|
||||
enterNewPassword: '输入新密码',
|
||||
recoveryKeyRequired: '恢复密钥不能为空',
|
||||
newPasswordRequired: '新密码不能为空',
|
||||
resetPassword: '重置密码',
|
||||
resetting: '重置中...',
|
||||
resetSuccess: '密码重置成功,请登录',
|
||||
resetFailed: '密码重置失败,请检查邮箱和恢复密钥是否正确',
|
||||
backToLogin: '返回登录',
|
||||
},
|
||||
embedding: {
|
||||
description: '管理嵌入模型,用于向量化文本',
|
||||
createModel: '创建嵌入模型',
|
||||
editModel: '编辑嵌入模型',
|
||||
getModelListError: '获取嵌入模型列表失败:',
|
||||
embeddingModels: '嵌入模型',
|
||||
extraParametersDescription:
|
||||
'将在请求时附加到请求体中,如 encoding_format, dimensions 等',
|
||||
},
|
||||
llm: {
|
||||
llmModels: '对话模型',
|
||||
description: '管理 LLM 模型,用于对话消息生成',
|
||||
extraParametersDescription:
|
||||
'将在请求时附加到请求体中,如 max_tokens, temperature, top_p 等',
|
||||
},
|
||||
};
|
||||
|
||||
export default zhHans;
|
||||
|
||||
Reference in New Issue
Block a user