WeKnora/frontend/src/i18n/embed.ts

2154 lines
100 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.

import { createI18n } from 'vue-i18n'
const messages = {
"zh-CN": {
"embedPublish": {
"title": "网页嵌入",
"description": "将智能体嵌入到您的网页,访客可通过页面内聊天窗口或右下角浮窗发起对话。",
"create": "新建嵌入渠道",
"empty": "暂无嵌入渠道",
"unnamed": "未命名渠道",
"agent": "智能体",
"rateLimit": "限流",
"rateLimitUnit": "次/分钟",
"allowedOrigins": "域名白名单",
"embedCode": "嵌入代码",
"widgetCode": "浮窗脚本",
"copyCode": "复制代码",
"rotateToken": "轮换 Token",
"delete": "删除",
"edit": "编辑",
"createTitle": "新建嵌入渠道",
"editTitle": "编辑嵌入渠道",
"name": "名称",
"namePlaceholder": "例如:官网客服",
"welcomeMessage": "欢迎语",
"welcomePlaceholder": "你好,有什么可以帮您?",
"originsLabel": "域名白名单(每行一个,留空表示不限制)",
"originsPlaceholder": "https://shop.example.com",
"rateLimitLabel": "每分钟请求上限",
"debug": "调试预览",
"createdDebugHint": "嵌入渠道已创建,可点击「调试预览」在新标签页体验",
"primaryColor": "主题色",
"pageTitle": "页面标题",
"pageTitlePlaceholder": "AI 客服",
"tokenHint": "加载渠道密钥失败,请关闭后重新打开该渠道。",
"created": "嵌入渠道已创建",
"updated": "嵌入渠道已更新",
"deleted": "已删除",
"tokenRotated": "Token 已轮换",
"copied": "已复制嵌入代码",
"loadError": "加载失败",
"missingChannel": "缺少嵌入渠道或 Token",
"invalidChannel": "无效的嵌入渠道",
"sessionFailed": "无法创建对话会话,请稍后重试",
"channelDisabled": "嵌入渠道已停用,请在 Agent 编辑器的「网页嵌入」中重新启用",
"loading": "加载中...",
"tabIframe": "iframe",
"tabWidget": "浮窗",
"widgetPosition": "浮窗位置",
"widgetPreview": "浮窗预览",
"positionBottomRight": "右下角",
"positionBottomLeft": "左下角",
"positionTopRight": "右上角",
"positionTopLeft": "左上角",
"publishToken": "发布 Token",
"publishTokenHelp": "发布 Token(em_…)是嵌入渠道的长期密钥,相当于 API Key。打开渠道详情即可查看并复制;轮换后旧 Token 立即失效。",
"sessionTokenHelp": "访客打开聊天后,iframe 会用发布 Token 换取短期会话 Token(ems_…,约 30 分钟),后续请求使用会话 Token,避免在 URL 中长期暴露发布 Token。",
"rotateTokenHelp": "轮换会作废旧发布 Token,所有已部署的嵌入代码需同步更新,否则第三方站点将无法访问。",
"revealToken": "显示",
"hideToken": "隐藏",
"copyToken": "复制 Token",
"tokenCopied": "Token 已复制",
"awaitingToken": "等待宿主页面提供 Token…",
"preview": "预览",
"previewLoading": "加载预览中…",
"previewIframeHint": "模拟第三方网站用 iframe 嵌入的效果(与复制代码一致)。",
"previewWidgetHint": "模拟第三方网站加载浮窗脚本后的效果;真实站点由宿主页面通过 postMessage 传递 Token。",
"previewMockPage": "模拟宿主页面",
"defaultChatTitle": "AI 助手",
"newChat": "新建对话",
"rotateConfirmTitle": "确认轮换 Token?",
"rotateConfirmBody": "轮换后旧 Token 立即失效,已发布的嵌入代码需全部更新。",
"tokenRequiredForPreview": "需要发布 Token 才能预览。请先创建渠道,或点击「轮换 Token」获取新 Token。"
},
"chat": {
"title": "对话",
"newChat": "新对话",
"suggestedQuestions": "你可以这样问我",
"suggestedQuestionsLoading": "加载中...",
"followUpQuestions": "继续问",
"followUpQuestionsLoading": "加载推荐问题",
"refreshSuggestedQuestions": "换一批",
"inputPlaceholder": "请输入您的消息...",
"send": "发送",
"thinking": "思考中...",
"regenerate": "重新生成",
"copy": "复制",
"delete": "删除",
"reference": "引用",
"noMessages": "暂无消息",
"waitingForAnswer": "等待回答...",
"cannotAnswer": "抱歉,我无法回答这个问题。",
"summarizingAnswer": "总结答案中...",
"loading": "加载中...",
"enterDescription": "输入描述",
"referencedContent": "引用了 {count} 个相关资料",
"deepThinking": "深度思考完成",
"knowledgeBaseQandA": "知识库问答",
"askKnowledgeBase": "向知识库提问",
"sourcesCount": "{count} 个来源",
"pleaseEnterContent": "请输入内容!",
"pleaseUploadKnowledgeBase": "请先上传知识库!",
"replyingPleaseWait": "正在回复,请稍后再试!",
"createSessionFailed": "创建会话失败",
"createSessionError": "创建会话出错",
"unableToGetKnowledgeBaseId": "无法获取知识库ID",
"summaryInProgress": "正在总结答案……",
"thinkingAlt": "正在思考",
"conversationTime": {
"today": "今天 {time}",
"yesterday": "昨天 {time}",
"thisYear": "{month}月{day}日 {time}",
"otherYear": "{year}年{month}月{day}日 {time}"
},
"preparingAnswer": "正在准备回答…",
"connectingModelAndGeneratingAnswer": "正在连接模型并生成回答…",
"modelStillResponding": "模型响应较慢,仍在等待…",
"deepThoughtCompleted": "已深度思考",
"deepThoughtAlt": "深度思考完成",
"referencesTitle": "参考了{count}个相关内容",
"referencesDocCount": "引用了{count}篇文档",
"referencesWebCount": "参考了{count}条网页",
"referencesDocAndWebCount": "引用了{docCount}篇文档和{webCount}条网页",
"referencesDrawerTitle": "参考来源",
"referencesDrawerTitleWeb": "网页来源",
"referencesDrawerTitleDocs": "文档来源",
"referencesDrawerTitleTools": "工具结果",
"referencesDrawerTitleMixed": "参考来源",
"referencesDrawerWebSection": "网页",
"referencesDrawerDocsSection": "知识库文档",
"referencesDrawerToolsSection": "工具",
"referencesDrawerEmpty": "暂无参考来源",
"referenceChunkCount": "{count}个片段",
"fallbackHint": "未从知识库中检索到相关内容,以上为模型直接回答",
"requestInfoTitle": "请求信息",
"requestInfoRequestId": "Request ID",
"requestInfoMessageId": "消息 ID",
"requestInfoSessionId": "会话 ID",
"requestInfoUrl": "请求",
"requestInfoSentAt": "发起时间",
"requestInfoEmpty": "暂无请求信息",
"channelWeb": "网页",
"channelApi": "API",
"channelIm": "IM",
"chunkLabel": "片段{index}:",
"navigateToDocument": "查看文档详情",
"referenceIconAlt": "参考内容图标",
"chunkIdLabel": "片段ID:",
"documentIdLabel": "文档ID:",
"faqIdLabel": "FAQ ID:",
"faqContainerIdLabel": "所属文档ID:",
"faqAnswersLabel": "答案:",
"chunkOrdinal": "片段 {index}",
"previewContent": "预览内容",
"noPlanSteps": "未提供具体步骤",
"chunkIndexLabel": "片段 #{index}",
"chunkPositionLabel": "(位置: {position})",
"noRelatedChunks": "没有找到相关片段",
"noSearchResults": "没有找到搜索结果",
"relevanceHigh": "高相关",
"relevanceMedium": "中相关",
"relevanceLow": "低相关",
"relevanceWeak": "弱相关",
"webSearchNoResults": "未找到搜索结果",
"otherSource": "其他来源",
"webGroupIntro": "以下 {count} 条内容来自",
"graphConfigTitle": "图谱配置",
"entityTypesLabel": "实体类型:",
"relationTypesLabel": "关系类型:",
"graphResultsHeader": "找到 {count} 条相关结果",
"graphNoResults": "未找到相关的图谱信息",
"unknownLink": "未知链接",
"contentLengthLabel": "长度 {value}",
"notProvided": "未提供",
"promptLabel": "提示词",
"errorMessageLabel": "错误信息",
"summaryLabel": "总结",
"rawTextLabel": "原始文本",
"collapseRaw": "收起原文",
"expandRaw": "展开原文",
"noWebContent": "未获取到网页内容",
"lengthChars": "{value} 字",
"lengthThousands": "{value} 千字",
"lengthTenThousands": "{value} 万字",
"sqlQueryExecuted": "执行的 SQL 查询:",
"sqlResultsLabel": "返回结果:",
"rowsLabel": "行",
"columnsLabel": "列",
"noDatabaseRecords": "未找到匹配的记录",
"nullValuePlaceholder": "<NULL>",
"documentTitleLabel": "文档标题:",
"chunkCountLabel": "片段数量:",
"chunkCountValue": "{count} 个片段",
"documentDescriptionLabel": "文档描述:",
"documentStatusLabel": "处理状态:",
"documentSourceLabel": "来源:",
"documentFileLabel": "文件信息:",
"documentMetadataLabel": "元数据",
"documentInfoSummaryLabel": "文档信息",
"documentInfoCount": "成功 {count} / 请求 {requested}",
"documentInfoErrors": "错误详情",
"documentInfoEmpty": "暂无文档信息",
"statusDescription": "状态说明",
"statusIndexed": "文档已索引并可搜索",
"statusSearchable": "可使用搜索工具查找文档内容",
"statusChunkDetailAvailable": "可使用 get_chunk_detail 查看片段详情",
"positionLabel": "位置:",
"chunkPositionValue": "第 {index} 个片段",
"contentLengthLabelSimple": "内容长度:",
"fullContentLabel": "完整内容",
"copyContent": "复制内容",
"knowledgeBaseCount": "共 {count} 个知识库",
"noKnowledgeBases": "没有可用的知识库",
"rawOutputLabel": "原始输出",
"wikiWritePageTitle": "Wiki 页面写入",
"wikiReplaceTextTitle": "Wiki 文本替换",
"wikiRenamePageTitle": "Wiki 页面重命名",
"wikiDeletePageTitle": "Wiki 页面删除",
"wikiActionCreated": "已创建",
"wikiActionUpdated": "已更新",
"wikiActionRenamed": "已重命名",
"wikiActionDeleted": "已删除",
"wikiFieldSlug": "页面路径",
"wikiFieldTitle": "标题",
"wikiFieldPageType": "类型",
"wikiFieldSummary": "摘要",
"wikiFieldOldText": "原文本",
"wikiFieldNewText": "新文本",
"wikiFieldOldSlug": "原路径",
"wikiFieldNewSlug": "新路径",
"wikiFieldAffectedPages": "受影响页面",
"wikiAffectedCount": "{count} 个页面的链接已更新",
"selectKnowledgeBaseWarning": "请至少选择一个知识库",
"processError": "处理出错",
"sessionExcerpt": "会话摘录",
"noAnswerContent": "(无回答内容)",
"noMatchFound": "未找到匹配的内容",
"deleteSessionFailed": "删除失败,请稍后再试!",
"imageTooMany": "最多上传5张图片",
"imageTypeSizeError": "仅支持 JPG/PNG/GIF/WEBP 格式,单张不超过 10MB",
"imageReadFailed": "读取图片失败",
"imageUploadTooltip": "上传图片(支持粘贴/拖拽)",
"attachmentUploadTooltip": "上传附件(文档、音频等)",
"attachmentWithCount": "已上传 {count} 个附件",
"attachmentTooMany": "最多上传 {max} 个附件",
"attachmentTooLarge": "文件 {name} 超过 {max}MB 限制",
"attachmentTypeNotSupported": "不支持的文件类型:{name}",
"attachmentUploading": "上传中 {progress}%",
"attachmentParsing": "正在解析",
"attachmentReady": "解析完成",
"attachmentUploadFailed": "附件上传失败",
"attachmentParseFailed": "附件解析失败",
"attachmentStillProcessing": "附件 {name} 仍在解析,请稍候",
"attachmentParseTimeout": "附件解析时间过长,请稍后重试",
"copySuccess": "已复制到剪贴板",
"copyFailed": "复制失败",
"emptyContentWarning": "当前回答为空",
"editorOpened": "已打开编辑器,请选择知识库后保存"
},
"common": {
"loading": "加载中...",
"confirm": "确认",
"cancel": "取消",
"close": "关闭",
"copy": "复制",
"copied": "已复制",
"finish": "完成"
},
"error": {
"tokenNotFound": "未找到登录令牌,请重新登录",
"invalidImageLink": "无效的图片链接",
"streamFailed": "流式连接失败"
},
"agent": {
"taskLabel": "任务:",
"think": "思考",
"copy": "复制",
"addToKnowledgeBase": "添加到知识库",
"artifactDrawer": {
"buttonTitle": "查看本次生成的文件",
"title": "生成的文件",
"empty": "本次未生成可下载的文件",
"preview": "预览",
"previewBack": "返回列表",
"collecting": "正在保存生成的文件…",
"download": "下载",
"downloadFailed": "下载失败,请稍后重试",
"inlinePreviewHint": "点击预览",
"inlineMissing": "文件不可用",
"inlineDeleted": "文件已删除"
},
"updatePlan": "更新计划",
"webSearchFound": "找到 <strong>{count}</strong> 个网络搜索结果",
"argumentsLabel": "参数",
"toolFallback": "工具",
"stepsCompleted": "已完成 <strong>{steps}</strong> 个步骤",
"stepsCompletedWithDuration": "已完成 <strong>{steps}</strong> 个步骤,耗时 <strong>{duration}</strong>",
"reasoningRounds": "思考 <strong>{rounds}</strong> 轮",
"toolCalls": "调用 <strong>{tools}</strong> 次工具",
"durationSuffix": "耗时 <strong>{duration}</strong>",
"stepSummarySeparator": " · "
},
"agentStream": {
"toolApproval": {
"banner": "该 MCP 工具已标记为「需人工审核」,确认参数后再执行",
"waiting": "等待审核 · {target}",
"waitingStatus": "等待审核",
"targetWithTool": "{service} › {tool}",
"titleWithTarget": "人工审核 · {service} › {tool}",
"resolvedApproved": "已通过 · {target}",
"resolvedRejected": "已拒绝 · {target}",
"service": "服务",
"tool": "工具",
"argsLabel": "调用参数",
"argsModified": "已修改",
"countdown": "剩余约 {seconds} 秒",
"countdownShort": "{seconds}s",
"approve": "通过并执行",
"reject": "拒绝",
"approvedTag": "已通过",
"rejectedTag": "已拒绝",
"invalidJson": "参数不是合法 JSON",
"submitted": "已提交",
"submitFailed": "提交失败",
"userRejected": "用户拒绝"
},
"mcpOAuth": {
"banner": "该 MCP 服务需要 OAuth 授权后才能调用",
"waiting": "等待授权 · {target}",
"waitingStatus": "等待授权",
"targetWithTool": "{service} › {tool}",
"titleWithService": "OAuth 授权 · {service}",
"titleWithTool": "OAuth 授权 · {service} › {tool}",
"resolvedAuthorized": "已授权 · {target}",
"resolvedTimedOut": "授权超时 · {target}",
"resolvedCanceled": "已跳过 · {target}",
"desc": "点击授权将打开新窗口完成登录,授权成功后会自动继续本次工具调用。",
"authorize": "去授权",
"skip": "跳过",
"countdown": "剩余约 {seconds} 秒",
"countdownShort": "{seconds}s",
"authorizedTag": "已授权",
"timedOutTag": "授权超时",
"canceledTag": "已取消",
"authorizedToast": "授权成功,正在继续",
"startFailed": "发起授权失败",
"resumeFailed": "恢复执行失败,请重试",
"skipFailed": "跳过失败,请重试"
},
"mcp": {
"discoverTools": "发现 MCP 工具",
"listServers": "查看 MCP 服务",
"listTools": "查看 MCP 工具",
"searchTools": "搜索 MCP 工具",
"describeTool": "读取工具定义",
"callTool": "调用 MCP 工具",
"showing": "已显示 {count} / {total} 项",
"moreAvailable": "还有更多结果",
"empty": "没有可显示的项",
"parameters": "参数",
"expand": "展开说明",
"collapse": "收起",
"required": "必填",
"fullSchema": "完整参数定义",
"failed": "MCP 操作失败",
"result": "执行结果",
"status": {
"not_loaded": "未加载",
"loading": "加载中",
"ready": "可用",
"needs_auth": "需要授权",
"error": "连接失败",
"disabled": "已禁用",
"unavailable": "不可用"
}
},
"tools": {
"searchKnowledge": "知识库检索",
"grepChunks": "搜索关键词",
"webSearch": "网络搜索",
"webFetch": "网页抓取",
"getDocumentInfo": "获取文档信息",
"listKnowledgeChunks": "查看知识分块",
"getRelatedDocuments": "查找相关文档",
"getDocumentContent": "获取文档内容",
"todoWrite": "计划管理",
"knowledgeGraphExtract": "知识图谱抽取",
"thinking": "思考",
"imageAnalysis": "查看图片内容",
"queryUnderstand": "理解问题",
"queryKnowledgeGraph": "知识图谱查询",
"readSkill": "读取技能",
"executeSkillScript": "执行技能脚本",
"listSandboxFiles": "列出沙箱文件",
"readSandboxFile": "读取沙箱文件",
"writeSandboxFile": "写入沙箱文件",
"editSandboxFile": "编辑沙箱文件",
"shellExec": "执行沙箱命令",
"dataAnalysis": "数据分析",
"dataSchema": "数据结构",
"databaseQuery": "数据库查询"
},
"skillFiles": {
"heading": "技能文件",
"script": "脚本",
"instructions": "技能说明"
},
"sandboxFiles": {
"found": "找到 {count} 个文件",
"empty": "暂无文件",
"truncated": "列表已截断",
"wrote": "已写入",
"edited": "已编辑",
"replacements": "替换 {count} 处",
"moreLines": "另有 {count} 行"
},
"shellExec": {
"workDir": "目录",
"exitCode": "退出码",
"stdout": "标准输出",
"stderr": "标准错误",
"emptyOutput": "无输出",
"truncated": "输出已截断",
"killed": "已超时终止",
"binarySuppressed": "二进制输出已省略,请将文件写入产物目录后下载"
},
"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",
"noKbForWiki": "无法识别关联的知识库,无法打开 Wiki"
},
"toolSummary": {
"getDocument": "获取文档:{title}",
"document": "文档",
"listChunks": "查看 {title}",
"listFaqEntry": "查看 FAQ:{question}",
"deepThinking": "深度思考"
},
"plan": {
"inProgress": "进行中",
"pending": "待处理",
"completed": "已完成"
},
"search": {
"noResults": "未找到匹配的内容",
"candidatesBelowThreshold": "命中 {count} 条候选,相关性不足,未用于回答",
"foundResultsFromFiles": "找到 {count} 个结果,来自 {files} 个文件",
"foundResults": "找到 {count} 个结果",
"foundMixedResults": "找到 {count} 个结果({docCount} 篇文档,{webCount} 条网页)",
"webResults": "找到 {count} 条网页",
"grepSummary": "找到 {chunks} 个匹配片段,来自 {docs} 个文档"
},
"grepResults": {
"chunkHits": "{count} 片段",
"keywordHits": "{count} 次",
"titleMatch": "标题匹配",
"faqEntry": "FAQ 条目"
},
"knowledgeChunksList": {
"chunkRange": "已加载 {fetched} / {total} 个分块",
"page": "第 {page} 页,每页 {pageSize} 个",
"offsetRange": "第 {from}–{to} 块",
"queryMatches": "文档内搜索「{query}」命中 {count} 处",
"queryNoMatch": "文档内搜索「{query}」无匹配"
},
"attachmentParsing": {
"parsedSummary": "已解析 {count} 个附件",
"parsedWithSkipped": "已解析 {parsed} 个附件,{skipped} 个未完成已跳过",
"noneReady": "没有可用的已解析附件"
},
"ragPipeline": {
"understanding": "正在理解问题...",
"understandDone": "已完成问题理解",
"searching": "正在检索知识库...",
"searchingWithQuery": "正在检索知识库:「{query}」",
"searchingWeb": "正在检索网络...",
"searchingWebWithQuery": "正在检索网络:「{query}」",
"searchingMixed": "正在检索知识库和网络...",
"searchingMixedWithQuery": "正在检索知识库和网络:「{query}」",
"searchDone": "检索完成",
"searchDoneWithQuery": "检索知识库:「{query}」",
"referencedDocs": "引用 <strong>{count}</strong> 篇文档",
"referencedWebs": "引用 <strong>{count}</strong> 条网页",
"referencedDocAndWeb": "引用 <strong>{docCount}</strong> 篇文档和 <strong>{webCount}</strong> 条网页"
},
"toolStatus": {
"calling": "正在调用 {name}...",
"searchKb": "检索知识库",
"searchKbFailed": "检索知识库失败",
"searchMixed": "检索知识库和网络",
"searchMixedFailed": "检索失败",
"webSearch": "网络搜索",
"webSearchFailed": "网络搜索失败",
"grepSearch": "搜索关键词",
"grepSearchFailed": "搜索关键词失败",
"getDocInfo": "获取文档信息",
"getDocInfoFailed": "获取文档信息失败",
"viewDocument": "查看文档",
"thinkingDone": "完成思考",
"thinkingFailed": "思考失败",
"updateTodos": "更新任务列表",
"updateTodosFailed": "更新任务列表失败",
"imageAnalyzing": "正在查看图片内容...",
"imageAnalysisDone": "已查看图片内容",
"imageAnalysisFailed": "图片内容查看失败",
"attachmentParsing": "正在解析附件...",
"attachmentParsingDone": "已解析附件",
"attachmentParsingFailed": "附件解析失败",
"queryUnderstanding": "正在理解问题...",
"queryUnderstandDone": "已完成问题理解",
"called": "调用 {name}",
"calledFailed": "调用 {name} 失败",
"shellExecRunning": "正在执行沙箱命令..."
},
"copy": {
"emptyContent": "当前回答为空,无法复制",
"success": "已复制到剪贴板",
"failed": "复制失败,请手动复制"
},
"saveToKb": {
"emptyContent": "当前回答为空,无法保存到知识库",
"editorOpened": "已打开编辑器,请选择知识库后保存"
}
},
"input": {
"placeholder": "直接向模型提问",
"stopGeneration": "停止生成",
"send": "发送",
"webSearch": {
"label": "网络搜索",
"toggleOn": "开启网络搜索",
"toggleOff": "关闭网络搜索",
"agentDisabled": "当前智能体未启用联网搜索"
},
"imageUpload": {
"label": "上传图片",
"tooltip": "上传图片",
"agentDisabled": "当前智能体未启用图片上传"
},
"fileUpload": {
"label": "上传附件",
"tooltip": "上传文档等附件",
"tooMany": "最多上传 5 个附件",
"tooLarge": "附件超过 20MB 限制"
},
"messages": {
"enterContent": "请先输入内容!",
"selectKnowledge": "请先选择知识库!",
"replying": "正在回复中,请稍后再试!",
"agentSwitchedOn": "已切换到智能推理",
"agentSwitchedOff": "已切换到快速问答",
"agentSelected": "已选择智能体「{name}」",
"agentEnabled": "Agent 模式已启用",
"agentDisabled": "Agent 模式已禁用",
"agentNotReadyDetail": "Agent 未就绪,需要配置以下内容:{reasons}",
"webSearchNotConfigured": "未配置网络搜索引擎,请先在设置中完成搜索引擎选择与接口配置。",
"webSearchEnabled": "网络搜索已开启",
"webSearchDisabled": "网络搜索已关闭",
"sessionMissing": "会话 ID 不存在",
"messageMissing": "无法获取消息 ID,请刷新页面后重试",
"stopSuccess": "已停止生成",
"stopFailed": "停止失败,请重试"
}
},
"knowledgeEditor": {
"wikiBrowser": {
"viewInGraph": "在图谱中查看",
"editingBadge": "编辑中",
"pageActions": "页面操作",
"version": "v{ver}",
"filterSummary": "摘要",
"filterEntity": "实体",
"filterConcept": "概念",
"filterSynthesis": "综合",
"filterComparison": "对比"
}
}
},
"ja-JP": {
"embedPublish": {
"title": "Webページ埋め込み",
"description": "このエージェントを自社サイトに埋め込むと、訪問者はページ内のチャットウィンドウやフローティングウィジェットから会話できます。",
"create": "埋め込みチャネルを作成",
"empty": "埋め込みチャネルがありません",
"unnamed": "名称未設定のチャネル",
"agent": "エージェント",
"rateLimit": "レート制限",
"rateLimitUnit": "回/分",
"allowedOrigins": "許可オリジン",
"embedCode": "埋め込みコード",
"widgetCode": "ウィジェットスクリプト",
"copyCode": "コードをコピー",
"rotateToken": "トークンをローテーション",
"delete": "削除",
"edit": "編集",
"createTitle": "埋め込みチャネルを作成",
"editTitle": "埋め込みチャネルを編集",
"name": "名前",
"namePlaceholder": "例: Webサイトサポート",
"welcomeMessage": "ウェルカムメッセージ",
"welcomePlaceholder": "こんにちは。何かお手伝いできることはありますか?",
"originsLabel": "許可オリジン(1行に1つ、空の場合はすべて許可)",
"originsPlaceholder": "https://shop.example.com",
"rateLimitLabel": "1分あたりのリクエスト上限",
"debug": "デバッグプレビュー",
"createdDebugHint": "埋め込みチャネルを作成しました。「デバッグプレビュー」で新しいタブを開いて確認できます",
"primaryColor": "テーマカラー",
"pageTitle": "ページタイトル",
"pageTitlePlaceholder": "AIアシスタント",
"tokenHint": "チャネルキーの読み込みに失敗しました。このチャネルを閉じて開き直してください。",
"created": "埋め込みチャネルを作成しました",
"updated": "埋め込みチャネルを更新しました",
"deleted": "削除しました",
"tokenRotated": "トークンをローテーションしました",
"copied": "埋め込みコードをコピーしました",
"loadError": "読み込みに失敗しました",
"missingChannel": "埋め込みチャネルまたはトークンがありません",
"invalidChannel": "無効な埋め込みチャネルです",
"sessionFailed": "チャットセッションの作成に失敗しました。再試行してください",
"channelDisabled": "この埋め込みチャネルは無効になっています。エージェントエディタの「Webページ埋め込み」で再度有効にしてください",
"loading": "読み込み中...",
"tabIframe": "iframe",
"tabWidget": "ウィジェット",
"widgetPosition": "ウィジェットの位置",
"widgetPreview": "ウィジェットのプレビュー",
"positionBottomRight": "右下",
"positionBottomLeft": "左下",
"positionTopRight": "右上",
"positionTopLeft": "左上",
"publishToken": "公開トークン",
"publishTokenHelp": "公開トークン(em_…)は、この埋め込みチャネルの長期的なシークレットで、APIキーに相当します。チャネル詳細を開くと表示・コピーできます。ローテーションすると、以前のトークンは即座に無効になります。",
"sessionTokenHelp": "訪問者がチャットを開くと、iframeは公開トークンを短期のセッショントークン(ems_…、約30分)と交換します。以降のAPI呼び出しはセッショントークンを使うため、公開トークンがURLに残りません。",
"rotateTokenHelp": "ローテーションすると、以前の公開トークンは無効になります。デプロイ済みの埋め込みコードをすべて更新しないと、サードパーティのサイトからアクセスできなくなります。",
"revealToken": "表示",
"hideToken": "非表示",
"copyToken": "トークンをコピー",
"tokenCopied": "トークンをコピーしました",
"awaitingToken": "ホストページからトークンが渡されるのを待っています…",
"preview": "プレビュー",
"previewLoading": "プレビューを読み込み中…",
"previewIframeHint": "サードパーティのページにiframeで埋め込んだ場合の表示です(コピーしたコードと同じ)。",
"previewWidgetHint": "疑似ホストページ上でフローティングウィジェットを表示します。実際のサイトでは、ホストページがpostMessageでトークンを渡します。",
"previewMockPage": "疑似ホストページ",
"defaultChatTitle": "AIアシスタント",
"newChat": "新しいチャット",
"rotateConfirmTitle": "公開トークンをローテーションしますか?",
"rotateConfirmBody": "以前のトークンは即座に使用できなくなります。デプロイ済みの埋め込みコードをすべて更新してください。",
"tokenRequiredForPreview": "プレビューには公開トークンが必要です。先にチャネルを作成するか、トークンをローテーションしてください。"
},
"chat": {
"title": "チャット",
"newChat": "新しいチャット",
"suggestedQuestions": "こんな質問ができます",
"suggestedQuestionsLoading": "読み込み中...",
"followUpQuestions": "続けて質問",
"followUpQuestionsLoading": "おすすめの質問を読み込み中",
"refreshSuggestedQuestions": "別の質問",
"inputPlaceholder": "メッセージを入力してください...",
"send": "送信",
"thinking": "思考中...",
"regenerate": "再生成",
"copy": "コピー",
"delete": "削除",
"reference": "引用",
"noMessages": "メッセージはありません",
"waitingForAnswer": "回答を待っています...",
"cannotAnswer": "申し訳ありません。この質問にはお答えできません。",
"summarizingAnswer": "回答を要約中...",
"loading": "読み込み中...",
"referencedContent": "{count}件の関連資料を引用しました",
"deepThinking": "深い思考が完了しました",
"knowledgeBaseQandA": "ナレッジベースQ&A",
"askKnowledgeBase": "ナレッジベースに質問",
"sourcesCount": "{count}件の出典",
"pleaseEnterContent": "内容を入力してください!",
"pleaseUploadKnowledgeBase": "先にナレッジベースをアップロードしてください!",
"replyingPleaseWait": "回答中です。しばらくお待ちください。",
"createSessionFailed": "セッションの作成に失敗しました",
"createSessionError": "セッション作成でエラーが発生しました",
"unableToGetKnowledgeBaseId": "ナレッジベースIDを取得できません",
"summaryInProgress": "回答を要約しています…",
"thinkingAlt": "思考中",
"conversationTime": {
"today": "今日{time}",
"yesterday": "昨日{time}",
"thisYear": "{month}/{day} {time}",
"otherYear": "{year}/{month}/{day} {time}"
},
"preparingAnswer": "回答を準備しています…",
"connectingModelAndGeneratingAnswer": "モデルに接続して回答を生成しています…",
"modelStillResponding": "モデルの応答に時間がかかっています。引き続きお待ちください…",
"deepThoughtCompleted": "深い思考が完了しました",
"deepThoughtAlt": "深い思考が完了しました",
"referencesTitle": "関連する内容を{count}件参照しました",
"referencesDocCount": "{count}件のドキュメントを引用しました",
"referencesWebCount": "{count}件のWebページを参照しました",
"referencesDocAndWebCount": "{docCount}件のドキュメントと{webCount}件のWebページを引用しました",
"referencesDrawerTitle": "出典",
"referencesDrawerTitleWeb": "Webの出典",
"referencesDrawerTitleDocs": "ドキュメントの出典",
"referencesDrawerTitleTools": "ツールの実行結果",
"referencesDrawerTitleMixed": "出典",
"referencesDrawerWebSection": "Web",
"referencesDrawerDocsSection": "ドキュメント",
"referencesDrawerToolsSection": "ツール",
"referencesDrawerEmpty": "出典はありません",
"referenceChunkCount": "{count}件のチャンク",
"fallbackHint": "ナレッジベースに関連する内容が見つかりませんでした。以上はモデルによる直接の回答です。",
"requestInfoTitle": "リクエスト情報",
"requestInfoRequestId": "Request ID",
"requestInfoMessageId": "メッセージID",
"requestInfoSessionId": "セッションID",
"requestInfoUrl": "リクエスト",
"requestInfoSentAt": "送信日時",
"requestInfoEmpty": "リクエスト情報はありません",
"channelWeb": "Web",
"channelApi": "API",
"channelIm": "IM",
"chunkLabel": "チャンク{index}:",
"navigateToDocument": "ドキュメントの詳細を表示",
"referenceIconAlt": "参考資料アイコン",
"chunkIdLabel": "チャンクID:",
"documentIdLabel": "ドキュメントID:",
"faqIdLabel": "FAQ ID:",
"faqContainerIdLabel": "所属ドキュメントID:",
"faqAnswersLabel": "回答:",
"chunkOrdinal": "チャンク{index}",
"previewContent": "内容をプレビュー",
"noPlanSteps": "具体的な手順はありません",
"chunkIndexLabel": "チャンク#{index}",
"chunkPositionLabel": "(位置: {position})",
"noRelatedChunks": "関連するチャンクが見つかりません",
"noSearchResults": "検索結果が見つかりません",
"relevanceHigh": "関連性 高",
"relevanceMedium": "関連性 中",
"relevanceLow": "関連性 低",
"relevanceWeak": "関連性 弱",
"webSearchNoResults": "Web検索の結果が見つかりません",
"otherSource": "その他の出典",
"webGroupIntro": "以下の{count}件の出典元",
"graphConfigTitle": "グラフ設定",
"entityTypesLabel": "エンティティタイプ:",
"relationTypesLabel": "リレーションタイプ:",
"graphResultsHeader": "{count}件の関連結果が見つかりました",
"graphNoResults": "関連するナレッジグラフ情報が見つかりません",
"unknownLink": "不明なリンク",
"contentLengthLabel": "長さ{value}",
"notProvided": "なし",
"promptLabel": "プロンプト",
"errorMessageLabel": "エラーメッセージ",
"summaryLabel": "要約",
"rawTextLabel": "元のテキスト",
"collapseRaw": "原文を折りたたむ",
"expandRaw": "原文を展開",
"noWebContent": "Webページの内容を取得できませんでした",
"lengthChars": "{value}文字",
"lengthThousands": "{value}千文字",
"lengthTenThousands": "{value}万文字",
"sqlQueryExecuted": "実行したSQLクエリ:",
"sqlResultsLabel": "実行結果:",
"rowsLabel": "行",
"columnsLabel": "列",
"noDatabaseRecords": "一致するレコードが見つかりません",
"nullValuePlaceholder": "<NULL>",
"documentTitleLabel": "ドキュメントタイトル:",
"chunkCountLabel": "チャンク数:",
"chunkCountValue": "{count}件のチャンク",
"documentDescriptionLabel": "説明:",
"documentStatusLabel": "ステータス:",
"documentSourceLabel": "ソース:",
"documentFileLabel": "ファイル:",
"documentMetadataLabel": "メタデータ",
"documentInfoSummaryLabel": "ドキュメント情報",
"documentInfoCount": "{requested}件中{count}件のドキュメントを取得しました",
"documentInfoErrors": "エラー",
"documentInfoEmpty": "ドキュメント情報はありません",
"statusDescription": "ステータスの説明",
"statusIndexed": "ドキュメントはインデックス済みで検索できます",
"statusSearchable": "検索ツールでドキュメントの内容を探せます",
"statusChunkDetailAvailable": "get_chunk_detailでチャンクの詳細を確認できます",
"positionLabel": "位置:",
"chunkPositionValue": "チャンク#{index}",
"contentLengthLabelSimple": "内容の長さ:",
"fullContentLabel": "全文",
"copyContent": "内容をコピー",
"knowledgeBaseCount": "{count}件のナレッジベース",
"noKnowledgeBases": "利用できるナレッジベースがありません",
"enterDescription": "説明を入力",
"rawOutputLabel": "生の出力",
"wikiWritePageTitle": "Wikiページ書き込み",
"wikiReplaceTextTitle": "Wikiテキスト置換",
"wikiRenamePageTitle": "Wikiページ名変更",
"wikiDeletePageTitle": "Wikiページ削除",
"wikiActionCreated": "作成済み",
"wikiActionUpdated": "更新済み",
"wikiActionRenamed": "名前変更済み",
"wikiActionDeleted": "削除済み",
"wikiFieldSlug": "ページパス",
"wikiFieldTitle": "タイトル",
"wikiFieldPageType": "タイプ",
"wikiFieldSummary": "要約",
"wikiFieldOldText": "変更前のテキスト",
"wikiFieldNewText": "変更後のテキスト",
"wikiFieldOldSlug": "変更前のパス",
"wikiFieldNewSlug": "変更後のパス",
"wikiFieldAffectedPages": "影響を受けるページ",
"wikiAffectedCount": "{count}件のページのリンクを更新しました",
"selectKnowledgeBaseWarning": "ナレッジベースを1つ以上選択してください",
"processError": "処理エラー",
"sessionExcerpt": "セッションの抜粋",
"noAnswerContent": "(回答内容なし)",
"noMatchFound": "一致する内容が見つかりません",
"deleteSessionFailed": "削除に失敗しました。しばらくしてから再度お試しください。",
"imageTooMany": "画像は最大5枚までです",
"imageTypeSizeError": "JPG/PNG/GIF/WEBP形式のみ対応しています。1枚あたり10MB以下にしてください",
"imageReadFailed": "画像の読み込みに失敗しました",
"imageUploadTooltip": "画像をアップロード(貼り付け・ドラッグ&ドロップ対応)",
"attachmentUploadTooltip": "添付ファイルをアップロード(ドキュメント、音声など)",
"attachmentWithCount": "{count}件の添付ファイルをアップロードしました",
"attachmentTooMany": "添付ファイルは最大{max}件までです",
"attachmentTooLarge": "ファイル{name}が{max}MBの上限を超えています",
"attachmentTypeNotSupported": "サポートされていないファイル形式: {name}",
"attachmentUploading": "アップロード中{progress}%",
"attachmentParsing": "解析中",
"attachmentReady": "解析完了",
"attachmentUploadFailed": "添付ファイルのアップロードに失敗しました",
"attachmentParseFailed": "添付ファイルの解析に失敗しました",
"attachmentStillProcessing": "添付ファイル{name}はまだ解析中です",
"attachmentParseTimeout": "添付ファイルの解析がタイムアウトしました。しばらくしてから再試行してください。",
"copySuccess": "クリップボードにコピーしました",
"copyFailed": "コピーに失敗しました",
"emptyContentWarning": "回答が空です",
"editorOpened": "エディタを開きました。ナレッジベースを選択して保存してください"
},
"common": {
"loading": "読み込み中...",
"confirm": "確認",
"cancel": "キャンセル",
"close": "閉じる",
"copy": "コピー",
"copied": "コピーしました",
"finish": "完了"
},
"error": {
"tokenNotFound": "ログイントークンが見つかりません。再度ログインしてください",
"invalidImageLink": "無効な画像リンクです",
"streamFailed": "ストリーム接続に失敗しました"
},
"agent": {
"taskLabel": "タスク:",
"think": "思考",
"copy": "コピー",
"addToKnowledgeBase": "ナレッジベースに追加",
"artifactDrawer": {
"buttonTitle": "この回答で生成されたファイルを表示",
"title": "生成されたファイル",
"empty": "今回はダウンロードできるファイルが生成されませんでした。",
"preview": "プレビュー",
"previewBack": "一覧に戻る",
"collecting": "生成されたファイルを保存しています…",
"download": "ダウンロード",
"downloadFailed": "ダウンロードに失敗しました。再試行してください。",
"inlinePreviewHint": "クリックしてプレビュー",
"inlineMissing": "ファイルを利用できません",
"inlineDeleted": "ファイルは削除されました"
},
"updatePlan": "計画を更新",
"webSearchFound": "Web検索結果を<strong>{count}</strong>件見つけました",
"argumentsLabel": "引数",
"toolFallback": "ツール",
"stepsCompleted": "<strong>{steps}</strong>ステップ完了",
"stepsCompletedWithDuration": "<strong>{steps}</strong>ステップ完了(所要時間<strong>{duration}</strong>)",
"reasoningRounds": "推論<strong>{rounds}</strong>回",
"toolCalls": "ツール呼び出し<strong>{tools}</strong>回",
"durationSuffix": "所要時間<strong>{duration}</strong>",
"stepSummarySeparator": " · "
},
"agentStream": {
"toolApproval": {
"banner": "このMCPツールは人による承認が必要です。実行前にパラメータを確認してください。",
"waiting": "承認待ち · {target}",
"waitingStatus": "承認待ち",
"targetWithTool": "{service} › {tool}",
"titleWithTarget": "承認 · {service} › {tool}",
"resolvedApproved": "承認済み · {target}",
"resolvedRejected": "拒否済み · {target}",
"service": "サービス",
"tool": "ツール",
"argsLabel": "呼び出し引数",
"argsModified": "変更済み",
"countdown": "残り約{seconds}秒",
"countdownShort": "{seconds}s",
"approve": "承認して実行",
"reject": "拒否",
"approvedTag": "承認済み",
"rejectedTag": "拒否済み",
"invalidJson": "引数が正しいJSONではありません",
"submitted": "送信しました",
"submitFailed": "送信に失敗しました",
"userRejected": "ユーザが拒否しました"
},
"mcpOAuth": {
"banner": "このMCPサービスを利用するにはOAuth認可が必要です",
"waiting": "認可待ち · {target}",
"waitingStatus": "認可待ち",
"targetWithTool": "{service} › {tool}",
"titleWithService": "OAuth · {service}",
"titleWithTool": "OAuth · {service} › {tool}",
"resolvedAuthorized": "認可済み · {target}",
"resolvedTimedOut": "タイムアウト · {target}",
"resolvedCanceled": "スキップ済み · {target}",
"desc": "認可を開始すると新しいウィンドウが開くので、そこでログインしてください。認可が成功すると、ツール呼び出しは自動的に再開されます。",
"authorize": "認可",
"skip": "スキップ",
"countdown": "残り約{seconds}秒",
"countdownShort": "{seconds}s",
"authorizedTag": "認可済み",
"timedOutTag": "認可タイムアウト",
"canceledTag": "キャンセル済み",
"authorizedToast": "認可しました。処理を再開しています…",
"startFailed": "認可の開始に失敗しました",
"resumeFailed": "再開に失敗しました。再試行してください。",
"skipFailed": "スキップに失敗しました。再試行してください。"
},
"mcp": {
"discoverTools": "MCP ツールを検出",
"listServers": "MCP サービス一覧",
"listTools": "MCP ツール一覧",
"searchTools": "MCP ツールを検索",
"describeTool": "ツール定義を確認",
"callTool": "MCP ツールを実行",
"showing": "{total} 件中 {count} 件を表示",
"moreAvailable": "他にも結果があります",
"empty": "表示する項目はありません",
"parameters": "パラメーター",
"expand": "説明を表示",
"collapse": "閉じる",
"required": "必須",
"fullSchema": "完全なパラメータ定義",
"failed": "MCP 操作に失敗しました",
"result": "実行結果",
"status": {
"not_loaded": "未読み込み",
"loading": "読み込み中",
"ready": "利用可能",
"needs_auth": "認証が必要",
"error": "接続失敗",
"disabled": "無効",
"unavailable": "利用不可"
}
},
"tools": {
"searchKnowledge": "ナレッジベース検索",
"grepChunks": "テキストパターン検索",
"webSearch": "Web検索",
"webFetch": "Webページ取得",
"getDocumentInfo": "ドキュメント情報を取得",
"listKnowledgeChunks": "ナレッジチャンクを一覧表示",
"getRelatedDocuments": "関連ドキュメントを検索",
"getDocumentContent": "ドキュメント内容を取得",
"todoWrite": "計画管理",
"knowledgeGraphExtract": "ナレッジグラフ抽出",
"thinking": "思考",
"imageAnalysis": "画像解析",
"queryUnderstand": "クエリの理解",
"queryKnowledgeGraph": "ナレッジグラフクエリ",
"readSkill": "スキルを読み込み",
"executeSkillScript": "スキルスクリプトを実行",
"listSandboxFiles": "サンドボックスのファイル一覧",
"readSandboxFile": "サンドボックスファイルを読み取り",
"writeSandboxFile": "サンドボックスファイルに書き込み",
"editSandboxFile": "サンドボックスファイルを編集",
"shellExec": "サンドボックスコマンドを実行",
"dataAnalysis": "データ分析",
"dataSchema": "データスキーマ",
"databaseQuery": "データベースクエリ"
},
"skillFiles": {
"heading": "スキルファイル",
"script": "スクリプト",
"instructions": "スキルの説明"
},
"sandboxFiles": {
"found": "{count}件のファイルが見つかりました",
"empty": "ファイルはありません",
"truncated": "一覧は省略されています",
"wrote": "書き込みました",
"edited": "編集しました",
"replacements": "{count}箇所を置換しました",
"moreLines": "他{count}行"
},
"shellExec": {
"workDir": "ディレクトリ",
"exitCode": "終了コード",
"stdout": "標準出力",
"stderr": "標準エラー出力",
"emptyOutput": "出力なし",
"truncated": "出力は省略されています",
"killed": "タイムアウト",
"binarySuppressed": "バイナリ出力は省略されました。ダウンロードするには、成果物ディレクトリにファイルを書き出してください。"
},
"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",
"noKbForWiki": "関連するナレッジベースを特定できないため、Wikiを開けません。"
},
"toolSummary": {
"getDocument": "ドキュメントを取得: {title}",
"document": "ドキュメント",
"listChunks": "{title}を表示",
"listFaqEntry": "FAQを表示: {question}",
"deepThinking": "深い思考"
},
"plan": {
"inProgress": "進行中",
"pending": "保留中",
"completed": "完了"
},
"search": {
"noResults": "一致する内容が見つかりません",
"candidatesBelowThreshold": "{count}件の候補が該当しましたが、関連性が十分でないため使用していません",
"foundResultsFromFiles": "{files}件のファイルから{count}件の結果が見つかりました",
"foundResults": "{count}件の結果が見つかりました",
"foundMixedResults": "{count}件の結果が見つかりました(ドキュメント{docCount}件、Web検索結果{webCount}件)",
"webResults": "{count}件のWeb検索結果が見つかりました",
"grepSummary": "{docs}件のドキュメントから{chunks}件の一致するチャンクが見つかりました"
},
"grepResults": {
"chunkHits": "{count}件のチャンク",
"keywordHits": "{count}件ヒット",
"titleMatch": "タイトル一致",
"faqEntry": "FAQ項目"
},
"knowledgeChunksList": {
"chunkRange": "{total}件中{fetched}件のチャンクを読み込みました",
"page": "{page}ページ目、1ページ{pageSize}件",
"offsetRange": "チャンク {from}–{to}",
"queryMatches": "文書内検索「{query}」: {count}件一致",
"queryNoMatch": "文書内検索「{query}」: 一致なし"
},
"attachmentParsing": {
"parsedSummary": "{count}件の添付ファイルを解析しました",
"parsedWithSkipped": "{parsed}件の添付ファイルを解析しました。{skipped}件は処理中のためスキップしました",
"noneReady": "解析済みの添付ファイルはありません"
},
"ragPipeline": {
"understanding": "クエリを理解しています...",
"understandDone": "クエリを理解しました",
"searching": "ナレッジベースを検索しています...",
"searchingWithQuery": "ナレッジベースを検索しています: 「{query}」",
"searchingWeb": "Webを検索しています...",
"searchingWebWithQuery": "Webを検索しています: 「{query}」",
"searchingMixed": "ナレッジベースとWebを検索しています...",
"searchingMixedWithQuery": "ナレッジベースとWebを検索しています: 「{query}」",
"searchDone": "検索が完了しました",
"searchDoneWithQuery": "ナレッジベースを検索しました: 「{query}」",
"referencedDocs": "<strong>{count}</strong>件のドキュメントを引用",
"referencedWebs": "<strong>{count}</strong>件のWeb検索結果を引用",
"referencedDocAndWeb": "<strong>{docCount}</strong>件のドキュメントと<strong>{webCount}</strong>件のWeb検索結果を引用"
},
"toolStatus": {
"calling": "{name}を呼び出しています...",
"searchKb": "ナレッジベース検索",
"searchKbFailed": "ナレッジベース検索に失敗しました",
"searchMixed": "ナレッジベースとWebを検索しました",
"searchMixedFailed": "検索に失敗しました",
"webSearch": "Web検索",
"webSearchFailed": "Web検索に失敗しました",
"grepSearch": "キーワード検索",
"grepSearchFailed": "キーワード検索に失敗しました",
"getDocInfo": "ドキュメント情報を取得しています",
"getDocInfoFailed": "ドキュメント情報の取得に失敗しました",
"viewDocument": "ドキュメントを表示",
"thinkingDone": "思考が完了しました",
"thinkingFailed": "思考に失敗しました",
"updateTodos": "タスクリストを更新しています",
"updateTodosFailed": "タスクリストの更新に失敗しました",
"imageAnalyzing": "画像の内容を確認しています...",
"imageAnalysisDone": "画像の内容を確認しました",
"imageAnalysisFailed": "画像の確認に失敗しました",
"attachmentParsing": "添付ファイルを解析しています...",
"attachmentParsingDone": "添付ファイルを解析しました",
"attachmentParsingFailed": "添付ファイルの解析に失敗しました",
"queryUnderstanding": "クエリを理解しています...",
"queryUnderstandDone": "クエリを理解しました",
"called": "{name}を呼び出しました",
"calledFailed": "{name}の呼び出しに失敗しました",
"shellExecRunning": "サンドボックスコマンドを実行しています..."
},
"copy": {
"emptyContent": "現在の回答が空のため、コピーできません",
"success": "クリップボードにコピーしました",
"failed": "コピーに失敗しました。手動でコピーしてください"
},
"saveToKb": {
"emptyContent": "現在の回答が空のため、ナレッジベースに保存できません",
"editorOpened": "エディタを開きました。ナレッジベースを選択して保存してください"
}
},
"input": {
"placeholder": "モデルに直接質問",
"stopGeneration": "生成を停止",
"send": "送信",
"webSearch": {
"label": "Web検索",
"toggleOn": "Web検索を有効化",
"toggleOff": "Web検索を無効化",
"agentDisabled": "このエージェントではWeb検索が有効になっていません"
},
"imageUpload": {
"label": "画像をアップロード",
"tooltip": "画像をアップロード",
"agentDisabled": "このエージェントでは画像アップロードが有効になっていません"
},
"fileUpload": {
"label": "ファイルをアップロード",
"tooltip": "ドキュメントなどの添付ファイルをアップロード",
"tooMany": "添付ファイルは最大5件までです",
"tooLarge": "添付ファイルが20MBの上限を超えています"
},
"messages": {
"enterContent": "先に内容を入力してください!",
"selectKnowledge": "先にナレッジベースを選択してください!",
"replying": "回答中です。しばらくお待ちください。",
"agentSwitchedOn": "スマート推論に切り替えました",
"agentSwitchedOff": "クイック回答に切り替えました",
"agentSelected": "エージェント「{name}」を選択しました",
"agentEnabled": "エージェントモードを有効にしました",
"agentDisabled": "エージェントモードを無効にしました",
"agentNotReadyDetail": "エージェントの準備ができていません。次の項目を設定してください: {reasons}",
"webSearchNotConfigured": "Web検索エンジンが設定されていません。設定画面でプロバイダと認証情報を設定してください。",
"webSearchEnabled": "Web検索を有効にしました",
"webSearchDisabled": "Web検索を無効にしました",
"sessionMissing": "セッションIDが存在しません",
"messageMissing": "メッセージIDを取得できません。ページを更新して再試行してください。",
"stopSuccess": "生成を停止しました",
"stopFailed": "停止に失敗しました。再試行してください。"
}
},
"knowledgeEditor": {
"wikiBrowser": {
"viewInGraph": "グラフで表示",
"editingBadge": "編集中",
"pageActions": "ページ操作",
"version": "v{ver}",
"filterSummary": "要約",
"filterEntity": "エンティティ",
"filterConcept": "概念",
"filterSynthesis": "統合",
"filterComparison": "比較"
}
}
},
"en-US": {
"embedPublish": {
"title": "Web Page Embed",
"description": "Embed this agent on your website so visitors can chat via an in-page window or a floating launcher.",
"create": "New embed channel",
"empty": "No embed channels yet",
"unnamed": "Unnamed channel",
"agent": "Agent",
"rateLimit": "Rate limit",
"rateLimitUnit": "/min",
"allowedOrigins": "Allowed origins",
"embedCode": "Embed code",
"widgetCode": "Widget script",
"copyCode": "Copy code",
"rotateToken": "Rotate token",
"delete": "Delete",
"edit": "Edit",
"createTitle": "New embed channel",
"editTitle": "Edit embed channel",
"name": "Name",
"namePlaceholder": "e.g. Website support",
"welcomeMessage": "Welcome message",
"welcomePlaceholder": "Hi! How can I help you?",
"originsLabel": "Allowed origins (one per line, empty = allow all)",
"originsPlaceholder": "https://shop.example.com",
"rateLimitLabel": "Requests per minute",
"debug": "Debug preview",
"createdDebugHint": "Embed channel created — use Debug preview to open it in a new tab",
"primaryColor": "Primary color",
"pageTitle": "Page title",
"pageTitlePlaceholder": "AI Assistant",
"tokenHint": "Failed to load the channel key. Close and reopen this channel.",
"created": "Embed channel created",
"updated": "Embed channel updated",
"deleted": "Deleted",
"tokenRotated": "Token rotated",
"copied": "Embed code copied",
"loadError": "Failed to load",
"missingChannel": "Missing embed channel or token",
"invalidChannel": "Invalid embed channel",
"sessionFailed": "Failed to create chat session, please try again",
"channelDisabled": "This embed channel is disabled. Re-enable it under Agent editor → Web Page Embed",
"loading": "Loading...",
"tabIframe": "iframe",
"tabWidget": "Widget",
"widgetPosition": "Widget position",
"widgetPreview": "Widget preview",
"positionBottomRight": "Bottom right",
"positionBottomLeft": "Bottom left",
"positionTopRight": "Top right",
"positionTopLeft": "Top left",
"publishToken": "Publish token",
"publishTokenHelp": "The publish token (em_…) is a long-lived secret for this embed channel—like an API key. Open channel details to view and copy it; rotating invalidates the previous token immediately.",
"sessionTokenHelp": "After a visitor opens chat, the iframe exchanges the publish token for a short-lived session token (ems_…, ~30 min). Later API calls use the session token so the publish token is not kept in the URL.",
"rotateTokenHelp": "Rotating invalidates the previous publish token. Every deployed embed snippet must be updated or third-party sites will lose access.",
"revealToken": "Reveal",
"hideToken": "Hide",
"copyToken": "Copy token",
"tokenCopied": "Token copied",
"awaitingToken": "Waiting for host page to provide token…",
"preview": "Preview",
"previewLoading": "Loading preview…",
"previewIframeHint": "Shows how the iframe embed looks on a third-party page (same as the copied snippet).",
"previewWidgetHint": "Shows the floating widget on a mock host page. On a real site the host passes the token via postMessage.",
"previewMockPage": "Mock host page",
"defaultChatTitle": "AI Assistant",
"newChat": "New chat",
"rotateConfirmTitle": "Rotate publish token?",
"rotateConfirmBody": "The old token stops working immediately. Update every deployed embed snippet.",
"tokenRequiredForPreview": "A publish token is required to preview. Create a channel or rotate the token first."
},
"chat": {
"title": "Chat",
"newChat": "New Chat",
"suggestedQuestions": "You can ask me",
"suggestedQuestionsLoading": "Loading...",
"followUpQuestions": "Keep asking",
"followUpQuestionsLoading": "Loading suggested questions",
"refreshSuggestedQuestions": "More",
"inputPlaceholder": "Enter your message...",
"send": "Send",
"thinking": "Thinking...",
"regenerate": "Regenerate",
"copy": "Copy",
"delete": "Delete",
"reference": "Reference",
"noMessages": "No messages",
"waitingForAnswer": "Waiting for answer...",
"cannotAnswer": "Sorry, I cannot answer this question.",
"summarizingAnswer": "Summarizing answer...",
"loading": "Loading...",
"referencedContent": "{count} related materials used",
"deepThinking": "Deep thinking completed",
"knowledgeBaseQandA": "Knowledge Base Q&A",
"askKnowledgeBase": "Ask the knowledge base",
"sourcesCount": "{count} sources",
"pleaseEnterContent": "Please enter content!",
"pleaseUploadKnowledgeBase": "Please upload knowledge base first!",
"replyingPleaseWait": "Replying, please try again later!",
"createSessionFailed": "Failed to create session",
"createSessionError": "Session creation error",
"unableToGetKnowledgeBaseId": "Unable to get knowledge base ID",
"summaryInProgress": "Summarizing answer…",
"thinkingAlt": "Thinking in progress",
"conversationTime": {
"today": "Today {time}",
"yesterday": "Yesterday {time}",
"thisYear": "{month}/{day} {time}",
"otherYear": "{month}/{day}/{year} {time}"
},
"preparingAnswer": "Preparing an answer…",
"connectingModelAndGeneratingAnswer": "Connecting to the model and generating an answer…",
"modelStillResponding": "The model is taking longer than usual, still waiting…",
"deepThoughtCompleted": "Deep thinking completed",
"deepThoughtAlt": "Deep thinking finished",
"referencesTitle": "Referenced {count} related item(s)",
"referencesDocCount": "Referenced {count} document(s)",
"referencesWebCount": "Referenced {count} web result(s)",
"referencesDocAndWebCount": "Referenced {docCount} document(s) and {webCount} web page(s)",
"referencesDrawerTitle": "Sources",
"referencesDrawerTitleWeb": "Web sources",
"referencesDrawerTitleDocs": "Document sources",
"referencesDrawerTitleTools": "Tool results",
"referencesDrawerTitleMixed": "Sources",
"referencesDrawerWebSection": "Web",
"referencesDrawerDocsSection": "Documents",
"referencesDrawerToolsSection": "Tools",
"referencesDrawerEmpty": "No sources available",
"referenceChunkCount": "{count} chunk(s)",
"fallbackHint": "No relevant content found in knowledge base. Above is a direct response from the model.",
"requestInfoTitle": "Request info",
"requestInfoRequestId": "Request ID",
"requestInfoMessageId": "Message ID",
"requestInfoSessionId": "Session ID",
"requestInfoUrl": "Request",
"requestInfoSentAt": "Sent at",
"requestInfoEmpty": "No request info available",
"channelWeb": "Web",
"channelApi": "API",
"channelIm": "IM",
"chunkLabel": "Chunk {index}:",
"navigateToDocument": "View document details",
"referenceIconAlt": "Reference materials icon",
"chunkIdLabel": "Chunk ID:",
"documentIdLabel": "Document ID:",
"faqIdLabel": "FAQ ID:",
"faqContainerIdLabel": "Container ID:",
"faqAnswersLabel": "Answers:",
"chunkOrdinal": "Chunk {index}",
"previewContent": "Preview content",
"noPlanSteps": "No detailed steps provided",
"chunkIndexLabel": "Chunk #{index}",
"chunkPositionLabel": "(Position: {position})",
"noRelatedChunks": "No related chunks found",
"noSearchResults": "No search results found",
"relevanceHigh": "High relevance",
"relevanceMedium": "Medium relevance",
"relevanceLow": "Low relevance",
"relevanceWeak": "Weak relevance",
"webSearchNoResults": "No web search results found",
"otherSource": "Other sources",
"webGroupIntro": "The following {count} items are from",
"graphConfigTitle": "Graph Configuration",
"entityTypesLabel": "Entity types:",
"relationTypesLabel": "Relation types:",
"graphResultsHeader": "{count} related results found",
"graphNoResults": "No related graph information found",
"unknownLink": "Unknown link",
"contentLengthLabel": "Length {value}",
"notProvided": "Not provided",
"promptLabel": "Prompt",
"errorMessageLabel": "Error message",
"summaryLabel": "Summary",
"rawTextLabel": "Raw text",
"collapseRaw": "Collapse original",
"expandRaw": "Expand original",
"noWebContent": "No web content fetched",
"lengthChars": "{value} characters",
"lengthThousands": "{value}k characters",
"lengthTenThousands": "{value} ten-thousand characters",
"sqlQueryExecuted": "Executed SQL query:",
"sqlResultsLabel": "Results:",
"rowsLabel": "rows",
"columnsLabel": "columns",
"noDatabaseRecords": "No matching records found",
"nullValuePlaceholder": "<NULL>",
"documentTitleLabel": "Document title:",
"chunkCountLabel": "Chunk count:",
"chunkCountValue": "{count} chunks",
"documentDescriptionLabel": "Description:",
"documentStatusLabel": "Status:",
"documentSourceLabel": "Source:",
"documentFileLabel": "File:",
"documentMetadataLabel": "Metadata",
"documentInfoSummaryLabel": "Document info",
"documentInfoCount": "{count} of {requested} documents retrieved",
"documentInfoErrors": "Errors",
"documentInfoEmpty": "No document information available",
"statusDescription": "Status notes",
"statusIndexed": "Document is indexed and searchable",
"statusSearchable": "Search tools can locate document content",
"statusChunkDetailAvailable": "Use get_chunk_detail to view chunk details",
"positionLabel": "Position:",
"chunkPositionValue": "Chunk #{index}",
"contentLengthLabelSimple": "Content length:",
"fullContentLabel": "Full content",
"copyContent": "Copy content",
"knowledgeBaseCount": "{count} knowledge bases",
"noKnowledgeBases": "No knowledge bases available",
"enterDescription": "Enter description",
"rawOutputLabel": "Raw output",
"wikiWritePageTitle": "Wiki Page Write",
"wikiReplaceTextTitle": "Wiki Text Replace",
"wikiRenamePageTitle": "Wiki Page Rename",
"wikiDeletePageTitle": "Wiki Page Delete",
"wikiActionCreated": "Created",
"wikiActionUpdated": "Updated",
"wikiActionRenamed": "Renamed",
"wikiActionDeleted": "Deleted",
"wikiFieldSlug": "Slug",
"wikiFieldTitle": "Title",
"wikiFieldPageType": "Type",
"wikiFieldSummary": "Summary",
"wikiFieldOldText": "Old text",
"wikiFieldNewText": "New text",
"wikiFieldOldSlug": "Old slug",
"wikiFieldNewSlug": "New slug",
"wikiFieldAffectedPages": "Affected pages",
"wikiAffectedCount": "{count} page link(s) updated",
"selectKnowledgeBaseWarning": "Please select at least one knowledge base",
"processError": "Processing error",
"sessionExcerpt": "Session Excerpt",
"noAnswerContent": "(No answer content)",
"noMatchFound": "No matching content found",
"deleteSessionFailed": "Delete failed, please try again later!",
"imageTooMany": "Maximum 5 images allowed",
"imageTypeSizeError": "Only JPG/PNG/GIF/WEBP under 10MB supported",
"imageReadFailed": "Failed to read image",
"imageUploadTooltip": "Upload image (paste/drop supported)",
"attachmentUploadTooltip": "Upload attachment (documents, audio, etc.)",
"attachmentWithCount": "{count} attachment(s) uploaded",
"attachmentTooMany": "Maximum {max} attachments allowed",
"attachmentTooLarge": "File {name} exceeds {max}MB limit",
"attachmentTypeNotSupported": "Unsupported file type: {name}",
"attachmentUploading": "Uploading {progress}%",
"attachmentParsing": "Parsing",
"attachmentReady": "Ready",
"attachmentUploadFailed": "Attachment upload failed",
"attachmentParseFailed": "Attachment parsing failed",
"attachmentStillProcessing": "Attachment {name} is still being parsed",
"attachmentParseTimeout": "Attachment parsing timed out. Please try again later.",
"copySuccess": "Copied to clipboard",
"copyFailed": "Copy failed",
"emptyContentWarning": "Content is empty",
"editorOpened": "Editor opened, please select a knowledge base and save"
},
"common": {
"loading": "Loading...",
"confirm": "Confirm",
"cancel": "Cancel",
"close": "Close",
"copy": "Copy",
"copied": "Copied",
"finish": "Finish"
},
"error": {
"tokenNotFound": "Login token not found, please log in again",
"invalidImageLink": "Invalid image link",
"streamFailed": "Stream connection failed"
},
"agent": {
"taskLabel": "Task:",
"think": "Thinking",
"copy": "Copy",
"addToKnowledgeBase": "Add to Knowledge Base",
"artifactDrawer": {
"buttonTitle": "View files generated in this reply",
"title": "Generated files",
"empty": "No downloadable files were generated this turn.",
"preview": "Preview",
"previewBack": "Back to list",
"collecting": "Saving generated files…",
"download": "Download",
"downloadFailed": "Download failed, please retry.",
"inlinePreviewHint": "Click to preview",
"inlineMissing": "File unavailable",
"inlineDeleted": "File deleted"
},
"updatePlan": "Update Plan",
"webSearchFound": "Found <strong>{count}</strong> web search result(s)",
"argumentsLabel": "Arguments",
"toolFallback": "Tool",
"stepsCompleted": "Completed <strong>{steps}</strong> step(s)",
"stepsCompletedWithDuration": "Completed <strong>{steps}</strong> step(s) in <strong>{duration}</strong>",
"reasoningRounds": "<strong>{rounds}</strong> reasoning round(s)",
"toolCalls": "<strong>{tools}</strong> tool call(s)",
"durationSuffix": "<strong>{duration}</strong>",
"stepSummarySeparator": " · "
},
"agentStream": {
"toolApproval": {
"banner": "This MCP tool requires human approval. Review parameters before execution.",
"waiting": "Awaiting review · {target}",
"waitingStatus": "Awaiting review",
"targetWithTool": "{service} › {tool}",
"titleWithTarget": "Review · {service} › {tool}",
"resolvedApproved": "Approved · {target}",
"resolvedRejected": "Rejected · {target}",
"service": "Service",
"tool": "Tool",
"argsLabel": "Arguments",
"argsModified": "Modified",
"countdown": "About {seconds}s remaining",
"countdownShort": "{seconds}s",
"approve": "Approve & run",
"reject": "Reject",
"approvedTag": "Approved",
"rejectedTag": "Rejected",
"invalidJson": "Arguments must be valid JSON",
"submitted": "Submitted",
"submitFailed": "Submit failed",
"userRejected": "User rejected"
},
"mcpOAuth": {
"banner": "This MCP service requires OAuth authorization before it can be used",
"waiting": "Awaiting authorization · {target}",
"waitingStatus": "Awaiting authorization",
"targetWithTool": "{service} › {tool}",
"titleWithService": "OAuth · {service}",
"titleWithTool": "OAuth · {service} › {tool}",
"resolvedAuthorized": "Authorized · {target}",
"resolvedTimedOut": "Timed out · {target}",
"resolvedCanceled": "Skipped · {target}",
"desc": "Authorizing opens a new window to sign in. The tool call resumes automatically once authorization succeeds.",
"authorize": "Authorize",
"skip": "Skip",
"countdown": "About {seconds}s remaining",
"countdownShort": "{seconds}s",
"authorizedTag": "Authorized",
"timedOutTag": "Authorization timed out",
"canceledTag": "Canceled",
"authorizedToast": "Authorized. Resuming…",
"startFailed": "Failed to start authorization",
"resumeFailed": "Failed to resume. Please try again.",
"skipFailed": "Failed to skip. Please try again."
},
"mcp": {
"discoverTools": "Discover MCP tools",
"listServers": "List MCP services",
"listTools": "List MCP tools",
"searchTools": "Search MCP tools",
"describeTool": "Read tool definition",
"callTool": "Call MCP tool",
"showing": "Showing {count} of {total}",
"moreAvailable": "More results available",
"empty": "Nothing to show",
"parameters": "Parameters",
"expand": "Show more",
"collapse": "Show less",
"required": "Required",
"fullSchema": "Full parameter definition",
"failed": "MCP operation failed",
"result": "Result",
"status": {
"not_loaded": "Not loaded",
"loading": "Loading",
"ready": "Ready",
"needs_auth": "Authorization required",
"error": "Connection failed",
"disabled": "Disabled",
"unavailable": "Unavailable"
}
},
"tools": {
"searchKnowledge": "Knowledge Search",
"grepChunks": "Text Pattern Search",
"webSearch": "Web Search",
"webFetch": "Web Fetch",
"getDocumentInfo": "Get Document Info",
"listKnowledgeChunks": "List Knowledge Chunks",
"getRelatedDocuments": "Find Related Documents",
"getDocumentContent": "Get Document Content",
"todoWrite": "Plan Management",
"knowledgeGraphExtract": "Knowledge Graph Extraction",
"thinking": "Thinking",
"imageAnalysis": "Image Analysis",
"queryUnderstand": "Understand Query",
"queryKnowledgeGraph": "Knowledge Graph Query",
"readSkill": "Read Skill",
"executeSkillScript": "Execute Skill Script",
"listSandboxFiles": "List sandbox files",
"readSandboxFile": "Read sandbox file",
"writeSandboxFile": "Write sandbox file",
"editSandboxFile": "Edit sandbox file",
"shellExec": "Run sandbox command",
"dataAnalysis": "Data Analysis",
"dataSchema": "Data Schema",
"databaseQuery": "Database Query"
},
"skillFiles": {
"heading": "Skill files",
"script": "script",
"instructions": "Instructions"
},
"sandboxFiles": {
"found": "Found {count} file(s)",
"empty": "No files",
"truncated": "List truncated",
"wrote": "Wrote",
"edited": "Edited",
"replacements": "Replaced {count}",
"moreLines": "{count} more lines"
},
"shellExec": {
"workDir": "Directory",
"exitCode": "Exit code",
"stdout": "Stdout",
"stderr": "Stderr",
"emptyOutput": "No output",
"truncated": "Output truncated",
"killed": "Timed out",
"binarySuppressed": "Binary output omitted. Write files to the artifact directory to download them."
},
"summary": {
"searchKb": "Searched knowledge base <strong>{count}</strong> time(s)",
"thinking": "Thought <strong>{count}</strong> time(s)",
"callTool": "Called {name}",
"callTools": "Called tools {names}",
"intermediateSteps": "<strong>{count}</strong> intermediate step(s)",
"separator": ", ",
"comma": ", "
},
"citation": {
"loading": "Loading...",
"notFound": "Content not found",
"loadFailed": "Failed to load",
"chunkId": "Chunk ID",
"noKbForWiki": "Unable to identify associated knowledge base. Cannot open Wiki."
},
"toolSummary": {
"getDocument": "Get document: {title}",
"document": "Document",
"listChunks": "View {title}",
"listFaqEntry": "View FAQ: {question}",
"deepThinking": "Deep Thinking"
},
"plan": {
"inProgress": "In Progress",
"pending": "Pending",
"completed": "Completed"
},
"search": {
"noResults": "No matching content found",
"candidatesBelowThreshold": "Matched {count} candidate(s), none relevant enough to use",
"foundResultsFromFiles": "Found {count} result(s) from {files} file(s)",
"foundResults": "Found {count} result(s)",
"foundMixedResults": "Found {count} result(s) ({docCount} documents, {webCount} web results)",
"webResults": "Found {count} web result(s)",
"grepSummary": "Found {chunks} matching chunk(s) across {docs} document(s)"
},
"grepResults": {
"chunkHits": "{count} chunks",
"keywordHits": "{count} hits",
"titleMatch": "title",
"faqEntry": "FAQ entry"
},
"knowledgeChunksList": {
"chunkRange": "Loaded {fetched} / {total} chunks",
"page": "Page {page}, {pageSize} per page",
"offsetRange": "Chunks {from}–{to}",
"queryMatches": "{count} matches for \"{query}\" in this document",
"queryNoMatch": "No matches for \"{query}\" in this document"
},
"attachmentParsing": {
"parsedSummary": "Parsed {count} attachment(s)",
"parsedWithSkipped": "Parsed {parsed} attachment(s), {skipped} skipped (still processing)",
"noneReady": "No parsed attachments available"
},
"ragPipeline": {
"understanding": "Understanding query...",
"understandDone": "Query understood",
"searching": "Searching knowledge base...",
"searchingWithQuery": "Searching knowledge base: \"{query}\"",
"searchingWeb": "Searching the web...",
"searchingWebWithQuery": "Searching the web: \"{query}\"",
"searchingMixed": "Searching knowledge base and web...",
"searchingMixedWithQuery": "Searching knowledge base and web: \"{query}\"",
"searchDone": "Search complete",
"searchDoneWithQuery": "Searched knowledge base: \"{query}\"",
"referencedDocs": "Cited <strong>{count}</strong> documents",
"referencedWebs": "Cited <strong>{count}</strong> web results",
"referencedDocAndWeb": "Cited <strong>{docCount}</strong> documents and <strong>{webCount}</strong> web results"
},
"toolStatus": {
"calling": "Calling {name}...",
"searchKb": "Searching knowledge base",
"searchKbFailed": "Knowledge base search failed",
"searchMixed": "Searched knowledge base and web",
"searchMixedFailed": "Search failed",
"webSearch": "Web search",
"webSearchFailed": "Web search failed",
"grepSearch": "Keyword search",
"grepSearchFailed": "Keyword search failed",
"getDocInfo": "Getting document info",
"getDocInfoFailed": "Failed to get document info",
"viewDocument": "View document",
"thinkingDone": "Thinking complete",
"thinkingFailed": "Thinking failed",
"updateTodos": "Updating task list",
"updateTodosFailed": "Failed to update task list",
"imageAnalyzing": "Viewing image content...",
"imageAnalysisDone": "Image content viewed",
"imageAnalysisFailed": "Image viewing failed",
"attachmentParsing": "Parsing attachments...",
"attachmentParsingDone": "Attachments parsed",
"attachmentParsingFailed": "Attachment parsing failed",
"queryUnderstanding": "Understanding query...",
"queryUnderstandDone": "Query understood",
"called": "Called {name}",
"calledFailed": "Failed to call {name}",
"shellExecRunning": "Running sandbox command..."
},
"copy": {
"emptyContent": "Current response is empty, cannot copy",
"success": "Copied to clipboard",
"failed": "Copy failed, please copy manually"
},
"saveToKb": {
"emptyContent": "Current response is empty, cannot save to knowledge base",
"editorOpened": "Editor opened, please select a knowledge base and save"
}
},
"input": {
"placeholder": "Ask questions directly to the model",
"stopGeneration": "Stop Generation",
"send": "Send",
"webSearch": {
"label": "Web search",
"toggleOn": "Enable web search",
"toggleOff": "Disable web search",
"agentDisabled": "Web search is not enabled for this agent"
},
"imageUpload": {
"label": "Upload image",
"tooltip": "Upload image",
"agentDisabled": "Image upload is not enabled for this agent"
},
"fileUpload": {
"label": "Upload file",
"tooltip": "Upload document attachments",
"tooMany": "Maximum 5 attachments",
"tooLarge": "Attachment exceeds 20MB limit"
},
"messages": {
"enterContent": "Please enter content first!",
"selectKnowledge": "Please select a knowledge base first!",
"replying": "Currently replying, please try again later!",
"agentSwitchedOn": "Switched to Intelligent Reasoning",
"agentSwitchedOff": "Switched to Quick Q&A",
"agentSelected": "Selected agent \"{name}\"",
"agentEnabled": "Agent Mode enabled",
"agentDisabled": "Agent Mode disabled",
"agentNotReadyDetail": "Agent is not ready. Please configure the following: {reasons}",
"webSearchNotConfigured": "Web search engine is not configured. Please configure a provider and credentials in settings.",
"webSearchEnabled": "Web search enabled",
"webSearchDisabled": "Web search disabled",
"sessionMissing": "Session ID does not exist",
"messageMissing": "Unable to get message ID. Please refresh the page and try again.",
"stopSuccess": "Generation stopped",
"stopFailed": "Failed to stop. Please try again."
}
},
"knowledgeEditor": {
"wikiBrowser": {
"viewInGraph": "View in Graph",
"editingBadge": "Editing",
"pageActions": "Page actions",
"version": "v{ver}",
"filterSummary": "Summaries",
"filterEntity": "Entities",
"filterConcept": "Concepts",
"filterSynthesis": "Synthesis",
"filterComparison": "Comparisons"
}
}
}
} as const
type MessageTree = Record<string, unknown>
function deepMerge<T extends MessageTree>(base: T, patch: MessageTree): T {
const out: MessageTree = { ...base }
for (const key of Object.keys(patch)) {
const patchVal = patch[key]
const baseVal = base[key]
if (
patchVal &&
typeof patchVal === 'object' &&
!Array.isArray(patchVal) &&
baseVal &&
typeof baseVal === 'object' &&
!Array.isArray(baseVal)
) {
out[key] = deepMerge(baseVal as MessageTree, patchVal as MessageTree)
} else {
out[key] = patchVal
}
}
return out as T
}
const koEmbedPublish = {
embedPublish: {
title: '웹 페이지 임베드',
description: '에이전트를 웹 페이지에 임베드하여 방문자가 페이지 내 채팅창 또는 플로팅 버튼으로 대화할 수 있게 합니다.',
create: '새 임베드 채널',
empty: '임베드 채널 없음',
unnamed: '이름 없는 채널',
loading: '로딩 중...',
awaitingToken: '호스트 페이지에서 토큰 제공 대기 중…',
defaultChatTitle: 'AI 어시스턴트',
newChat: '새 대화',
preview: '미리보기',
previewIframeHint: 'iframe 임베드가 외부 페이지에서 어떻게 보이는지 시뮬레이션합니다.',
previewWidgetHint: '모의 호스트 페이지에서 플로팅 위젯을 표시합니다.',
previewMockPage: '모의 호스트 페이지',
previewLoading: '미리보기 로딩 중…',
channelDisabled: '임베드 채널이 비활성화되었습니다. 에이전트 편집기 → 웹 페이지 임베드에서 다시 활성화하세요',
invalidChannel: '잘못된 임베드 채널',
sessionFailed: '대화 세션을 생성할 수 없습니다. 나중에 다시 시도하세요',
missingChannel: '임베드 채널 또는 토큰 없음',
loadError: '로드 실패',
},
common: {
loading: '로딩 중...',
confirm: '확인',
cancel: '취소',
close: '닫기',
copy: '복사',
copied: '복사됨',
},
error: {
tokenNotFound: '로그인 토큰을 찾을 수 없습니다. 다시 로그인하세요',
invalidImageLink: '잘못된 이미지 링크',
streamFailed: '스트림 연결 실패',
},
chat: {
suggestedQuestions: '이렇게 물어보세요',
suggestedQuestionsLoading: '로딩 중...',
followUpQuestions: '이어서 질문',
followUpQuestionsLoading: '추천 질문 로딩 중',
thinkingAlt: '생각 중',
conversationTime: {
today: '오늘 {time}',
yesterday: '어제 {time}',
thisYear: '{month}월 {day}일 {time}',
otherYear: '{year}년 {month}월 {day}일 {time}',
},
preparingAnswer: '답변을 준비하고 있습니다…',
connectingModelAndGeneratingAnswer: '모델에 연결하여 답변을 생성하고 있습니다…',
modelStillResponding: '모델 응답이 평소보다 오래 걸리고 있습니다. 계속 기다리는 중…',
referencesTitle: '{count}개의 관련 내용 참조',
referencesDocCount: '{count}개 문서 참조',
referencesWebCount: '{count}개 웹 결과 참조',
referencesDocAndWebCount: '{docCount}개 문서와 {webCount}개 웹페이지 참조',
referencesDrawerTitle: '참고 출처',
referencesDrawerTitleWeb: '웹 출처',
referencesDrawerTitleDocs: '문서 출처',
referencesDrawerTitleTools: '도구 결과',
referencesDrawerTitleMixed: '참고 출처',
referencesDrawerWebSection: '웹',
referencesDrawerDocsSection: '지식베이스 문서',
referencesDrawerToolsSection: '도구',
referencesDrawerEmpty: '참고 출처가 없습니다',
navigateToDocument: '문서 상세 보기',
refreshSuggestedQuestions: '다른 질문',
imageTooMany: '이미지는 최대 5장까지 업로드할 수 있습니다',
imageTypeSizeError: 'JPG/PNG/GIF/WEBP만 지원하며, 각 파일은 10MB 이하여야 합니다',
imageReadFailed: '이미지를 읽지 못했습니다',
},
input: {
placeholder: '모델에 직접 질문하세요',
stopGeneration: '생성 중지',
send: '보내기',
webSearch: {
label: '웹 검색',
toggleOn: '웹 검색 켜기',
toggleOff: '웹 검색 끄기',
agentDisabled: '이 에이전트에서는 웹 검색이 활성화되지 않았습니다',
},
imageUpload: {
label: '이미지 업로드',
tooltip: '이미지 업로드',
agentDisabled: '이 에이전트에서는 이미지 업로드가 활성화되지 않았습니다',
},
messages: {
webSearchEnabled: '웹 검색이 켜졌습니다',
webSearchDisabled: '웹 검색이 꺼졌습니다',
stopSuccess: '생성이 중지되었습니다',
stopFailed: '중지에 실패했습니다. 다시 시도하세요',
},
},
agentStream: {
mcpOAuth: {
waiting: '인증 대기 · {target}',
waitingStatus: '인증 대기',
targetWithTool: '{service} › {tool}',
titleWithService: 'OAuth · {service}',
titleWithTool: 'OAuth · {service} › {tool}',
authorize: '인증하기',
skip: '건너뛰기',
countdownShort: '{seconds}초',
authorizedTag: '인증됨',
timedOutTag: '인증 시간 초과',
canceledTag: '취소됨',
authorizedToast: '인증 성공, 계속 진행 중',
startFailed: '인증 시작 실패',
resumeFailed: '실행 재개 실패, 다시 시도하세요',
skipFailed: '건너뛰기 실패, 다시 시도하세요',
},
mcp: {
discoverTools: 'MCP 도구 탐색',
listServers: 'MCP 서비스 목록',
listTools: 'MCP 도구 목록',
searchTools: 'MCP 도구 검색',
describeTool: '도구 정의 읽기',
callTool: 'MCP 도구 호출',
showing: '{total}개 중 {count}개 표시',
moreAvailable: '결과가 더 있습니다',
empty: '표시할 항목이 없습니다',
parameters: '매개변수',
expand: '설명 펼치기',
collapse: '접기',
required: '필수',
fullSchema: '전체 매개변수 정의',
failed: 'MCP 작업 실패',
result: '실행 결과',
status: {
not_loaded: '로드되지 않음',
loading: '로드 중',
ready: '사용 가능',
needs_auth: '인증 필요',
error: '연결 실패',
disabled: '비활성화됨',
unavailable: '사용 불가',
},
},
},
} as const
const ruEmbedPublish = {
embedPublish: {
title: 'Встраивание на веб-страницу',
description: 'Встройте агента на свою веб-страницу: посетители смогут общаться через встроенное окно чата или плавающую кнопку.',
create: 'Новый канал встраивания',
empty: 'Каналов встраивания пока нет',
unnamed: 'Без названия',
loading: 'Загрузка...',
awaitingToken: 'Ожидание токена от страницы-хоста…',
defaultChatTitle: 'AI-ассистент',
newChat: 'Новый чат',
preview: 'Предпросмотр',
previewIframeHint: 'Как iframe выглядит на сторонней странице.',
previewWidgetHint: 'Плавающий виджет на mock-странице.',
previewMockPage: 'Mock-страница хоста',
previewLoading: 'Загрузка предпросмотра…',
channelDisabled: 'Канал встраивания отключён. Включите в редакторе агента → Встраивание на веб-страницу',
invalidChannel: 'Недействительный канал встраивания',
sessionFailed: 'Не удалось создать сессию чата, попробуйте позже',
missingChannel: 'Отсутствует канал встраивания или токен',
loadError: 'Не удалось загрузить',
},
common: {
loading: 'Загрузка...',
confirm: 'Подтвердить',
cancel: 'Отмена',
close: 'Закрыть',
copy: 'Копировать',
copied: 'Скопировано',
},
error: {
tokenNotFound: 'Токен входа не найден, войдите снова',
invalidImageLink: 'Недействительная ссылка на изображение',
streamFailed: 'Ошибка потокового соединения',
},
chat: {
suggestedQuestions: 'Вы можете спросить так',
suggestedQuestionsLoading: 'Загрузка...',
followUpQuestions: 'Спрашивайте дальше',
followUpQuestionsLoading: 'Загрузка рекомендуемых вопросов',
thinkingAlt: 'Обдумывание...',
conversationTime: {
today: 'Сегодня {time}',
yesterday: 'Вчера {time}',
thisYear: '{day}.{month} {time}',
otherYear: '{day}.{month}.{year} {time}',
},
preparingAnswer: 'Подготовка ответа…',
connectingModelAndGeneratingAnswer: 'Подключение к модели и создание ответа…',
modelStillResponding: 'Модель отвечает дольше обычного, продолжаем ждать…',
referencesTitle: 'Использовано {count} связанного материала',
referencesDocCount: 'Использовано {count} документ(ов)',
referencesWebCount: 'Использовано {count} веб-результат(ов)',
referencesDocAndWebCount: 'Использовано {docCount} документ(ов) и {webCount} веб-страниц(ы)',
referencesDrawerTitle: 'Источники',
referencesDrawerTitleWeb: 'Веб-источники',
referencesDrawerTitleDocs: 'Документы',
referencesDrawerTitleTools: 'Результаты инструментов',
referencesDrawerTitleMixed: 'Источники',
referencesDrawerWebSection: 'Веб',
referencesDrawerDocsSection: 'Документы базы знаний',
referencesDrawerToolsSection: 'Инструменты',
referencesDrawerEmpty: 'Источники отсутствуют',
navigateToDocument: 'Подробнее о документе',
refreshSuggestedQuestions: 'Ещё',
imageTooMany: 'Можно загрузить не более 5 изображений',
imageTypeSizeError: 'Поддерживаются только JPG/PNG/GIF/WEBP, каждый файл до 10 МБ',
imageReadFailed: 'Не удалось прочитать изображение',
},
input: {
placeholder: 'Задайте вопрос модели',
stopGeneration: 'Остановить генерацию',
send: 'Отправить',
webSearch: {
label: 'Веб-поиск',
toggleOn: 'Включить веб-поиск',
toggleOff: 'Выключить веб-поиск',
agentDisabled: 'Веб-поиск не включён для этого агента',
},
imageUpload: {
label: 'Загрузить изображение',
tooltip: 'Загрузить изображение',
agentDisabled: 'Загрузка изображений не включена для этого агента',
},
messages: {
webSearchEnabled: 'Веб-поиск включён',
webSearchDisabled: 'Веб-поиск выключен',
stopSuccess: 'Генерация остановлена',
stopFailed: 'Не удалось остановить. Попробуйте снова.',
},
},
agentStream: {
mcpOAuth: {
waiting: 'Ожидание авторизации · {target}',
waitingStatus: 'Ожидание авторизации',
targetWithTool: '{service} › {tool}',
titleWithService: 'OAuth · {service}',
titleWithTool: 'OAuth · {service} › {tool}',
authorize: 'Авторизовать',
skip: 'Пропустить',
countdownShort: '{seconds} с',
authorizedTag: 'Авторизовано',
timedOutTag: 'Время авторизации истекло',
canceledTag: 'Отменено',
authorizedToast: 'Авторизация успешна, продолжаем',
startFailed: 'Не удалось начать авторизацию',
resumeFailed: 'Не удалось возобновить выполнение, повторите попытку',
skipFailed: 'Не удалось пропустить, повторите попытку',
},
mcp: {
discoverTools: 'Поиск инструментов MCP',
listServers: 'Сервисы MCP',
listTools: 'Инструменты MCP',
searchTools: 'Поиск инструментов MCP',
describeTool: 'Чтение определения инструмента',
callTool: 'Вызов инструмента MCP',
showing: 'Показано {count} из {total}',
moreAvailable: 'Есть другие результаты',
empty: 'Нечего показать',
parameters: 'Параметры',
expand: 'Показать описание',
collapse: 'Свернуть',
required: 'Обязательно',
fullSchema: 'Полное описание параметров',
failed: 'Ошибка операции MCP',
result: 'Результат',
status: {
not_loaded: 'Не загружено',
loading: 'Загрузка',
ready: 'Доступно',
needs_auth: 'Требуется авторизация',
error: 'Ошибка подключения',
disabled: 'Отключено',
unavailable: 'Недоступно',
},
},
},
} as const
export const SUPPORTED_LOCALES = ['zh-CN', 'en-US', 'ko-KR', 'ja-JP', 'ru-RU'] as const
export type EmbedLocale = (typeof SUPPORTED_LOCALES)[number]
/** Isolated from the main app `locale` key so embed preview never hijacks admin UI language. */
export const EMBED_LOCALE_STORAGE_KEY = 'weknora-embed-locale'
/** Map host-provided locale strings to a supported embed locale tag. */
export function normalizeEmbedLocale(raw: string): EmbedLocale {
const s = raw.trim().toLowerCase()
if (s.startsWith('en')) return 'en-US'
if (s.startsWith('ko')) return 'ko-KR'
if (s.startsWith('ja')) return 'ja-JP'
if (s.startsWith('ru')) return 'ru-RU'
if (s.startsWith('zh')) return 'zh-CN'
const exact = SUPPORTED_LOCALES.find((l) => l.toLowerCase() === s)
return exact || 'zh-CN'
}
export function readEmbedLocaleFromUrl(): string {
if (typeof window === 'undefined') return ''
return new URLSearchParams(window.location.search).get('locale')?.trim() || ''
}
function resolveBrowserEmbedLocale(): EmbedLocale {
const nav = typeof navigator !== 'undefined' ? navigator.language : ''
return nav ? normalizeEmbedLocale(nav) : 'zh-CN'
}
function resolveInitialEmbedLocale(): EmbedLocale {
const fromUrl = readEmbedLocaleFromUrl()
if (fromUrl) return normalizeEmbedLocale(fromUrl)
try {
const saved = typeof localStorage !== 'undefined'
? localStorage.getItem(EMBED_LOCALE_STORAGE_KEY)
: null
if (saved) return normalizeEmbedLocale(saved)
} catch {
// localStorage may be unavailable in private mode.
}
return resolveBrowserEmbedLocale()
}
const locale = resolveInitialEmbedLocale()
export const EMBED_MESSAGES = {
'zh-CN': messages['zh-CN'],
'en-US': messages['en-US'],
'ko-KR': deepMerge(messages['en-US'], koEmbedPublish),
'ja-JP': messages['ja-JP'],
'ru-RU': deepMerge(messages['en-US'], ruEmbedPublish),
} as const
const i18n = createI18n({
legacy: false,
locale,
fallbackLocale: 'en-US',
globalInjection: true,
warnHtmlMessage: false,
messages: EMBED_MESSAGES,
})
type LocaleRef = { value: string }
/** Apply locale for the embed surface (isolated storage + optional active vue-i18n ref). */
export function applyEmbedLocale(raw: string, localeRef?: LocaleRef) {
const next = normalizeEmbedLocale(raw)
try {
localStorage.setItem(EMBED_LOCALE_STORAGE_KEY, next)
} catch {
// localStorage may be unavailable in private mode.
}
if (localeRef) {
localeRef.value = next
} else {
i18n.global.locale.value = next
}
}
/** Honor `?locale=` on the embed URL for the currently mounted vue-i18n instance. */
export function syncEmbedLocaleFromUrl(localeRef: LocaleRef): boolean {
const fromUrl = readEmbedLocaleFromUrl()
if (!fromUrl) return false
applyEmbedLocale(fromUrl, localeRef)
return true
}
export default i18n