feat(i18n): replace hardcoded Chinese strings with i18n calls across frontend
Replace all user-visible hardcoded Chinese strings in Vue/TS source files
with proper i18n function calls and add corresponding translation keys
to all 4 locale files (zh-CN, en-US, ko-KR, ru-RU).
Changes:
- Replace 80+ hardcoded Chinese strings across 30+ source files
- Add ~450 new translation keys per locale file
- Cover components, views, utils, hooks, and API modules
- Remove Chinese fallback patterns (|| '中文') from existing t() calls
- Add mermaid toolbar and ollama date format translations
Intentionally preserved (backend API values / backward compatibility):
- FAQ CSV column headers and parsing constants
- RelevanceLevel type and Record key mappings
- Graph database engine status comparison ('未启用')
- Language name labels ('简体中文')
This commit is contained in:
@@ -17,6 +17,7 @@ export default {
|
||||
knowledgeSearch: "知识搜索",
|
||||
collapseSidebar: "收起侧边栏",
|
||||
expandSidebar: "展开侧边栏",
|
||||
logoutSuccess: "已退出登录",
|
||||
},
|
||||
batchManage: {
|
||||
title: "管理对话记录",
|
||||
@@ -168,7 +169,6 @@ export default {
|
||||
createFailed: "知识库创建失败",
|
||||
updateSuccess: "知识库更新成功",
|
||||
updateFailed: "知识库更新失败",
|
||||
deleteSuccess: "知识库删除成功",
|
||||
deleteConfirm: "确定要删除此知识库吗?",
|
||||
fileName: "文件名称",
|
||||
fileSize: "文件大小",
|
||||
@@ -251,6 +251,14 @@ export default {
|
||||
noMatch: "未找到匹配的知识库",
|
||||
noKnowledge: "暂无可用知识库",
|
||||
loadingFailed: "加载知识库失败",
|
||||
operationNotSupportedForType: "当前知识库类型不支持该操作",
|
||||
allFilesSkippedNoEngine: "所选文件类型暂无可用解析引擎,已全部跳过",
|
||||
filesSkippedNoEngine: "{count} 个文件因无可用解析引擎被跳过",
|
||||
allUploadSuccess: "所有文件上传成功({count}个)",
|
||||
partialUploadSuccess: "部分文件上传成功(成功:{success},失败:{fail})",
|
||||
allUploadFailed: "所有文件上传失败({count}个)",
|
||||
deleteSuccess: "知识删除成功!",
|
||||
chunkLoadFailed: "分块加载失败",
|
||||
},
|
||||
chat: {
|
||||
title: "对话",
|
||||
@@ -355,6 +363,10 @@ export default {
|
||||
rawOutputLabel: "原始输出",
|
||||
selectKnowledgeBaseWarning: "请至少选择一个知识库",
|
||||
processError: "处理出错",
|
||||
sessionExcerpt: "会话摘录",
|
||||
noAnswerContent: "(无回答内容)",
|
||||
noMatchFound: "未找到匹配的内容",
|
||||
deleteSessionFailed: "删除失败,请稍后再试!",
|
||||
},
|
||||
settings: {
|
||||
title: "设置",
|
||||
@@ -368,6 +380,7 @@ export default {
|
||||
enableMemoryDesc: "开启后,系统将记录您的对话历史,并在后续对话中自动回忆相关内容,提供更个性化的回答。",
|
||||
memoryRequiresNeo4j: "记忆功能依赖 Neo4j 图数据库,请先配置并启用 Neo4j(设置环境变量 NEO4J_ENABLE=true)后再开启此功能。",
|
||||
memoryHowToEnable: "查看 Neo4j 配置指南",
|
||||
parserEngine: "解析引擎",
|
||||
storageEngine: "存储引擎",
|
||||
mcpService: "MCP服务",
|
||||
systemSettings: "系统设置",
|
||||
@@ -410,6 +423,89 @@ export default {
|
||||
cancel: "取消",
|
||||
saveFailedSettings: "设置保存失败",
|
||||
enterNameRequired: "请输入名称",
|
||||
parser: {
|
||||
title: "解析引擎",
|
||||
description: "文档解析引擎状态及配置。此处设置优先于服务端环境变量,留空则使用环境变量默认值。",
|
||||
loading: "加载中...",
|
||||
retry: "重试",
|
||||
noEngineDetected: "未检测到解析引擎,请确认 DocReader 服务正常运行。",
|
||||
disconnected: "未连接",
|
||||
connected: "已连接",
|
||||
available: "可用",
|
||||
unavailable: "不可用",
|
||||
builtinDesc: "DocReader 内置解析引擎(docx/pdf/xlsx 等复杂格式)",
|
||||
currentAddr: "当前",
|
||||
envVarHint: "修改请设置环境变量 DOCREADER_ADDR、DOCREADER_TRANSPORT(grpc/http),重启服务生效。",
|
||||
selfHostedEndpoint: "自建端点",
|
||||
formulaRecognition: "公式识别",
|
||||
tableRecognition: "表格识别",
|
||||
language: "语言",
|
||||
checkWithParams: "使用当前参数检测",
|
||||
saveConfig: "保存配置",
|
||||
docs: "文档",
|
||||
loadFailed: "加载解析引擎列表失败",
|
||||
ensureDocreaderConnected: "请先确保 DocReader 服务已通过环境变量配置并已连接",
|
||||
checkDoneStatusUpdated: "已使用当前填写参数检测,上方状态已更新",
|
||||
checkFailed: "检测失败",
|
||||
saveSuccess: "保存成功",
|
||||
saveFailed: "保存失败",
|
||||
mineruEndpointPlaceholder: "如 https://your-mineru.example.com",
|
||||
defaultPipeline: "默认 pipeline",
|
||||
languagePlaceholder: "如 ch、en、ja(默认 ch)",
|
||||
mineruCloudApiKeyPlaceholder: "MinerU 云服务 API Key",
|
||||
vlmLabel: "vlm(视觉语言模型)",
|
||||
mineruHtmlLabel: "MinerU-HTML(HTML 解析)",
|
||||
},
|
||||
storage: {
|
||||
title: "存储引擎",
|
||||
description: "配置文档与图片的存储方式。此处设置各引擎参数,知识库中仅选择使用哪个引擎。",
|
||||
loading: "加载中...",
|
||||
retry: "重试",
|
||||
defaultEngine: "默认引擎",
|
||||
defaultEngineDesc: "新建知识库时默认选用的存储引擎",
|
||||
engineLocal: "Local(本地)",
|
||||
engineCos: "腾讯云 COS",
|
||||
engineTos: "火山引擎 TOS",
|
||||
localTitle: "Local(本地存储)",
|
||||
localDesc: "使用服务器本地文件系统存储文件,仅适合单机部署。",
|
||||
available: "可用",
|
||||
needsConfig: "需要配置",
|
||||
configurable: "可配置",
|
||||
pathPrefix: "路径前缀(可选)",
|
||||
pathPrefixPlaceholder: "如 weknora/images",
|
||||
prefixPlaceholder: "如 weknora",
|
||||
bucketName: "Bucket 名称",
|
||||
bucketSelectPlaceholder: "选择或输入 Bucket",
|
||||
bucketPlaceholder: "存储桶名称",
|
||||
minioDesc: "S3 兼容的自托管对象存储,适合内网和私有云部署。",
|
||||
minioDocker: "Docker 部署",
|
||||
minioRemote: "远程 MinIO",
|
||||
detected: "已检测",
|
||||
notDetected: "未检测到",
|
||||
minioDockerDetected: "已检测到 Docker 部署的 MinIO 环境变量,连接信息由环境变量提供,无需手动填写。",
|
||||
minioDockerNotDetected: "未检测到 MinIO 环境变量(MINIO_ENDPOINT 等),请确认 Docker Compose 配置正确。",
|
||||
minioRemoteHint: "连接到远程 MinIO 服务,需要手动填写连接信息。",
|
||||
cosTitle: "腾讯云 COS",
|
||||
cosDesc: "腾讯云对象存储服务,适合公有云部署,支持 CDN 加速。",
|
||||
cosSecretIdPlaceholder: "腾讯云 API 密钥 SecretId",
|
||||
cosSecretKeyPlaceholder: "腾讯云 API 密钥 SecretKey",
|
||||
cosAppIdPlaceholder: "腾讯云账号 AppID",
|
||||
tosTitle: "火山引擎 TOS",
|
||||
tosDesc: "火山引擎对象存储服务(TOS),适合公有云部署。",
|
||||
tosAccessKeyPlaceholder: "火山引擎 Access Key",
|
||||
tosSecretKeyPlaceholder: "火山引擎 Secret Key",
|
||||
console: "控制台",
|
||||
docs: "文档",
|
||||
testConnection: "测试连接",
|
||||
saveConfig: "保存配置",
|
||||
loadFailed: "加载失败",
|
||||
saveSuccess: "保存成功",
|
||||
saveFailed: "保存失败",
|
||||
unknownError: "未知错误",
|
||||
requestFailed: "请求失败",
|
||||
cos: "腾讯云 COS",
|
||||
tos: "火山引擎 TOS",
|
||||
},
|
||||
},
|
||||
webSearchSettings: {
|
||||
title: "网络搜索配置",
|
||||
@@ -769,6 +865,7 @@ export default {
|
||||
noMoreData: "已加载全部内容",
|
||||
error: "错误",
|
||||
success: "成功",
|
||||
failed: "失败",
|
||||
warning: "警告",
|
||||
info: "信息",
|
||||
selectAll: "全选",
|
||||
@@ -792,6 +889,10 @@ export default {
|
||||
file: "文件",
|
||||
knowledgeBase: "知识库",
|
||||
noResult: "无结果",
|
||||
remove: "移除",
|
||||
defaultUser: "用户",
|
||||
copyFailed: "复制失败",
|
||||
retry: "重试",
|
||||
},
|
||||
mentionDetail: {
|
||||
faqCount: "共 {count} 条问答",
|
||||
@@ -1222,6 +1323,39 @@ export default {
|
||||
forbidden: "禁止访问",
|
||||
unknown: "未知错误",
|
||||
tryAgain: "请重试",
|
||||
networkError: "网络错误,请检查您的网络连接",
|
||||
invalidCredentials: "用户名或密码错误",
|
||||
tokenRefreshFailed: "Token刷新失败",
|
||||
pleaseRelogin: "请重新登录",
|
||||
fileSizeExceeded: "文件大小不能超过 {size}M!",
|
||||
unsupportedFileType: "不支持的文件类型!",
|
||||
invalidFileType: "文件类型错误!",
|
||||
missingKbId: "缺少知识库ID",
|
||||
tokenNotFound: "未找到登录令牌,请重新登录",
|
||||
streamFailed: "流式连接失败",
|
||||
auth: {
|
||||
loginFailed: "登录失败",
|
||||
registerFailed: "注册失败",
|
||||
getUserFailed: "获取用户信息失败",
|
||||
getTenantFailed: "获取租户信息失败",
|
||||
refreshTokenFailed: "刷新Token失败",
|
||||
logoutFailed: "登出失败",
|
||||
validateTokenFailed: "Token验证失败",
|
||||
},
|
||||
model: {
|
||||
createFailed: "创建模型失败",
|
||||
getFailed: "获取模型失败",
|
||||
updateFailed: "更新模型失败",
|
||||
deleteFailed: "删除模型失败",
|
||||
},
|
||||
tenant: {
|
||||
listFailed: "获取租户列表失败",
|
||||
searchFailed: "搜索租户失败",
|
||||
},
|
||||
initialization: {
|
||||
checkFailed: "检查失败",
|
||||
testFailed: "测试失败",
|
||||
},
|
||||
},
|
||||
model: {
|
||||
llmModel: "LLM模型",
|
||||
@@ -1389,6 +1523,7 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
builtinTag: "内置",
|
||||
},
|
||||
language: {
|
||||
zhCN: "简体中文",
|
||||
@@ -2043,11 +2178,15 @@ export default {
|
||||
disabledHint: "当前使用系统默认 Prompt,开启自定义后才会应用下方内容。",
|
||||
placeholder: "请输入系统 Prompt,或留空使用默认 Prompt...",
|
||||
tabHint: "统一的系统提示词,使用 {'{{'}web_search_status{'}}'} 占位符动态控制网络搜索行为",
|
||||
tabHintDetail: "统一的系统提示词,使用 {'{{'}web_search_status{'}}'} 占位符动态控制网络搜索行为(留空则使用系统默认,使用 {'{{'}web_search_status{'}}'} 占位符动态控制网络搜索行为)",
|
||||
},
|
||||
reset: {
|
||||
header: "恢复默认 Prompt",
|
||||
body: "确定要恢复为默认 Prompt 吗?当前的自定义 Prompt 将被覆盖。",
|
||||
},
|
||||
globalConfigNotice: "这些是全局默认配置,新建智能体时会继承这些设置。您也可以在智能体列表中单独配置每个智能体。",
|
||||
loadConfigFailed: "加载Agent配置失败",
|
||||
loadModelsFailed: "加载模型列表失败",
|
||||
errors: {
|
||||
selectThinkingModel: "启用Agent模式前,请先选择思考模型",
|
||||
selectAtLeastOneTool: "至少需要选择一个允许的工具",
|
||||
@@ -2164,6 +2303,7 @@ export default {
|
||||
contextTemplate: {
|
||||
label: "总结Prompt",
|
||||
desc: "用于普通模式下基于检索结果生成回答的Prompt模板",
|
||||
descWithDefault: "用于普通模式下基于检索结果生成回答的Prompt模板(留空则使用系统默认)",
|
||||
placeholder: "请输入检索结果总结的Prompt模板...",
|
||||
custom: "自定义模板",
|
||||
disabledHint: "当前使用系统默认总结 Prompt,开启自定义后才会应用下方内容。",
|
||||
@@ -2171,6 +2311,7 @@ export default {
|
||||
systemPrompt: {
|
||||
label: "系统Prompt",
|
||||
desc: "用于普通模式对话的系统级Prompt",
|
||||
descWithDefault: "用于普通模式对话的系统级Prompt(留空则使用系统默认)",
|
||||
placeholder: "请输入系统Prompt...",
|
||||
custom: "自定义 Prompt",
|
||||
disabledHint: "当前使用系统默认 Prompt,开启自定义后才会应用下方内容。",
|
||||
@@ -2293,7 +2434,15 @@ export default {
|
||||
deleteFailed: "删除模型失败",
|
||||
setDefault: "已设为默认模型",
|
||||
setDefaultFailed: "设置默认模型失败",
|
||||
builtinCannotEdit: "内置模型不能编辑",
|
||||
builtinCannotDelete: "内置模型不能删除",
|
||||
},
|
||||
builtinModels: {
|
||||
title: "内置模型",
|
||||
description: "内置模型对所有租户可见,敏感信息会被隐藏,且不可编辑或删除。",
|
||||
viewGuide: "查看内置模型管理指南",
|
||||
},
|
||||
builtinTag: "内置",
|
||||
confirmDelete: "确定删除此模型吗?",
|
||||
},
|
||||
// 新增:Ollama 设置
|
||||
@@ -2328,6 +2477,10 @@ export default {
|
||||
desc: "已安装在 Ollama 中的模型列表",
|
||||
empty: "暂无已下载的模型",
|
||||
},
|
||||
unknown: "未知",
|
||||
today: "今天",
|
||||
yesterday: "昨天",
|
||||
daysAgo: "{days} 天前",
|
||||
toasts: {
|
||||
connected: "连接成功",
|
||||
connectFailed: "连接失败,请检查 Ollama 是否运行",
|
||||
@@ -2783,4 +2936,267 @@ export default {
|
||||
chatWithFile: "对话",
|
||||
newChatTitle: "搜索: {query}",
|
||||
},
|
||||
// ---- i18n keys for hardcoded Chinese extraction ----
|
||||
tools: {
|
||||
multiKbSearch: "跨库搜索",
|
||||
knowledgeSearch: "知识库搜索",
|
||||
grepChunks: "文本模式搜索",
|
||||
getChunkDetail: "获取片段详情",
|
||||
listKnowledgeChunks: "查看知识分块",
|
||||
listKnowledgeBases: "列出知识库",
|
||||
getDocumentInfo: "获取文档信息",
|
||||
queryKnowledgeGraph: "查询知识图谱",
|
||||
think: "深度思考",
|
||||
todoWrite: "制定计划",
|
||||
},
|
||||
kbSettings: {
|
||||
storage: {
|
||||
title: "存储引擎",
|
||||
description: "选择文件存储引擎,影响文档上传存储和文档中图片的存储方式。参数在全局设置中配置。",
|
||||
loading: "加载中...",
|
||||
engineLabel: "存储引擎",
|
||||
engineDesc: "选择该知识库使用的存储引擎,需在全局设置中已配置对应引擎。",
|
||||
selectPlaceholder: "请选择存储引擎",
|
||||
notConfigured: "未配置",
|
||||
unavailable: "不可用",
|
||||
lockedHint: "知识库中已有文件,无法切换存储引擎。如需更换,请先清空知识库中的所有文件。",
|
||||
goGlobalSettings: "去全局设置中配置",
|
||||
engineLocal: "Local(本地存储)",
|
||||
engineLocalDesc: "仅适合单机部署,简单轻量",
|
||||
engineMinioDesc: "S3 兼容,适合内网或私有云",
|
||||
engineCos: "腾讯云 COS",
|
||||
engineCosDesc: "公有云部署,支持 CDN 加速",
|
||||
engineTos: "火山引擎 TOS",
|
||||
engineTosDesc: "火山引擎对象存储,适合公有云部署",
|
||||
},
|
||||
parser: {
|
||||
title: "解析引擎",
|
||||
description: "为不同文件类型选择文档解析引擎。未配置的文件类型将使用内置解析引擎。",
|
||||
loading: "加载中...",
|
||||
noEngineAvailable: "暂无可用解析引擎,或文档解析服务未配置。",
|
||||
default: "默认",
|
||||
unavailable: "不可用",
|
||||
goSettings: "去设置 →",
|
||||
goConfig: "前往配置 →",
|
||||
noEngine: "无可用引擎",
|
||||
fileTypePdf: "PDF 文档",
|
||||
fileTypeWord: "Word 文档",
|
||||
fileTypePpt: "演示文稿",
|
||||
fileTypeExcel: "Excel 表格",
|
||||
fileTypeCsv: "CSV 文件",
|
||||
fileTypeText: "纯文本",
|
||||
fileTypeImage: "图片",
|
||||
},
|
||||
supportedFormats: "支持格式",
|
||||
},
|
||||
agentStream: {
|
||||
tools: {
|
||||
searchKnowledge: "知识库检索",
|
||||
grepChunks: "文本模式搜索",
|
||||
webSearch: "网络搜索",
|
||||
webFetch: "网页抓取",
|
||||
getDocumentInfo: "获取文档信息",
|
||||
listKnowledgeChunks: "查看知识分块",
|
||||
getRelatedDocuments: "查找相关文档",
|
||||
getDocumentContent: "获取文档内容",
|
||||
todoWrite: "计划管理",
|
||||
knowledgeGraphExtract: "知识图谱抽取",
|
||||
thinking: "思考",
|
||||
},
|
||||
summary: {
|
||||
searchKb: "检索知识库 <strong>{count}</strong> 次",
|
||||
thinking: "思考 <strong>{count}</strong> 次",
|
||||
callTool: "调用 {name}",
|
||||
callTools: "调用工具 {names}",
|
||||
intermediateSteps: "<strong>{count}</strong> 个中间步骤",
|
||||
separator: "、",
|
||||
comma: ",",
|
||||
},
|
||||
citation: {
|
||||
loading: "加载中...",
|
||||
notFound: "未找到内容",
|
||||
loadFailed: "加载失败",
|
||||
chunkId: "片段ID",
|
||||
},
|
||||
toolSummary: {
|
||||
getDocument: "获取文档:{title}",
|
||||
document: "文档",
|
||||
listChunks: "查看 {title} 的 {fetched}/{total} 个分块",
|
||||
deepThinking: "深度思考",
|
||||
},
|
||||
plan: {
|
||||
inProgress: "进行中",
|
||||
pending: "待处理",
|
||||
completed: "已完成",
|
||||
},
|
||||
search: {
|
||||
noResults: "未找到匹配的内容",
|
||||
foundResultsFromFiles: "找到 {count} 个结果,来自 {files} 个文件",
|
||||
foundResults: "找到 {count} 个结果",
|
||||
webResults: "找到 {count} 个网络搜索结果",
|
||||
foundMatches: "找到 {count} 处匹配",
|
||||
showingCount: "(显示 {count} 个)",
|
||||
},
|
||||
toolStatus: {
|
||||
calling: "正在调用 {name}...",
|
||||
searchKb: "检索知识库",
|
||||
searchKbFailed: "检索知识库失败",
|
||||
webSearch: "网络搜索",
|
||||
webSearchFailed: "网络搜索失败",
|
||||
getDocInfo: "获取文档信息",
|
||||
getDocInfoFailed: "获取文档信息失败",
|
||||
thinkingDone: "完成思考",
|
||||
thinkingFailed: "思考失败",
|
||||
updateTodos: "更新任务列表",
|
||||
updateTodosFailed: "更新任务列表失败",
|
||||
called: "调用 {name}",
|
||||
calledFailed: "调用 {name} 失败",
|
||||
},
|
||||
copy: {
|
||||
emptyContent: "当前回答为空,无法复制",
|
||||
success: "已复制到剪贴板",
|
||||
failed: "复制失败,请手动复制",
|
||||
},
|
||||
saveToKb: {
|
||||
emptyContent: "当前回答为空,无法保存到知识库",
|
||||
editorOpened: "已打开编辑器,请选择知识库后保存",
|
||||
},
|
||||
},
|
||||
agentEditor: {
|
||||
builtinHint: "这是内置智能体,名称和描述不可修改,但可以调整配置参数",
|
||||
placeholders: {
|
||||
available: "可用变量:",
|
||||
clickToInsert: "(点击插入)",
|
||||
hint: "(点击插入,或输入 {{ 唤起列表)",
|
||||
},
|
||||
selection: {
|
||||
all: "全部",
|
||||
selected: "指定",
|
||||
disabled: "禁用",
|
||||
},
|
||||
desc: {
|
||||
name: "为智能体设置一个易于识别的名称",
|
||||
description: "简要描述智能体的用途和特点",
|
||||
systemPrompt: "自定义系统提示词,定义智能体的行为和角色",
|
||||
leaveEmptyDefault: "(留空则使用系统默认)",
|
||||
contextTemplate: "定义如何将检索到的内容格式化后传递给模型",
|
||||
model: "选择智能体使用的大语言模型",
|
||||
temperature: "控制输出的随机性,0 最确定,1 最随机",
|
||||
maxTokens: "模型生成回复的最大Token数量",
|
||||
thinking: "启用模型的扩展思考能力(需要模型支持)",
|
||||
conversationSection: "配置多轮对话和问题改写相关参数",
|
||||
multiTurn: "开启后将保留历史对话上下文",
|
||||
historyRounds: "保留最近几轮对话作为上下文",
|
||||
rewrite: "多轮对话时自动改写用户问题,消解指代和补全省略",
|
||||
rewriteSystemPrompt: "用于问题改写的系统提示词(留空使用默认)",
|
||||
rewriteUserPrompt: "用于问题改写的用户提示词模板(留空使用默认)",
|
||||
selectTools: "选择 Agent 可以使用的工具",
|
||||
maxIterations: "Agent 执行任务时的最大推理步骤数",
|
||||
kbScope: "选择智能体可访问的知识库范围",
|
||||
webSearch: "启用后智能体可以搜索互联网获取信息",
|
||||
webSearchMaxResults: "每次搜索返回的最大结果数量",
|
||||
retrievalSection: "配置知识库检索和排序的参数",
|
||||
queryExpansion: "自动扩展查询词以提高召回率",
|
||||
embeddingTopK: "向量检索返回的最大结果数量",
|
||||
keywordThreshold: "关键词检索的最低相关性分数",
|
||||
vectorThreshold: "向量检索的最低相似度分数",
|
||||
rerankTopK: "重排序后保留的最大结果数量",
|
||||
rerankThreshold: "重排序的最低相关性分数",
|
||||
fallbackStrategy: "当无法从知识库找到相关内容时的处理方式",
|
||||
fallbackResponse: "当无法回答时返回的固定文本",
|
||||
fallbackPrompt: "当无法从知识库找到答案时,引导模型生成回复的提示词",
|
||||
},
|
||||
tools: {
|
||||
thinking: "思考",
|
||||
thinkingDesc: "动态和反思性的问题解决思考工具",
|
||||
todoWrite: "制定计划",
|
||||
todoWriteDesc: "创建结构化的研究计划",
|
||||
grepChunks: "关键词搜索",
|
||||
grepChunksDesc: "快速定位包含特定关键词的文档和分块",
|
||||
knowledgeSearch: "语义搜索",
|
||||
knowledgeSearchDesc: "理解问题并查找语义相关内容",
|
||||
listChunks: "查看文档分块",
|
||||
listChunksDesc: "获取文档完整分块内容",
|
||||
queryGraph: "查询知识图谱",
|
||||
queryGraphDesc: "从知识图谱中查询关系",
|
||||
getDocInfo: "获取文档信息",
|
||||
getDocInfoDesc: "查看文档元数据",
|
||||
dbQuery: "查询数据库",
|
||||
dbQueryDesc: "查询数据库中的信息",
|
||||
dataAnalysis: "数据分析",
|
||||
dataAnalysisDesc: "理解数据文件并进行数据分析",
|
||||
dataSchema: "查看数据元信息",
|
||||
dataSchemaDesc: "获取表格文件的元信息",
|
||||
requiresKb: "(需要配置知识库)",
|
||||
},
|
||||
mcp: {
|
||||
label: "MCP 服务",
|
||||
desc: "选择 Agent 可以调用的 MCP 服务",
|
||||
selectLabel: "选择 MCP 服务",
|
||||
selectDesc: "选择要启用的 MCP 服务",
|
||||
selectPlaceholder: "选择 MCP 服务",
|
||||
},
|
||||
faq: {
|
||||
title: "FAQ 优先策略",
|
||||
tooltip: "当知识库中包含 FAQ(问答对)时,可以启用此策略让 FAQ 答案优先于普通文档",
|
||||
enableLabel: "启用 FAQ 优先",
|
||||
enableDesc: "FAQ 答案将优先于普通文档被引用,提高回答准确性",
|
||||
thresholdLabel: "直接回答阈值",
|
||||
thresholdDesc: "当问题与 FAQ 相似度超过此值时,直接使用 FAQ 答案",
|
||||
boostLabel: "FAQ 分数加权",
|
||||
boostDesc: "FAQ 结果的相关性分数乘以此系数,使其排序更靠前",
|
||||
},
|
||||
fallback: {
|
||||
fixed: "固定回复",
|
||||
model: "模型生成",
|
||||
},
|
||||
fileTypes: {
|
||||
label: "支持的文件类型",
|
||||
desc: "限制可选择的文件类型,留空表示支持所有类型",
|
||||
allTypes: "全部类型",
|
||||
pdf: "PDF 文档",
|
||||
word: "Word 文档 (.docx/.doc)",
|
||||
textLabel: "文本",
|
||||
text: "纯文本文件 (.txt)",
|
||||
markdown: "Markdown 文档",
|
||||
csv: "逗号分隔值文件",
|
||||
excel: "Excel 表格 (.xlsx/.xls)",
|
||||
imageLabel: "图片",
|
||||
image: "图片文件 (.jpg/.jpeg/.png)",
|
||||
},
|
||||
},
|
||||
faqManager: {
|
||||
retry: "重试",
|
||||
import: {
|
||||
recentResult: "最近导入结果",
|
||||
totalData: "导入数据",
|
||||
success: "成功",
|
||||
failed: "失败",
|
||||
skipped: "跳过",
|
||||
unit: "条",
|
||||
downloadReasons: "下载原因",
|
||||
appendMode: "追加模式",
|
||||
replaceMode: "替换模式",
|
||||
importing: "导入中...",
|
||||
importDone: "导入完成",
|
||||
importFailed: "导入失败",
|
||||
waiting: "等待中...",
|
||||
importInProgress: "导入正在进行中,请等待完成后再试",
|
||||
noFailedRecords: "暂无失败记录可下载",
|
||||
},
|
||||
},
|
||||
mermaid: {
|
||||
zoomIn: "放大",
|
||||
zoomOut: "缩小",
|
||||
reset: "重置",
|
||||
download: "下载图片",
|
||||
close: "关闭",
|
||||
downloading: "下载中...",
|
||||
},
|
||||
ollama: {
|
||||
unknown: "未知",
|
||||
today: "今天",
|
||||
yesterday: "昨天",
|
||||
daysAgo: "{days} 天前",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user