2709 lines
154 KiB
TypeScript
2709 lines
154 KiB
TypeScript
/**
|
||
* Sidebar copy, following the DSH i18n system: the client apply attaches the
|
||
* locale service (`ctx.locale`) through {@link attachLocale}, and
|
||
* `t()`/`isZh()` resolve the host's active locale from it. Without an
|
||
* attached service (standalone/test compositions) the browser language is
|
||
* used.
|
||
*
|
||
* zh and en ship in the core bundle. The other official host languages ride
|
||
* the lazy `locale` chunk: the client apply loads it only when the host is
|
||
* on one of them, registers the dictionaries into `ctx.locale` and hands
|
||
* them to {@link attachLocaleDicts}. Any key a language lacks falls back to
|
||
* English, exactly like the host's own chain.
|
||
*/
|
||
|
||
/** The zh dictionary (also registered into the DSH locale registry under {@link LOCALE_NS}). */
|
||
export const zh = {
|
||
selectionSettings: "划选操作",
|
||
selectionEnabled: "启用划选浮层",
|
||
selectionSettingsDesc: "配置划选菜单、改写提示词与翻译。改写会更新原资源;插入只填写草稿。",
|
||
selectionAutoRun: "点击即执行改写",
|
||
selectionAutoRunDesc: "关闭后,改写指令和选区先填入新的侧边会话草稿,由你点击发送。",
|
||
selectionHumanize: "去 AI 味",
|
||
selectionCustom: "自定义操作",
|
||
selectionPrompt: "提示词",
|
||
selectionActionName: "操作名称",
|
||
selectionAddAction: "新增操作",
|
||
selectionLanguage: "翻译目标语言",
|
||
selectionUiLanguage: "跟随界面语言",
|
||
selectionModel: "翻译模型",
|
||
selectionFollowModel: "跟随主会话模型",
|
||
selectionInsertMain: "插入主会话",
|
||
selectionInsertSide: "插入到侧边",
|
||
selectionBack: "返回",
|
||
selectionReset: "恢复默认",
|
||
selectionOrderUp: "上移",
|
||
selectionOrderDown: "下移",
|
||
selectionUnavailable: "请先保存未提交的编辑;只读资源不能改写。",
|
||
selectionLanguageHint: "留空跟随界面,也可填写语言名称或代码。",
|
||
clueBrowserRevealUnavailable: "无法在文件树中定位此文件:工作区、会话或路径不可用或不受支持。",
|
||
clueBrowserRevealRootMismatch: "无法定位此文件:该会话的文件树当前位于其他工作目录或关联工作树。",
|
||
clueBrowserRevealQueued: "已为该工作区的会话请求定位;请切回该会话查看文件树。",
|
||
clueSelectionContinue: "续写",
|
||
clueSelectionTarget: "动作发送至",
|
||
clueSelectionTargetMain: "主会话",
|
||
clueSelectionTargetSide: "侧边会话",
|
||
clueSelectionMenu: "选区操作",
|
||
clueSelectionInsert: "插入选区",
|
||
clueSelectionExplain: "解释",
|
||
clueSelectionRewrite: "改写",
|
||
clueSelectionExpand: "扩写",
|
||
clueSelectionShorten: "缩短",
|
||
clueSelectionTranslate: "翻译",
|
||
clueSelectionFailed: "无法启动该操作。",
|
||
clueSelectionWriterHeld: "此会话正由另一个 DSH 实例使用。释放后可重试。",
|
||
clueSelectionSessionUnavailable: "无法向此会话投递。请在可用的主会话中重新打开预览。",
|
||
clueSelectionReceiptUnknown: "操作未确认送达。再次发起前请先查看会话。",
|
||
cluePreviewImageUnavailable: "图片无法预览。",
|
||
cluePreviewBlockUnavailable: "此内容块无法在这里预览。",
|
||
cluePreviewStatus: "状态",
|
||
cluePrChecksSkipped: "已跳过",
|
||
cluePrChecksNeutral: "中性",
|
||
cluePrChecksCancelled: "已取消",
|
||
cluePrChecksNone: "无检查",
|
||
cluePrChecksPartial: "已显示 {shown} / {total} 项检查",
|
||
cluePrMergeBehind: "分支需要更新",
|
||
cluePrMergeBlocked: "合并受阻",
|
||
cluePrMergeWaiting: "等待检查或评审",
|
||
cluePrMergeReady: "可以合并",
|
||
clueAuthPermissionDocsCommentsRead: "读取文档评论",
|
||
clueAuthPermissionDocsCommentsWrite: "发表文档评论",
|
||
clueAuthPermissionTasksCommentsRead: "读取任务评论",
|
||
clueAuthPermissionTasksCommentsWrite: "发表任务评论和回复",
|
||
clueAuthPermissionPeopleRead: "解析人员显示姓名",
|
||
// UI19 resource discussion and retained surfaces.
|
||
clueDiscussionHeading: "评论与审核",
|
||
clueDiscussionDocumentOnly: "仅文档级评论,不含行内评论。",
|
||
clueDiscussionEmpty: "暂无评论。",
|
||
clueDiscussionNotCaptured: "此快照未采集评论。",
|
||
clueDiscussionUnavailable: "评论暂不可用,请重试。",
|
||
clueDiscussionMore: "加载更多评论",
|
||
clueDiscussionReadMore: "继续阅读正文",
|
||
clueDiscussionCursorError: "来源返回了重复分页游标,请刷新后继续。",
|
||
clueCommentWrite: "发表评论",
|
||
clueCommentPost: "发表",
|
||
clueCommentSending: "正在发表…",
|
||
clueCommentReply: "回复",
|
||
clueCommentReplyTo: "回复给",
|
||
clueCommentQuoteReply: "引用回复",
|
||
clueCommentMoreReplies: "加载更多回复",
|
||
clueCommentResolved: "已解决",
|
||
clueReviewApproved: "已批准",
|
||
clueReviewChangesRequested: "请求修改",
|
||
clueReviewCommented: "已评论审核",
|
||
clueReviewDismissed: "审核已撤销",
|
||
clueReviewPending: "审核待提交",
|
||
clueBodyVersionChanged: "正文版本已变化,请刷新后再继续阅读。",
|
||
clueBodyContinuationUnsupported: "此正文无法安全拼接,请打开原始来源。",
|
||
clueDetailActions: "资源操作",
|
||
clueBrowserScopeUp: "上一级",
|
||
clueBrowserEnterFolder: "进入文件夹",
|
||
clueBrowserRevealTree: "在原生文件树中定位",
|
||
windowDock: "回到侧栏",
|
||
windowFloat: "转为浮窗",
|
||
windowFloatingHint: "此内容正在浮窗中打开。",
|
||
files: '文件',
|
||
guideDescFiles: '浏览工作区文件树,点开即预览或编辑',
|
||
guideDescGit: 'Git 变更与本轮文件改动,双视角合一',
|
||
guideDescSubagent: '工作流图 · 团队任务板 · 后台任务,实时状态',
|
||
guideDescSidechat: '继承当前会话上下文的独立追问线程',
|
||
guideDescTerminal: '真实 shell 终端(xterm + pty),断线重连',
|
||
guideDescBrowser: '内嵌网页浏览器,可接管聊天里的外链',
|
||
changesSessionEmpty: '本会话还没有文件操作',
|
||
changesRead: '读取',
|
||
changesMdReading: '阅读',
|
||
changesMdRaw: '原文',
|
||
changesHtmlRender: '渲染',
|
||
changesHtmlRaw: '原文',
|
||
changesWrite: '写入',
|
||
changesEdit: '编辑',
|
||
changesRunning: '执行中',
|
||
changesError: '出错',
|
||
changesRedactOn: '已开启脱敏:敏感内容以 [REDACTED] 显示;点击关闭(自担风险)',
|
||
changesRedactOff: '脱敏已关闭:将原样显示文件内容;点击开启',
|
||
changesRedactOnLabel: '脱敏中',
|
||
changesRedactOffLabel: '脱敏关',
|
||
changesRedactBanner: '已脱敏',
|
||
changesFold: '{count} 行…点击展开',
|
||
changesFoldLoading: '展开中…',
|
||
changesFoldUnavailable: '上下文未加载',
|
||
changesContext: '上下文',
|
||
changesPriorUnknown: '变更前的内容不在窗口内,显示为全新增',
|
||
explorer: '资源管理器',
|
||
terminal: '终端',
|
||
editor: '编辑器',
|
||
editorExplorer: '文件打开方式',
|
||
editorExplorerDesc: '控制文件打开方式',
|
||
editorExplorerMerged: '合并',
|
||
editorExplorerMergedDesc: '文件在同一窗口内原地切换;新窗口默认展开文件树',
|
||
editorExplorerSplit: '独立',
|
||
editorExplorerSplitDesc: '无路径窗口即资源管理器(仅文件树);文件各自新开窗口(带文件树,默认收起)',
|
||
explorerExclude: '排除模式',
|
||
explorerExcludeDesc: '从文件树与搜索中彻底移除匹配条目(支持 * 与 ?,双星杠头匹配任意深度);匹配项不阻塞面包屑折叠',
|
||
explorerExcludePlaceholder: '添加模式,如 node_modules、*.log、**/.git',
|
||
explorerExcludeAdd: '添加',
|
||
explorerExcludeRemove: '移除',
|
||
editorTreeToggle: '文件树面板',
|
||
editorFileNotFound: '文件不存在:{path}',
|
||
editorMarkdownPathHint: 'Markdown 可能吞掉了 Windows 路径中的反斜杠。请改用正斜杠,或将路径放在代码块中。',
|
||
editorPathRepairSearching: '正在检查可能的 Windows 路径…',
|
||
editorPathRepairNone: '没有找到唯一匹配的路径。请核对路径后重试。',
|
||
editorPathRepairChoices: '找到多个可能的路径,请选择正确路径:',
|
||
editorPathRepairFailed: '检查修复路径失败:{message}',
|
||
editorCopyPath: '复制路径',
|
||
editorOpenInFileManager: '在资源管理器中打开',
|
||
editorCopyPathFailed: '复制路径失败',
|
||
editorRevealPathFailed: '无法在资源管理器中打开该路径',
|
||
editorPathPlaceholder: '输入文件路径(相对会话目录或绝对路径),Enter 打开',
|
||
editorSearchPlaceholder: '按文件名搜索…',
|
||
editorSearchNoResults: '无匹配文件',
|
||
editorSearchTruncated: '结果过多,仅显示部分匹配',
|
||
editorEmptyHint: '从右侧文件树或上方路径输入框选择文件开始预览',
|
||
openFileNewTab: '在新 Tab 中打开',
|
||
openFileSide: '在侧边打开',
|
||
settingsOpenWithPluginTitle: '始终显示插件自研的打开方式',
|
||
settingsOpenWithPluginDesc: '默认只在宿主探测不到本机关联应用时显示插件自研的打开方式(资源管理器 / VS Code / Cursor / Zed / 自定义编辑器、SSH 远端);打开后宿主应用与插件目标并存',
|
||
zipDownload: '压缩并下载',
|
||
zipDownloadCount: '压缩并下载({count} 项)',
|
||
zipFailed: '打包失败:{message}',
|
||
archiveToolMissing: '系统上没有可用的打包命令(zip 或 tar 都没有),无法打包下载',
|
||
openWithMenu: '在应用中打开',
|
||
openWithSshSuffix: ' (SSH)',
|
||
pinOpenWith: '固定到菜单',
|
||
unpinOpenWith: '取消固定',
|
||
openWithExplorer: '资源管理器',
|
||
openWithVscode: 'VS Code',
|
||
openWithCursor: 'Cursor',
|
||
openWithZed: 'Zed',
|
||
openWithSettingsSshTitle: 'SSH 远端主机',
|
||
openWithSettingsSshDesc: '留空为本地工作区;填入 user@host 或 SSH 别名后,VSCode 系打开方式将改用 vscode-remote/ssh-remote 协议,资源管理器 / Zed / 非 VSCode 系自定义编辑器将从菜单隐藏',
|
||
openWithSettingsSshPlaceholder: 'user@host 或 SSH 别名',
|
||
openWithSettingsCustomTitle: '自定义编辑器',
|
||
openWithSettingsCustomDesc: '名称 + URL 模板({path} 占位符)+ 是否 VSCode 系;SSH 模式下仅 VSCode 系可打开远端',
|
||
openWithSettingsAdd: '添加',
|
||
openWithSettingsName: '名称',
|
||
openWithSettingsTemplate: '如 cursor://file/{path}',
|
||
openWithSettingsFamily: 'VSCode 系',
|
||
openWithSettingsFamilyDesc: '该编辑器使用 VSCode 的 URL 协议(支持 SSH 远端打开)',
|
||
openWithSettingsRemove: '删除',
|
||
openWithSettingsInvalidHint: '名称或模板(需含 {path} 且以 scheme:// 开头)未填写的编辑器不会出现在菜单中',
|
||
openInAppDefault: '用默认应用打开',
|
||
openInAppEmpty: '没有可用于打开它的应用',
|
||
openInAppFailed: '无法打开:{path}',
|
||
revealInFileManager: '在文件管理器中显示',
|
||
filesSelected: '已选择 {count} 项',
|
||
clearSelection: '取消选择',
|
||
copyPaths: '复制路径',
|
||
deleteSelected: '删除所选',
|
||
deleteSelectedTitle: '删除选中的 {count} 项?',
|
||
deleteSelectedDesc: '这些文件与文件夹将被永久删除,无法恢复。',
|
||
newFolder: '新建文件夹',
|
||
newFolderPlaceholder: '文件夹名称',
|
||
newFolderInvalid: '文件夹名称无效',
|
||
newFile: '新建文件',
|
||
newFilePlaceholder: '文件名称',
|
||
newFileInvalid: '文件名称无效',
|
||
newFileExists: '同名文件已存在',
|
||
sort: '排序',
|
||
sortByName: '按名称排序',
|
||
sortByType: '按类型排序',
|
||
sortFoldersFirst: '文件夹优先',
|
||
filesTruncated: '该目录条目过多,仅显示前一部分',
|
||
gitStatusModified: '已修改',
|
||
gitStatusAdded: '新增',
|
||
gitStatusDeleted: '已删除',
|
||
gitStatusUntracked: '未跟踪',
|
||
gitStatusRenamed: '已重命名',
|
||
gitStatusConflict: '有冲突',
|
||
changesClean: '工作区没有变更',
|
||
changesNewFile: '新文件',
|
||
changesStageFailed: '暂存失败:{message}',
|
||
changesOpGone: '该操作已不在会话记录中',
|
||
newTab: '新建标签页',
|
||
brokenSymlink: '失效的软链接',
|
||
close: '关闭',
|
||
windowMaximize: '最大化',
|
||
windowRestore: '还原',
|
||
windowBack: '返回',
|
||
windowSaving: '保存中…',
|
||
windowUnknownFormat: '无法预览此内容格式',
|
||
windowUnknownFormatHint: '未注册该格式的预览器,以下为只读原始数据。',
|
||
windowReadOnly: '只读',
|
||
closeOtherTabs: '关闭其他页签',
|
||
tabUnread: '有未查看的新页面',
|
||
closeLeftTabs: '关闭左侧页签',
|
||
closeRightTabs: '关闭右侧页签',
|
||
closeAllTabs: '关闭全部页签',
|
||
revealTabInFileManager: '在资源管理器中定位',
|
||
pinTerminal: '固定终端',
|
||
pinAgentTerminal: '固定 Agent 终端',
|
||
pinToWorkspace: '固定到工作区',
|
||
pinToGlobal: '固定到全局',
|
||
unpinTerminal: '取消固定',
|
||
collapseBottomPanel: '折叠底部面板',
|
||
expandBottomPanel: '展开底部面板',
|
||
terminalError: '终端连接失败',
|
||
terminalConnectFailed: '终端多次连接失败',
|
||
terminalRetry: '重试',
|
||
terminalWaitBanner: 'Agent 正在等待 {needle}',
|
||
terminalSkipWait: '跳过等待',
|
||
terminalDepsFailed: '终端依赖 node-pty 加载失败',
|
||
terminalDepsHint: '在 DSH 所在环境的终端或 cmd 中执行以下命令修复,然后点重试(node-pty 与 DSH 核心保持同一版本):',
|
||
terminalDepsProfile: '(检测到 profile:{profile})',
|
||
terminalShellNotFound: '未找到配置的 Shell:{name},请到 设置 → 侧边卡片 → 终端 检查 Shell 路径',
|
||
terminalUnavailable: '宿主未提供终端能力',
|
||
terminalGone: '该终端进程已不存在,可新建一个',
|
||
terminalNew: '新建终端',
|
||
preview: '预览',
|
||
toc: '目录',
|
||
edit: '编辑',
|
||
mermaidError: 'Mermaid 渲染失败',
|
||
mermaidZoomIn: '放大',
|
||
mermaidZoomOut: '缩小',
|
||
mermaidZoomReset: '重置',
|
||
mermaidZoomHint: '滚轮缩放 · 拖拽平移 · Esc 关闭',
|
||
refresh: '刷新',
|
||
refreshUnsavedConfirm: '文件已在磁盘更新,刷新将丢弃未保存编辑。继续吗?',
|
||
closeUnsavedConfirm: '该文件有未保存的编辑,关闭后将丢弃。继续吗?',
|
||
draftRestoreConfirm: '检测到未保存的草稿,恢复吗?(选择取消将丢弃该草稿)',
|
||
switchUnsavedConfirm: '该文件有未保存的编辑,切换文件将丢弃这些内容。继续吗?',
|
||
save: '保存',
|
||
saved: '已保存',
|
||
unsaved: '未保存',
|
||
saveFailed: '保存失败',
|
||
saveConflict: '文件已在磁盘上被其他来源修改。保存已中止,你的修改仍在编辑器中。',
|
||
saveConflictReload: '重新载入磁盘内容',
|
||
previewOnlyNotice: '文件过大({size}),仅提供分页预览;{limit} 以内可编辑',
|
||
previewLongLineNotice: '文件含超长单行({size}),仅提供分页预览',
|
||
largeFileEmpty: '(空文件)',
|
||
pagedLineRange: '第 {from}–{to} 行',
|
||
loadAll: '加载全部',
|
||
loadAllProgress: '加载中 {loaded} / {total}',
|
||
previewRowLimit: '已达 {rows} 行的预览上限,其余请下载查看',
|
||
jsonlRecordRange: '第 {from}–{to} 条记录',
|
||
jsonlInvalidRecord: '这一行不是合法 JSON',
|
||
jsonCopyPath: '复制路径',
|
||
jsonCopyPrettyJson: '复制为格式化 JSON',
|
||
jsonCopyCompactJson: '复制为紧凑 JSON',
|
||
jsonCopyFailed: '复制失败',
|
||
jsonCollapseNode: '折叠',
|
||
jsonExpandNode: '展开',
|
||
jsonCopyButtonTitle: '复制:{action}',
|
||
searchFind: '查找',
|
||
searchReplace: '替换',
|
||
searchNext: '下一个',
|
||
searchPrevious: '上一个',
|
||
searchAll: '全选匹配',
|
||
searchMatchCase: '区分大小写',
|
||
searchWholeWord: '全词匹配',
|
||
searchRegexp: '正则表达式',
|
||
searchReplaceAll: '全部替换',
|
||
searchCurrentMatch: '当前匹配',
|
||
searchOnLine: '所在行号',
|
||
searchReplacedMatches: '已替换 $ 处匹配',
|
||
searchReplacedMatchOnLine: '已替换第 $ 行的匹配',
|
||
searchGoToLine: '跳转到行',
|
||
searchGo: '跳转',
|
||
binary: '二进制文件,无法预览',
|
||
loading: '加载中…',
|
||
error: '加载失败',
|
||
retry: '重试',
|
||
notRepo: '当前目录不是 git 仓库',
|
||
statusTruncated: '变更过多,仅显示前 2000 条',
|
||
stage: '暂存',
|
||
unstage: '取消暂存',
|
||
stageAll: '全部暂存',
|
||
unstageAll: '全部取消暂存',
|
||
gitChanges: '更改',
|
||
gitGraph: '提交图',
|
||
gitMergeChanges: '合并更改',
|
||
gitStagedChanges: '暂存的更改',
|
||
gitMoreActions: '更多操作',
|
||
gitRepository: '仓库',
|
||
gitDetached: '游离 HEAD',
|
||
gitBranchesUnavailable: '没有可用分支',
|
||
gitNoUpstream: '未设置上游',
|
||
gitSyncUnavailable: '同步不可用',
|
||
gitSync: '同步更改',
|
||
commitPlaceholder: 'Message ({shortcut} to commit on "{branch}")',
|
||
commit: '提交',
|
||
generateCommitMessage: '生成提交信息',
|
||
generateCommitMessageWith: '生成提交信息(使用 {model})',
|
||
generatingCommitMessage: '正在生成提交信息…',
|
||
committingMessage: '正在提交…',
|
||
suggestCommitError: '生成提交信息失败',
|
||
suggestCommitEmpty: '当前没有可提交的改动',
|
||
commitModelTitle: '提交信息生成模型',
|
||
commitModelDesc: '选择生成提交信息时使用的模型;默认跟随当前对话所用的模型。',
|
||
commitModelFollow: '跟随当前对话',
|
||
commitModelSearchPlaceholder: '搜索:输入 provider/model',
|
||
commitModelCurrent: '当前:{route}',
|
||
commitModelInvalid: '请按 provider/model 格式填写',
|
||
commitModelUnavailable: '当前部署未暴露模型服务,只能跟随当前对话',
|
||
commitModelEmpty: '未发现可用模型(可在上方直接输入 provider/model)',
|
||
commitModelDefaultNote: '默认',
|
||
commitModelRecentNote: '本会话用过',
|
||
push: '推送',
|
||
pull: '拉取',
|
||
pushError: '推送失败',
|
||
pullError: '拉取失败',
|
||
branch: '分支',
|
||
worktree: '工作树',
|
||
checkoutError: '切换分支失败',
|
||
history: '历史',
|
||
changes: 'Git',
|
||
changesGitLens: 'Git',
|
||
graphAllBranches: '所有分支',
|
||
graphBranchFilter: '分支筛选',
|
||
graphEmpty: '暂无提交',
|
||
graphLoadError: '加载提交历史失败',
|
||
graphLinearFallback: '分支过多,当前显示线性历史列表(不表示分支拓扑)',
|
||
graphStale: '提交历史已变化,请刷新',
|
||
graphDetails: '提交详情',
|
||
graphParents: '父提交',
|
||
graphLoadMore: '加载更多',
|
||
changesSessionLens: '本轮文件',
|
||
changesFilterAll: '全部',
|
||
changesFilterEmpty: '没有此类操作',
|
||
changesOpenDiffTab: '在独立页签中打开',
|
||
changesDiffTab: '差异',
|
||
changesContentTab: '内容',
|
||
changesNoCommit: '未选择提交',
|
||
changesNoContent: '此视图暂无内容',
|
||
changesReadNoDiff: '读取没有差异',
|
||
changesClosePreview: '关闭预览',
|
||
changesResizePreview: '调整预览高度',
|
||
changesLoadError: '会话文件记录暂不可用',
|
||
staged: '已暂存',
|
||
unstaged: '未暂存',
|
||
cancel: '取消',
|
||
diffEmpty: '没有文本差异',
|
||
diffLoadError: '加载差异失败',
|
||
diffBinary: '二进制',
|
||
diffAdded: '新增',
|
||
diffDeleted: '删除',
|
||
diffRenamed: '重命名',
|
||
diffExpand: '展开其余 {count} 行',
|
||
discard: '放弃更改',
|
||
discardTitle: '放弃更改',
|
||
discardDesc: '将丢弃「{path}」的工作区修改(不可恢复)。',
|
||
viewCommitDiff: '查看提交差异',
|
||
copyShortHash: '复制短哈希',
|
||
copyFullHash: '复制完整哈希',
|
||
copySubject: '复制提交信息',
|
||
revertCommit: '还原此提交',
|
||
revertTitle: '还原此提交',
|
||
revertDesc: '将在当前分支创建一个反转「{subject}」的新提交。',
|
||
cherryPickCommit: '捡取此提交',
|
||
cherryPickTitle: '捡取此提交',
|
||
cherryPickDesc: '将「{subject}」的更改应用到当前分支。',
|
||
timeJustNow: '刚刚',
|
||
timeMinutesAgo: '{n} 分钟前',
|
||
timeHoursAgo: '{n} 小时前',
|
||
timeYesterday: '昨天',
|
||
loadMore: '加载更多',
|
||
produced: '本次产出',
|
||
showInFolder: '在文件夹中显示',
|
||
disconnected: '终端连接断开,重连中…',
|
||
exited: '终端进程已退出',
|
||
noSession: '选择一个会话以使用侧边栏',
|
||
pluginNotLoaded: '插件未加载,标签页暂不可用:',
|
||
parent: '上级目录',
|
||
copied: '已复制',
|
||
copy: '复制',
|
||
openEditor: '打开编辑器',
|
||
referenceFile: '@文件',
|
||
addToConversation: '添加到对话',
|
||
quoteChip: '引用 {where}',
|
||
copyRelative: '复制相对地址',
|
||
copyAbsolute: '复制绝对地址',
|
||
rename: '重命名',
|
||
renameInvalid: '名称不能为空,且不能包含路径分隔符。',
|
||
delete: '删除',
|
||
deleteTitle: '删除「{name}」?',
|
||
deleteDescFile: '将永久删除该文件,此操作不可撤销。',
|
||
deleteDescDir: '将永久删除该目录及其全部内容,此操作不可撤销。',
|
||
dismiss: '关闭',
|
||
download: '下载',
|
||
uploadFiles: '上传文件',
|
||
uploadFolder: '上传文件夹',
|
||
uploadHere: '上传到此处',
|
||
uploadDropHint: '拖拽文件/文件夹到此处上传',
|
||
uploadDropChat: '拖放到聊天区:添加图片到对话',
|
||
uploadTo: '上传到 {dir}',
|
||
uploadingTo: '正在上传到 {dir}…',
|
||
uploadProgress: '正在上传 {done}/{total}: {name}',
|
||
uploadDone: '已上传 {count} 个文件',
|
||
uploadFailed: '上传失败:{error}',
|
||
uploadFailedUnknown: '未知错误',
|
||
uploadTooLarge: '文件过大,超出上传上限',
|
||
uploadCancelled: '上传已取消',
|
||
settingsNav: '侧边卡片',
|
||
settingsIntro: '管理侧边卡片的显示内容与默认行为',
|
||
settingsPopupDesc: '为「{feature}」配置相关选项',
|
||
settingsDone: '完成',
|
||
settingsOpenToolsTitle: '为模型注入侧边栏打开工具',
|
||
settingsOpenToolsDesc: '开启后,模型可通过 sidebar_open 工具在侧边栏主动打开文件、文件夹和 HTTP(S) 网页(默认关闭)',
|
||
settingsCustomCssTitle: '自定义 CSS',
|
||
settingsCustomCssPlaceholder: '/* 例:底部工作台面板换用等宽字体 */\n[data-dsh-bottom-panel] {\n font-family: var(--dsw-font-mono);\n}',
|
||
settingsSaveFailed: '保存失败',
|
||
settingsConflict: '设置已被其他窗口修改,请重试',
|
||
binaryNoPreview: '此文件类型不支持预览',
|
||
downloadToView: '下载查看',
|
||
settingsSubagentTitle: '检测到子代理时自动激活任务管理页',
|
||
settingsSubagentDesc: '当前会话产生新的子代理时,在侧边栏创建任务管理页并标记未读红点;若侧边栏正展开在其他页面则不抢焦点,点红点即可前往;宽屏同时展开侧边栏,窄屏不强制展开全屏抽屉;关闭后不再自动创建',
|
||
settingsJobsTitle: '有新后台任务时自动激活任务管理页',
|
||
settingsJobsDesc: '当前会话出现新的后台任务时,在侧边栏创建任务管理页并标记未读红点(每个新任务都会触发);若侧边栏正展开在其他页面则不抢焦点,点红点即可前往;宽屏同时展开侧边栏,窄屏不强制展开全屏抽屉;关闭后不再自动创建',
|
||
settingsTasksAutoFoldSettledTitle: '自动折叠已结束叶子任务',
|
||
settingsTasksAutoFoldSettledDesc: '自动折叠已完成、失败或停止且没有子代理的叶子任务;默认开启',
|
||
settingsTasksAutoFoldBranchesTitle: '仅自动折叠完全结束的分支',
|
||
settingsTasksAutoFoldBranchesDesc: '仅当整条分支全部结束才自动折叠;含有运行中后代的分支绝不折叠;默认开启',
|
||
settingsTasksAutoFoldIdleTitle: '自动折叠空闲成员',
|
||
settingsTasksAutoFoldIdleDesc: '空闲成员达到 3 个或以上时自动折叠;默认开启',
|
||
settingsJobsAutoCollapseTitle: '自动收起后台任务抽屉',
|
||
settingsJobsAutoCollapseDesc: '代理总数达到 8 个或以上时自动收起后台任务抽屉;手动开关仍然可用;默认开启',
|
||
settingsToolsTitle: '为模型注入终端工具',
|
||
settingsToolsDesc: '开启后,模型可通过 terminal_create 等 8 个工具创建并操作侧边栏终端(默认关闭)',
|
||
settingsBottomTerminalTitle: '底部面板首次展开自动开终端',
|
||
settingsBottomTerminalDesc: '每次会话中第一次展开底部面板时,尝试在底部面板自动打开一个新终端标签(终端数量上限仍会限制;默认开启)',
|
||
settingsFontFamilyTitle: '终端字体',
|
||
settingsFontFamilyDesc: '自定义终端字体族(CSS font-family,如 "JetBrains Mono", monospace;留空跟随主题等宽字体)',
|
||
settingsFontFamilyPlaceholder: '"JetBrains Mono", monospace',
|
||
settingsFontSizeTitle: '终端字号',
|
||
settingsFontSizeDesc: '终端字号(9–32,默认 13)',
|
||
settingsShellTitle: 'Shell 路径',
|
||
settingsShellDesc: 'UI 与模型终端启动的 shell(绝对路径或可执行名)。留空按既有顺序解析:yaml 的 config.shell → $SHELL / 登录 shell / Windows 的 powershell.exe。对之后打开的终端生效',
|
||
settingsShellPlaceholder: '如 /bin/zsh(留空自动解析)',
|
||
settingsShellArgsTitle: 'Shell 参数',
|
||
settingsShellArgsDesc: '显式 shell 启动参数,空格分隔;非空时完全替换默认参数(与 yaml 的 shellArgs 契约一致)',
|
||
settingsShellArgsPlaceholder: '如 -l(留空用默认参数)',
|
||
settingsTabsTitle: '侧边栏内容',
|
||
settingsStartPageTitle: '开始页',
|
||
settingsStartPageDesc: '设置开始页的卡片行数、显示内容与顺序;这里的开关只影响开始页入口',
|
||
settingsGuideRowsTitle: '最大行数',
|
||
settingsGuideRowsDesc: '宽屏每行两张、窄屏一张;超出行数的卡片收进「更多」。默认 6 行,最小 1 行',
|
||
settingsGuideTakeoverTitle: '接管开始页',
|
||
settingsGuideTakeoverDesc: '关闭后恢复 DSH 自带的开始页;其他插件功能不受影响',
|
||
settingsGuideAlignTitle: '垂直对齐',
|
||
settingsGuideAlignDesc: '卡片少于可视高度时的摆放位置;超出时始终从顶部滚动',
|
||
settingsGuideAlignCenter: '居中',
|
||
settingsGuideAlignTop: '靠上',
|
||
settingsGuideShow: '在开始页显示',
|
||
settingsGuideEnable: '启用',
|
||
settingsGuideReset: '恢复默认顺序',
|
||
guideMore: '更多',
|
||
guideOrder: '调整顺序',
|
||
guideBrowsePlugins: '浏览更多插件',
|
||
guideCreatePlugin: '创建你的插件',
|
||
guideCreatePrompt: '创建一个带右侧栏入口的 DSH 插件。',
|
||
guideEmpty: '没有可显示的页面',
|
||
guideShellEmpty: '没有可用的 Shell',
|
||
guideShellFailed: 'Shell 加载失败:{error}',
|
||
settingsViewersTitle: '文件预览',
|
||
settingsMobileTitle: '手机',
|
||
settingsMobileNoAutoOpenTitle: '窄屏时不自动弹出',
|
||
settingsMobileNoAutoOpenDesc: '在手机 / 窄屏下,新的子代理或后台任务都不再自动切到任务页(页内仍可手动打开)',
|
||
settingsMobileTreeTitle: '窄屏时任务页默认树状图',
|
||
settingsMobileTreeDesc: '手机 / 窄屏下任务页默认用经典树,而不是工作流图;页内切换仍可临时改成图',
|
||
settingsGeneralTitle: '常规',
|
||
settingsPopup: '功能设置',
|
||
settingsViewerCatchAll: '兜底:任意文件',
|
||
viewerMarkdown: 'Markdown',
|
||
viewerCode: '代码',
|
||
viewerHtml: 'HTML',
|
||
viewerJsonl: 'JSONL',
|
||
viewerMedia: '音视频',
|
||
mediaUnplayable: '无法播放这个文件(编码不受支持或文件已损坏)',
|
||
htmlNoSandboxWarning: '沙箱已关闭:此 HTML 与界面同源,可读取会话文件与内部接口(可在设置中恢复)',
|
||
sandboxStatusOn: '沙箱模式:已启用 · 页面无法访问界面数据与本地文件,登录态与第三方 Cookie 可能不可用',
|
||
sandboxUnlock: '临时解锁(不安全)',
|
||
sandboxRestore: '恢复沙箱',
|
||
settingsHtmlDefaultUnsafeTitle: 'HTML 预览默认以非沙箱模式打开(不安全)',
|
||
settingsHtmlDefaultUnsafeDesc: '开启后,每次打开 HTML 文件时预览默认处于非沙箱状态(与界面同源,可读取会话文件与内部接口);可在状态行临时恢复沙箱',
|
||
settingsHtmlSandboxTitle: '关闭 HTML 预览沙箱(不安全)',
|
||
settingsHtmlSandboxDesc: '关闭后,预览的 HTML 将与界面同源运行,可读取会话文件、本地存储并调用内部接口。仅对完全可信的文件开启',
|
||
settingsEditorGitGutterTitle: '编辑器未提交变更提示',
|
||
settingsEditorGitGutterDesc: '在代码编辑器的行号槽用颜色标出未提交的变更,并在鼠标悬停时显示该行 blame(作者、时间与提交摘要);关闭后编辑器不显示任何变更标记',
|
||
settingsBrowserSandboxTitle: '关闭浏览器沙箱(不安全)',
|
||
settingsBrowserSandboxDesc: '关闭后,访问的任何网站都将与界面同源运行,可读取会话数据并冒充你的登录状态。仅对完全可信的站点开启',
|
||
settingsBrowserLoopbackTitle: '允许访问的本机地址',
|
||
settingsBrowserLoopbackDesc: '逗号分隔的本地回环地址白名单(如 localhost:5174 或 127.0.0.1:8080),侧边栏浏览器可访问这些本地服务;默认留空则本机地址全部拦截。沙箱隔离仍然生效,页面无法读取界面数据',
|
||
settingsBrowserLoopbackPlaceholder: '例如 localhost:5174, 127.0.0.1:8080',
|
||
subagent: '任务管理',
|
||
subagentMainAgent: '主代理',
|
||
subagentEmpty: '暂无子代理',
|
||
subagentEmptyDesc: '当前主代理派生的子代理将显示在这里',
|
||
subagentInactive: '空闲',
|
||
subagentModeOneShot: '一次性',
|
||
subagentModeContinuable: '可续接',
|
||
subagentCount: '{count} 个子代理',
|
||
subagentCountRunning: '{count} 个子代理 · {running} 运行中',
|
||
subagentThinking: '思考中…',
|
||
sideChat: '侧边对话',
|
||
sideChatNew: '新建对话',
|
||
sideChatUntitled: '新对话',
|
||
sideChatEmpty: '暂无侧边对话',
|
||
sideChatEmptyDesc: '每个侧边对话是标签栏里的独立 Tab,继承当前会话的上下文运行,不会进入主会话',
|
||
sideChatCreating: '正在创建侧边对话…',
|
||
sideChatRetry: '重试',
|
||
sideChatThreads: '切换线程 / 新建',
|
||
sideChatSave: '保存为新会话',
|
||
sideChatSaveTitle: '把该线程提升为顶层会话,出现在主会话列表中',
|
||
sideChatArchive: '归档这条侧边对话(在会话列表的「显示已归档」里可找回)',
|
||
sideChatArchiveRunning: '该线程正在运行,停止后才能归档',
|
||
sideChatArchiveBlocked: '侧边对话归档后无法找回(宿主会话列表在任何筛选下都不显示侧边对话),因此已禁用归档;如需保留,请先「保存为新会话」',
|
||
sideChatSaved: '已保存为新会话',
|
||
sideChatNoTurn: '至少完成一轮对话后才能保存',
|
||
sideChatPendingDrop: '最后一条未完成的追问不会包含在新会话中',
|
||
sideChatQueued: '排队中',
|
||
sideChatSending: '发送中…',
|
||
sideChatRevealEarlier: '展开更早的 {hidden} 条',
|
||
sideChatToLatest: '回到最新',
|
||
sideChatDequeue: '从队列移除',
|
||
sideChatRunError: '运行失败:{message}',
|
||
sideChatTerminalAborted: '本轮已被停止',
|
||
sideChatTerminalMaxTokens: '输出已达上限,回答被截断',
|
||
sideChatToolArguments: '参数',
|
||
sideChatToolResult: '结果',
|
||
sideChatTruncatedNotice: '更早的历史未载入本视图',
|
||
sideChatModel: '模型',
|
||
sideChatModelInherit: '继承主对话(宿主未提供模型目录)',
|
||
sideChatReasoning: '推理强度',
|
||
sideChatFirstPlaceholder: '输入第一个问题,已继承当前会话上下文…',
|
||
sideChatComposerPlaceholder: '追问…',
|
||
sideChatThinking: '正在深入…',
|
||
sideChatThink: '思考过程',
|
||
sideChatReasoningSummary: '思考 {chars} 字',
|
||
sideChatInjection: '已注入上下文',
|
||
sideChatAddImages: '添加图片',
|
||
sideChatRemoveImage: '移除 {name}',
|
||
sideChatImagesDisabled: '图片附件不可用',
|
||
sideChatImageFormat: '请选择 PNG、JPEG、WebP 或 GIF 图片',
|
||
sideChatImageLimit: '图片数量或大小超出限制',
|
||
sideChatImageReadError: '无法读取图片',
|
||
sideChatImageOwnerChanged: '发送时对话已切换',
|
||
sideChatSendUncertain: '连接已断开。消息可能已被接收。草稿已保留,请先查看对话再重试。',
|
||
sideChatImageLoading: '正在加载图片…',
|
||
sideChatImageUnavailable: '图片不可用',
|
||
sideChatImage: '图片',
|
||
sideChatSend: '发送',
|
||
sideChatCancelTitle: '中止当前回合(保留队列)',
|
||
sideChatError: '侧边对话出错:{message}',
|
||
sideChatTurnUsage: '输入 {input} tok · 输出 {output} tok',
|
||
sideChatDeliverables: '交付文件',
|
||
sideChatDeliverableOpen: '打开 {name}',
|
||
sideChatBlockCollapse: '收起',
|
||
sideChatBlockCollapseAria: '收起',
|
||
sideChatBlockExpand: '展开 {hidden} 行',
|
||
sideChatBlockExpandAria: '展开其余 {hidden} 行',
|
||
sideChatBlockSignal: '信号终止:{signal}',
|
||
sideChatBlockExitCode: '退出码 {code}',
|
||
sideChatBlockNoExitCode: '已结束(无退出码)',
|
||
sideChatBlockRunning: '运行中',
|
||
sideChatBlockFailed: '失败',
|
||
sideChatBlockDone: '完成',
|
||
sideChatBlockNoOutput: '(无输出)',
|
||
sideChatForkDivider: '分支前的主会话',
|
||
sideChatForkDividerEnd: '分支前的主会话结束',
|
||
sideChatTurnTook: '已完成,用时 {duration}',
|
||
sideChatTurnDone: '已完成',
|
||
sideChatTurnRunning: '运行中…',
|
||
sideChatCompactionSummary: '更早的历史已压缩',
|
||
sideChatCompactionItems: '{count} 项已折叠',
|
||
sideChatCompactionTokens: '约 {tokens} tok',
|
||
sideChatRetryAttempt: '已重试 {retry} 次',
|
||
sideChatAttachmentImage: '图片附件',
|
||
sideChatAttachmentImageFailed: '图片读取失败',
|
||
sideChatSearchNoResults: '无结果',
|
||
sideChatSearchPaths: '{shown} 个路径',
|
||
sideChatSearchPathsTruncated: '显示 {shown} / 共 {total} 个路径',
|
||
sideChatSearchMatches: '{shown} 处匹配 · {files} 个文件',
|
||
sideChatSearchMatchesTruncated: '显示 {shown} / 共 {total} 处匹配 · {files} 个文件',
|
||
sideChatWebHttp: 'HTTP',
|
||
sideChatWebSourcesTruncated: '来源列表已截断',
|
||
sideChatWebContentTruncated: '内容已截断',
|
||
sideChatImageOpen: '查看大图',
|
||
sideChatImageDialog: '图片预览',
|
||
sideChatImageClose: '关闭图片预览',
|
||
sideChatImageFailed: '图片无法预览',
|
||
sideChatMentionOpen: '打开 {path}',
|
||
sideChatBlockCommandLine: '命令第 {line} 行',
|
||
codeBlockTitle: '代码块',
|
||
codeBlockWrap: '自动换行',
|
||
codeBlockUnwrap: '取消自动换行',
|
||
sideChatBlockWindow: '共 {total} 行 · 显示 {shown} 行',
|
||
sideChatConnDisconnected: '连接已断开,点击立即重连',
|
||
sideChatConnConnecting: '正在重连…',
|
||
sideChatConnRecovered: '连接已恢复',
|
||
sideChatConnReconnectAction: '立即重连',
|
||
sideChatConnRestartAction: '重新发起连接',
|
||
jobs: '后台任务',
|
||
jobsCount: '{count} 个后台任务',
|
||
jobsCountRunning: '{count} 个后台任务 · {running} 运行中',
|
||
jobStatusRunning: '运行中',
|
||
jobStatusStopping: '终止中',
|
||
jobStatusCompleted: '已完成',
|
||
jobStatusKilled: '已终止',
|
||
jobStatusFailed: '失败',
|
||
jobDurationSeconds: '{seconds} 秒',
|
||
jobDurationMinutes: '{minutes} 分 {seconds} 秒',
|
||
jobDurationHours: '{hours} 小时 {minutes} 分',
|
||
jobViewOutput: '查看输出',
|
||
jobNoOutput: '暂无输出',
|
||
jobNotReadYet: '等待模型读取该任务的输出(模型执行 job_output 后,输出会显示在这里)',
|
||
jobOutputTruncated: '输出过长,已截断显示',
|
||
jobOutputError: '输出读取失败',
|
||
jobKill: '终止',
|
||
jobKillConfirm: '再次点击确认终止',
|
||
jobKillError: '终止失败',
|
||
tasksViewGraph: '工作流图',
|
||
tasksViewTree: '树状图',
|
||
tasksViewSwitchToGraph: '切换为工作流图',
|
||
tasksViewSwitchToTree: '切换为树状图',
|
||
settingsViewModeTitle: '任务管理默认视图',
|
||
settingsViewModeDesc: '任务管理页打开时的默认展示方式(页内仍可临时切换)',
|
||
settingsViewModeGraph: '工作流图',
|
||
settingsViewModeGraphDesc: '分层节点图,可缩放平移',
|
||
settingsViewModeTree: '树状图',
|
||
settingsViewModeTreeDesc: '经典缩进树,键盘可导航',
|
||
settingsSidechatSubmitKeyTitle: '发送键',
|
||
settingsSidechatSubmitKeyDesc: '侧边对话输入框用哪个手势发送消息',
|
||
settingsSidechatTabsTitle: "侧边对话页面",
|
||
settingsSidechatTabsDesc: "侧边对话共用一个页签,还是每个对话一个独立页签",
|
||
settingsSidechatTabsSingle: "共用一页",
|
||
settingsSidechatTabsSingleDesc: "默认:再次打开时回到本会话最近的侧边对话,始终只占一个页签",
|
||
settingsSidechatTabsMultiple: "每个对话独立页",
|
||
settingsSidechatTabsMultipleDesc: "每个侧边对话在自己的页签中打开;刷新或收起后按对话恢复",
|
||
settingsSidechatSubmitEnter: 'Enter 发送',
|
||
settingsSidechatSubmitEnterDesc: 'Enter 发送,Shift+Enter 换行',
|
||
settingsSidechatSubmitModEnter: 'Cmd/Ctrl + Enter 发送',
|
||
settingsSidechatSubmitModEnterDesc: 'Enter 换行,Cmd+Enter(macOS)或 Ctrl+Enter 发送',
|
||
tasksFoldIdleGroup: '{count} 个待命',
|
||
tasksFoldIdle: '{count} 待命',
|
||
tasksFoldCompleted: '✓ {count} 已完成',
|
||
tasksFoldOne: '收进已完成聚合',
|
||
tasksFoldExpand: '展开已完成的节点',
|
||
tasksFoldCollapse: '折叠已完成的节点',
|
||
tasksZoomIn: '放大',
|
||
tasksZoomOut: '缩小',
|
||
tasksZoomFit: '适应画布',
|
||
tasksNodeJump: '查看转录',
|
||
tasksNodeDetail: '节点详情',
|
||
workflowRun: '工作流',
|
||
tasksNodeState: '状态',
|
||
tasksFoldExpandShort: "展开",
|
||
tasksTreeCollapseAll: "全部收起",
|
||
tasksTreeExpandAll: "全部展开",
|
||
tasksTreeCollapseRow: "收起子级",
|
||
tasksTreeExpandRow: "展开子级",
|
||
tasksNodeTokens: "Token 用量",
|
||
tasksNodeDuration: "耗时",
|
||
tasksNodeOpenMain: "在主窗口中打开",
|
||
tasksNodeMode: '模式',
|
||
tasksNodeModel: '模型',
|
||
tasksNodeTeamRole: '团队角色',
|
||
tasksStateRunning: '运行中',
|
||
tasksStateIdle: '待命',
|
||
tasksStateProvisioning: '部署中',
|
||
tasksStateDone: '已完成',
|
||
tasksStateError: '出错',
|
||
tasksKindSubagent: '子代理',
|
||
tasksKindTeammate: '成员',
|
||
tasksKindWorkflow: '工作流',
|
||
taskWindowCreate: '新建任务',
|
||
taskWindowDetail: '任务详情',
|
||
teamBoard: '团队任务板',
|
||
teamChip: '团队 {members} 成员 · {tasks} 任务',
|
||
teamTasksEmpty: '暂无共享任务',
|
||
teamTaskCreate: '新建任务',
|
||
teamTaskSubject: '标题',
|
||
teamTaskDescription: '描述',
|
||
teamTaskOwner: '负责人',
|
||
teamTaskUnowned: '未认领',
|
||
teamTaskPending: '待办',
|
||
teamTaskInProgress: '进行中',
|
||
teamTaskCompleted: '已完成',
|
||
teamTaskBlocked: '阻塞',
|
||
teamTaskClaim: '认领',
|
||
teamTaskComplete: '完成',
|
||
teamTaskReopen: '重开',
|
||
teamTaskDelete: '删除',
|
||
teamTaskDeleteConfirm: '确认删除',
|
||
teamTaskEdit: '编辑',
|
||
teamTaskSave: '保存',
|
||
teamTaskCancel: '取消',
|
||
teamTaskConflict: '任务已被他人修改,已刷新',
|
||
teamTaskError: '操作失败:{message}',
|
||
teamTaskDeleted: '已删除',
|
||
teamTaskActions: '任务操作',
|
||
teamTaskDetail: '任务详情',
|
||
teamTaskNoDescription: '暂无描述,点击「编辑」补充',
|
||
teamTaskBlockedBy: '被阻塞',
|
||
teamTaskSubjectPlaceholder: '一句话说明要做什么',
|
||
teamTaskDescriptionPlaceholder: '补充说明(可选)',
|
||
teamFilterAll: '全部',
|
||
tasksNodeTasks: '共享任务',
|
||
jobCopyOutput: '复制输出',
|
||
jobCopied: '已复制',
|
||
jobFollowTail: '跟随最新',
|
||
jobDragHint: '拖动浮窗',
|
||
workflowRunning: '进行中',
|
||
workflowCompleted: '已完成',
|
||
workflowCancelled: '已取消',
|
||
workflowFailed: '失败',
|
||
workflowPhaseUnnamed: '未命名阶段',
|
||
workflowMembers: '{done}/{total} 成员',
|
||
jobsAutoCollapsed: '代理较多,已自动折叠',
|
||
// The optional dsh-context diagnostics (context-diagnostics-ui.tsx): the
|
||
// three entry points' control, and the ONE dismissible failure alert.
|
||
contextDiagnostics: '上下文诊断',
|
||
contextDiagnosticsTarget: '当前会话',
|
||
contextDiagnosticsFailed: '无法打开「{label}」的上下文诊断',
|
||
contextDiagnosticsUnavailable: 'dsh-context 的「上下文」页面不可用(未安装或未注册)',
|
||
contextDiagnosticsNavigation: '无法定位到该会话',
|
||
contextDiagnosticsTimeout: '打开超时,请重试',
|
||
contextDiagnosticsOpenFailed: '页面打开失败',
|
||
contextDiagnosticsDismiss: '关闭提示',
|
||
catalogLoadFailed: '{count} 个分支加载失败',
|
||
addPluginsTabCard: '添加 Tab 插件',
|
||
addPluginsTabCardDesc: '注册新的侧边栏页面',
|
||
addPluginsViewerCard: '添加预览插件',
|
||
addPluginsViewerCardDesc: '注册新的文件类型预览',
|
||
addPluginsTabDesc: '侧边栏页面(Tab)可以由插件扩展。插件通过 ctx.betterSidebar 服务注册;点击「安装」复制安装命令,粘贴到 DSH 所在环境的终端执行。',
|
||
addPluginsViewerDesc: '文件预览器可以由插件扩展。插件通过 ctx.betterSidebar 服务注册;点击「安装」复制安装命令,粘贴到 DSH 所在环境的终端执行。',
|
||
addPluginsBrowseMore: '在 GitHub 上浏览更多插件(topic: dsh-better-sidebar)',
|
||
addPluginsSearch: '搜索插件名称 / 描述…',
|
||
addPluginsNoMatch: '没有匹配的插件',
|
||
addPluginsRecommended: '推荐插件',
|
||
addPluginsEmpty: '暂未收录插件,欢迎在 GitHub topic 下发布你的插件',
|
||
openPlugin: '跳转',
|
||
copyInstall: '复制安装命令',
|
||
pluginMdExportDesc: '在 better-sidebar 的 Markdown 工具栏上新增「导出」按钮:一键把当前 .md 渲染为独立 HTML(表格/代码块/Mermaid 图表内联,布局跟随预览主题)直接保存到同目录,或通过打印对话框导出为 PDF',
|
||
pluginAgentPersonaDesc: '按工作区或会话分发 system prompt 人设:一条人设可同时作用于多个工作区目录与会话,支持完全一致 / 前缀 / 包含 / 正则,越具体越优先,可标一条默认人设兜底;在设置页与对话页「人设」Tab 里管理,改完下一条消息生效',
|
||
pluginOfficeDesc: '为 better-sidebar 编辑器提供 Office 三件套预览(.docx / .xlsx / .pptx),把重型 Office 渲染库拆出主包、按需安装',
|
||
pluginFlowglassDesc: '实时会话流程图:三列泳道展示用户、助手与工具调用,支持并行分组、子代理支线、逐层钻取和实时状态;安装 better-sidebar 后注册原生「流镜」Tab,未安装时保留独立抽屉',
|
||
pluginGitForgeDesc: 'better-sidebar「Git 凭据」Tab:GitHub/Gitea 等 Forge 账号库 + 按项目授权 + push 策略硬拦;token 仅存本地 secrets,不进模型上下文;提供只读 GitForge 工具与 agent HTTPS credential helper',
|
||
pluginGithubWorkbenchDesc: 'better-sidebar「GitHub 工作台」Tab:远端仓库目录树 + Issues / Pull requests / Actions 页签,读之外支持新建 Issue/PR、评论、编辑、关闭重开、squash·merge·rebase 合并(强确认)与重跑/取消 CI;仓库弹层自动拉取有权限列表并支持公开仓搜索;未装 better-sidebar 时自动降级为独立右侧面板',
|
||
pluginIdeGitDesc: 'better-sidebar「Git」Tab:分支树(ahead/behind 角标、worktree 占用标记)、提交图谱与文本/分支/作者/日期/路径筛选、逐文件行级 diff、变更分组与提交框,外加合并、变基、优选、重置、贮藏与标签操作;破坏性动作二次确认,删除与丢弃工作区都可撤回。未装 better-sidebar 时自动注册到 DSH 原生右侧栏,可单独使用',
|
||
pluginSuhuangScrollDesc: '把本地苏黄共阅 Runtime 接入 DSH 设置与 better-sidebar,支持模型配置、连接测试和连续阅卷控制;使用前需安装 Suhuang Scroll Runtime 与 dsh-better-sidebar',
|
||
pluginBetterOverleafDesc: 'better-sidebar 的 Overleaf 标签页:直连 CDP 浏览器登录(支持第三方 Chromium),项目列表/切换,<workspace>/overleaf/ 本地 git 镜像,git 双向同步(API 只读兜底),文件预览走侧边栏工作台',
|
||
pluginSentinelDesc: '条件驱动的 agent 唤醒系统:文件/进程/端口/HTTP/命令/webhook 传感器,条件达成自动唤醒休眠会话;注册「哨兵」Tab 展示服务器全局监控表',
|
||
pluginServerDeckDesc: '服务器卡片仪表盘:每台服务器一张卡片,展示在线状态、OS、运行时长、CPU/内存/磁盘用量与延迟;点卡片进入 xterm.js 交互终端,支持 ~/.ssh/config 一键导入(自动跳过 Git 托管别名);安装 better-sidebar 后注册原生「服务器」Tab,未安装时保留独立抽屉',
|
||
pluginSidebarQaDesc: '基于 better-sidebar 的划选提问tab分页: 对话划选 → 右侧面板提问 → 同工作区独立追问会话(❓追问·主题):快速无思考模型压缩主对话上下文后与引文一起注入,不打断主对话;追问可嵌套、可继续、可归档',
|
||
pluginSidenoteDesc: '带着主线背景在侧边追问,不用重讲一遍;划选聊天回复写批注,把有用的问答带回主对话。也可从 Better Sidebar 的 PDF、Word/PPT 原生预览中摘录文字,保留来源与页码。输入框、消息和工具卡延续熟悉的原生体验。',
|
||
pluginSshTunnelDesc: 'better-sidebar「SSH 隧道」Tab:多机主机清单 + 按项目授权 + 密钥本地保管;模型工具 SSHManager(exec/SFTP/会话策略);中央交互终端与双栏 SFTP',
|
||
pluginVideoPreviewDesc: '在 better-sidebar 编辑器内联预览视频文件(.mp4/.webm/.mov/.mkv/.avi 等),自带支持 HTTP Range(206)的 /video 宿主路由,无需整份下载即可播放,进度条可随意拖动',
|
||
pluginAudioDesc: '在 better-sidebar 编辑器内联预览音频文件(.mp3/.wav/.flac/.ogg/.m4a/.aac/.opus),自带波形播放器与实时频谱:可缩放波形、点击/拖动定位、A-B 循环、声道切换、实时频谱与全曲频谱图;媒体路由支持 HTTP Range,任意大小都能拖动进度',
|
||
pluginCodeNavDesc: '代码预览导航:按文件类型自动识别语言并高亮语法,符号大纲(类/方法/变量筛选 + 一键跳转),文件内查找(全部匹配高亮、上/下一处、区分大小写),接管 better-sidebar 的代码文件预览',
|
||
pluginDevGitGraphDesc: 'vscode-git-graph 忠实移植的提交图 Tab:唯一入口为 better-sidebar 原生 tab,自动绑定会话工作区,checkout/merge/rebase/push/tag/stash 全套 git 操作,明暗主题跟随,点文件 diff 直接打开内置 DiffTab;需先安装 dsh-better-sidebar',
|
||
pluginDocsPanelDesc: 'DSH 侧边栏里的「全局文档」:全局 Markdown 笔记,任何工作区随时可读——列表点选阅读、悬浮大纲跳转、Chrome / VS Code 外部打开、代码复制,目录可配置(默认 ~/.dsh/docs)',
|
||
pluginTylinaDesc: 'Typst 文档编辑工具:与当前会话共用工作区,WYSIWYG 编辑排版 Typst 文档,可用于编写和排版论文、报告、试卷、简历、图表、海报、乐谱和 PPTX 格式导出的 Slides',
|
||
pluginEgoBrowserDesc: '把 CitroLabs/ego-lite 接进 DeepSeek Harness 的 agent 浏览器:32 个 ego_* 工具驱动真实 Chromium,侧边栏原生「ego 浏览器」Tab 实时观察 agent 逛的每个页面,可直接点击/拖拽/输入接管;装 better-sidebar 时自动注册 Tab,没装则退回浮动浮窗',
|
||
pluginBilingualReaderDesc: '在 DSH 侧边栏读论文 PDF:原生 PDF 显示,选中一段文字即用大模型划词翻译,结合上下文、完全隔离主对话,只作阅读辅助',
|
||
pluginDshMemoryDeltaDesc: '跨会话记忆:只注入变化的部分(无变化时零注入),带到期复核提醒、相关度排序检索和侧边栏页签。',
|
||
pluginAgentPersonaName: 'dsh-agent-persona Agent 人设',
|
||
pluginSentinelName: 'dsh-sentinel 唤醒系统',
|
||
pluginFileTraceName: 'dsh-file-trace 文件追踪',
|
||
pluginFileTraceDesc: '记录模型读取/写入/编辑的每一个文件,按文件分组查看内容与逐行 diff;含 Markdown 阅读模式与敏感内容脱敏,未装 better-sidebar 时为独立浮动窗',
|
||
pluginMnemeName: 'dsh-mneme 记忆库',
|
||
pluginMnemeDesc: '跨会话记忆引擎:autoDream 后台巩固、会话总结与用户画像,SQLite + 可人工编辑的 Markdown 镜像,完全离线私有;安装 better-sidebar 后注册「记忆库」Tab(记忆/实体/状态/设置四视图),未安装时保留侧边栏独立面板',
|
||
pluginSessionSourcesName: 'Session Sources 会话资料',
|
||
pluginSessionSourcesDesc: '从当前会话恢复图片、文件和明确的 HTTP/HTTPS 链接;按会话隔离,支持预览、下载、再次附加与来源查看,未安装 better-sidebar 时保留原生面板',
|
||
pluginEgoBrowserName: 'ego-browser Agent 浏览器',
|
||
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf 标签页',
|
||
pluginDocsPanelName: 'dsh-docs-panel 全局文档',
|
||
pluginTylinaName: 'dsh-tylina Typst 文档编辑器',
|
||
pluginFlowglassName: 'dsh-flowglass 流镜',
|
||
pluginGitForgeName: 'dsh-git-forge Git 凭据',
|
||
pluginGithubWorkbenchName: 'dsh-github-workbench GitHub 工作台',
|
||
pluginIdeGitName: 'dsh-ide-git Git 工具窗口',
|
||
pluginSidebarQaName: 'dsh-sidebar-qa 划选追问',
|
||
pluginSidenoteName: 'dsh-sidenote 侧边聊天',
|
||
pluginServerDeckName: 'dsh-server-deck 服务器甲板',
|
||
pluginSuhuangScrollName: 'dsh-suhuang-scroll 苏黄共阅',
|
||
pluginSshTunnelName: 'dsh-ssh-tunnel SSH 隧道',
|
||
pluginBilingualReaderName: 'dsh-bilingual-reader 双语阅读',
|
||
pluginOfficeName: 'Office 预览插件',
|
||
pluginMdExportName: 'Markdown 导出插件',
|
||
pluginCodeNavName: '代码预览导航',
|
||
pluginVideoPreviewName: '视频预览插件',
|
||
pluginAudioName: '音频预览插件',
|
||
pluginTurnOutlineName: 'dsh-turn-outline 轮次轨迹',
|
||
pluginTurnOutlineDesc: '把会话按用户轮次折叠成「输入 + 工具步骤 + 输出」摘要,点击任意步骤一键跳回对话原位;零 LLM 调用、只读',
|
||
pluginZoteroWorkspaceName: 'dsh-zotero-workspace Zotero 文献工作台',
|
||
pluginZoteroWorkspaceDesc: '把 Zotero 文库搬进右侧栏:集合树 + 条目列表/详情、服务端检索,直接读渲染版 PDF 与解析后的 Markdown,一键把文献引用与文件路径带入当前对话;只读本地 API、不依赖 MCP',
|
||
pluginDshMemoryDeltaName: 'dsh-memory-delta 记忆',
|
||
pluginPrInboxName: 'dsh-pr-inbox PR 收件箱',
|
||
pluginPrInboxDesc: '按「我提的 / 待我审 / 我合并的」三桶看当前工作区的 GitHub PR;点开可读正文、评论摘要与改动文件清单,复用本机 gh 登录,只读',
|
||
pluginBioviewerName: 'BioViewer 分子预览',
|
||
pluginBioviewerDesc: '为 better-sidebar 预览 PDB / mmCIF / MRC 密度图 / 小分子和 Chimera .cmm 标记(含 .gz),提供 BioViewer 工作区标签,以及 bio_open / bio_add 工具',
|
||
// ── S8: grouped settings navigation ──
|
||
settingsGroupTabs: '标签页',
|
||
settingsGroupSources: '线索来源',
|
||
settingsGroupAppearance: '外观',
|
||
clueSettingsGroupsAria: '设置分组',
|
||
|
||
// ── S8: clue sources table ──
|
||
clueSourcesIntro: '选择要使用的来源。需要时,在这里安装依赖或连接账号。',
|
||
clueSourcesEnableAll: '全开来源',
|
||
clueSourcesDisableAll: '全关来源',
|
||
clueSourcesMentionAll: '全开 @',
|
||
clueSourcesMentionNone: '全关 @',
|
||
clueSourcesBatchScope: '批量操作只作用于当前已注册的来源;之后新增的来源默认开启。',
|
||
clueSourceToggleAria: '启用来源:{source}',
|
||
clueSourceMentionAria: '@ 候选:{source}',
|
||
clueSourceConfigureAria: '配置来源:{source}',
|
||
clueConfigure: '配置',
|
||
cluePacksName: '线索包',
|
||
cluePacksMentionAria: '@ 候选:线索包',
|
||
cluePacksDesc: '本地线索包的独立 @ 开关,不是远程来源。',
|
||
clueSourcesEmpty: '还没有注册任何线索来源。',
|
||
clueSourcesLoadFailed: '加载来源列表失败。',
|
||
clueSourcesUnavailable: '来源插件未加载;已保留原有偏好与引用。',
|
||
clueAddSource: '添加来源插件',
|
||
clueAddSourceDesc: '来源以 DSH 插件形式安装;安装插件与安装它需要的 CLI 是两件事。这里只提供来源插件的发现指引,不会自动安装。',
|
||
clueSourceCatalogGithubName: 'GitHub Issue 与 PR',
|
||
clueSourceCatalogGithubDesc: '以线索形式阅读 Issue 与 Pull Request,透过共享的 gh CLI 读取。随 dsh-better-sidebar 作为内置来源提供:无需单独的来源插件,该命令会安装或更新核心插件;安装本插件不会安装 gh CLI。',
|
||
clueSourceCatalogGithubCategory: 'GitHub',
|
||
clueSourceCatalogFeishuName: '飞书文档与任务',
|
||
clueSourceCatalogFeishuDesc: '以线索形式阅读飞书文档、知识库页面与任务,透过共享的 lark-cli 连接读取。随 dsh-better-sidebar 作为内置来源提供:无需单独的来源插件,该命令会安装或更新核心插件;安装本插件不会安装 lark-cli,也不会授权账号。',
|
||
clueSourceCatalogFeishuCategory: '飞书',
|
||
|
||
// ── S8: clue source states ──
|
||
clueStateUnchecked: '未检测',
|
||
clueStateMissing: '缺少依赖',
|
||
clueStateIncompatible: '版本不兼容',
|
||
clueStateInstalling: '安装中',
|
||
clueStateNotConfigured: '未配置',
|
||
clueStateAuthorizing: '授权中',
|
||
clueStateAuthExpired: '授权过期',
|
||
clueStateNotAuthorized: '未授权',
|
||
clueStateRequestFailed: '请求失败',
|
||
clueStateReady: '就绪',
|
||
|
||
// ── S8: clue source configuration window ──
|
||
clueConfigTitle: '来源设置:{source}',
|
||
clueDependencyHeading: '命令行依赖',
|
||
clueDependencyActualPath: '实际路径',
|
||
clueDependencyVersion: '版本',
|
||
clueDependencyCompat: '兼容性',
|
||
clueDependencyRequirement: '最低 {minimum} · 推荐 {recommended}',
|
||
clueDependencyManualPath: '手动路径',
|
||
clueDependencyPathPlaceholder: '可执行文件的绝对路径',
|
||
clueDependencyPathInvalid: '请输入绝对路径',
|
||
clueDependencyClearPath: '清除手动路径',
|
||
clueDependencyRecheck: '重新检测',
|
||
clueDependencyApplyPath: '使用路径',
|
||
clueDependencyInstall: '一键安装',
|
||
clueDependencyNotInstalled: '未检测到',
|
||
clueDependencyPlanTitle: '安装计划:{name} {version}',
|
||
clueDependencyPlanTarget: '安装到 {path}',
|
||
clueDependencyPlanConfirm: '确认并安装',
|
||
clueDependencyPlanPlatform: '平台 / 架构',
|
||
clueDependencyPlanDistribution: '分发来源',
|
||
clueDistributionArchive: '官方压缩包',
|
||
clueDistributionNpm: 'npm 包',
|
||
clueDistributionNone: '无',
|
||
clueDependencyPlanSystemInstall: '现有系统安装',
|
||
clueDependencyPlanSystemInstallNone: '未检测到',
|
||
clueDependencyPlanSystemInstallCompatible: '版本兼容',
|
||
clueDependencyPlanSystemInstallIncompatible: '版本不兼容',
|
||
clueDependencyPlanExpires: '计划有效期至 {time}',
|
||
clueConnectionQrAria: '授权二维码',
|
||
clueConnectionLastKnown: '最后已知:',
|
||
clueDependencyInstallCancel: '取消安装',
|
||
clueDependencyInstallUnavailable: '当前平台不支持自动安装。',
|
||
clueDependencyManualInstall: '手动安装',
|
||
clueDependencyInstallFailed: '安装失败',
|
||
clueDependencyInstallCancelled: '安装已取消',
|
||
clueStageQueued: '排队中',
|
||
clueStageDownloading: '下载中',
|
||
clueStageVerifying: '校验中',
|
||
clueStageExtracting: '解压中',
|
||
clueStageProbing: '检测中',
|
||
clueActionDownloadArchive: '下载官方安装包',
|
||
clueActionVerifySha256: '校验 SHA-256',
|
||
clueActionExtractArchive: '解压安装包',
|
||
clueActionInstallNpmLocal: '安装本地 npm 包',
|
||
clueActionProbeVersion: '探测版本',
|
||
clueActionReplaceManagedCopy: '替换受管副本',
|
||
clueConnectionHeading: '连接与授权',
|
||
clueConnectionConfiguration: '应用配置',
|
||
clueConnectionAuthorization: '授权',
|
||
clueConnectionAccount: '账号',
|
||
clueConnectionAuthorize: '开始授权',
|
||
clueConnectionReconnect: '重新授权',
|
||
clueConnectionGrantScope: '补充权限',
|
||
clueConnectionCancel: '取消授权',
|
||
clueConnectionCheck: '我已完成,检查状态',
|
||
clueConnectionUrl: '验证网址',
|
||
clueConnectionCode: '验证码',
|
||
clueConnectionQrPayload: '二维码内容',
|
||
clueConnectionExpires: '有效期至 {time}',
|
||
clueConnectionDenied: '授权被拒绝',
|
||
clueConnectionScope: '权限不足',
|
||
// ── S9: clue tab ──
|
||
clueViewBrowse: "资料",
|
||
clueBrowserSelectionMode: "选择",
|
||
clueBrowserMoreRow: "更多操作:{title}",
|
||
clueViewPacks: "资料包",
|
||
clueDiscoverTitle: "为下一步找到依据",
|
||
clueDiscoverHint: "搜索关键词,或粘贴链接与路径,选好后插入资料。",
|
||
clueSourceLabel: "资料来源",
|
||
clueLocalFilesName: "本地文件",
|
||
clueSettingsWindowTitle: "侧边栏设置",
|
||
clueCollectionsTitle: "可以反复使用的上下文",
|
||
clueCollectionsHint: "打开线索包整理内容,或用 @ 一次插入整组资料。",
|
||
clueBrowserPinsFailed: "置顶线索加载失败,可重试;下方浏览不受影响。",
|
||
clueTabSubtitle: "把分散的信息,变成可复用的上下文。",
|
||
cluePacksHint: "打开包管理 · @ 插入资料",
|
||
clueBrowserHint: "点标题查看详情 · @ 插入资料 · 图钉设为常用",
|
||
clueBrowserRefreshing: '更新中…',
|
||
clueBrowserResolveAction: "识别",
|
||
clueClearSearch: "清除搜索",
|
||
clueTabTitle: '线索收集(beta)',
|
||
guideDescClues: '本地文件、飞书与 GitHub 的上下文信息中心',
|
||
clueFeishuDocsName: '飞书文档',
|
||
clueFeishuTasksName: '飞书任务',
|
||
clueTabNoWorkspace: '当前会话还没有关联工作区。先打开一个工作区会话,再收集线索。',
|
||
clueTabHelpAria: '查看线索收集帮助',
|
||
clueTabSettingsAria: '打开线索来源设置',
|
||
clueTabUnavailable: '线索服务不可用。',
|
||
cluePacksHeading: '线索包',
|
||
cluePacksSearchPlaceholder: '搜索线索包',
|
||
cluePacksNew: '新建',
|
||
cluePacksCreate: '创建',
|
||
cluePacksNamePlaceholder: '线索包名称',
|
||
cluePacksUntitled: '未命名线索包',
|
||
cluePacksEmpty: "把相关文件、文档和议题收进一个包,下次一起引用。",
|
||
cluePacksNoMatch: "没有匹配的线索包,试试其他名称。",
|
||
cluePacksMembers: '{n} 个成员',
|
||
cluePacksInsertAria: '插入线索包:{name}',
|
||
cluePacksManageAria: '管理线索包:{name}',
|
||
cluePagePrev: '上一页',
|
||
cluePageNext: '下一页',
|
||
cluePageOf: '第 {n} 页',
|
||
clueInsertFailed: '插入失败,草稿已保留。',
|
||
clueInsertStale: '线索准备好前草稿已变化;草稿未改动。请重新输入 @ 插入。',
|
||
cluePinFailed: '置顶操作失败。',
|
||
clueSettingsSaveFailed: '保存设置失败。',
|
||
clueBrowserHeading: '来源浏览',
|
||
clueBrowserSearchPlaceholder: "关键词、资源链接或文件路径",
|
||
clueBrowserSearchAction: '搜索',
|
||
clueBrowserSearchNeeded: "搜索关键词,或粘贴链接直接添加资源。",
|
||
clueAuthPermissions: '授权权限',
|
||
clueAuthPermissionsHint: '仅选择需要的权限,可稍后增加。',
|
||
clueAuthPermissionDocsRead: '查看云盘与文档',
|
||
clueAuthPermissionDocsSearch: '搜索文档',
|
||
clueAuthPermissionDocsEdit: '编辑文档',
|
||
clueAuthPermissionWikiRead: '查看知识库',
|
||
clueAuthPermissionTasksRead: '查看任务',
|
||
clueAuthPermissionTasksEdit: '修改任务',
|
||
clueAuthPermissionsEmpty: '至少选择一项权限。',
|
||
cluePackDeleteConfirm: '删除线索包“{name}”?其中的线索会保留。',
|
||
clueScopeUseDefault: '使用默认范围',
|
||
clueScopeNoDefault: '当前工作区没有可识别的 GitHub 仓库,请选择仓库。',
|
||
clueBrowserScopeHeading: '浏览范围',
|
||
clueBrowserScopeNeeded: '尚未选择范围',
|
||
clueBrowserSearchScopeNeeded: '搜索前请选择具体文件夹或知识库',
|
||
clueBrowserSearchGlobalHint: '未选择范围:将在整个账号可见的文档中搜索。',
|
||
clueBrowserScopeEdit: '选择范围',
|
||
clueBrowserScopeApply: '保存范围',
|
||
clueBrowserScopeInvalid: '范围无效,请检查填写内容。',
|
||
clueBrowserScopeGithubRepo: 'GitHub 仓库',
|
||
clueBrowserScopeGithubRepoPlaceholder: 'owner/repo 或仓库 URL',
|
||
clueBrowserScopeGithubState: '状态',
|
||
clueBrowserStateOpen: '打开',
|
||
clueBrowserStateClosed: '已关闭',
|
||
clueBrowserStateAll: '全部',
|
||
clueBrowserScopeDocsDriveRoot: '我的云空间根目录',
|
||
clueBrowserScopeDocsFolder: '指定文件夹',
|
||
clueBrowserScopeDocsWiki: '知识库空间',
|
||
clueBrowserScopeDocsWikiAll: '全部知识库',
|
||
clueBrowserScopeTokenPlaceholder: '文件夹 token',
|
||
clueBrowserScopeSpacePlaceholder: 'space id(my_library 表示个人库)',
|
||
clueBrowserScopeFilesPath: '子目录(留空为工作区根目录)',
|
||
clueBrowserScopeFilesPathPlaceholder: '例如 docs/',
|
||
clueBrowserScopeFilesRoot: '工作区根目录',
|
||
clueBrowserScopeTasksHint: "默认浏览我负责的任务,可按完成状态筛选。",
|
||
clueBrowserPinsHeading: '置顶',
|
||
clueBrowserNoPins: "常用线索可通过图钉固定在这里。",
|
||
clueBrowserPinnedBadge: '已置顶',
|
||
clueBrowserPin: '置顶',
|
||
clueBrowserUnpin: '取消置顶',
|
||
clueBrowserInsert: "插入资料",
|
||
clueBrowserEmpty: "当前范围还没有线索,可调整范围或粘贴资源链接。",
|
||
clueBrowserNoResults: "没有找到匹配项,试试其他关键词或调整范围。",
|
||
clueBrowserResolveHeading: '识别到的资源',
|
||
clueBrowserResolveHint: "选择插入资料或置顶,不会修改原资源。",
|
||
clueBrowserResolveEmpty: '没有识别到资源。粘贴完整的资源 URL 或路径。',
|
||
clueBrowserUnsupported: '该来源不支持浏览列表,请使用搜索或直接粘贴资源 URL。',
|
||
clueBrowserSearchUnsupported: '该来源不支持搜索,请浏览列表或直接粘贴资源 URL。',
|
||
clueBrowserTotal: '共 {n} 条',
|
||
clueBrowserLimited: '结果已被来源截断。',
|
||
clueBrowserAllDisabled: "还没有启用的来源,前往设置选择要使用的来源。",
|
||
clueBrowserOpenSettings: '打开设置',
|
||
clueBrowserSelect: '多选',
|
||
clueBrowserSelectRow: "选择 {title}",
|
||
clueSelectionRemove: "取消选择:{title}",
|
||
clueBrowserPinRow: "置顶 {title}",
|
||
clueBrowserUnpinRow: "取消置顶 {title}",
|
||
clueBrowserInsertRow: "插入 {title}",
|
||
clueBrowserSelectDone: '退出多选',
|
||
clueBrowserSelected: '已选 {n} 项',
|
||
clueBrowserInsertSelected: "插入资料",
|
||
clueBrowserAddToPack: '加入线索包',
|
||
clueBrowserNoPacks: '还没有线索包',
|
||
clueDetailFailed: '无法读取该线索',
|
||
clueDetailOpenSource: '打开原始来源',
|
||
clueDetailReadOnly: '此资源为只读,可查看或插入引用,但不能编辑。',
|
||
clueDetailReadOnlyType: '此来源类型为只读,可查看或插入引用,但不能编辑。',
|
||
clueDetailReadOnlyArchived: '仓库已归档,GitHub 拒绝写入。',
|
||
clueDetailReadOnlyPermission: '你对这个资源只有只读权限。',
|
||
clueDetailReadOnlySize: '资源过大,可读取但不能保存编辑。',
|
||
clueResourceStateOpen: "进行中",
|
||
clueResourceStateClosed: "已关闭",
|
||
clueResourceStateMerged: "已合并",
|
||
clueResourceStateDraft: "草稿",
|
||
clueResourceStateActive: "未完成",
|
||
clueResourceStateCompleted: "已完成",
|
||
clueResourceAuthor: "发起人",
|
||
clueResourceAssignees: "负责人",
|
||
clueResourceFollowers: "关注人",
|
||
clueResourceCreated: "创建时间",
|
||
clueResourceUpdated: "更新时间",
|
||
clueResourceCompletedAt: "完成时间",
|
||
clueResourceStart: "开始",
|
||
clueResourceDue: "截止",
|
||
clueResourceBranches: "分支",
|
||
cluePrChecks: "CI",
|
||
cluePrReview: "评审",
|
||
cluePrMerge: "合并",
|
||
cluePrChecksSuccess: "通过",
|
||
cluePrChecksFailure: "失败",
|
||
cluePrChecksPending: "运行中",
|
||
cluePrChecksExpected: "排队",
|
||
cluePrChecksError: "错误",
|
||
cluePrChecksCount: '{count} 项检查',
|
||
cluePrReviewApproved: "已批准",
|
||
cluePrReviewChanges: "要求修改",
|
||
cluePrReviewRequired: "待评审",
|
||
cluePrMergeable: "可合并",
|
||
cluePrConflict: "冲突",
|
||
cluePrMergeUnknown: "未知",
|
||
clueResourceRepository: "仓库",
|
||
clueResourceLabels: "标签",
|
||
clueResourceChanges: "变更",
|
||
clueResourceComments: "评论",
|
||
clueResourceCommits: "提交",
|
||
clueResourceFiles: "文件",
|
||
clueResourceSize: "大小",
|
||
clueResourcePath: "路径",
|
||
clueResourceUnknownPerson: "未知",
|
||
clueResourceCached: "本地缓存",
|
||
clueResourceRefresh: "刷新",
|
||
clueResourceRefreshing: "正在刷新",
|
||
clueResourceEditLoading: "正在准备编辑",
|
||
clueResourceBody: "正文",
|
||
clueResourceDetails: "详细信息",
|
||
clueSelectionReview: "查看已选资料",
|
||
clueClearFilters: "清除筛选",
|
||
clueSettingsAdvanced: "高级设置",
|
||
clueSettingsModified: "已修改 {count} 项",
|
||
clueResourceFilter: "状态",
|
||
clueResourceFilterAll: "全部",
|
||
clueHelpTitle: "三步使用资料",
|
||
clueHelpClose: '关闭帮助',
|
||
clueHelpIntro: '线索指向来源里的资料。插入只是把引用放进当前输入框;不会自动发送,也不会预取正文。',
|
||
clueHelpDiagramAria: '来源提供资料,资料对应线索,线索可以收进线索包',
|
||
clueHelpSourceLabel: '来源',
|
||
clueHelpSourceBody: '本地文件、GitHub、飞书等资料所在处。',
|
||
clueHelpClueLabel: '资料线索',
|
||
clueHelpClueBody: '一条资料对应一条线索;保存的是定位方式,不是正文副本。',
|
||
clueHelpPackLabel: '线索包',
|
||
clueHelpPackBody: "多条一起用?勾选资料,加入线索包。",
|
||
clueHelpSelectLabel: "选资料",
|
||
clueHelpSelectBody: "选来源,点标题预览。",
|
||
clueHelpInsertLabel: "插入",
|
||
clueHelpInsertBody: "点引用按钮,或在聊天中 @。",
|
||
clueHelpReadLabel: "发送",
|
||
clueHelpReadBody: "模型需要时再读正文。",
|
||
clueHelpFlowReadAria: '选择资料后插入引用;发送后按需读取正文',
|
||
clueHelpFlowShortcutAria: '置顶是快捷入口;绑定工作区只影响新会话',
|
||
clueHelpPinLabel: '置顶',
|
||
clueHelpPinBody: '只把常用线索放在手边,不复制内容,也不改变访问权限。',
|
||
clueHelpBindLabel: '绑定工作区',
|
||
clueHelpBindBody: '只让新会话自动带上这条引用;解绑不删除线索,也不删除旧会话里的引用。',
|
||
clueHelpScopeLabel: '范围',
|
||
clueHelpScopeBody: '范围决定浏览和搜索哪部分资料,并按工作区记住;它不改变已经插入的引用。',
|
||
clueHelpLiveLabel: '实时与快照',
|
||
clueHelpLiveBody: '普通引用读取来源的最新内容;导入的 .cluepack 快照是独立的历史内容。',
|
||
clueHelpConnectLabel: '连接来源',
|
||
clueHelpConnectBody: '在来源设置里安装、连接并授权;连接只影响读取,不会自动发送。',
|
||
clueHelpShareLabel: '分享线索包',
|
||
clueHelpShareBody: '导出 .cluepack 分享;可以只带引用,也可以带内容快照供离线查看。',
|
||
clueHelpDone: '开始使用',
|
||
cluePackName: '线索包名称',
|
||
cluePackInsert: '插入包引用',
|
||
cluePackConflict: '该线索包已被其他窗口修改,请重新读取后再保存。',
|
||
cluePackUnsaved: '未保存的包名称',
|
||
cluePackMembers: '成员({n})',
|
||
cluePackNoMembers: '还没有成员。用“添加成员”把线索收进来。',
|
||
cluePackAddMembers: '添加成员',
|
||
cluePackBack: '返回',
|
||
cluePackAddSelected: '加入所选',
|
||
cluePackPickSource: '选择一个来源开始浏览。',
|
||
cluePackMemberUnresolved: '来源不可用',
|
||
cluePackRemoveMember: "移出线索包:{title}",
|
||
cluePackMemberRemoved: '已移除成员,原资源与旧引用未删除。',
|
||
cluePackMembersAdded: '已将所选线索加入 {name}。',
|
||
cluePackSaveFailed: '保存线索包失败。',
|
||
cluePackBindingHeading: '工作区绑定',
|
||
cluePackBindingHint: '在此工作区的新会话中自动提供引用,读取时获取最新内容。',
|
||
cluePackBindingUnbindHint: '解绑不会删除线索,也不会删除旧会话里的引用。',
|
||
cluePackBindingChoose: '选择工作区',
|
||
clueBindingFailed: '工作区绑定操作失败。',
|
||
clueBindingNotInWorkspace: '这条线索不在所选工作区:请先在该工作区添加它,再绑定。',
|
||
cluePackBind: '绑定',
|
||
cluePackUnbind: '解绑',
|
||
cluePackBound: '已绑定',
|
||
clueDetailMissing: '找不到这条线索。',
|
||
cluePackMissing: '找不到这个线索包。',
|
||
clueShareTitle: '分享线索包',
|
||
clueShareExport: '导出',
|
||
clueShareImport: '导入',
|
||
clueShareExportHint: "先选线索包和分享模式,再预览并导出。含快照时,内容在导出时读取。",
|
||
clueShareMode: "分享内容",
|
||
clueShareModeSnapshot: '含快照内容(可离线读取)',
|
||
clueShareModeReference: '仅引用(接收方需来源与授权)',
|
||
clueFeishuRevision: "版本",
|
||
clueFeishuContentTruncated: "为保持窗口响应,预览内容已截断。",
|
||
clueFeishuShowFullContent: "显示完整内容",
|
||
clueFeishuShowLess: "收起",
|
||
clueFeishuLimitedFragment: "这是长文档中的一个片段。",
|
||
clueFeishuEmptyContent: "此文档没有文本内容。",
|
||
clueFeishuInvalidDocument: "无法预览此文档数据。",
|
||
clueFeishuTitle: "标题",
|
||
clueFeishuDescription: "描述",
|
||
clueFeishuEmptyDescription: "没有描述。",
|
||
clueFeishuStart: "开始",
|
||
clueFeishuDue: "截止",
|
||
clueFeishuAllDay: "全天",
|
||
clueFeishuCompleted: "已完成",
|
||
clueFeishuSetTime: "设置时间",
|
||
clueFeishuTitleRequired: "需要任务标题。",
|
||
clueFeishuDocsTitleRequired: "需要文档标题。",
|
||
clueFeishuStartAfterDue: "开始时间不能晚于截止时间。",
|
||
clueFeishuAllDayMismatch: "开始与截止必须同为全天或同为具体时间。",
|
||
clueFeishuTaskGuid: "任务 GUID",
|
||
clueFeishuNoTime: "未设置",
|
||
clueFeishuOpen: "打开",
|
||
clueFeishuDocsEditScopeNote: "只有文本块可编辑(标题、段落、标题层级、列表、待办、引用与代码);表格、标注、网格、图片及其他复杂块保持只读。Markdown 是只读投影,不能作为保存输入。",
|
||
clueFeishuBlocks: "文本块",
|
||
clueFeishuBlockReadOnly: "只读块",
|
||
clueFeishuNoBlocks: "此文档没有可编辑的文本块。",
|
||
clueFeishuSourceLink: "在飞书中打开",
|
||
clueFeishuResourceLink: "打开资源",
|
||
clueFeishuFetchedAt: "获取于",
|
||
clueFeishuFreshness: "新鲜度",
|
||
clueFeishuFreshnessLive: "实时",
|
||
clueFeishuFreshnessSnapshot: "快照",
|
||
clueFeishuFragmentBlocks: "这是长 XML 文档中由完整块组成的片段。",
|
||
clueFeishuFragmentBytes: "这是长文档的原始字节片段,标记可能被拆分。",
|
||
clueFeishuUpdatedAt: "更新于",
|
||
clueFeishuMarkdownReadOnly: "Markdown 是此文档的只读投影。",
|
||
clueFeishuInvalidTask: "无法预览此任务数据。",
|
||
clueFeishuInvalidTime: "此时间不是有效的时刻。",
|
||
clueFeishuGenericValidation: "此值无效。",
|
||
clueMentionsIncludeContentSuffix: "(包含内容)",
|
||
clueMentionsReferenceDescription: "{source} · {type}",
|
||
clueMentionsContentDescription: "发送时读取 {source} · {type} 的最新内容",
|
||
clueMentionsPackContentDescription: "发送时读取 {n} 个成员的最新内容",
|
||
clueMentionsContentFailure: "{what} 读取失败{detail};未发送任何内容,草稿已保留。",
|
||
clueMentionsContentLimit: "包含内容为 {size} 个字符,超过 {max} 个字符上限;未发送任何内容,草稿已保留。",
|
||
clueMentionsRefMalformed: "内容引用格式错误;草稿已保留。",
|
||
clueMentionsRefUnknownKind: "内容引用类型未知;草稿已保留。",
|
||
clueMentionsRefUnserializableId: "内容引用的 id 无法序列化;草稿已保留。",
|
||
clueMentionsRefMissingWorkspace: "内容引用缺少工作区;草稿已保留。",
|
||
clueMentionsRefInvalidSession: "内容引用的会话无效;草稿已保留。",
|
||
clueMentionsRefEmptyWorkspace: "内容引用需要工作区 id。",
|
||
clueMentionsRefEmptySession: "内容引用的会话 id 不能为空。",
|
||
clueMentionsRefKindMismatch: "内容引用属于另一种引用类型,无法在这里序列化;草稿已保留。",
|
||
clueMentionsContentMissing: "{kind} {token} 已不在其工作区中;草稿已保留。",
|
||
clueMentionsPackMemberLimit: "线索包 {token} 有 {count} 个成员,超过 {max} 个成员的内容上限;草稿已保留。",
|
||
clueMentionsPackMemberMissing: "线索包 {token} 的成员 {memberId} 已不存在;草稿已保留。",
|
||
clueMentionsPackMemberNotTokenSafe: "线索包 {token} 含有无法表示为稳定令牌的成员 id;草稿已保留。",
|
||
clueMentionsPartialRead: "{token} 大于单次读取页(下一偏移:{next});包含它会截断内容,因此草稿已保留。",
|
||
clueMentionsContentSection: "包含当前内容",
|
||
cluePackInsertFailed: "该线索包无法插入;草稿保持不变。",
|
||
clueSharePacks: '选择线索包',
|
||
clueSharePreview: "预览所选内容",
|
||
clueShareInspect: "检查来源引用",
|
||
clueShareExportAction: '导出 .cluepack',
|
||
clueSharePackCount: '{n} 个线索包',
|
||
clueShareItems: '{n} 条线索',
|
||
clueShareSources: '{n} 个来源',
|
||
clueSharePortable: '可移植引用',
|
||
clueShareNotPortable: '仅本机可解析',
|
||
clueShareImportHint: "选择 .cluepack 文件后先预览,再确认导入。不会修改原资源、安装依赖或自动授权。",
|
||
clueShareChooseFile: '选择文件',
|
||
clueShareNoFile: '尚未选择文件。',
|
||
clueShareSnapshots: '快照 {n} 个',
|
||
clueShareUnresolved: '未解析 {n} 条',
|
||
clueShareMissingSources: '缺少来源:{sources}',
|
||
clueShareSnapshotRow: '导入快照',
|
||
clueShareImportAction: '导入 .cluepack',
|
||
clueShareDone: '完成',
|
||
clueSharePartial: '部分完成:{n} 个问题',
|
||
clueShareAcceptPartial: '接受已导入的部分',
|
||
clueShareReset: '重置',
|
||
clueShareCancelled: '已取消,已提交的内容保留。',
|
||
clueShareProgress: '进行中:{phase}({done}/{total})',
|
||
clueSharePhaseCollect: '收集',
|
||
clueSharePhaseRead: '读取',
|
||
clueSharePhaseContent: '内容',
|
||
clueSharePhaseArchive: '打包',
|
||
clueSharePhaseValidate: '校验',
|
||
clueSharePhaseClue: '线索',
|
||
clueSharePhaseSnapshot: '快照',
|
||
clueSharePhasePack: '线索包',
|
||
clueSharePhaseDone: '完成',
|
||
clueShareFailed: '分享操作失败。',
|
||
clueShareInvalidFile: '无法读取该文件。',
|
||
clueSharePreviewEmpty: '选择至少一个线索包。',
|
||
clueDetailConflict: '该线索已被其他来源修改,保存已中止;你的修改仍在窗口中。',
|
||
clueDetailReload: '重新读取',
|
||
clueTabWorkspaceAria: '切换浏览工作区',
|
||
clueDetailUnsaved: '有未保存的修改:先保存,或在底栏放弃修改。',
|
||
clueDetailDiscard: '放弃修改',
|
||
clueWindowSurfaceTitle: '窗口打开位置',
|
||
clueWindowSurfaceDesc: '详情、线索包、分享与来源配置的默认承载方式。',
|
||
clueWindowSurfaceSidebar: '侧栏标签页',
|
||
clueWindowSurfaceFloating: '浮动窗口',
|
||
cluePackRename: '重命名',
|
||
clueAuthCopyLink: '复制授权链接',
|
||
}
|
||
|
||
/** The en dictionary (key-set-equal to zh, enforced by the type annotation). */
|
||
export const en: Record<keyof typeof zh, string> = {
|
||
selectionSettings: "Selection actions",
|
||
selectionEnabled: "Enable selection popup",
|
||
selectionSettingsDesc: "Configure selection actions, rewrite prompts and translation. Rewrites update the source; insertions only fill drafts.",
|
||
selectionAutoRun: "Run rewrites immediately",
|
||
selectionAutoRunDesc: "When off, place the instruction and selection in a new side-chat draft for you to send.",
|
||
selectionHumanize: "Naturalize",
|
||
selectionCustom: "Custom action",
|
||
selectionPrompt: "Prompt",
|
||
selectionActionName: "Action name",
|
||
selectionAddAction: "Add action",
|
||
selectionLanguage: "Translation language",
|
||
selectionUiLanguage: "Follow UI language",
|
||
selectionModel: "Translation model",
|
||
selectionFollowModel: "Follow conversation model",
|
||
selectionInsertMain: "Insert into main",
|
||
selectionInsertSide: "Insert into side chat",
|
||
selectionBack: "Back",
|
||
selectionReset: "Reset to default",
|
||
selectionOrderUp: "Move up",
|
||
selectionOrderDown: "Move down",
|
||
selectionUnavailable: "Save pending edits first. Read-only resources cannot be rewritten.",
|
||
selectionLanguageHint: "Leave empty to follow the UI, or enter a language name or code.",
|
||
clueBrowserRevealUnavailable: "Cannot locate this file in the file tree. Its workspace, session or path is unavailable or unsupported.",
|
||
clueBrowserRevealRootMismatch: "Cannot locate this file because this session's file tree uses a different working directory or linked worktree.",
|
||
clueBrowserRevealQueued: "Reveal requested for the workspace session. Return to that session to view its file tree.",
|
||
clueSelectionContinue: "Continue writing",
|
||
clueSelectionTarget: "Send action to",
|
||
clueSelectionTargetMain: "Main conversation",
|
||
clueSelectionTargetSide: "Side conversation",
|
||
clueSelectionMenu: "Selection actions",
|
||
clueSelectionInsert: "Insert selection",
|
||
clueSelectionExplain: "Explain",
|
||
clueSelectionRewrite: "Rewrite",
|
||
clueSelectionExpand: "Expand",
|
||
clueSelectionShorten: "Shorten",
|
||
clueSelectionTranslate: "Translate",
|
||
clueSelectionFailed: "Could not start the action.",
|
||
clueSelectionWriterHeld: "Another DSH instance is using this conversation. Retry after it releases it.",
|
||
clueSelectionSessionUnavailable: "This conversation cannot receive the action. Reopen the preview in an available main conversation.",
|
||
clueSelectionReceiptUnknown: "Delivery was not confirmed. Check the conversation before starting again.",
|
||
cluePreviewImageUnavailable: "This image cannot be previewed.",
|
||
cluePreviewBlockUnavailable: "This block cannot be previewed here.",
|
||
cluePreviewStatus: "Status",
|
||
cluePrChecksSkipped: "Skipped",
|
||
cluePrChecksNeutral: "Neutral",
|
||
cluePrChecksCancelled: "Cancelled",
|
||
cluePrChecksNone: "No checks",
|
||
cluePrChecksPartial: "Showing {shown} of {total} checks",
|
||
cluePrMergeBehind: "Branch needs updating",
|
||
cluePrMergeBlocked: "Merge blocked",
|
||
cluePrMergeWaiting: "Waiting for checks or review",
|
||
cluePrMergeReady: "Ready to merge",
|
||
clueAuthPermissionDocsCommentsRead: "Read document comments",
|
||
clueAuthPermissionDocsCommentsWrite: "Post document comments",
|
||
clueAuthPermissionTasksCommentsRead: "Read task comments",
|
||
clueAuthPermissionTasksCommentsWrite: "Post task comments and replies",
|
||
clueAuthPermissionPeopleRead: "Resolve people's display names",
|
||
// UI19 resource discussion and retained surfaces.
|
||
clueDiscussionHeading: "Comments and reviews",
|
||
clueDiscussionDocumentOnly: "Whole-document comments; inline comments are not included.",
|
||
clueDiscussionEmpty: "No comments yet.",
|
||
clueDiscussionNotCaptured: "Comments were not captured in this snapshot.",
|
||
clueDiscussionUnavailable: "Comments are unavailable. Retry to load them.",
|
||
clueDiscussionMore: "Load more comments",
|
||
clueDiscussionReadMore: "Continue reading",
|
||
clueDiscussionCursorError: "The source repeated a page cursor. Refresh to continue.",
|
||
clueCommentWrite: "Write a comment",
|
||
clueCommentPost: "Post comment",
|
||
clueCommentSending: "Posting…",
|
||
clueCommentReply: "Reply",
|
||
clueCommentReplyTo: "Reply to",
|
||
clueCommentQuoteReply: "Quoted reply",
|
||
clueCommentMoreReplies: "Load more replies",
|
||
clueCommentResolved: "Resolved",
|
||
clueReviewApproved: "Approved",
|
||
clueReviewChangesRequested: "Changes requested",
|
||
clueReviewCommented: "Reviewed with comments",
|
||
clueReviewDismissed: "Review dismissed",
|
||
clueReviewPending: "Review pending",
|
||
clueBodyVersionChanged: "The document changed while reading. Refresh before continuing.",
|
||
clueBodyContinuationUnsupported: "This body cannot be joined safely. Open the original source.",
|
||
clueDetailActions: "Resource actions",
|
||
clueBrowserScopeUp: "Up one level",
|
||
clueBrowserEnterFolder: "Open folder",
|
||
clueBrowserRevealTree: "Reveal in file tree",
|
||
windowDock: "Return to sidebar",
|
||
windowFloat: "Float window",
|
||
windowFloatingHint: "This content is open in a floating window.",
|
||
files: 'Files',
|
||
guideDescFiles: 'Browse the workspace tree; click a file to preview or edit',
|
||
guideDescGit: 'Git changes and this session\'s file edits, in one tab',
|
||
guideDescSubagent: 'Workflow graph, team task board, and background jobs, live',
|
||
guideDescSidechat: 'An independent follow-up thread inheriting this session\'s context',
|
||
guideDescTerminal: 'A real shell (xterm + pty) with reconnect',
|
||
guideDescBrowser: 'An embedded browser that can take over chat links',
|
||
changesSessionEmpty: 'No file operations in this session yet',
|
||
changesRead: 'Read',
|
||
changesMdReading: 'Reading',
|
||
changesMdRaw: 'Raw',
|
||
changesHtmlRender: 'Render',
|
||
changesHtmlRaw: 'Raw',
|
||
changesWrite: 'Write',
|
||
changesEdit: 'Edit',
|
||
changesRunning: 'running',
|
||
changesError: 'error',
|
||
changesRedactOn: 'Redaction on: secrets render as [REDACTED]; click to disable (at your own risk)',
|
||
changesRedactOff: 'Redaction off: file content renders verbatim; click to enable',
|
||
changesRedactOnLabel: 'Redacting',
|
||
changesRedactOffLabel: 'Redaction off',
|
||
changesRedactBanner: 'Redacted',
|
||
changesFold: '{count} lines…click to expand',
|
||
changesFoldLoading: 'Expanding…',
|
||
changesFoldUnavailable: 'Context unavailable',
|
||
changesContext: 'context',
|
||
changesPriorUnknown: 'Prior content is outside the loaded window; shown as all-added',
|
||
explorer: 'Explorer',
|
||
terminal: 'Terminal',
|
||
editor: 'Editor',
|
||
editorExplorer: 'File open behavior',
|
||
editorExplorerDesc: 'Controls how files open',
|
||
editorExplorerMerged: 'Merged',
|
||
editorExplorerMergedDesc: 'Files switch in place in the same window; new windows start with the tree open',
|
||
editorExplorerSplit: 'Separate',
|
||
editorExplorerSplitDesc: 'Path-less windows are the standalone explorer (tree only); each file opens its own window (tree docked, closed by default)',
|
||
explorerExclude: 'Exclude patterns',
|
||
explorerExcludeDesc: 'Remove matching entries from the file tree and search entirely (VS Code files.exclude style; * and ? wildcards, a doublestar-slash head matches any depth); excluded entries never block the breadcrumb fold',
|
||
explorerExcludePlaceholder: 'Add a pattern, e.g. node_modules, *.log, **/.git',
|
||
explorerExcludeAdd: 'Add',
|
||
explorerExcludeRemove: 'Remove',
|
||
editorTreeToggle: 'File tree panel',
|
||
editorFileNotFound: 'File not found: {path}',
|
||
editorMarkdownPathHint: 'Markdown may have consumed a backslash in this Windows path. Try forward slashes or put the path in a code block.',
|
||
editorPathRepairSearching: 'Checking possible Windows paths…',
|
||
editorPathRepairNone: 'No unique matching path was found. Check the path and retry.',
|
||
editorPathRepairChoices: 'Multiple possible paths were found. Choose the correct path:',
|
||
editorPathRepairFailed: 'Could not check repaired paths: {message}',
|
||
editorCopyPath: 'Copy path',
|
||
editorOpenInFileManager: 'Open in file manager',
|
||
editorCopyPathFailed: 'Could not copy the path',
|
||
editorRevealPathFailed: 'Could not open this path in the file manager',
|
||
editorPathPlaceholder: 'File path (relative to the session directory or absolute), Enter to open',
|
||
editorSearchPlaceholder: 'Search files by name…',
|
||
editorSearchNoResults: 'No matching files',
|
||
editorSearchTruncated: 'Too many results — showing a partial list',
|
||
editorEmptyHint: 'Pick a file from the tree panel or the path input above to start previewing',
|
||
openFileNewTab: 'Open in New Tab',
|
||
openFileSide: 'Open to the Side',
|
||
settingsOpenWithPluginTitle: 'Always show the plugin\u2019s own Open with targets',
|
||
settingsOpenWithPluginDesc: 'By default the plugin\u2019s own targets (file manager / VS Code / Cursor / Zed / custom editors, SSH remotes) show only when the host reports no local associated application; turn this on to keep both side by side',
|
||
zipDownload: 'Zip and download',
|
||
zipDownloadCount: 'Zip and download ({count} items)',
|
||
zipFailed: 'Archive failed: {message}',
|
||
archiveToolMissing: 'No archive command is available on this system (neither zip nor tar), so the selection cannot be packed for download',
|
||
openWithMenu: 'Open with',
|
||
openWithSshSuffix: ' (SSH)',
|
||
pinOpenWith: 'Pin to menu',
|
||
unpinOpenWith: 'Unpin',
|
||
openWithExplorer: 'File Manager',
|
||
openWithVscode: 'VS Code',
|
||
openWithCursor: 'Cursor',
|
||
openWithZed: 'Zed',
|
||
openWithSettingsSshTitle: 'SSH remote host',
|
||
openWithSettingsSshDesc: 'Empty = local workspace; with a user@host or SSH alias, VSCode-family openers switch to the vscode-remote/ssh-remote protocol and the File Manager / Zed / non-VSCode-family custom editors are hidden from the menu',
|
||
openWithSettingsSshPlaceholder: 'user@host or SSH alias',
|
||
openWithSettingsCustomTitle: 'Custom editors',
|
||
openWithSettingsCustomDesc: 'Name + URL template ({path} placeholder) + VSCode-family flag; in remote mode only VSCode-family editors can open a remote path',
|
||
openWithSettingsAdd: 'Add',
|
||
openWithSettingsName: 'Name',
|
||
openWithSettingsTemplate: 'e.g. cursor://file/{path}',
|
||
openWithSettingsFamily: 'VSCode-family',
|
||
openWithSettingsFamilyDesc: 'This editor speaks the VSCode URL dialect (supports SSH-remote opens)',
|
||
openWithSettingsRemove: 'Remove',
|
||
openWithSettingsInvalidHint: 'Editors with a missing name or a template without {path} / scheme:// are not shown in the menu',
|
||
openInAppDefault: 'Open with default app',
|
||
openInAppEmpty: 'No application can open it',
|
||
openInAppFailed: 'Could not open: {path}',
|
||
revealInFileManager: 'Reveal in File Manager',
|
||
filesSelected: '{count} selected',
|
||
clearSelection: 'Clear selection',
|
||
copyPaths: 'Copy paths',
|
||
deleteSelected: 'Delete selected',
|
||
deleteSelectedTitle: 'Delete {count} selected items?',
|
||
deleteSelectedDesc: 'These files and folders will be permanently deleted. This cannot be undone.',
|
||
newFolder: 'New folder',
|
||
newFolderPlaceholder: 'Folder name',
|
||
newFolderInvalid: 'Invalid folder name',
|
||
newFile: 'New file',
|
||
newFilePlaceholder: 'File name',
|
||
newFileInvalid: 'Invalid file name',
|
||
newFileExists: 'A file with this name already exists',
|
||
sort: 'Sort',
|
||
sortByName: 'Sort by name',
|
||
sortByType: 'Sort by type',
|
||
sortFoldersFirst: 'Folders first',
|
||
filesTruncated: 'This folder has too many entries; only the first ones are shown',
|
||
gitStatusModified: 'Modified',
|
||
gitStatusAdded: 'Added',
|
||
gitStatusDeleted: 'Deleted',
|
||
gitStatusUntracked: 'Untracked',
|
||
gitStatusRenamed: 'Renamed',
|
||
gitStatusConflict: 'Conflicted',
|
||
changesClean: 'No changes in the working tree',
|
||
changesNewFile: 'New file',
|
||
changesStageFailed: 'Staging failed: {message}',
|
||
changesOpGone: 'This operation is no longer in the session log',
|
||
newTab: 'New tab',
|
||
brokenSymlink: 'Broken symlink',
|
||
close: 'Close',
|
||
windowMaximize: 'Maximize',
|
||
windowRestore: 'Restore',
|
||
windowBack: 'Back',
|
||
windowSaving: 'Saving…',
|
||
windowUnknownFormat: 'This format cannot be previewed',
|
||
windowUnknownFormatHint: 'No preview renderer is registered for this format; the raw data is shown read-only.',
|
||
windowReadOnly: 'Read-only',
|
||
closeOtherTabs: 'Close Other Tabs',
|
||
tabUnread: 'There is a new page you have not viewed',
|
||
closeLeftTabs: 'Close Tabs to the Left',
|
||
closeRightTabs: 'Close Tabs to the Right',
|
||
closeAllTabs: 'Close All Tabs',
|
||
revealTabInFileManager: 'Reveal in File Manager',
|
||
pinTerminal: 'Pin Terminal',
|
||
pinAgentTerminal: 'Pin Agent Terminal',
|
||
pinToWorkspace: 'Pin to Workspace',
|
||
pinToGlobal: 'Pin Globally',
|
||
unpinTerminal: 'Unpin',
|
||
collapseBottomPanel: 'Collapse bottom panel',
|
||
expandBottomPanel: 'Expand bottom panel',
|
||
terminalError: 'Terminal connection failed',
|
||
terminalConnectFailed: 'Terminal failed to connect repeatedly',
|
||
terminalRetry: 'Retry',
|
||
terminalWaitBanner: 'Agent is waiting for {needle}',
|
||
terminalSkipWait: 'Skip wait',
|
||
terminalDepsFailed: 'Terminal dependency node-pty failed to load',
|
||
terminalDepsHint: 'Run the command below in a terminal or cmd on the DSH machine to repair it, then retry (node-pty stays in sync with the DSH core version):',
|
||
terminalDepsProfile: ' (detected profile: {profile})',
|
||
terminalShellNotFound: 'Configured shell not found: {name} — check the shell path under Settings → Side card → Terminal',
|
||
terminalUnavailable: 'The host provides no terminal capability',
|
||
terminalGone: 'That terminal no longer exists — start a new one',
|
||
terminalNew: 'New terminal',
|
||
preview: 'Preview',
|
||
toc: 'Table of contents',
|
||
edit: 'Edit',
|
||
mermaidError: 'Mermaid render failed',
|
||
mermaidZoomIn: 'Zoom in',
|
||
mermaidZoomOut: 'Zoom out',
|
||
mermaidZoomReset: 'Reset',
|
||
mermaidZoomHint: 'Scroll to zoom · drag to pan · Esc to close',
|
||
refresh: 'Refresh',
|
||
refreshUnsavedConfirm: 'The file changed on disk. Refreshing will discard unsaved edits. Continue?',
|
||
closeUnsavedConfirm: 'This file has unsaved edits. Closing the tab will discard them. Continue?',
|
||
draftRestoreConfirm: 'An unsaved draft was found. Restore it? (Cancel discards the draft.)',
|
||
switchUnsavedConfirm: 'This file has unsaved edits. Switching files will discard them. Continue?',
|
||
save: 'Save',
|
||
saved: 'Saved',
|
||
unsaved: 'Unsaved',
|
||
saveFailed: 'Save failed',
|
||
saveConflict: 'The file changed on disk since it was loaded. The save was stopped; your edits are still in the editor.',
|
||
saveConflictReload: 'Reload from disk',
|
||
previewOnlyNotice: 'File is too large ({size}) — paged preview only; editable up to {limit}',
|
||
previewLongLineNotice: 'File has a very long line ({size}) — paged preview only',
|
||
largeFileEmpty: '(empty file)',
|
||
pagedLineRange: 'Lines {from}–{to}',
|
||
loadAll: 'Load all',
|
||
loadAllProgress: 'Loading {loaded} / {total}',
|
||
previewRowLimit: 'Preview is capped at {rows} rows — download the rest',
|
||
jsonlRecordRange: 'Records {from}–{to}',
|
||
jsonlInvalidRecord: 'This line is not valid JSON',
|
||
jsonCopyPath: 'Copy path',
|
||
jsonCopyPrettyJson: 'Copy as formatted JSON',
|
||
jsonCopyCompactJson: 'Copy as compact JSON',
|
||
jsonCopyFailed: 'Copy failed',
|
||
jsonCollapseNode: 'Collapse',
|
||
jsonExpandNode: 'Expand',
|
||
jsonCopyButtonTitle: 'Copy: {action}',
|
||
searchFind: 'Find',
|
||
searchReplace: 'Replace',
|
||
searchNext: 'next',
|
||
searchPrevious: 'previous',
|
||
searchAll: 'all',
|
||
searchMatchCase: 'match case',
|
||
searchWholeWord: 'by word',
|
||
searchRegexp: 'regexp',
|
||
searchReplaceAll: 'replace all',
|
||
searchCurrentMatch: 'current match',
|
||
searchOnLine: 'on line',
|
||
searchReplacedMatches: 'replaced $ matches',
|
||
searchReplacedMatchOnLine: 'replaced match on line $',
|
||
searchGoToLine: 'Go to line',
|
||
searchGo: 'go',
|
||
binary: 'Binary file, preview unavailable',
|
||
loading: 'Loading…',
|
||
error: 'Failed to load',
|
||
retry: 'Retry',
|
||
notRepo: 'This directory is not a git repository',
|
||
statusTruncated: 'Too many changes; showing the first 2,000 entries',
|
||
stage: 'Stage',
|
||
unstage: 'Unstage',
|
||
stageAll: 'Stage all',
|
||
unstageAll: 'Unstage all',
|
||
gitChanges: 'Changes',
|
||
gitGraph: 'Graph',
|
||
gitMergeChanges: 'Merge Changes',
|
||
gitStagedChanges: 'Staged Changes',
|
||
gitMoreActions: 'More Actions',
|
||
gitRepository: 'Repository',
|
||
gitDetached: 'Detached HEAD',
|
||
gitBranchesUnavailable: 'No branches available',
|
||
gitNoUpstream: 'No upstream',
|
||
gitSyncUnavailable: 'Sync unavailable',
|
||
gitSync: 'Sync Changes',
|
||
commitPlaceholder: 'Message ({shortcut} to commit on "{branch}")',
|
||
commit: 'Commit',
|
||
generateCommitMessage: 'Generate commit message',
|
||
generateCommitMessageWith: 'Generate commit message (using {model})',
|
||
generatingCommitMessage: 'Generating commit message…',
|
||
committingMessage: 'Committing…',
|
||
suggestCommitError: 'Failed to generate commit message',
|
||
suggestCommitEmpty: 'No pending changes to summarize',
|
||
commitModelTitle: 'Commit message model',
|
||
commitModelDesc: 'Pick the model that drafts commit messages; by default it follows the model of the current conversation.',
|
||
commitModelFollow: 'Follow the conversation',
|
||
commitModelSearchPlaceholder: 'Search: type provider/model',
|
||
commitModelCurrent: 'Current: {route}',
|
||
commitModelInvalid: 'use the provider/model form',
|
||
commitModelUnavailable: 'this deployment exposes no model service; only following is possible',
|
||
commitModelEmpty: 'No models discovered (type provider/model above instead)',
|
||
commitModelDefaultNote: 'default',
|
||
commitModelRecentNote: 'used here',
|
||
push: 'Push',
|
||
pull: 'Pull',
|
||
pushError: 'Push failed',
|
||
pullError: 'Pull failed',
|
||
branch: 'Branch',
|
||
worktree: 'Worktree',
|
||
checkoutError: 'Branch switch failed',
|
||
history: 'History',
|
||
changes: 'Git',
|
||
changesGitLens: 'Git',
|
||
graphAllBranches: 'All branches',
|
||
graphBranchFilter: 'Branch filter',
|
||
graphEmpty: 'No commits',
|
||
graphLoadError: 'Failed to load commit history',
|
||
graphLinearFallback: 'Too many branches; showing a linear history list (not branch topology)',
|
||
graphStale: 'History has changed. Refresh to continue.',
|
||
graphDetails: 'Commit details',
|
||
graphParents: 'Parents',
|
||
graphLoadMore: 'Load more',
|
||
changesSessionLens: 'Session',
|
||
changesFilterAll: 'All',
|
||
changesFilterEmpty: 'No operations of this kind',
|
||
changesOpenDiffTab: 'Open in a diff tab',
|
||
changesDiffTab: 'Diff',
|
||
changesContentTab: 'Content',
|
||
changesNoCommit: 'No commit selected',
|
||
changesNoContent: 'Nothing to show here',
|
||
changesReadNoDiff: 'A read has no diff',
|
||
changesClosePreview: 'Close preview',
|
||
changesResizePreview: 'Resize preview',
|
||
changesLoadError: 'Session file records are unavailable right now',
|
||
staged: 'Staged',
|
||
unstaged: 'Unstaged',
|
||
cancel: 'Cancel',
|
||
diffEmpty: 'No text changes',
|
||
diffLoadError: 'Failed to load diff',
|
||
diffBinary: 'Binary',
|
||
diffAdded: 'Added',
|
||
diffDeleted: 'Deleted',
|
||
diffRenamed: 'Renamed',
|
||
diffExpand: 'Expand {count} more rows',
|
||
discard: 'Discard changes',
|
||
discardTitle: 'Discard changes',
|
||
discardDesc: 'This discards the worktree changes of "{path}" (not recoverable).',
|
||
viewCommitDiff: 'View commit diff',
|
||
copyShortHash: 'Copy short hash',
|
||
copyFullHash: 'Copy full hash',
|
||
copySubject: 'Copy subject',
|
||
revertCommit: 'Revert commit',
|
||
revertTitle: 'Revert commit',
|
||
revertDesc: 'Create a new commit on the current branch that reverts "{subject}".',
|
||
cherryPickCommit: 'Cherry-pick commit',
|
||
cherryPickTitle: 'Cherry-pick commit',
|
||
cherryPickDesc: 'Apply the changes of "{subject}" to the current branch.',
|
||
timeJustNow: 'just now',
|
||
timeMinutesAgo: '{n} min ago',
|
||
timeHoursAgo: '{n} h ago',
|
||
timeYesterday: 'yesterday',
|
||
loadMore: 'Load more',
|
||
produced: 'Produced',
|
||
showInFolder: 'Show in folder',
|
||
disconnected: 'Terminal disconnected, reconnecting…',
|
||
exited: 'Terminal process exited',
|
||
noSession: 'Select a conversation to use the sidebar',
|
||
pluginNotLoaded: 'Plugin not loaded; tab unavailable:',
|
||
parent: 'Parent directory',
|
||
copied: 'Copied',
|
||
copy: 'Copy',
|
||
openEditor: 'Open editor',
|
||
referenceFile: '@file',
|
||
addToConversation: 'Add to conversation',
|
||
quoteChip: 'Quote {where}',
|
||
copyRelative: 'Copy relative path',
|
||
copyAbsolute: 'Copy absolute path',
|
||
rename: 'Rename',
|
||
renameInvalid: 'The name cannot be empty or contain path separators.',
|
||
delete: 'Delete',
|
||
deleteTitle: 'Delete "{name}"?',
|
||
deleteDescFile: 'This permanently deletes the file. This cannot be undone.',
|
||
deleteDescDir: 'This permanently deletes the directory and everything inside it. This cannot be undone.',
|
||
dismiss: 'Dismiss',
|
||
download: 'Download',
|
||
uploadFiles: 'Upload files',
|
||
uploadFolder: 'Upload folder',
|
||
uploadHere: 'Upload here',
|
||
uploadDropHint: 'Drop files/folders here to upload',
|
||
uploadDropChat: 'Drop onto the chat to add images',
|
||
uploadTo: 'Upload into {dir}',
|
||
uploadingTo: 'Uploading into {dir}…',
|
||
uploadProgress: 'Uploading {done}/{total}: {name}',
|
||
uploadDone: 'Uploaded {count} file(s)',
|
||
uploadFailed: 'Upload failed: {error}',
|
||
uploadFailedUnknown: 'Unknown error',
|
||
uploadTooLarge: 'File too large (over the upload limit)',
|
||
uploadCancelled: 'Upload cancelled',
|
||
settingsNav: 'Side card',
|
||
settingsIntro: 'Manage what the side card shows and how it behaves',
|
||
settingsPopupDesc: 'Configure related options for {feature}',
|
||
settingsDone: 'Done',
|
||
settingsOpenToolsTitle: 'Inject the sidebar-open tool for the model',
|
||
settingsOpenToolsDesc: 'When enabled, the model can actively open files, folders, and HTTP(S) pages in the sidebar through the sidebar_open tool (off by default)',
|
||
settingsCustomCssTitle: 'Custom CSS',
|
||
settingsCustomCssPlaceholder: '/* e.g. switch the bottom workbench to the monospace font */\n[data-dsh-bottom-panel] {\n font-family: var(--dsw-font-mono);\n}',
|
||
settingsSaveFailed: 'Failed to save',
|
||
settingsConflict: 'The setting changed in another window — please retry',
|
||
binaryNoPreview: 'This file type cannot be previewed',
|
||
downloadToView: 'Download to view',
|
||
settingsSubagentTitle: 'Auto-activate the Tasks page when a subagent appears',
|
||
settingsSubagentDesc: 'When the current conversation spawns a new subagent, create the Tasks page in the side card and mark it with an unread dot; a side card already expanded on another page is left alone instead of being taken over — click the dot to go there; wide viewports also expand the side card, while narrow full-screen drawers are not forced open; turn off to stop creating it automatically',
|
||
settingsJobsTitle: 'Auto-activate the Tasks page on a new background job',
|
||
settingsJobsDesc: 'Whenever a new background job appears for the current conversation, create the Tasks page in the side card and mark it with an unread dot (every new job triggers); a side card already expanded on another page is left alone instead of being taken over — click the dot to go there; wide viewports also expand the side card, while narrow full-screen drawers are not forced open; turn off to stop creating it automatically',
|
||
settingsTasksAutoFoldSettledTitle: 'Auto-fold settled leaf tasks',
|
||
settingsTasksAutoFoldSettledDesc: 'Automatically fold leaf tasks that have completed, failed, or stopped and have no child agents; on by default',
|
||
settingsTasksAutoFoldBranchesTitle: 'Auto-fold fully finished branches only',
|
||
settingsTasksAutoFoldBranchesDesc: 'Automatically fold a branch only once the whole branch has finished; a branch with any running descendant is never folded; on by default',
|
||
settingsTasksAutoFoldIdleTitle: 'Auto-fold idle teammates',
|
||
settingsTasksAutoFoldIdleDesc: 'Automatically fold idle teammates once 3 or more are waiting for new instructions; on by default',
|
||
settingsJobsAutoCollapseTitle: 'Auto-collapse the background jobs drawer',
|
||
settingsJobsAutoCollapseDesc: 'Automatically collapse the background jobs drawer when there are 8 or more agents in total; the manual toggle still works; on by default',
|
||
settingsToolsTitle: 'Inject terminal tools for the model',
|
||
settingsToolsDesc: 'When enabled, the model can create and drive sidebar terminals through the 8 terminal_* tools (off by default)',
|
||
settingsBottomTerminalTitle: 'Auto-open a terminal on the bottom panel\'s first expansion',
|
||
settingsBottomTerminalDesc: 'When the bottom panel is expanded for the first time in a session, try to open a fresh terminal tab there (the terminal quota still applies; on by default)',
|
||
settingsFontFamilyTitle: 'Terminal font family',
|
||
settingsFontFamilyDesc: 'Custom terminal font family (a CSS font-family stack like "JetBrains Mono", monospace; leave empty to follow the theme\'s monospace font)',
|
||
settingsFontFamilyPlaceholder: '"JetBrains Mono", monospace',
|
||
settingsFontSizeTitle: 'Terminal font size',
|
||
settingsShellTitle: 'Shell path',
|
||
settingsShellDesc: 'Shell spawned for UI and model terminals (absolute path or bare executable). Empty keeps the legacy order: yaml config.shell → $SHELL / login shell / Windows powershell.exe. Applies to terminals opened afterwards',
|
||
settingsShellPlaceholder: 'e.g. /bin/zsh (empty = auto)',
|
||
settingsShellArgsTitle: 'Shell arguments',
|
||
settingsShellArgsDesc: 'Explicit shell arguments, space-separated; when non-empty they fully replace the defaults (same contract as the yaml shellArgs)',
|
||
settingsShellArgsPlaceholder: 'e.g. -l (empty = defaults)',
|
||
settingsFontSizeDesc: 'Terminal font size in px (9–32, default 13)',
|
||
settingsTabsTitle: 'Sidebar content',
|
||
settingsStartPageTitle: 'Start page',
|
||
settingsStartPageDesc: 'Choose the start page card rows, visibility, and order; these switches only affect start page entries',
|
||
settingsGuideRowsTitle: 'Maximum rows',
|
||
settingsGuideRowsDesc: 'Two cards per row on a wide pane, one on a narrow one; cards beyond the row budget go under More. 6 rows by default, at least 1',
|
||
settingsGuideTakeoverTitle: 'Take over the start page',
|
||
settingsGuideTakeoverDesc: 'When off, the DSH start page returns; other plugin features are unaffected',
|
||
settingsGuideAlignTitle: 'Vertical alignment',
|
||
settingsGuideAlignDesc: 'Where the cards sit when they are shorter than the pane; taller content always scrolls from the top',
|
||
settingsGuideAlignCenter: 'Center',
|
||
settingsGuideAlignTop: 'Top',
|
||
settingsGuideShow: 'Show on the start page',
|
||
settingsGuideEnable: 'Enable',
|
||
settingsGuideReset: 'Reset order',
|
||
guideMore: 'More',
|
||
guideOrder: 'Reorder',
|
||
guideBrowsePlugins: 'Browse more plugins',
|
||
guideCreatePlugin: 'Create your plugin',
|
||
guideCreatePrompt: 'Create a DSH plugin with a right sidebar entry.',
|
||
guideEmpty: 'Nothing to show',
|
||
guideShellEmpty: 'No shells available',
|
||
guideShellFailed: 'Failed to load shells: {error}',
|
||
settingsViewersTitle: 'File viewers',
|
||
settingsMobileTitle: 'Mobile',
|
||
settingsMobileNoAutoOpenTitle: "Don't auto-open on narrow screens",
|
||
settingsMobileNoAutoOpenDesc: "On a phone / narrow viewport, a new subagent or background job no longer switches to the Tasks page by itself (you can still open it by hand)",
|
||
settingsMobileTreeTitle: 'Default the Tasks page to the tree',
|
||
settingsMobileTreeDesc: "On a phone / narrow viewport the Tasks page opens as the classic tree instead of the workflow graph; the in-page toggle still switches it ad hoc",
|
||
settingsGeneralTitle: 'General',
|
||
settingsPopup: 'Feature settings',
|
||
settingsViewerCatchAll: 'Catch-all: any file',
|
||
viewerMarkdown: 'Markdown',
|
||
viewerCode: 'Code',
|
||
viewerHtml: 'HTML',
|
||
viewerJsonl: 'JSONL',
|
||
viewerMedia: 'Media',
|
||
mediaUnplayable: 'This file cannot be played (unsupported codec or damaged file)',
|
||
htmlNoSandboxWarning: 'Sandbox off: this HTML runs with full GUI privileges (re-enable in settings)',
|
||
sandboxStatusOn: 'Sandbox mode: on · pages cannot access the GUI\'s data or local files; logins and third-party cookies may not work',
|
||
sandboxUnlock: 'Temporarily disable (unsafe)',
|
||
sandboxRestore: 'Restore sandbox',
|
||
settingsHtmlDefaultUnsafeTitle: 'Open HTML previews unsandboxed by default (unsafe)',
|
||
settingsHtmlDefaultUnsafeDesc: 'When on, every newly opened HTML preview starts in the unsandboxed state (same origin as the GUI — it can read session files and internal APIs); the status row still offers a one-tap restore',
|
||
settingsHtmlSandboxTitle: 'Disable HTML preview sandbox (unsafe)',
|
||
settingsHtmlSandboxDesc: 'With the sandbox off, previewed HTML runs with the same origin as the GUI: it can read session files, local storage and call internal APIs. Only enable for fully trusted files',
|
||
settingsEditorGitGutterTitle: 'Editor uncommitted-change markers',
|
||
settingsEditorGitGutterDesc: 'Tint the line-number gutter of the code editor for uncommitted changes and show that line\'s blame (author, time and commit summary) on hover; off hides every marker',
|
||
settingsBrowserSandboxTitle: 'Disable browser sandbox (unsafe)',
|
||
settingsBrowserSandboxDesc: 'With the sandbox off, any visited site runs with the same origin as the GUI: it can read session data and act as your logged-in session. Only enable for fully trusted sites',
|
||
settingsBrowserLoopbackTitle: 'Allowed local addresses',
|
||
settingsBrowserLoopbackDesc: 'Comma-separated allowlist of loopback addresses (e.g. localhost:5174 or 127.0.0.1:8080) the sidebar browser may visit; empty blocks all local addresses by default. The sandbox still applies — pages cannot read GUI data',
|
||
settingsBrowserLoopbackPlaceholder: 'e.g. localhost:5174, 127.0.0.1:8080',
|
||
subagent: 'Tasks',
|
||
subagentMainAgent: 'Main agent',
|
||
subagentEmpty: 'No subagents',
|
||
subagentEmptyDesc: 'Subagents spawned under the main agent will appear here',
|
||
subagentInactive: 'Inactive',
|
||
subagentModeOneShot: 'One-shot',
|
||
subagentModeContinuable: 'Continuable',
|
||
subagentCount: '{count} subagents',
|
||
subagentCountRunning: '{count} subagents · {running} running',
|
||
subagentThinking: 'Thinking…',
|
||
sideChat: 'Side Chat',
|
||
sideChatNew: 'New thread',
|
||
sideChatUntitled: 'New thread',
|
||
sideChatEmpty: 'No side conversations',
|
||
sideChatEmptyDesc: 'Every side conversation is its own tab in the tab strip — it inherits the current session\'s context and never enters the main conversation',
|
||
sideChatCreating: 'Creating side conversation…',
|
||
sideChatRetry: 'Retry',
|
||
sideChatThreads: 'Switch thread / new',
|
||
sideChatSave: 'Save as new session',
|
||
sideChatSaveTitle: 'Promote this thread to a top-level session in the main session list',
|
||
sideChatArchive: 'Archive this side conversation (find it again via “Show archived” in the session list)',
|
||
sideChatArchiveRunning: 'This thread is running — stop it before archiving',
|
||
sideChatArchiveBlocked: 'A side conversation can never be found again once archived (the host session list hides side conversations in every filter), so archiving is disabled — use “Save as new session” first to keep it',
|
||
sideChatSaved: 'Saved as a new session',
|
||
sideChatNoTurn: 'Save is available after the first completed turn',
|
||
sideChatPendingDrop: 'The last unanswered follow-up will not be included in the saved session',
|
||
sideChatQueued: 'Queued',
|
||
sideChatSending: 'Sending…',
|
||
sideChatRevealEarlier: 'Show {hidden} earlier rows',
|
||
sideChatToLatest: 'Back to latest',
|
||
sideChatDequeue: 'Remove from the queue',
|
||
sideChatRunError: 'Run failed: {message}',
|
||
sideChatTerminalAborted: 'This turn was stopped',
|
||
sideChatTerminalMaxTokens: 'The output limit was reached — the answer is cut off',
|
||
sideChatToolArguments: 'Arguments',
|
||
sideChatToolResult: 'Result',
|
||
sideChatTruncatedNotice: 'Earlier history is not loaded in this view',
|
||
sideChatModel: 'Model',
|
||
sideChatModelInherit: 'Inherit the main conversation (no model catalog available)',
|
||
sideChatReasoning: 'Reasoning effort',
|
||
sideChatFirstPlaceholder: 'Ask the first question — context inherited…',
|
||
sideChatComposerPlaceholder: 'Ask a follow-up…',
|
||
sideChatThinking: 'Deep diving…',
|
||
sideChatThink: 'Thinking',
|
||
sideChatReasoningSummary: '{chars} chars of thinking',
|
||
sideChatInjection: 'Context injected',
|
||
sideChatAddImages: 'Add images',
|
||
sideChatRemoveImage: 'Remove {name}',
|
||
sideChatImagesDisabled: 'Image attachments are unavailable',
|
||
sideChatImageFormat: 'Choose PNG, JPEG, WebP or GIF images',
|
||
sideChatImageLimit: 'Image count or size limit exceeded',
|
||
sideChatImageReadError: 'Could not read image',
|
||
sideChatImageOwnerChanged: 'Conversation changed while sending',
|
||
sideChatSendUncertain: 'Connection lost. The message may have been accepted. Your draft is kept; check the conversation before retrying.',
|
||
sideChatImageLoading: 'Loading image…',
|
||
sideChatImageUnavailable: 'Image unavailable',
|
||
sideChatImage: 'Image',
|
||
sideChatSend: 'Send',
|
||
sideChatCancelTitle: 'Abort the running turn (queued work is kept)',
|
||
sideChatError: 'Side Chat error: {message}',
|
||
sideChatTurnUsage: 'Input {input} tok · Output {output} tok',
|
||
sideChatDeliverables: 'Present files',
|
||
sideChatDeliverableOpen: 'Open {name}',
|
||
sideChatBlockCollapse: 'Collapse',
|
||
sideChatBlockCollapseAria: 'Collapse',
|
||
sideChatBlockExpand: 'Expand {hidden} lines',
|
||
sideChatBlockExpandAria: 'Expand {hidden} more lines',
|
||
sideChatBlockSignal: 'Killed by signal: {signal}',
|
||
sideChatBlockExitCode: 'Exit code {code}',
|
||
sideChatBlockNoExitCode: 'Ended without an exit code',
|
||
sideChatBlockRunning: 'Running',
|
||
sideChatBlockFailed: 'Failed',
|
||
sideChatBlockDone: 'Done',
|
||
sideChatBlockNoOutput: '(no output)',
|
||
sideChatForkDivider: 'Before the fork',
|
||
sideChatForkDividerEnd: 'End of the pre-fork context',
|
||
sideChatTurnTook: 'Completed in {duration}',
|
||
sideChatTurnDone: 'Completed',
|
||
sideChatTurnRunning: 'Running…',
|
||
sideChatCompactionSummary: 'Earlier history compacted',
|
||
sideChatCompactionItems: '{count} items folded',
|
||
sideChatCompactionTokens: '~{tokens} tok',
|
||
sideChatRetryAttempt: 'Retried {retry} times',
|
||
sideChatAttachmentImage: 'Image attachment',
|
||
sideChatAttachmentImageFailed: 'Image could not be loaded',
|
||
sideChatSearchNoResults: 'No results',
|
||
sideChatSearchPaths: '{shown} paths',
|
||
sideChatSearchPathsTruncated: 'Showing {shown} of {total} paths',
|
||
sideChatSearchMatches: '{shown} matches · {files} files',
|
||
sideChatSearchMatchesTruncated: 'Showing {shown} of {total} matches · {files} files',
|
||
sideChatWebHttp: 'HTTP',
|
||
sideChatWebSourcesTruncated: 'Source list truncated',
|
||
sideChatWebContentTruncated: 'Content truncated',
|
||
sideChatImageOpen: 'View full image',
|
||
sideChatImageDialog: 'Image preview',
|
||
sideChatImageClose: 'Close image preview',
|
||
sideChatImageFailed: 'Image preview unavailable',
|
||
sideChatMentionOpen: 'Open {path}',
|
||
sideChatBlockCommandLine: 'Command line {line}',
|
||
codeBlockTitle: 'Code block',
|
||
codeBlockWrap: 'Wrap lines',
|
||
codeBlockUnwrap: 'Do not wrap lines',
|
||
sideChatBlockWindow: '{shown} of {total} lines',
|
||
sideChatConnDisconnected: 'Disconnected, reconnect now',
|
||
sideChatConnConnecting: 'Reconnecting…',
|
||
sideChatConnRecovered: 'Connection restored',
|
||
sideChatConnReconnectAction: 'Reconnect now',
|
||
sideChatConnRestartAction: 'Restart connection',
|
||
jobs: 'Background jobs',
|
||
jobsCount: '{count} background jobs',
|
||
jobsCountRunning: '{count} background jobs · {running} running',
|
||
jobStatusRunning: 'Running',
|
||
jobStatusStopping: 'Stopping',
|
||
jobStatusCompleted: 'Completed',
|
||
jobStatusKilled: 'Killed',
|
||
jobStatusFailed: 'Failed',
|
||
jobDurationSeconds: '{seconds}s',
|
||
jobDurationMinutes: '{minutes}m {seconds}s',
|
||
jobDurationHours: '{hours}h {minutes}m',
|
||
jobViewOutput: 'View output',
|
||
jobNoOutput: 'No output yet',
|
||
jobNotReadYet: 'Waiting for the model to read this job; its output appears here once the model runs job_output',
|
||
jobOutputTruncated: 'Output truncated',
|
||
jobOutputError: 'Failed to read output',
|
||
jobKill: 'Kill',
|
||
jobKillConfirm: 'Click again to confirm kill',
|
||
jobKillError: 'Kill failed',
|
||
tasksViewGraph: 'Workflow graph',
|
||
tasksViewTree: 'Tree',
|
||
tasksViewSwitchToGraph: 'Switch to the workflow graph',
|
||
tasksViewSwitchToTree: 'Switch to the tree',
|
||
settingsViewModeTitle: 'Tasks page default view',
|
||
settingsViewModeDesc: 'How the Tasks page renders on open (the in-page toggle still flips it ad hoc)',
|
||
settingsViewModeGraph: 'Workflow graph',
|
||
settingsViewModeGraphDesc: 'Layered node graph with zoom and pan',
|
||
settingsViewModeTree: 'Tree',
|
||
settingsViewModeTreeDesc: 'Classic indentation tree, keyboard navigable',
|
||
settingsSidechatSubmitKeyTitle: 'Send shortcut',
|
||
settingsSidechatSubmitKeyDesc: 'Which gesture sends a side-chat message',
|
||
settingsSidechatTabsTitle: "Side-chat pages",
|
||
settingsSidechatTabsDesc: "One shared page, or an independent page for each thread",
|
||
settingsSidechatTabsSingle: "Shared page",
|
||
settingsSidechatTabsSingleDesc: "Default: reopening returns to this session's most recent side chat and always uses one page",
|
||
settingsSidechatTabsMultiple: "One page per thread",
|
||
settingsSidechatTabsMultipleDesc: "Each side chat opens its own native page; refresh or collapse restores it by thread",
|
||
settingsSidechatSubmitEnter: 'Enter sends',
|
||
settingsSidechatSubmitEnterDesc: 'Enter sends; Shift+Enter inserts a line break',
|
||
settingsSidechatSubmitModEnter: 'Cmd/Ctrl + Enter sends',
|
||
settingsSidechatSubmitModEnterDesc: 'Enter inserts a line break; Cmd+Enter (macOS) or Ctrl+Enter sends',
|
||
tasksFoldIdleGroup: '{count} waiting',
|
||
tasksFoldIdle: 'Idle {count}',
|
||
tasksFoldCompleted: '✓ {count} completed',
|
||
tasksFoldOne: 'Fold into completed',
|
||
tasksFoldExpand: 'Expand the completed nodes',
|
||
tasksFoldCollapse: 'Collapse the completed nodes',
|
||
tasksZoomIn: 'Zoom in',
|
||
tasksZoomOut: 'Zoom out',
|
||
tasksZoomFit: 'Fit to canvas',
|
||
tasksNodeJump: 'Open transcript',
|
||
tasksNodeDetail: 'Node detail',
|
||
workflowRun: 'Workflow',
|
||
tasksNodeState: 'State',
|
||
tasksFoldExpandShort: "Expand",
|
||
tasksTreeCollapseAll: "Collapse all",
|
||
tasksTreeExpandAll: "Expand all",
|
||
tasksTreeCollapseRow: "Collapse children",
|
||
tasksTreeExpandRow: "Expand children",
|
||
tasksNodeTokens: "Tokens",
|
||
tasksNodeDuration: "Duration",
|
||
tasksNodeOpenMain: "Open in the main window",
|
||
tasksNodeMode: 'Mode',
|
||
tasksNodeModel: 'Model',
|
||
tasksNodeTeamRole: 'Team role',
|
||
tasksStateRunning: 'Running',
|
||
tasksStateIdle: 'Idle',
|
||
tasksStateProvisioning: 'Provisioning',
|
||
tasksStateDone: 'Done',
|
||
tasksStateError: 'Error',
|
||
tasksKindSubagent: 'Subagent',
|
||
tasksKindTeammate: 'Teammate',
|
||
tasksKindWorkflow: 'Workflow',
|
||
taskWindowCreate: 'New task',
|
||
taskWindowDetail: 'Task detail',
|
||
teamBoard: 'Team task board',
|
||
teamChip: 'Team {members} members · {tasks} tasks',
|
||
teamTasksEmpty: 'No shared tasks yet',
|
||
teamTaskCreate: 'New task',
|
||
teamTaskSubject: 'Subject',
|
||
teamTaskDescription: 'Description',
|
||
teamTaskOwner: 'Owner',
|
||
teamTaskUnowned: 'Unclaimed',
|
||
teamTaskPending: 'Pending',
|
||
teamTaskInProgress: 'In progress',
|
||
teamTaskCompleted: 'Completed',
|
||
teamTaskBlocked: 'Blocked',
|
||
teamTaskClaim: 'Claim',
|
||
teamTaskComplete: 'Complete',
|
||
teamTaskReopen: 'Reopen',
|
||
teamTaskDelete: 'Delete',
|
||
teamTaskDeleteConfirm: 'Confirm delete',
|
||
teamTaskEdit: 'Edit',
|
||
teamTaskSave: 'Save',
|
||
teamTaskCancel: 'Cancel',
|
||
teamTaskConflict: 'The task changed elsewhere; refreshed',
|
||
teamTaskError: 'Operation failed: {message}',
|
||
teamTaskDeleted: 'Deleted',
|
||
teamTaskActions: 'Task actions',
|
||
teamTaskDetail: 'Task detail',
|
||
teamTaskNoDescription: 'No description yet — click Edit to add one',
|
||
teamTaskBlockedBy: 'Blocked by',
|
||
teamTaskSubjectPlaceholder: 'One line describing the work',
|
||
teamTaskDescriptionPlaceholder: 'Extra context (optional)',
|
||
teamFilterAll: 'All',
|
||
tasksNodeTasks: 'Shared tasks',
|
||
jobCopyOutput: 'Copy output',
|
||
jobCopied: 'Copied',
|
||
jobFollowTail: 'Follow latest',
|
||
jobDragHint: 'Drag to move',
|
||
workflowRunning: 'Running',
|
||
workflowCompleted: 'Completed',
|
||
workflowCancelled: 'Cancelled',
|
||
workflowFailed: 'Failed',
|
||
workflowPhaseUnnamed: 'Unnamed phase',
|
||
workflowMembers: '{done}/{total} members',
|
||
jobsAutoCollapsed: 'Auto-collapsed (many agents)',
|
||
contextDiagnostics: 'Context diagnostics',
|
||
contextDiagnosticsTarget: 'Current session',
|
||
contextDiagnosticsFailed: 'Could not open Context diagnostics for "{label}"',
|
||
contextDiagnosticsUnavailable: 'The dsh-context "Context" page is unavailable (not installed or not registered)',
|
||
contextDiagnosticsNavigation: 'Could not locate that conversation',
|
||
contextDiagnosticsTimeout: 'Opening timed out — try again',
|
||
contextDiagnosticsOpenFailed: 'The page could not be opened',
|
||
contextDiagnosticsDismiss: 'Dismiss',
|
||
catalogLoadFailed: '{count} branches failed to load',
|
||
addPluginsTabCard: 'Add tab plugins',
|
||
addPluginsTabCardDesc: 'Register a new sidebar page',
|
||
addPluginsViewerCard: 'Add preview plugins',
|
||
addPluginsViewerCardDesc: 'Register a file-type preview',
|
||
addPluginsTabDesc: 'Sidebar pages (tabs) can be extended by plugins. Plugins register through the ctx.betterSidebar service; clicking Install copies the install command — paste it into a terminal where your DSH profile lives and run it.',
|
||
addPluginsViewerDesc: 'File previewers can be extended by plugins. Plugins register through the ctx.betterSidebar service; clicking Install copies the install command — paste it into a terminal where your DSH profile lives and run it.',
|
||
addPluginsBrowseMore: 'Browse more plugins on GitHub (topic: dsh-better-sidebar)',
|
||
addPluginsSearch: 'Search by plugin name or description…',
|
||
addPluginsNoMatch: 'No plugins match',
|
||
addPluginsRecommended: 'Recommended plugins',
|
||
addPluginsEmpty: 'No plugins curated yet — publish yours under the GitHub topic',
|
||
openPlugin: 'Open',
|
||
copyInstall: 'Copy install command',
|
||
pluginMdExportDesc: 'Adds an "Export" button to the Markdown toolbar in better-sidebar: one click renders the current .md into standalone HTML (tables / code blocks / Mermaid diagrams inlined, layout follows the preview theme) and saves it next to the .md, or exports to PDF via the print dialog',
|
||
pluginAgentPersonaDesc: 'System-prompt personas by workspace or session: one persona can cover several workspace directories and several sessions, matched exactly, by prefix, by substring or by regex, most specific wins, and one persona can be marked as the default; managed from a settings page and a 「人设」tab on the conversation, effective on the next message',
|
||
pluginOfficeDesc: 'Office-suite preview (.docx / .xlsx / .pptx) for the better-sidebar editor, keeping the heavy Office render libraries out of the core bundle',
|
||
pluginFlowglassDesc: 'Live session flowgraph with three lanes for user, assistant, and tool calls, plus parallel groups, sub-agent branches, drill-down, and live status; registers a native Flowglass tab when better-sidebar is installed and keeps its standalone drawer as a fallback',
|
||
pluginGitForgeDesc: 'Git Forge tab: GitHub/Gitea (and other forge) account library + per-project grants + hard push policy; tokens stay in local secrets (never in model context); read-only GitForge tool and agent HTTPS credential helper',
|
||
pluginGithubWorkbenchDesc: 'GitHub Workbench tab: remote repo tree + Issues / Pull requests / Actions with full write support — create Issue/PR, comment, edit, close/reopen, squash·merge·rebase merge (strong confirm), re-run/cancel CI; the repo switcher auto-lists accessible repos and searches public ones; falls back to a standalone right-side panel without better-sidebar',
|
||
pluginIdeGitDesc: 'Git tab for better-sidebar: branch tree (ahead/behind badges, worktree marker), commit graph with text/branch/author/date/path filters, per-file line diff, changes and commit box, plus merge, rebase, cherry-pick, reset, stash and tags; destructive actions confirm first and deletes or discards can be undone. Without better-sidebar it registers into the DSH right sidebar instead, so it works on its own',
|
||
pluginServerDeckDesc: 'Server card dashboard: one card per host showing online status, OS, uptime and CPU/mem/disk usage with latency; click a card to open an interactive xterm.js terminal; one-click ~/.ssh/config import (git-hosting aliases auto-skipped). Registers a native "Servers" tab when better-sidebar is installed and keeps its standalone drawer as a fallback',
|
||
pluginSentinelDesc: 'Condition-driven agent wakeup: file/process/port/http/command/webhook sensors wake dormant sessions when conditions fire; registers a "Sentinel" tab with the server-wide watch table',
|
||
pluginSidebarQaDesc: 'Select-and-ask: Select conversation text → ask in the right-side panel → a dedicated follow-up session (❓追问) in the same workspace; a fast no-thinking model compresses the main context and injects it with the quote, without interrupting the main conversation. Follow-ups nest, continue, and archive',
|
||
pluginSidenoteDesc: 'Explore a side question with the main conversation’s context, without explaining it again. Annotate chat replies and bring useful question–answer pairs back to the main conversation. Collect excerpts with sources and page numbers from Better Sidebar’s native PDF, Word and PowerPoint previews. Keep the familiar native composer, messages and tool cards.',
|
||
pluginSshTunnelDesc: 'SSH Tunnel tab: multi-host inventory + per-project grants + local secrets; SSHManager tool (exec/SFTP/session strategies); center interactive terminal and dual-pane SFTP',
|
||
pluginSuhuangScrollDesc: 'Connect the local Suhuang Scroll Runtime to DSH settings and better-sidebar for model configuration, connection tests, and continuous grading controls; requires Suhuang Scroll Runtime and dsh-better-sidebar',
|
||
pluginVideoPreviewDesc: 'Inline video preview (.mp4/.webm/.mov/.mkv/.avi etc.) for the better-sidebar editor, backed by a dedicated /video host route with HTTP Range (206) support — scrubbing works and playback starts before the whole file is fetched',
|
||
pluginAudioDesc: 'Inline audio preview (.mp3/.wav/.flac/.ogg/.m4a/.aac/.opus) for the better-sidebar editor: a zoomable waveform player (click/drag seek, A-B loop, channel switch) plus a live spectrum and a whole-file spectrogram — its own media route supports HTTP Range, so any size seeks',
|
||
pluginCodeNavDesc: 'Code preview navigator: detects the language by file type and highlights syntax, symbol outline (class / method / variable filters + one-click jump), and in-file search (highlight all matches, prev/next, match case) — takes over code file preview in the better-sidebar editor',
|
||
pluginDevGitGraphDesc: 'A vscode-git-graph-faithful commit-graph tab: mounts as a better-sidebar native tab auto-bound to the session workspace, with the full git toolset (checkout/merge/rebase/push/tag/stash), light/dark theme tracking, and click-a-file diff via the built-in DiffTab; requires dsh-better-sidebar installed first',
|
||
pluginDocsPanelDesc: 'Global docs in the DSH sidebar: read your own Markdown notes from any workspace — a file list, an outline, open in Chrome / VS Code, and copy buttons; the docs directory is configurable (default ~/.dsh/docs)',
|
||
pluginTylinaDesc: 'A Typst document editor sharing the current session workspace, with WYSIWYG typesetting for papers, reports, exams, resumes, charts, posters, sheet music, and slides exported as PPTX',
|
||
pluginEgoBrowserDesc: 'The agent browser for DeepSeek Harness: 32 ego_* tools drive a real Chromium, with a native sidebar "ego browser" tab giving a live view of every page the agent visits — you can click, drag, and type to take over. Registers the tab automatically when better-sidebar is present, otherwise falls back to a floating bubble',
|
||
pluginBetterOverleafDesc: 'Overleaf tab for better-sidebar: direct-CDP browser login (third-party Chromium supported), project list/switch, local git mirrors under <workspace>/overleaf/, two-way git sync with read-only API fallback, and file preview through the sidebar workbench',
|
||
pluginBilingualReaderDesc: 'Read paper PDFs in the DSH sidebar: native PDF rendering, select text to translate it with the LLM, using context while staying fully isolated from the main conversation — a reading aid only',
|
||
pluginDshMemoryDeltaDesc: 'Cross-session memory that injects only what changed — nothing at all when nothing changed — with review-date reminders, relevance-ranked search and a sidebar tab.',
|
||
pluginAgentPersonaName: 'dsh-agent-persona Personas',
|
||
pluginSentinelName: 'dsh-sentinel Wake-up System',
|
||
pluginFileTraceName: 'dsh-file-trace File Tracing',
|
||
pluginFileTraceDesc: 'Records every file the model reads, writes, or edits; grouped list with content and line diffs, Markdown reading mode and secret redaction; standalone floating window without better-sidebar',
|
||
pluginMnemeName: 'dsh-mneme Memory Library',
|
||
pluginMnemeDesc: 'Cross-session memory engine: autoDream background consolidation, session summarization and user profile; SQLite + human-editable Markdown mirrors, fully offline and private. Registers a "Memory Library" tab (memories/entities/status/settings views) when better-sidebar is present and keeps its standalone sidebar panel as a fallback',
|
||
pluginSessionSourcesName: 'Session Sources',
|
||
pluginSessionSourcesDesc: 'Recover images, files, and explicit HTTP/HTTPS links from the current conversation with per-session isolation, preview, download, re-attach, and source details; keeps a native panel fallback without better-sidebar',
|
||
pluginEgoBrowserName: 'ego-browser Agent Browser',
|
||
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf Tab',
|
||
pluginDocsPanelName: 'dsh-docs-panel Global Docs',
|
||
pluginTylinaName: 'dsh-tylina Typst Document Editor',
|
||
pluginFlowglassName: 'dsh-flowglass Flowglass',
|
||
pluginGitForgeName: 'dsh-git-forge Git Credentials',
|
||
pluginGithubWorkbenchName: 'dsh-github-workbench GitHub Workbench',
|
||
pluginIdeGitName: 'dsh-ide-git Git Tool Window',
|
||
pluginSidebarQaName: 'dsh-sidebar-qa Select & Ask',
|
||
pluginSidenoteName: 'dsh-sidenote Side Chat',
|
||
pluginServerDeckName: 'dsh-server-deck Server Deck',
|
||
pluginSuhuangScrollName: 'dsh-suhuang-scroll Suhuang Scroll',
|
||
pluginSshTunnelName: 'dsh-ssh-tunnel SSH Tunnel',
|
||
pluginBilingualReaderName: 'dsh-bilingual-reader Bilingual Reader',
|
||
pluginOfficeName: 'Office Preview',
|
||
pluginMdExportName: 'Markdown Export',
|
||
pluginCodeNavName: 'Code Preview Navigator',
|
||
pluginVideoPreviewName: 'Video Preview',
|
||
pluginAudioName: 'Audio Preview',
|
||
pluginTurnOutlineName: 'dsh-turn-outline Turn Outline',
|
||
pluginTurnOutlineDesc: 'Fold the session into user turns (input + tool steps + output) and click any step to jump back to its exact spot in the conversation — no LLM calls, read-only',
|
||
pluginZoteroWorkspaceName: 'dsh-zotero-workspace Zotero Workspace',
|
||
pluginZoteroWorkspaceDesc: 'Bring the Zotero library into the right sidebar: collection tree, item list/detail and server-side search, read the rendered PDF and parsed Markdown in place, and put the citation plus file paths into the current conversation; read-only local API, no MCP',
|
||
pluginDshMemoryDeltaName: 'dsh-memory-delta Memory',
|
||
pluginPrInboxName: 'dsh-pr-inbox PR Inbox',
|
||
pluginPrInboxDesc: 'The current workspace\'s GitHub PRs in three buckets — authored by me / needs my review / merged by me — with in-panel body, comment summaries and changed files; read-only through your local gh login',
|
||
pluginBioviewerName: 'BioViewer',
|
||
pluginBioviewerDesc: 'Mol* file preview (PDB / mmCIF / MRC maps / small molecules and Chimera .cmm, including .gz) for the better-sidebar editor, plus a BioViewer workspace tab and bio_open / bio_add tools',
|
||
// ── S8: grouped settings navigation ──
|
||
settingsGroupTabs: 'Tabs',
|
||
settingsGroupSources: 'Clue sources',
|
||
settingsGroupAppearance: 'Appearance',
|
||
clueSettingsGroupsAria: 'Settings groups',
|
||
|
||
// ── S8: clue sources table ──
|
||
clueSourcesIntro: 'Choose the sources you use. Connect an account or install a dependency here when needed.',
|
||
clueSourcesEnableAll: 'Enable all sources',
|
||
clueSourcesDisableAll: 'Disable all sources',
|
||
clueSourcesMentionAll: 'Enable all @',
|
||
clueSourcesMentionNone: 'Disable all @',
|
||
clueSourcesBatchScope: 'Batch actions apply to the currently registered sources only; sources added later stay enabled by default.',
|
||
clueSourceToggleAria: 'Enable source: {source}',
|
||
clueSourceMentionAria: '@ candidates: {source}',
|
||
clueSourceConfigureAria: 'Configure source: {source}',
|
||
clueConfigure: 'Configure',
|
||
cluePacksName: 'Clue packs',
|
||
cluePacksMentionAria: '@ candidates: clue packs',
|
||
cluePacksDesc: 'An independent @ switch for the local clue-pack library; it is not a remote source.',
|
||
clueSourcesEmpty: 'No clue sources are registered yet.',
|
||
clueSourcesLoadFailed: 'Could not load the source list.',
|
||
clueSourcesUnavailable: 'The source plugin is not loaded; its preferences and references were kept.',
|
||
clueAddSource: 'Add source plugin',
|
||
clueAddSourceDesc: 'Sources ship as DSH plugins; installing the plugin and installing the CLI it needs are separate steps. This entry only points you to source plugins — it does not install anything.',
|
||
clueSourceCatalogGithubName: 'GitHub Issues & PRs',
|
||
clueSourceCatalogGithubDesc: 'Issues and pull requests as clues, read through the shared gh CLI. Ships with dsh-better-sidebar as a built-in source: no separate source plugin is needed, and the command installs or updates the core plugin. Installing this plugin does not install the gh CLI.',
|
||
clueSourceCatalogGithubCategory: 'GitHub',
|
||
clueSourceCatalogFeishuName: 'Feishu Docs & Tasks',
|
||
clueSourceCatalogFeishuDesc: 'Feishu documents, wiki pages and tasks as clues, read through the shared lark-cli connection. Ships with dsh-better-sidebar as a built-in source: no separate source plugin is needed, and the command installs or updates the core plugin. Installing this plugin does not install lark-cli or authorize an account.',
|
||
clueSourceCatalogFeishuCategory: 'Feishu',
|
||
|
||
// ── S8: clue source states ──
|
||
clueStateUnchecked: 'Not checked',
|
||
clueStateMissing: 'Missing dependency',
|
||
clueStateIncompatible: 'Incompatible version',
|
||
clueStateInstalling: 'Installing',
|
||
clueStateNotConfigured: 'Not configured',
|
||
clueStateAuthorizing: 'Authorizing',
|
||
clueStateAuthExpired: 'Authorization expired',
|
||
clueStateNotAuthorized: 'Not authorized',
|
||
clueStateRequestFailed: 'Request failed',
|
||
clueStateReady: 'Ready',
|
||
|
||
// ── S8: clue source configuration window ──
|
||
clueConfigTitle: 'Source settings: {source}',
|
||
clueDependencyHeading: 'CLI dependency',
|
||
clueDependencyActualPath: 'Actual path',
|
||
clueDependencyVersion: 'Version',
|
||
clueDependencyCompat: 'Compatibility',
|
||
clueDependencyRequirement: 'Minimum {minimum} · Recommended {recommended}',
|
||
clueDependencyManualPath: 'Manual path',
|
||
clueDependencyPathPlaceholder: 'Absolute path to the executable',
|
||
clueDependencyPathInvalid: 'Enter an absolute path',
|
||
clueDependencyClearPath: 'Clear manual path',
|
||
clueDependencyRecheck: 'Recheck',
|
||
clueDependencyApplyPath: 'Use path',
|
||
clueDependencyInstall: 'One-click install',
|
||
clueDependencyNotInstalled: 'Not detected',
|
||
clueDependencyPlanTitle: 'Install plan: {name} {version}',
|
||
clueDependencyPlanTarget: 'Install to {path}',
|
||
clueDependencyPlanConfirm: 'Confirm and install',
|
||
clueDependencyPlanPlatform: 'Platform / architecture',
|
||
clueDependencyPlanDistribution: 'Distribution',
|
||
clueDistributionArchive: 'Official archive',
|
||
clueDistributionNpm: 'npm package',
|
||
clueDistributionNone: 'none',
|
||
clueDependencyPlanSystemInstall: 'Existing system install',
|
||
clueDependencyPlanSystemInstallNone: 'None detected',
|
||
clueDependencyPlanSystemInstallCompatible: 'compatible',
|
||
clueDependencyPlanSystemInstallIncompatible: 'incompatible',
|
||
clueDependencyPlanExpires: 'Plan expires {time}',
|
||
clueConnectionQrAria: 'Authorization QR code',
|
||
clueConnectionLastKnown: 'Last known:',
|
||
clueDependencyInstallCancel: 'Cancel install',
|
||
clueDependencyInstallUnavailable: 'Automatic install is not available on this platform.',
|
||
clueDependencyManualInstall: 'Manual install',
|
||
clueDependencyInstallFailed: 'Install failed',
|
||
clueDependencyInstallCancelled: 'Install cancelled',
|
||
clueStageQueued: 'Queued',
|
||
clueStageDownloading: 'Downloading',
|
||
clueStageVerifying: 'Verifying',
|
||
clueStageExtracting: 'Extracting',
|
||
clueStageProbing: 'Probing',
|
||
clueActionDownloadArchive: 'Download the official archive',
|
||
clueActionVerifySha256: 'Verify SHA-256',
|
||
clueActionExtractArchive: 'Extract the archive',
|
||
clueActionInstallNpmLocal: 'Install the local npm package',
|
||
clueActionProbeVersion: 'Probe the version',
|
||
clueActionReplaceManagedCopy: 'Replace the managed copy',
|
||
clueConnectionHeading: 'Connection and authorization',
|
||
clueConnectionConfiguration: 'Application configuration',
|
||
clueConnectionAuthorization: 'Authorization',
|
||
clueConnectionAccount: 'Account',
|
||
clueConnectionAuthorize: 'Authorize',
|
||
clueConnectionReconnect: 'Re-authorize',
|
||
clueConnectionGrantScope: 'Grant access',
|
||
clueConnectionCancel: 'Cancel authorization',
|
||
clueConnectionCheck: 'I’m done — check status',
|
||
clueConnectionUrl: 'Verification URL',
|
||
clueConnectionCode: 'Verification code',
|
||
clueConnectionQrPayload: 'QR payload',
|
||
clueConnectionExpires: 'Expires {time}',
|
||
clueConnectionDenied: 'Authorization denied',
|
||
clueConnectionScope: 'Insufficient permissions',
|
||
// ── S9: clue tab ──
|
||
clueViewBrowse: "Resources",
|
||
clueBrowserSelectionMode: "Select",
|
||
clueBrowserMoreRow: "More actions: {title}",
|
||
clueViewPacks: "Collections",
|
||
clueDiscoverTitle: "Find context for your next step",
|
||
clueDiscoverHint: "Search or paste a link or file path, then add what you need to your draft.",
|
||
clueSourceLabel: "Source",
|
||
clueLocalFilesName: "Local files",
|
||
clueSettingsWindowTitle: "Sidebar settings",
|
||
clueCollectionsTitle: "Context you can reuse",
|
||
clueCollectionsHint: "Open a collection to organize it, or use @ to add the whole set to your draft.",
|
||
clueBrowserPinsFailed: "Could not load pinned clues. Retry, or keep browsing below.",
|
||
clueTabSubtitle: "Turn scattered information into reusable context.",
|
||
cluePacksHint: "Open to organize · @ adds to your draft",
|
||
clueBrowserHint: "Title opens details · @ inserts a draft reference · Pin keeps it handy",
|
||
clueBrowserRefreshing: 'Refreshing…',
|
||
clueBrowserResolveAction: "Resolve",
|
||
clueClearSearch: "Clear search",
|
||
clueTabTitle: 'Clues (beta)',
|
||
guideDescClues: 'A context hub for local files, Feishu and GitHub',
|
||
clueFeishuDocsName: 'Feishu docs',
|
||
clueFeishuTasksName: 'Feishu tasks',
|
||
clueTabNoWorkspace: 'This session has no workspace yet. Open a workspace session, then collect clues.',
|
||
clueTabHelpAria: 'Show clues help',
|
||
clueTabSettingsAria: 'Open clue source settings',
|
||
clueTabUnavailable: 'The clue service is unavailable.',
|
||
cluePacksHeading: 'Clue packs',
|
||
cluePacksSearchPlaceholder: 'Search clue packs',
|
||
cluePacksNew: 'New',
|
||
cluePacksCreate: 'Create',
|
||
cluePacksNamePlaceholder: 'Pack name',
|
||
cluePacksUntitled: 'Untitled pack',
|
||
cluePacksEmpty: "Collect related files, documents and issues into a pack to reference together.",
|
||
cluePacksNoMatch: "No matching packs. Try another name.",
|
||
cluePacksMembers: '{n} members',
|
||
cluePacksInsertAria: 'Insert pack: {name}',
|
||
cluePacksManageAria: 'Manage pack: {name}',
|
||
cluePagePrev: 'Previous',
|
||
cluePageNext: 'Next',
|
||
cluePageOf: 'Page {n}',
|
||
clueInsertFailed: 'Insert failed; the draft was left unchanged.',
|
||
clueInsertStale: 'The draft changed before the clue was ready; the draft was left unchanged. Type @ again to insert it.',
|
||
cluePinFailed: 'The pin operation failed.',
|
||
clueSettingsSaveFailed: 'Saving the settings failed.',
|
||
clueBrowserHeading: 'Browse sources',
|
||
clueBrowserSearchPlaceholder: "Keyword, resource link or file path",
|
||
clueBrowserSearchAction: 'Search',
|
||
clueBrowserSearchNeeded: "Search a keyword or paste a link to add a resource directly.",
|
||
clueAuthPermissions: 'Authorization permissions',
|
||
clueAuthPermissionsHint: 'Choose only the permissions you need. You can add more later.',
|
||
clueAuthPermissionDocsRead: 'View drive files and documents',
|
||
clueAuthPermissionDocsSearch: 'Search documents',
|
||
clueAuthPermissionDocsEdit: 'Edit documents',
|
||
clueAuthPermissionWikiRead: 'View wikis',
|
||
clueAuthPermissionTasksRead: 'View tasks',
|
||
clueAuthPermissionTasksEdit: 'Edit tasks',
|
||
clueAuthPermissionsEmpty: 'Choose at least one permission.',
|
||
cluePackDeleteConfirm: 'Delete “{name}”? Its clues will remain available.',
|
||
clueScopeUseDefault: 'Use default range',
|
||
clueScopeNoDefault: 'No GitHub repository was detected in this workspace. Choose a repository.',
|
||
clueBrowserScopeHeading: 'Browse range',
|
||
clueBrowserScopeNeeded: 'No range chosen yet',
|
||
clueBrowserSearchScopeNeeded: 'Choose a specific folder or wiki space before searching.',
|
||
clueBrowserSearchGlobalHint: 'No range chosen: searching all documents visible to this account.',
|
||
clueBrowserScopeEdit: 'Choose range',
|
||
clueBrowserScopeApply: 'Save range',
|
||
clueBrowserScopeInvalid: 'Invalid range; check the value.',
|
||
clueBrowserScopeGithubRepo: 'GitHub repository',
|
||
clueBrowserScopeGithubRepoPlaceholder: 'owner/repo or repository URL',
|
||
clueBrowserScopeGithubState: 'State',
|
||
clueBrowserStateOpen: 'Open',
|
||
clueBrowserStateClosed: 'Closed',
|
||
clueBrowserStateAll: 'All',
|
||
clueBrowserScopeDocsDriveRoot: 'My Drive root',
|
||
clueBrowserScopeDocsFolder: 'A folder',
|
||
clueBrowserScopeDocsWiki: 'A wiki space',
|
||
clueBrowserScopeDocsWikiAll: 'All wiki spaces',
|
||
clueBrowserScopeTokenPlaceholder: 'Folder token',
|
||
clueBrowserScopeSpacePlaceholder: 'space id (my_library = personal library)',
|
||
clueBrowserScopeFilesPath: 'Subdirectory (empty = workspace root)',
|
||
clueBrowserScopeFilesPathPlaceholder: 'e.g. docs/',
|
||
clueBrowserScopeFilesRoot: 'Workspace root',
|
||
clueBrowserScopeTasksHint: "Browse tasks assigned to me. Filter by completion.",
|
||
clueBrowserPinsHeading: 'Pinned',
|
||
clueBrowserNoPins: "Pin frequently used clues to keep them here.",
|
||
clueBrowserPinnedBadge: 'Pinned',
|
||
clueBrowserPin: 'Pin',
|
||
clueBrowserUnpin: 'Unpin',
|
||
clueBrowserInsert: "Insert resources",
|
||
clueBrowserEmpty: "Nothing in this range yet. Adjust the range or paste a resource link.",
|
||
clueBrowserNoResults: "No matches. Try another keyword or adjust the range.",
|
||
clueBrowserResolveHeading: 'Recognized resource',
|
||
clueBrowserResolveHint: "Insert a draft reference or pin it. The original resource stays unchanged.",
|
||
clueBrowserResolveEmpty: 'Nothing recognized. Paste a full resource URL or path.',
|
||
clueBrowserUnsupported: 'This source does not support browsing; search or paste a resource URL.',
|
||
clueBrowserSearchUnsupported: 'This source does not support search; browse the list or paste a resource URL.',
|
||
clueBrowserTotal: '{n} total',
|
||
clueBrowserLimited: 'The source capped the result.',
|
||
clueBrowserAllDisabled: "No sources enabled. Choose the sources you want to use in settings.",
|
||
clueBrowserOpenSettings: 'Open settings',
|
||
clueBrowserSelect: 'Select',
|
||
clueBrowserSelectRow: "Select {title}",
|
||
clueSelectionRemove: "Remove {title} from selection",
|
||
clueBrowserPinRow: "Pin {title}",
|
||
clueBrowserUnpinRow: "Unpin {title}",
|
||
clueBrowserInsertRow: "Insert {title}",
|
||
clueBrowserSelectDone: 'Done selecting',
|
||
clueBrowserSelected: '{n} selected',
|
||
clueBrowserInsertSelected: "Insert resources",
|
||
clueBrowserAddToPack: 'Add to pack',
|
||
clueBrowserNoPacks: 'No clue packs yet',
|
||
clueDetailFailed: 'Could not read this clue',
|
||
clueDetailOpenSource: 'Open the original resource',
|
||
clueDetailReadOnly: 'This resource is read-only; you can view or reference it but not edit it.',
|
||
clueDetailReadOnlyType: 'This source type is read-only; you can view or reference it but not edit it.',
|
||
clueDetailReadOnlyArchived: 'The repository is archived, so GitHub rejects writes.',
|
||
clueDetailReadOnlyPermission: 'You have read-only permission for this resource.',
|
||
clueDetailReadOnlySize: 'The resource is too large to save an edit; it stays readable.',
|
||
clueResourceStateOpen: "Open",
|
||
clueResourceStateClosed: "Closed",
|
||
clueResourceStateMerged: "Merged",
|
||
clueResourceStateDraft: "Draft",
|
||
clueResourceStateActive: "Incomplete",
|
||
clueResourceStateCompleted: "Completed",
|
||
clueResourceAuthor: "Author",
|
||
clueResourceAssignees: "Assignees",
|
||
clueResourceFollowers: "Followers",
|
||
clueResourceCreated: "Created",
|
||
clueResourceUpdated: "Updated",
|
||
clueResourceCompletedAt: "Completed",
|
||
clueResourceStart: "Start",
|
||
clueResourceDue: "Due",
|
||
clueResourceBranches: "Branches",
|
||
cluePrChecks: "CI",
|
||
cluePrReview: "Review",
|
||
cluePrMerge: "Merge",
|
||
cluePrChecksSuccess: "Passed",
|
||
cluePrChecksFailure: "Failing",
|
||
cluePrChecksPending: "Running",
|
||
cluePrChecksExpected: "Queued",
|
||
cluePrChecksError: "Error",
|
||
cluePrChecksCount: '{count} checks',
|
||
cluePrReviewApproved: "Approved",
|
||
cluePrReviewChanges: "Changes requested",
|
||
cluePrReviewRequired: "Review required",
|
||
cluePrMergeable: "Mergeable",
|
||
cluePrConflict: "Conflicts",
|
||
cluePrMergeUnknown: "Unknown",
|
||
clueResourceRepository: "Repository",
|
||
clueResourceLabels: "Labels",
|
||
clueResourceChanges: "Changes",
|
||
clueResourceComments: "Comments",
|
||
clueResourceCommits: "Commits",
|
||
clueResourceFiles: "Files",
|
||
clueResourceSize: "Size",
|
||
clueResourcePath: "Path",
|
||
clueResourceUnknownPerson: "Unknown",
|
||
clueResourceCached: "Local copy",
|
||
clueResourceRefresh: "Refresh",
|
||
clueResourceRefreshing: "Refreshing",
|
||
clueResourceEditLoading: "Loading editor",
|
||
clueResourceBody: "Content",
|
||
clueResourceDetails: "Details",
|
||
clueSelectionReview: "Review selected resources",
|
||
clueClearFilters: "Clear filters",
|
||
clueSettingsAdvanced: "Advanced settings",
|
||
clueSettingsModified: "{count} modified",
|
||
clueResourceFilter: "Status",
|
||
clueResourceFilterAll: "All",
|
||
clueHelpTitle: "Use resources in three steps",
|
||
clueHelpClose: 'Close help',
|
||
clueHelpIntro: 'A clue points at a resource in a source. Inserting only puts a stable reference in the current input; it never sends and never prefetches the body.',
|
||
clueHelpDiagramAria: 'Sources provide resources; a resource becomes a clue; clues can be collected into a pack',
|
||
clueHelpSourceLabel: 'Source',
|
||
clueHelpSourceBody: 'Where resources live: local files, GitHub, Feishu.',
|
||
clueHelpClueLabel: 'Resource clue',
|
||
clueHelpClueBody: 'One resource is one clue. It stores a stable locator, not a copy of the body.',
|
||
clueHelpPackLabel: 'Clue pack',
|
||
clueHelpPackBody: "Using several together? Select resources and add to a pack.",
|
||
clueHelpSelectLabel: "Choose",
|
||
clueHelpSelectBody: "Pick a source. Open a title to preview.",
|
||
clueHelpInsertLabel: "Insert",
|
||
clueHelpInsertBody: "Click the reference icon or type @ in chat.",
|
||
clueHelpReadLabel: "Send",
|
||
clueHelpReadBody: "The model reads content when needed.",
|
||
clueHelpFlowReadAria: 'Select a resource, insert a reference, then read the body on demand after sending',
|
||
clueHelpFlowShortcutAria: 'Pinning is a local shortcut; binding a workspace only affects new sessions',
|
||
clueHelpPinLabel: 'Pin',
|
||
clueHelpPinBody: 'Keeps a clue within reach in this browser. It copies nothing and changes no access.',
|
||
clueHelpBindLabel: 'Workspace binding',
|
||
clueHelpBindBody: 'New sessions in the bound workspace receive this reference automatically. Unbinding removes neither the clue nor references in old sessions.',
|
||
clueHelpScopeLabel: 'Range',
|
||
clueHelpScopeBody: 'A range decides which resources browse and search cover. It is remembered per workspace and never rewrites inserted references.',
|
||
clueHelpLiveLabel: 'Live and snapshot',
|
||
clueHelpLiveBody: 'A normal reference reads the source’s latest content; a snapshot imported from a .cluepack is separate historical content.',
|
||
clueHelpConnectLabel: 'Connect a source',
|
||
clueHelpConnectBody: 'Install, connect and authorize in source settings. Connecting affects reads only; it never sends.',
|
||
clueHelpShareLabel: 'Share a clue pack',
|
||
clueHelpShareBody: 'Export a .cluepack with references only or with content snapshots for offline reading.',
|
||
clueHelpDone: 'Got it',
|
||
cluePackName: 'Pack name',
|
||
cluePackInsert: 'Insert pack reference',
|
||
cluePackConflict: 'This pack changed elsewhere; reload before saving again.',
|
||
cluePackUnsaved: 'Unsaved pack name',
|
||
cluePackMembers: 'Members ({n})',
|
||
cluePackNoMembers: 'No members yet. Use "Add members" to collect clues.',
|
||
cluePackAddMembers: 'Add members',
|
||
cluePackBack: 'Back',
|
||
cluePackAddSelected: 'Add selected',
|
||
cluePackPickSource: 'Pick a source to start browsing.',
|
||
cluePackMemberUnresolved: 'Source unavailable',
|
||
cluePackRemoveMember: "Remove from pack: {title}",
|
||
cluePackMemberRemoved: 'Member removed; the resource and existing references were not deleted.',
|
||
cluePackMembersAdded: 'Selected clues were added to {name}.',
|
||
cluePackSaveFailed: 'Saving the pack failed.',
|
||
cluePackBindingHeading: 'Workspace binding',
|
||
cluePackBindingHint: 'New sessions in this workspace receive these references automatically; content is read live.',
|
||
cluePackBindingUnbindHint: 'Unbinding deletes neither the clues nor references in old sessions.',
|
||
cluePackBindingChoose: 'Choose a workspace',
|
||
clueBindingFailed: 'The workspace binding operation failed.',
|
||
clueBindingNotInWorkspace: 'This clue is not in the selected workspace; add it there before binding.',
|
||
cluePackBind: 'Bind',
|
||
cluePackUnbind: 'Unbind',
|
||
cluePackBound: 'Bound',
|
||
clueDetailMissing: 'That clue no longer exists.',
|
||
cluePackMissing: 'That clue pack no longer exists.',
|
||
clueShareTitle: 'Share clue packs',
|
||
clueShareExport: 'Export',
|
||
clueShareImport: 'Import',
|
||
clueShareExportHint: "Choose packs and a sharing mode, then preview and export. Snapshots read content when you export.",
|
||
clueShareMode: "Share content",
|
||
clueShareModeSnapshot: 'Include snapshot content (readable offline)',
|
||
clueShareModeReference: 'References only (the receiver needs the source and authorization)',
|
||
clueFeishuRevision: "Revision",
|
||
clueFeishuContentTruncated: "Preview limited to keep the window responsive.",
|
||
clueFeishuShowFullContent: "Show full content",
|
||
clueFeishuShowLess: "Show less",
|
||
clueFeishuLimitedFragment: "This is one fragment of a longer document.",
|
||
clueFeishuEmptyContent: "This document has no text content.",
|
||
clueFeishuInvalidDocument: "This document payload could not be previewed.",
|
||
clueFeishuTitle: "Title",
|
||
clueFeishuDescription: "Description",
|
||
clueFeishuEmptyDescription: "No description.",
|
||
clueFeishuStart: "Start",
|
||
clueFeishuDue: "Due",
|
||
clueFeishuAllDay: "All day",
|
||
clueFeishuCompleted: "Completed",
|
||
clueFeishuSetTime: "Set time",
|
||
clueFeishuTitleRequired: "A task title is required.",
|
||
clueFeishuDocsTitleRequired: "A document title is required.",
|
||
clueFeishuStartAfterDue: "The start must not be later than the due time.",
|
||
clueFeishuAllDayMismatch: "The start and due times must both be all-day or both be timed.",
|
||
clueFeishuTaskGuid: "Task GUID",
|
||
clueFeishuNoTime: "Not set",
|
||
clueFeishuOpen: "Open",
|
||
clueFeishuDocsEditScopeNote: "Only text blocks are editable (title, paragraphs, headings, lists, todos, quotes and code); tables, callouts, grids, images and other complex blocks stay read-only. Markdown is a read-only projection and never a save input.",
|
||
clueFeishuBlocks: "Text blocks",
|
||
clueFeishuBlockReadOnly: "Read-only block",
|
||
clueFeishuNoBlocks: "This document has no editable text blocks.",
|
||
clueFeishuSourceLink: "Open in Feishu",
|
||
clueFeishuResourceLink: "Open resource",
|
||
clueFeishuFetchedAt: "Fetched",
|
||
clueFeishuFreshness: "Freshness",
|
||
clueFeishuFreshnessLive: "Live",
|
||
clueFeishuFreshnessSnapshot: "Snapshot",
|
||
clueFeishuFragmentBlocks: "This is a fragment made of whole blocks from a longer XML document.",
|
||
clueFeishuFragmentBytes: "This is a raw byte fragment of a longer document; markup may be split.",
|
||
clueFeishuUpdatedAt: "Updated",
|
||
clueFeishuMarkdownReadOnly: "Markdown is a read-only projection of this document.",
|
||
clueFeishuInvalidTask: "This task payload could not be previewed.",
|
||
clueFeishuInvalidTime: "This time is not a valid instant.",
|
||
clueFeishuGenericValidation: "This value is not valid.",
|
||
clueMentionsIncludeContentSuffix: " (include content)",
|
||
clueMentionsReferenceDescription: "{source} · {type}",
|
||
clueMentionsContentDescription: "At send: current content from {source} · {type}",
|
||
clueMentionsPackContentDescription: "At send: current content of {n} member(s)",
|
||
clueMentionsContentFailure: "{what} could not be read{detail}; no content was sent and the draft was kept",
|
||
clueMentionsContentLimit: "the included content is {size} characters, over the {max}-character limit; nothing was sent and the draft was kept",
|
||
clueMentionsRefMalformed: "the content reference is malformed; the draft was kept",
|
||
clueMentionsRefUnknownKind: "the content reference has an unknown kind; the draft was kept",
|
||
clueMentionsRefUnserializableId: "the content reference has an unserializable id; the draft was kept",
|
||
clueMentionsRefMissingWorkspace: "the content reference has no workspace; the draft was kept",
|
||
clueMentionsRefInvalidSession: "the content reference has an invalid session; the draft was kept",
|
||
clueMentionsRefEmptyWorkspace: "a content reference needs a workspace id",
|
||
clueMentionsRefEmptySession: "a content reference session id cannot be empty",
|
||
clueMentionsRefKindMismatch: "a content reference belongs to a different reference kind and cannot be serialized here; the draft was kept",
|
||
clueMentionsContentMissing: "{kind} {token} no longer exists in its workspace; the draft was kept",
|
||
clueMentionsPackMemberLimit: "pack {token} has {count} members, over the {max}-member content limit; the draft was kept",
|
||
clueMentionsPackMemberMissing: "pack {token} member {memberId} no longer exists; the draft was kept",
|
||
clueMentionsPackMemberNotTokenSafe: "pack {token} has a member id that cannot be represented as a stable token; the draft was kept",
|
||
clueMentionsPartialRead: "{token} is larger than one read page (next offset: {next}); including it would truncate the content, so the draft was kept",
|
||
clueMentionsContentSection: "Include current content",
|
||
cluePackInsertFailed: "That clue pack could not be inserted; the draft was left unchanged.",
|
||
clueSharePacks: 'Choose packs',
|
||
clueSharePreview: "Preview selection",
|
||
clueShareInspect: "Check source references",
|
||
clueShareExportAction: 'Export .cluepack',
|
||
clueSharePackCount: '{n} packs',
|
||
clueShareItems: '{n} clues',
|
||
clueShareSources: '{n} sources',
|
||
clueSharePortable: 'portable reference',
|
||
clueShareNotPortable: 'resolvable on this machine only',
|
||
clueShareImportHint: "Choose a .cluepack file, preview it, then confirm import. Originals stay unchanged; nothing is installed or authorized.",
|
||
clueShareChooseFile: 'Choose file',
|
||
clueShareNoFile: 'No file chosen yet.',
|
||
clueShareSnapshots: '{n} snapshots',
|
||
clueShareUnresolved: '{n} unresolved',
|
||
clueShareMissingSources: 'Missing sources: {sources}',
|
||
clueShareSnapshotRow: 'imported snapshot',
|
||
clueShareImportAction: 'Import .cluepack',
|
||
clueShareDone: 'Done',
|
||
clueSharePartial: 'Partial: {n} issues',
|
||
clueShareAcceptPartial: 'Accept the imported subset',
|
||
clueShareReset: 'Reset',
|
||
clueShareCancelled: 'Cancelled; committed items were kept.',
|
||
clueShareProgress: 'Working: {phase} ({done}/{total})',
|
||
clueSharePhaseCollect: 'Collecting',
|
||
clueSharePhaseRead: 'Reading',
|
||
clueSharePhaseContent: 'Content',
|
||
clueSharePhaseArchive: 'Packing',
|
||
clueSharePhaseValidate: 'Validating',
|
||
clueSharePhaseClue: 'Clues',
|
||
clueSharePhaseSnapshot: 'Snapshots',
|
||
clueSharePhasePack: 'Packs',
|
||
clueSharePhaseDone: 'Done',
|
||
clueShareFailed: 'The share operation failed.',
|
||
clueShareInvalidFile: 'That file could not be read.',
|
||
clueSharePreviewEmpty: 'Choose at least one pack.',
|
||
clueDetailConflict: 'This clue changed elsewhere; the save was refused and your edit is still in the window.',
|
||
clueDetailReload: 'Re-read',
|
||
clueTabWorkspaceAria: 'Switch browse workspace',
|
||
clueDetailUnsaved: 'Unsaved edits: save first, or discard them from the footer.',
|
||
clueDetailDiscard: 'Discard edits',
|
||
clueWindowSurfaceTitle: 'Open clue windows in',
|
||
clueWindowSurfaceDesc: 'Default presentation for details, packs, sharing and source configuration.',
|
||
clueWindowSurfaceSidebar: 'Sidebar tab',
|
||
clueWindowSurfaceFloating: 'Floating window',
|
||
cluePackRename: 'Rename',
|
||
clueAuthCopyLink: 'Copy authorization link',
|
||
}
|
||
|
||
/**
|
||
* The dictionary namespace this plugin owns in the DSH locale registry
|
||
* (`'sidebar'` is taken by DSH's own ui-sidebar, hence this distinct name).
|
||
*/
|
||
export const LOCALE_NS = 'betterSidebar'
|
||
|
||
|
||
/** The DSH locale service attached by the client apply (absent → browser detection). */
|
||
let localeService: {
|
||
getSnapshot(): { active: string }
|
||
/**
|
||
* Bind one registered namespace to a translate function (DSH's
|
||
* `LocaleRuntime.bind`). Optional because a consumer may attach only the
|
||
* snapshot face. The untyped overload is what makes cross-package key reads
|
||
* possible: an UNREGISTERED namespace yields a function that returns the key
|
||
* itself, which is exactly how {@link chatT} detects "not available".
|
||
*/
|
||
bind?(ns: string): (key: string, params?: Record<string, string | number>) => string
|
||
} | undefined
|
||
|
||
/** Lazily loaded non-zh/en dictionaries, keyed by host locale id. */
|
||
let localeDicts: Readonly<Record<string, Readonly<Record<string, string>>>> = {}
|
||
|
||
/**
|
||
* Attach (or detach, with undefined) the DSH locale service. The sidebar
|
||
* mounts its own React root outside the slot system's locale seat, so the
|
||
* service rides this module-level holder: components keep calling the plain
|
||
* `t()` function, and the Sidebar root's locale subscription re-renders the
|
||
* whole tree on switches.
|
||
*/
|
||
export function attachLocale(service: {
|
||
getSnapshot(): { active: string }
|
||
/** Optional namespace binding ({@link chatT} needs it; a bare snapshot face is still valid). */
|
||
bind?(ns: string): (key: string, params?: Record<string, string | number>) => string
|
||
} | undefined): void {
|
||
localeService = service
|
||
}
|
||
|
||
/**
|
||
* Translate a key in the HOST's own `chat` namespace — the wording the main
|
||
* conversation's merged "process" header uses (`message.stepProcess.*`,
|
||
* registered by `@deepseek-ai/dsh-client-ui-chat`). The Tasks page reads it so
|
||
* a running node reads exactly like the main agent's own activity line instead
|
||
* of inventing a second vocabulary (and without adding ~40 keys to 20 plugin
|
||
* dictionaries).
|
||
*
|
||
* Deliberately untyped: these keys are NOT a documented host contract. A host
|
||
* that renames one, or a deployment where the chat target never mounted,
|
||
* returns the key unchanged — the caller then falls back to its own wording
|
||
* ({@link chatT} answers undefined) rather than printing `message.…`.
|
||
*
|
||
* @param key - full `chat`-namespace key.
|
||
* @param params - `{name}` placeholders to interpolate (the host does this).
|
||
* @returns the translated text, or undefined when unavailable.
|
||
*/
|
||
export function chatT(key: string, params?: Record<string, string | number>): string | undefined {
|
||
return hostT('chat', key, params)
|
||
}
|
||
|
||
/**
|
||
* Translate a key in one of the HOST's own locale namespaces. Same contract
|
||
* and same deliberately-untyped seam as {@link chatT} — the plugin reads host
|
||
* wording it would otherwise have to duplicate across 20 dictionaries (the
|
||
* chat activity line, the open-in-app application names).
|
||
*
|
||
* @param ns - host namespace (e.g. `'open-in-app'`).
|
||
* @param key - full namespace key (e.g. `'app.vscode'`).
|
||
* @param params - `{name}` placeholders to interpolate (the host does this).
|
||
* @returns the translated text, or undefined when unavailable.
|
||
*/
|
||
export function hostT(ns: string, key: string, params?: Record<string, string | number>): string | undefined {
|
||
const service = localeService
|
||
if (service === undefined) return undefined
|
||
try {
|
||
// MUST stay a METHOD call: DSH's `bind` reads `this.bound`, so a detached
|
||
// reference (`const bind = service.bind; bind('chat')`) throws
|
||
// "Cannot read properties of undefined (reading 'bound')" — caught by the
|
||
// real-host mount lane, invisible to closure fakes in unit tests.
|
||
const translate = service.bind?.(ns)
|
||
if (typeof translate !== 'function') return undefined
|
||
const text = translate(key, params)
|
||
return typeof text === 'string' && text !== '' && text !== key ? text : undefined
|
||
} catch {
|
||
// The namespace seam is undocumented: a host that reshapes it must degrade
|
||
// to the caller's own wording, never break a render.
|
||
return undefined
|
||
}
|
||
}
|
||
|
||
/** Install (or clear, with `{}`) the lazily loaded non-zh/en dictionaries. */
|
||
export function attachLocaleDicts(dicts: Readonly<Record<string, Readonly<Record<string, string>>>>): void {
|
||
localeDicts = dicts
|
||
}
|
||
|
||
/**
|
||
* The active locale id: the DSH locale service's snapshot when attached, else
|
||
* the browser language.
|
||
*/
|
||
function activeLocale(): string {
|
||
return localeService?.getSnapshot().active
|
||
?? (typeof navigator !== 'undefined' ? navigator.language : '')
|
||
?? 'en'
|
||
}
|
||
|
||
/** One copy key; zh is the source of truth for the key set. */
|
||
export type CopyKey = keyof typeof zh
|
||
|
||
/** Translate a copy key; `{name}` placeholders interpolate from `params`. */
|
||
export function t(key: CopyKey, params?: Record<string, string | number>): string {
|
||
let text: string = dictFor(activeLocale())[key] ?? en[key] ?? key
|
||
if (params !== undefined) {
|
||
for (const [name, value] of Object.entries(params)) {
|
||
text = text.replaceAll(`{${name}}`, String(value))
|
||
}
|
||
}
|
||
return text
|
||
}
|
||
|
||
/** The dictionary of one locale id: exact id, then its base language, else en. */
|
||
function dictFor(locale: string): Readonly<Record<string, string>> {
|
||
const id = locale.toLowerCase()
|
||
if (id.startsWith('zh')) return zh
|
||
return localeDicts[id] ?? localeDicts[id.split('-')[0]!] ?? en
|
||
}
|
||
|
||
/** Whether the active locale is Chinese (used for selectors). */
|
||
export function isZh(): boolean {
|
||
return activeLocale().toLowerCase().startsWith('zh')
|
||
}
|
||
|
||
/**
|
||
* A signature of the effective UI language: the active locale id plus how many
|
||
* lazy dictionaries are loaded. Components that cache localized text OUTSIDE
|
||
* React state (CodeMirror's `phrases` facet) use it as an effect dependency.
|
||
*/
|
||
export function localeSignature(): string {
|
||
return `${activeLocale()}:${Object.keys(localeDicts).length}`
|
||
}
|
||
|
||
/** Format an ISO 8601 author date relative to now (刚刚 / N 分钟前 / N 小时前 / 昨天 / date). */
|
||
export function relativeTime(iso: string): string {
|
||
const then = Date.parse(iso)
|
||
if (Number.isNaN(then)) return iso
|
||
const seconds = Math.floor((Date.now() - then) / 1000)
|
||
if (seconds < 60) return t('timeJustNow')
|
||
if (seconds < 3600) return t('timeMinutesAgo', { n: Math.floor(seconds / 60) })
|
||
if (seconds < 86400) return t('timeHoursAgo', { n: Math.floor(seconds / 3600) })
|
||
if (seconds < 172800) return t('timeYesterday')
|
||
const date = new Date(then)
|
||
const pad = (value: number): string => String(value).padStart(2, '0')
|
||
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`
|
||
}
|