// ST-BME UI-only i18n catalog: Simplified Chinese.
// Keep this catalog for frontend chrome/status text only. Do not use it for
// prompt construction, graph node content, persisted memories, or LLM schemas.

export default {
  "common.appName": "ST-BME",
  "common.cancel": "取消",
  "common.clauseSeparator": "；",
  "common.close": "关闭",
  "common.confirm": "确认",
  "common.delete": "删除",
  "common.edit": "编辑",
  "common.empty": "暂无数据",
  "common.emptyParenthetical": "(空)",
  "common.loading": "加载中…",
  "common.retry": "重试",
  "common.save": "保存",
  "common.status": "状态",
  "common.unknown": "未知",

  "error.auditFailed": "审计失败",
  "error.deleteBlocked": "节点已从图中移除，但写回可能被拦截，请查看图谱状态",
  "error.deleteFailed": "删除失败",
  "error.nodeNotFound": "节点已不存在",
  "error.saveBlocked": "内容已更新，但写回聊天元数据可能被拦截，请查看图谱状态",
  "error.saveFailed": "保存失败",
  "error.syncFailed": "同步失败",

  "graph.scope.characterPov": "角色 POV · {name}",
  "graph.scope.objective": "客观层",
  "graph.scope.unknownCharacter": "未知角色",
  "graph.scope.userPov": "用户 POV",

  "i18n.locale.auto": "自动",
  "i18n.locale.enUS": "English",
  "i18n.locale.setting.help": "只影响 ST-BME 面板、提示和状态文案，不会翻译聊天内容、记忆节点或提示词。",
  "i18n.locale.setting.label": "界面语言",
  "i18n.locale.zhCN": "简体中文",

  "notice.completed": "{stage}已完成",
  "notice.failed": "{stage}失败",
  "notice.generic": "ST-BME",
  "notice.loading": "{stage}进行中…",
  "notice.partial": "{stage}部分成功",

  "panel.entry.floatingTooltip": "BME 记忆图谱",
  "panel.entry.menuLabel": "记忆图谱",
  "panel.entry.openPanelAction": "打开面板",
  "panel.entry.openFailed": "记忆图谱面板加载失败，请查看控制台报错",
  "panel.entry.preloadFailed": "记忆图谱面板预加载失败，可稍后重试点击菜单",
  "panel.appearance.locale.subtitle": "只切换 BME 前端界面，不翻译聊天内容、记忆节点或提示词。",
  "panel.appearance.locale.title": "界面语言",
  "panel.appearance.theme.subtitle": "选择最适合当前故事氛围和阅读习惯的面板风格。",
  "panel.appearance.theme.title": "面板主题",
  "panel.title": "ST-BME 记忆图谱",
  "panel.header.fabToggleTitle": "显示/隐藏悬浮球",
  "panel.header.themePickerTitle": "切换主题",
  "panel.tab.graph": "图谱",
  "panel.tab.actions": "操作",
  "panel.tab.cognition": "角色认知",
  "panel.tab.config": "设置",
  "panel.tab.dashboard": "总览",
  "panel.tab.extraction": "提取 Extraction",
  "panel.tab.persistence": "持久化状态",
  "panel.tab.pipeline": "管线总览",
  "panel.tab.recall": "召回 Recall",
  "panel.tab.settings": "配置",
  "panel.tab.tasks": "任务",
  "panel.tab.timeline": "任务流水",
  "panel.tab.trace": "消息追踪",
  "panel.tab.vector": "向量 Vector",

  "panel.sidebar.configKicker": "配置工作区",
  "panel.sidebar.configTitle": "ST-BME 设置",
  "panel.sidebar.configHelp": "左侧切换配置页，右侧查看对应的完整设置表单。",
  "panel.sidebar.taskKicker": "任务监控",
  "panel.sidebar.taskTitle": "ST-BME 任务流",
  "panel.sidebar.taskHelp": "左侧切换监控视图，右侧查看实时任务状态。",

  "panel.configNav.api": "API 配置",
  "panel.configNav.toggles": "功能开关",
  "panel.configNav.advanced": "详细参数",
  "panel.configNav.prompts": "任务预设",
  "panel.configNav.planner": "ENA 规划器",
  "panel.configNav.appearance": "面板外观",
  "panel.configNav.cleanup": "数据清理",

  "panel.taskNav.pipeline": "管线总览",
  "panel.taskNav.timeline": "任务流水",
  "panel.taskNav.memory": "记忆浏览",
  "panel.taskNav.injection": "注入预览",
  "panel.taskNav.trace": "消息追踪",
  "panel.taskNav.persistence": "持久化",

  "panel.graphView.realtime": "实时图谱",
  "panel.graphView.cognition": "认知视图",
  "panel.graphView.summary": "总结视图",

  "panel.graphToolbar.pauseTitle": "暂停图谱渲染",
  "panel.graphToolbar.zoomInTitle": "放大",
  "panel.graphToolbar.zoomOutTitle": "缩小",
  "panel.graphToolbar.resetTitle": "重置",

  "panel.configWorkspace.kicker": "配置",
  "panel.configWorkspace.title": "ST-BME 配置工作区",
  "panel.configWorkspace.desc": "在这里集中配置第二记忆模型、功能开关、细粒度参数、任务预设和面板主题。",

  "panel.configPlaceholder.title": "配置已切换到右侧工作区",
  "panel.configPlaceholder.help": "左侧子导航负责切页，右侧显示完整的配置表单。",

  "panel.configSection.apiKicker": "API 配置",
  "panel.configSection.apiTitle": "模型连接与向量接入",
  "panel.configSection.apiDesc": "统一管理独立记忆 LLM 和 Embedding 的连接方式，保留现有后端代理与直连兜底逻辑。",
  "panel.configSection.togglesKicker": "功能开关",
  "panel.configSection.togglesTitle": "主链路与增强能力",
  "panel.configSection.togglesDesc": "先决定哪些能力参与记忆链路，再到详细参数里微调各模块行为。",
  "panel.configSection.advancedKicker": "详细参数",
  "panel.configSection.advancedTitle": "细粒度行为与评分策略",
  "panel.configSection.advancedDesc": "这里承接旧设置页里的高级项。若对应功能关闭，参数会置灰并提示先到「功能开关」启用。",
  "panel.configSection.promptsKicker": "任务预设",
  "panel.configSection.promptsTitle": "任务预设工作区",
  "panel.configSection.promptsDesc": "在这里为每个任务维护独立预设，统一配置 prompt 编排、生成参数和正则规则。",
  "panel.configSection.plannerKicker": "ENA 规划器",
  "panel.configSection.plannerTitle": "剧情规划 · LLM 接入",
  "panel.configSection.plannerDesc": "发送前自动拦截并调用规划 LLM，从角色卡、世界书、BME 记忆、历史 plot 中收集上下文，生成 plot 和 note 追加到你的输入。",
  "panel.configSection.appearanceKicker": "面板外观",
  "panel.configSection.appearanceTitle": "主题与视觉同步",
  "panel.configSection.appearanceDesc": "这里的主题选择会和顶部调色盘快捷入口保持同步，并立即刷新图谱配色。",
  "panel.configSection.cleanupKicker": "数据清理",
  "panel.configSection.cleanupTitle": "图谱、缓存与存储清理",
  "panel.configSection.cleanupDesc": "在这里执行高危清理操作。所有操作均需二次确认，部分操作不可撤销。",

  "panel.cognition.ownerList": "角色认知清单",
  "panel.cognition.spaceConsole": "空间控制台",

  "panel.nodeDetail.title": "节点详情",
  "panel.nodeDetail.delete": "删除节点",
  "panel.nodeDetail.save": "保存修改",
  "panel.memoryPopup.title": "节点详情",

  "panel.graphOverlay.loading": "正在加载当前聊天图谱",

  "panel.fullscreenGraph.title": "实时图谱（全屏）",
  "panel.fsToolbar.zoomInTitle": "放大",
  "panel.fsToolbar.zoomOutTitle": "缩小",
  "panel.fsToolbar.closeTitle": "关闭",

  "panel.taskWorkspace.kicker": "任务监控",
  "panel.taskWorkspace.title": "ST-BME 任务流工作区",
  "panel.taskWorkspace.desc": "实时查看所有任务管线的运行状态与当前批次进度。",

  "panel.dashboard.activeNodes": "活跃节点",
  "panel.dashboard.edgeCount": "边连接",
  "panel.dashboard.archived": "已归档",
  "panel.dashboard.fragRate": "碎片率",
  "panel.dashboard.runStatus": "运行状态",
  "panel.dashboard.cognitionSpace": "认知 / 空间",
  "panel.dashboard.viewFullCognition": "在认知视图中查看完整认知 →",
  "panel.dashboard.recentExtract": "最近提取",
  "panel.dashboard.recentRecall": "最近召回",

  "panel.actions.memoryGroup": "记忆操作",
  "panel.actions.memoryGroupSub": "调用 LLM 处理记忆节点",
  "panel.actions.vectorGroup": "向量操作",
  "panel.actions.vectorGroupSub": "调用 Embedding API 计算节点向量",
  "panel.actions.graphGroup": "图谱管理",
  "panel.actions.graphGroupSub": "导入导出与危险操作",
  "panel.actions.persistGroup": "持久化修复",
  "panel.actions.persistGroupSub": "本地持久化与 Luker 主 sidecar 的统一修复区域",

  "panel.mobileNav.pipeline": "管线",
  "panel.mobileNav.timeline": "流水",
  "panel.mobileNav.memory": "记忆",
  "panel.mobileNav.injection": "注入",
  "panel.mobileNav.trace": "追踪",
  "panel.mobileNav.persistence": "持久化",

  "theme.crimson": "赤红合成",
  "theme.cyan": "霓虹青蓝",
  "theme.amber": "琥珀终端",
  "theme.violet": "紫雾迷离",
  "theme.paperDawn": "晨光纸感",
  "theme.glacierSky": "冰川晴空",
  "theme.crimson.desc": "高对比、强调变化和警示感。",
  "theme.cyan.desc": "更冷静的检视感，适合长时间排查。",
  "theme.amber.desc": "更像复古终端，阅读层次稳定。",
  "theme.violet.desc": "更柔和的夜间质感，适合沉浸式浏览。",
  "theme.paperDawn.desc": "亮色暖纸面，青绿主色与琥珀强调，白天阅读友好。",
  "theme.glacierSky.desc": "亮色冷灰底与饱和蓝，适合与系统浅色界面同屏。",

  "persistence.loadState.error": "加载失败",
  "persistence.loadState.loaded": "已加载",
  "persistence.loadState.loading": "加载中",
  "persistence.loadState.noChat": "当前尚未进入聊天",
  "persistence.persistState.completed": "已完成",
  "persistence.persistState.failed": "持久化失败",
  "persistence.persistState.idle": "待命",
  "persistence.persistState.pending": "等待正式持久化确认",

  "recall.card.deleteConfirm": "确认删除这条持久召回注入？",
  "recall.card.confirmDeleteShort": "确认删除？",
  "recall.card.empty.graphNotReady": "图谱未就绪",
  "recall.card.empty.nodesMissing": "召回节点已不存在或图谱已重建",
  "recall.card.enaNote": "由 Ena Planner 触发的本轮记忆块",
  "recall.card.injectionPreview": "注入预览",
  "recall.card.injectionPreview.ena": "ENA 注入预览",
  "recall.card.memoryCount": "记忆 {count}",
  "recall.card.memoryReady": "记忆 ✓",
  "recall.card.meta.authoritativeInput": "权威输入",
  "recall.card.meta.fallbackCount": "回退 {count} 次",
  "recall.card.meta.manualEdit": "手动编辑",
  "recall.card.meta.source": "来源: {source}",
  "recall.card.rerun": "重新召回",
  "recall.card.rerunning": "召回中...",
  "recall.card.title": "相关记忆召回",
  "recall.card.userInput": "本轮用户输入",
  "recall.sidebar.edgeCount": "{count} 条边",
  "recall.sidebar.editTitle": "编辑召回注入",
  "recall.sidebar.injectionEditable": "注入文本（可编辑）",
  "recall.sidebar.injectionText": "注入文本",
  "recall.sidebar.inputPlaceholder": "输入注入文本...",
  "recall.sidebar.nodeImportance": "重要度",
  "recall.sidebar.nodeName": "名称",
  "recall.sidebar.nodeTitle": "节点详情",
  "recall.sidebar.nodeType": "类型",
  "recall.sidebar.related": "关联",

  "stage.extraction": "提取",
  "stage.history": "历史恢复",
  "stage.recall": "召回",
  "stage.vector": "向量",
  "stageNotice.title.extraction": "ST-BME 提取",
  "stageNotice.title.generic": "ST-BME",
  "stageNotice.title.history": "ST-BME 历史恢复",
  "stageNotice.title.recall": "ST-BME 召回",
  "stageNotice.title.vector": "ST-BME 向量",

  "status.aborted": "已中止",
  "status.failed": "失败",
  "status.idle": "待命",
  "status.loading": "加载中…",
  "status.partial": "部分成功",
  "status.ready": "准备就绪",
  "status.running": "运行中",
  "status.skipped": "已跳过",
  "status.success": "成功",
  "status.waiting": "等待中",

  "status.initial.extraction.detail": "尚未执行提取",
  "status.initial.recall.detail": "尚未执行召回",
  "status.initial.runtime.detail": "准备就绪",
  "status.initial.vector.detail": "尚未执行向量任务",
  "status.graphLoad.blocked.detail": "当前图谱未能完成 IndexedDB 确认，请稍后重试",
  "status.graphLoad.blocked.title": "图谱加载受阻",
  "status.graphLoad.empty.detail": "当前聊天还没有图谱",
  "status.graphLoad.loaded.detail": "已加载聊天图谱，等待下一次任务",
  "status.graphLoad.loading.detail": "正在读取聊天 {chatId} 的 IndexedDB 图谱",
  "status.graphLoad.loadingNoChat.detail": "正在等待聊天上下文准备完成",
  "status.graphLoad.loadingTemp.detail": "已读到聊天 {chatId} 的临时图谱，正在确认本地存储",
  "status.graphLoad.loadingTempNoChat.detail": "已读到临时图谱，正在确认本地存储",
  "status.graphLoad.noChat.detail": "当前尚未进入聊天",
  "status.graphLoad.noHostChat.detail": "已读取聊天 {chatId} 的图谱；宿主当前聊天 ID 暂不可用，维护操作会使用图谱身份继续",
  "status.graphLoad.noHostChatNoId.detail": "已读取当前图谱；宿主当前聊天 ID 暂不可用，维护操作会使用图谱身份继续",
  "status.graphLoad.shadow.detail": "已从本次会话临时恢复，正在等待正式聊天元数据",
  "status.graphLoad.shadow.title": "图谱临时恢复",
  "status.graphLoad.temp.title": "图谱已暂载",
  "status.graphLoad.title": "图谱已加载",
  "status.graphLoad.waiting.title": "图谱待命",

  "history.notice.dirty.detail": "将从楼层 {dirtyFrom} 之后自动恢复{reasonText}",
  "history.notice.dirty.reasonSuffix": "\n{reason}",
  "history.notice.dirty.title": "检测到楼层历史变化",

  "llm.providerHelp.auto": "留空时复用当前聊天模型。支持自动识别 OpenAI 兼容渠道、Anthropic Claude、Google AI Studio / Gemini；填写完整 endpoint 时会自动规整为可复用的 base URL。",
  "llm.providerHelp.baseUrl": "基础地址：{baseUrl}",
  "llm.providerHelp.customProvider": "未识别为特定渠道，将按自定义 OpenAI 兼容接口处理",
  "llm.providerHelp.knownProvider": "已识别渠道：{provider}",
  "llm.providerHelp.modelFetchUnsupported": "该渠道暂不支持自动拉取模型，请手动填写模型名",
  "llm.providerHelp.normalizedUrl": "规范化地址：{apiUrl}",
  "llm.providerHelp.transport": "请求通道：{transport}",

  "memory.type.character": "角色",
  "memory.type.event": "事件",
  "memory.type.location": "地点",
  "memory.type.pov_memory": "主观记忆",
  "memory.type.reflection": "反思",
  "memory.type.rule": "规则",
  "memory.type.synopsis": "全局概要（旧）",
  "memory.type.thread": "主线",

  "scope.badge.characterPov": "角色 POV · {owner}",
  "scope.badge.objectiveGlobal": "客观 · 全局",
  "scope.badge.objectiveRegion": "客观 · {region}",
  "scope.badge.userPov": "用户 POV · {owner}",
  "scope.owner.character": "角色",
  "scope.owner.unnamed": "未命名",
  "scope.owner.user": "用户",
  "scope.meta.characterPov": "角色 POV: {owner}",
  "scope.meta.userPov": "用户 POV: {owner}",
  "scope.region.path": "地区路径: {path}",
  "scope.region.primary": "主地区: {region}",
  "scope.region.secondary": "次级地区: {regions}",

  "storyTime.meta": "剧情时间: {time}",
  "storyTime.mixed": "混合",
  "storyTime.mixedTime": "混合时间",
};
