dsh-config-manager 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/lib/cli/actions.js +2 -3
  2. package/lib/cli/import-source.js +2 -6
  3. package/lib/cli/index.js +2 -3
  4. package/lib/client.d.ts +21 -7
  5. package/lib/client.js +26122 -25799
  6. package/lib/core/exporter.js +2 -4
  7. package/lib/core/host-schedulers/cache-cleanup.d.ts +41 -0
  8. package/lib/core/host-schedulers/cache-cleanup.js +45 -0
  9. package/lib/core/host-schedulers/lifecycle-hooks.d.ts +51 -0
  10. package/lib/core/host-schedulers/lifecycle-hooks.js +78 -0
  11. package/lib/core/host-schedulers/market-cache.d.ts +40 -0
  12. package/lib/core/host-schedulers/market-cache.js +92 -0
  13. package/lib/core/messages-core.d.ts +1 -0
  14. package/lib/core/messages-core.js +2 -0
  15. package/lib/core/migration-history.d.ts +18 -2
  16. package/lib/core/migration-history.js +19 -3
  17. package/lib/core/model-tools.js +2 -6
  18. package/lib/core/restore.d.ts +0 -2
  19. package/lib/core/restore.js +16 -18
  20. package/lib/core/verify-recovery.js +4 -7
  21. package/lib/index.d.ts +3 -22
  22. package/lib/index.js +71 -327
  23. package/lib/profiles/dsh-profile-manager.d.ts +23 -1
  24. package/lib/profiles/dsh-profile-manager.js +70 -2
  25. package/lib/routes/kit.d.ts +21 -0
  26. package/lib/routes/kit.js +29 -0
  27. package/lib/routes/prefs.js +6 -6
  28. package/lib/routes/recovery.js +25 -41
  29. package/lib/routes/route-support.d.ts +23 -1
  30. package/lib/routes/route-support.js +185 -0
  31. package/lib/routes/snapshots.js +4 -11
  32. package/lib/routes/sync.js +5 -7
  33. package/lib/security/redaction.d.ts +5 -1
  34. package/lib/security/redaction.js +26 -23
  35. package/lib/sync/autosync-scheduler.js +6 -2
  36. package/lib/sync/backup-scheduler.js +2 -6
  37. package/lib/sync/baseline-heal.d.ts +35 -0
  38. package/lib/sync/baseline-heal.js +39 -0
  39. package/lib/sync/push-precheck.d.ts +35 -0
  40. package/lib/sync/push-precheck.js +58 -0
  41. package/lib/sync/sync-engine.d.ts +9 -12
  42. package/lib/sync/sync-engine.js +24 -43
  43. package/lib/ui/backup-inspect.d.ts +1 -1
  44. package/lib/ui/dsh-profiles-view.d.ts +0 -10
  45. package/lib/ui/dsh-profiles-view.js +3 -7
  46. package/lib/ui/history-model.js +3 -2
  47. package/lib/ui/overview-view.d.ts +3 -3
  48. package/lib/ui/overview-view.js +9 -1
  49. package/lib/ui/snapshots-view.d.ts +0 -14
  50. package/lib/ui/snapshots-view.js +16 -2
  51. package/lib/utils/paths.d.ts +20 -4
  52. package/lib/utils/paths.js +22 -6
  53. package/lib/utils/time.d.ts +31 -0
  54. package/lib/utils/time.js +54 -0
  55. package/package.json +1 -1
  56. package/src/cli/actions.ts +2 -3
  57. package/src/cli/import-source.ts +2 -7
  58. package/src/cli/index.ts +2 -3
  59. package/src/client/about/AboutPanel.tsx +1 -1
  60. package/src/client/about/ReleaseBody.tsx +22 -52
  61. package/src/client/about/ReleaseNotesDialog.tsx +15 -69
  62. package/src/client/about/release-notes-view.ts +4 -11
  63. package/src/client/common/info-hint-guard.test.ts +11 -5
  64. package/src/client/common/ui.tsx +23 -0
  65. package/src/client/config-manager.module.css +201 -32
  66. package/src/client/css-token-guard.test.ts +135 -1
  67. package/src/client/history/history-locales.ts +2 -0
  68. package/src/client/home/HomePanel.tsx +9 -3
  69. package/src/client/import/ConflictList.tsx +3 -3
  70. package/src/client/import/ImportWizardView.tsx +1 -1
  71. package/src/client/library/ArtifactRow.tsx +2 -2
  72. package/src/client/library/RestorePlanView.tsx +21 -9
  73. package/src/client/library/report-dismiss.test.ts +5 -3
  74. package/src/client/locales/about.ts +97 -0
  75. package/src/client/locales/backup.ts +141 -0
  76. package/src/client/locales/common.ts +113 -0
  77. package/src/client/locales/export.ts +184 -0
  78. package/src/client/locales/foreign.ts +184 -0
  79. package/src/client/locales/import-compat.ts +32 -0
  80. package/src/client/locales/import.ts +192 -0
  81. package/src/client/locales/next-steps.ts +25 -0
  82. package/src/client/locales/overview-control.ts +32 -0
  83. package/src/client/locales/overview.ts +145 -0
  84. package/src/client/locales/profiles.ts +263 -0
  85. package/src/client/locales/report.ts +17 -0
  86. package/src/client/locales/restore.ts +132 -0
  87. package/src/client/locales/sessions.ts +257 -0
  88. package/src/client/locales/shell.ts +149 -0
  89. package/src/client/locales.ts +49 -1781
  90. package/src/client/market/MarketImportReview.tsx +2 -2
  91. package/src/client/market/MarketPanel.tsx +1 -1
  92. package/src/client/market/market-view.ts +3 -5
  93. package/src/client/recovery/RecoveryPanel.tsx +62 -1054
  94. package/src/client/recovery/SessionHealthCard.tsx +134 -0
  95. package/src/client/recovery/SessionHealthDialog.tsx +665 -0
  96. package/src/client/recovery/SessionLayoutSection.tsx +284 -0
  97. package/src/client/recovery/recovery-api.ts +10 -1
  98. package/src/client/recovery/recovery-panel-layout.test.ts +20 -5
  99. package/src/client/recovery/session-dialog-mount.test.ts +16 -9
  100. package/src/client/recovery/use-recovery-write.test.ts +90 -0
  101. package/src/client/recovery/use-recovery-write.ts +53 -0
  102. package/src/client/run-store.ts +57 -2
  103. package/src/client/sync/PushPreviewCard.tsx +2 -2
  104. package/src/client/sync/SyncConfirmView.tsx +5 -5
  105. package/src/client/sync/SyncLogList.tsx +2 -2
  106. package/src/client/sync/history-model.ts +7 -5
  107. package/src/client/sync/sync-locales.ts +2 -0
  108. package/src/client/sync/sync-view.ts +3 -4
  109. package/src/core/exporter.ts +2 -4
  110. package/src/core/host-schedulers/cache-cleanup.test.ts +84 -0
  111. package/src/core/host-schedulers/cache-cleanup.ts +74 -0
  112. package/src/core/host-schedulers/lifecycle-hooks.test.ts +111 -0
  113. package/src/core/host-schedulers/lifecycle-hooks.ts +118 -0
  114. package/src/core/host-schedulers/market-cache.test.ts +93 -0
  115. package/src/core/host-schedulers/market-cache.ts +116 -0
  116. package/src/core/messages-core.ts +2 -0
  117. package/src/core/migration-history.test.ts +19 -0
  118. package/src/core/migration-history.ts +28 -5
  119. package/src/core/model-tools.ts +2 -7
  120. package/src/core/restore-failure-state.test.ts +210 -0
  121. package/src/core/restore.ts +16 -18
  122. package/src/core/verify-recovery.ts +4 -7
  123. package/src/index.ts +78 -332
  124. package/src/profiles/dsh-profile-copy-rollback.test.ts +156 -0
  125. package/src/profiles/dsh-profile-manager.ts +71 -3
  126. package/src/routes/kit.ts +37 -0
  127. package/src/routes/prefs.ts +6 -6
  128. package/src/routes/recovery.ts +25 -42
  129. package/src/routes/route-support.ts +208 -1
  130. package/src/routes/snapshots.ts +4 -9
  131. package/src/routes/sync.ts +4 -7
  132. package/src/security/redaction.ts +29 -23
  133. package/src/sync/autosync-scheduler.test.ts +23 -0
  134. package/src/sync/autosync-scheduler.ts +6 -2
  135. package/src/sync/backup-scheduler.ts +3 -6
  136. package/src/sync/baseline-heal.ts +74 -0
  137. package/src/sync/push-precheck.ts +75 -0
  138. package/src/sync/sync-config.test.ts +24 -13
  139. package/src/sync/sync-engine.test.ts +88 -0
  140. package/src/sync/sync-engine.ts +33 -43
  141. package/src/ui/backup-inspect.ts +1 -1
  142. package/src/ui/dsh-profiles-view.ts +3 -5
  143. package/src/ui/history-model.test.ts +2 -1
  144. package/src/ui/history-model.ts +3 -2
  145. package/src/ui/i18n.test.ts +8 -3
  146. package/src/ui/overview-view.test.ts +12 -0
  147. package/src/ui/overview-view.ts +12 -4
  148. package/src/ui/snapshots-view.ts +2 -2
  149. package/src/utils/paths.test.ts +36 -1
  150. package/src/utils/paths.ts +30 -6
  151. package/src/utils/time.test.ts +46 -0
  152. package/src/utils/time.ts +55 -0
@@ -2,1793 +2,61 @@
2
2
  * Config Manager 表面文案:zh 为源语言,en 镜像每个键。
3
3
  * 字典 namespace 由 client/index.ts 注册(declare module 合并进 LocaleNamespaceMap)。
4
4
  * 键集合通过 `ConfigManagerKey` 类型在注册处做编译期校验(缺键/多键即编译错误)。
5
+ *
6
+ * tech-debt #22(2026-11):按页面域拆到 ./locales/*.ts,本文件只做聚合 —— 导入面零变更
7
+ * (`zh` / `en` / `ConfigManagerKey` 仍从这里导出),键顺序按原文件出现顺序逐字展开。
8
+ * 注意两侧展开顺序不同:en 的 nextSteps 段原本就排在 import 兼容性之后(勿按 zh 顺序「对齐」)。
5
9
  */
10
+ import { en as commonEn, zh as commonZh } from './locales/common.ts';
11
+ import { en as overviewEn, zh as overviewZh } from './locales/overview.ts';
12
+ import { en as exportEn, zh as exportZh } from './locales/export.ts';
13
+ import { en as importEn, zh as importZh } from './locales/import.ts';
14
+ import { en as restoreEn, zh as restoreZh } from './locales/restore.ts';
15
+ import { en as backupEn, zh as backupZh } from './locales/backup.ts';
16
+ import { en as reportEn, zh as reportZh } from './locales/report.ts';
17
+ import { en as nextStepsEn, zh as nextStepsZh } from './locales/next-steps.ts';
18
+ import { en as aboutEn, zh as aboutZh } from './locales/about.ts';
19
+ import { en as profilesEn, zh as profilesZh } from './locales/profiles.ts';
20
+ import { en as importCompatEn, zh as importCompatZh } from './locales/import-compat.ts';
21
+ import { en as shellEn, zh as shellZh } from './locales/shell.ts';
22
+ import { en as overviewControlEn, zh as overviewControlZh } from './locales/overview-control.ts';
23
+ import { en as sessionsEn, zh as sessionsZh } from './locales/sessions.ts';
24
+ import { en as foreignEn, zh as foreignZh } from './locales/foreign.ts';
6
25
 
7
26
  export const zh = {
8
- // 入口
9
- 'section.label': '备份与迁移',
10
- 'section.description': '导出 / 导入 / 迁移 DSH 配置(备份不含密钥,加密备份可选)',
11
- // 分区显示名(SectionId → 文案;唯一映射见 common/section-labels.ts。UI-08)
12
- 'section.settings': '设置',
13
- 'section.ui': 'UI 偏好',
14
- 'section.providers': 'Provider 与模型',
15
- 'section.plugins': '插件清单',
16
- 'section.mcp': 'MCP 服务器',
17
- 'section.prompts': '提示词',
18
- 'section.skills': '技能',
19
- 'section.agentPresets': 'Agent 预设',
20
- 'section.agentInstructions': '全局指令',
21
- 'section.workspaces': '工作区',
22
- 'section.pluginFiles': '插件散落配置',
23
- 'section.credentialsStatus': '凭据状态',
24
- 'section.secrets': '密钥',
25
- 'section.sessions': '历史会话',
26
- 'section.self': '配置管理器设置',
27
- 'section.pluginData': '插件数据目录',
28
- 'section.pluginAssets': '插件大文件',
29
- // 视图切换
30
- 'view.about': '关于',
31
- // 关于页「一键复制环境信息」片段(提 issue 用):zh 保留双语标题(维护者可读),en 纯英文
32
- 'about.snippet.environment': '### 环境 / Environment',
33
- // 更新内容拉取失败(GitHub API):错误对象里也必须是当前语言
34
- 'about.releaseNotes.rateLimited': 'GitHub API 速率限制(Rate limit exceeded),请稍后再试或直接在 GitHub 上查看。',
35
- 'about.releaseNotes.fetchFailed': 'GitHub API 请求失败 ({status} {statusText})',
36
- 'about.snippet.plugin': '- 插件版本 / Plugin: {version}',
37
- 'about.snippet.dsh': '- DSH 版本 / DSH: {version}',
38
- 'about.snippet.platform': '- 平台 / Platform: {platform}',
39
- 'about.snippet.pluginDir': '- 插件清单目录 / Plugin dir: {dir}',
40
- // 公共
41
- 'common.close': '关闭',
42
- 'common.cancel': '取消',
43
- // 标点也属界面文案:英文界面不得出现全角冒号(label:value 形态的分隔符走这个词条)
44
- 'common.labelSeparator': ':',
45
- 'common.back': '上一步',
46
- 'common.next': '下一步',
47
- 'common.retry': '重试',
48
- // 落盘失败(sessionStorage 配额满/不可用):状态还在内存里,但刷新即丢 —— 必须说清
49
- 'common.saveFailed': '浏览器存储写入失败:当前进度仍在本页内存中,刷新会丢失',
50
- 'common.loading': '加载中…',
51
- 'common.unknownError': '未知错误',
52
- // client-F6:拼接类标点走字典(英文界面不得出现全角括号 / 顿号)
53
- 'common.parens': '({text})',
54
- // client-F5:关于页 CLI 命令说明(此前硬编码中文)
55
- 'about.cli.help': '列出全部 CLI 命令与用法(离线可用)',
56
- 'about.cli.snapshots': '列出本机回滚快照(无需 DSH 运行)',
57
- 'about.cli.restore': '恢复到导入前状态(离线)',
58
- 'about.cli.reinstall': '一键重装 DSH(救援)',
59
- 'common.listSeparator': '、',
60
- // 全局通知(右下角 Toast)的通用文案
61
- 'toast.copied': '已复制到剪贴板',
62
- 'toast.copyFailed': '复制失败,请手动选择文本复制',
63
- // —— 总览(Overview,2026-09 UX 重构)——
64
- 'overview.health.ok': '配置状态良好',
65
- 'overview.health.noBackup': '尚无任何备份',
66
- 'overview.health.scheduleFailed': '上次定时备份失败,建议检查备份设置',
67
- 'overview.health.recovery': '存在未解决的恢复事项,需要处理',
68
- 'overview.health.autoBackupOff': '自动备份已关闭,目前只有手动备份',
69
- 'overview.health.recoveryAction': '前往「事故恢复」处理',
70
- 'overview.metric.backups': '备份文件',
71
- 'overview.metric.snapshots': '安全快照',
72
- 'overview.metric.schedule': '定时备份',
73
- 'overview.metric.sync': '远程同步',
74
- 'overview.state.on': '开启',
75
- 'overview.state.off': '关闭',
76
- 'overview.meta.lastBackup': '最近:{time}',
77
- 'overview.meta.noBackup': '尚无记录',
78
- 'overview.meta.scheduleOn': '已开启 · 上次 {time}',
79
- 'overview.meta.scheduleOff': '未开启(建议开启自动保护)',
80
- 'overview.meta.scheduleFail': '上次备份失败',
81
- 'overview.meta.syncOn': '已配置 · 上次 {time}',
82
- 'overview.meta.syncOff': '未配置',
83
- 'overview.meta.syncUnavailable': '读取超时',
84
- 'overview.meta.never': '从未运行',
85
- 'overview.time.now': '刚刚',
86
- 'overview.time.min': '{n} 分钟前',
87
- 'overview.time.hour': '{n} 小时前',
88
- 'overview.time.day': '{n} 天前',
89
- 'overview.quick.backup': '立即备份',
90
- 'overview.quick.backupDone': '备份完成',
91
- // issue #43:宿主对 skipped/failed 也回 200 + ok:true,提示通道由 run.status 决定(文案按 skipReason 区分)
92
- 'overview.quick.backupSkippedDisabled': '已跳过:定时备份未启用(没有生成任何备份文件)',
93
- 'overview.quick.backupSkippedRunning': '已跳过:上一次备份仍在进行中',
94
- 'overview.quick.backupSkippedConflict': '已跳过:另一项任务正在执行(防重)',
95
- 'overview.quick.backupSkippedLocked': '已跳过:环境锁被占用(另一项任务进行中,或存在需回收的残留锁)',
96
- 'overview.quick.backupSkippedOther': '已跳过:备份服务当前无法执行(详情见宿主日志)',
97
- 'overview.quick.backupFailed': '备份失败:{message}',
98
- 'overview.activity.title': '最近活动',
99
- 'overview.activity.colTime': '时间',
100
- 'overview.activity.colEvent': '动作',
101
- 'overview.activity.colDetail': '详情',
102
- 'overview.activity.colResult': '结果',
103
- 'overview.activity.empty': '暂无操作记录',
104
- 'overview.activity.unavailable': '活动记录读取失败(这不是「没有记录」)',
105
- // 首屏 5 个只读请求有失败时如实说清(此前失败被吞成 null,页面仍显示绿色健康 + 空活动)
106
- 'overview.loadFailed': '有 {count} 项数据读取失败:{message} —— 下面的指标可能不完整',
107
- 'overview.empty.title': '开始保护你的配置',
108
- 'overview.empty.step1': '创建第一份备份',
109
- 'overview.empty.step2': '导出 ZIP 带走',
110
- 'overview.empty.step3': '新机器导入回来',
111
- 'overview.kind.import': '导入',
112
- 'overview.kind.restore': '恢复',
113
- 'overview.kind.rollback': '回滚',
114
- 'overview.kind.profile-create': '新建档案',
115
- 'overview.kind.profile-select': '设置下次启动档案',
116
- 'overview.kind.profile-switch': '切换配置档案',
117
- 'overview.kind.profile-delete': '删除配置档案',
118
- 'overview.kind.profile-rename': '重命名配置档案',
119
- 'overview.kind.profile-save': '保存配置档案',
120
- 'overview.kind.profile-import': '导入配置档案',
121
- 'overview.kind.sync-apply': '同步应用',
122
- 'overview.kind.autosync': '自动同步',
123
- 'overview.kind.recovery': '恢复事项',
124
- 'overview.kind.backup': '定时备份',
125
- 'overview.kind.backup-manual': '手动备份',
126
- 'overview.kind.snapshot-delete': '删除快照',
127
- 'overview.kind.snapshot-prune': '清理快照',
128
- 'overview.kind.other': '其他操作',
129
- // 状态横幅
130
- // —— 导出 ——
131
- 'export.hint': '默认导出推荐分区(可迁移、不含设备专属数据)。',
132
- 'export.encrypt': '加密备份',
133
- 'export.encryptHint': '用密码加密整个备份文件(AES-256-GCM)。密码仅用于本次加密,不会写入备份或任何配置文件;导入时必须输入该密码才能解锁。',
134
- 'export.password': '备份加密密码',
135
- 'export.passwordConfirm': '确认密码',
136
- 'export.passwordMismatch': '两次输入的密码不一致',
137
- 'export.passwordRequired': '加密备份必须设置密码',
138
- 'export.includeSecrets': '导出密钥',
139
- 'export.includeSecretsHint': '把真实密钥(凭据值)写入备份。密钥必须以加密形式保存:勾选时会自动选中「加密备份」;取消「加密备份」会同时取消「导出密钥」。',
140
- 'export.run': '开始导出',
141
- 'export.download': '下载备份文件',
142
- 'export.saved': '已保存到下载目录:{name}',
143
- 'export.selectionWarnings': '以下分区为设备相关数据,跨设备导入时可能不适用:',
144
- 'export.fileName': '自定义文件名',
145
- 'export.fileNameHint': '留空自动命名(dsh-config-<日期>.zip);无需手动输入 .zip 后缀,保存时自动补全。仅允许字母数字、空格、- _ .。',
146
- 'export.fileNameInvalid': '文件名不合法:仅允许字母数字、空格、- _ .,不能包含路径分隔符。',
147
- 'export.note': '备注',
148
- 'export.notePlaceholder': '例如:迁移前的完整备份 / 2026-08 存档',
149
- 'export.noteHint': '备注保存在本机备份列表中(随配置备份迁移),便于区分多个导出产物。',
150
- 'export.compositionTitle': '本次将导出',
151
- 'export.compositionHint': '按当前勾选估算(只读预览,零写入)',
152
- 'export.compositionPartial': '将导出 {sections} 个分区 · 已读取 {units} 个条目 · 约 {size}(含未读取分区,实际不少于该值)',
153
- 'export.compositionEmpty': '没有勾选任何可导出的内容',
154
- // —— 内容选择器(Phase 1 条目级导出选择)——
155
- 'picker.title': '选择要导出的内容',
156
- 'picker.search': '搜索分区或条目…',
157
- 'picker.selectAll': '全选',
158
- 'picker.selectNone': '全不选',
159
- 'picker.expand': '展开',
160
- 'picker.collapse': '收起',
161
- 'picker.partial': '部分',
162
- 'picker.blankSession': '新会话',
163
- 'picker.highRisk': '高风险',
164
- 'picker.highRiskHint': '该分区来自公共仓库、未经官方审核:勾选后会在本机安装插件 / 写入文件 / 注入全局指令。导入前会创建可回滚快照,风险由你确认。',
165
- 'picker.locked': '捆绑',
166
- 'picker.lockedHint': '与同组条目必须一起导出(例如 pnpm patch 声明与其补丁文件),取消任一都会整组取消。',
167
- 'picker.selectedOf': '已选 {selected}/{total}',
168
- 'picker.fileCount': '{count} 个文件',
169
- 'picker.summary': '将导出 {sections} 个分区 · {units} 个条目 · 约 {size}',
170
- 'picker.loading': '正在读取可导出的条目…',
171
- 'picker.loadingItems': '正在读取条目…',
172
- 'picker.loadingSection': '读取中…',
173
- 'picker.empty': '没有匹配的分区或条目',
174
- 'picker.sessionWorkspaceLinked': '会话与工作区联动勾选:勾上会话会自动勾上它所属的工作区;取消工作区会取消它的会话',
175
- 'picker.unitsUnavailable': '部分分区的条目清单读取失败,这些分区将整体导出。',
176
- 'picker.sectionLoadFailed': '读取失败 · 将整体导出',
177
- 'picker.deviceSpecific': '设备相关',
178
- 'picker.sensitive': '敏感',
179
- 'picker.showAll': '显示全部(共 {count} 条)',
180
- 'picker.summaryImport': '{sections} 个分区 · {units} 个条目',
181
- // —— 「插件与扩展」组内嵌的插件树(插件 → 清单条目 / 数据目录 / 大文件)——
182
- 'picker.pluginRoot': '插件',
183
- 'picker.pluginLeafPlugin': '插件清单条目',
184
- 'picker.pluginLeafConfig': '数据目录(配置)',
185
- 'picker.pluginLeafAssets': '大文件(壁纸 / 数据库)',
186
- 'picker.pluginAreaUnread': '未读取',
187
- 'picker.pluginAreaAbsent': '无内容',
188
- 'picker.bucketPlugins': '插件分区的其他条目(补丁行 / pnpm-workspace.yaml)',
189
- 'picker.bucketLooseFiles': '未归属到插件的配置(~/.dsh 根)',
190
- 'picker.bucketHint': '这些条目没有可证明的插件归属,不猜;展开可逐条勾选。',
191
- 'picker.groupHint.extensions': '只列出能证明的归属(内置来源表 + 插件自述 dsh.dataDirs);没有包名信息的配置留在「未归属」。',
192
- // 导出目录的分组标题(与 ui/types.ts 的 EXPORT_GROUPS 一一对应,顺序由它决定)
193
- 'group.general': '通用',
194
- 'group.ai': 'AI',
195
- 'group.extensions': '插件与扩展',
196
- 'group.mcp': 'MCP / 工具',
197
- 'group.customization': '定制',
198
- 'group.automation': '自动化',
199
- 'group.workspace': '工作区',
200
- 'group.ui': '界面',
201
- 'group.optional': '可选数据',
202
- 'import.nothingSelected': '未勾选任何内容',
203
- 'import.excludedByUser': '取消勾选 {count} 项(未导入、未入快照)',
204
- 'import.consult.hint': '只读分析:先看结论与依据,确认后再选择要导入的内容。',
205
- 'consult.title': '迁移前咨询',
206
- 'library.pullTitle': '拉取远端快照',
207
- // 「拉取」不是只读预览:宿主把该快照落地成本机 ZIP 后**直接进导入向导**(拉取即导入)。
208
- // 文案必须说清后半程,否则用户以为只是比对差异(2026-10-04 用户报告)。
209
- 'library.pulling': '正在拉取并导入…',
210
- // 「下载」是另一条路:同样先拉取落地,但不进向导,而是交给浏览器下载到「下载」目录。
211
- 'library.downloadTitle': '下载远端快照',
212
- 'library.downloading': '正在拉取并下载…',
213
-
214
- 'import.consult.unavailable': '暂时无法生成咨询报告(不影响继续导入)。',
215
- 'import.picker.title': '选择要导入的内容',
216
- 'import.picker.hint': '不勾选的条目不会被导入、也不会进快照;随时可以回到这一步修改。',
217
- // —— 导入 ——
218
- 'import.stage.select': '选择',
219
- 'import.stage.analyze': '分析',
220
- 'import.stage.decide': '预览与决策',
221
- 'import.stage.confirm': '确认',
222
- 'import.stage.execute': '执行',
223
- 'import.stage.done': '完成',
224
- 'import.stepper.label': '第 {current} 步,共 {total} 步:{label}',
225
- 'import.select.title': '选择备份文件',
226
- 'import.select.hint': '选择本机导出的 dsh-config-*.zip 备份文件开始导入。分析阶段只读,不会修改任何配置。',
227
- 'import.select.browse': '选择 ZIP 文件',
228
- 'import.select.reselect': '重新选择',
229
- 'import.select.cancel': '取消选择',
230
- 'import.select.file': '已选择:{name}',
231
- 'import.compatibility.title': '兼容性',
232
- 'import.compatibility.score': '兼容性评分:{score}',
233
- 'import.preview.title': '导入预览',
234
- 'import.preview.willChange': '将变更 {count} 项',
235
- 'import.preview.unchanged': '已一致跳过 {count} 项',
236
- 'import.preview.settings': '设置更新 {count}',
237
- 'import.preview.plugins': '插件待安装 {count}',
238
- 'import.preview.mcp': 'MCP 新增 {count}',
239
- 'import.preview.prompts': '提示词 {count}',
240
- 'import.preview.paths': '路径映射 {count}',
241
- 'import.preview.rebase': '已自动重定基(备份来自另一台机器的基础路径):{from} → {to};这一步不需要手工映射',
242
- 'import.preview.secrets': '密钥待补录 {count}',
243
- 'import.preview.conflicts': '冲突 {count}',
244
- 'import.preview.restart': '导入后需重启 DSH 生效',
245
- 'import.confirm.execute': '确认导入',
246
- 'import.confirm.warning': '导入会修改当前 DSH 配置,执行前自动创建快照。',
247
- 'import.confirm.warningNoRollback': '导入会修改当前 DSH 配置,执行前自动创建快照;已取消整体回滚 —— 单项失败会继续,已写入内容不回退。',
248
- 'import.confirm.encrypted': '将用备份密码解密并恢复 {count} 个凭据。',
249
- 'import.rollbackOnError': '失败时整体回滚(推荐)',
250
- 'import.log.title': '导入日志',
251
- 'import.log.empty': '等待命令输出…',
252
- 'import.log.newOutput': '↓ 新输出',
253
- // 日志表头计数(把 500 行流水压成「成功/跳过/警告/失败」四个数)
254
- 'import.log.counts': '成功 {ok} · 跳过 {skip} · 警告 {warn} · 失败 {fail}',
255
- 'import.log.filterProblems': '只看问题',
256
- 'import.log.filterAll': '显示全部',
257
- 'import.log.problemsEmpty': '本次没有失败或警告的项',
258
- // 结果页固定操作栏的收尾动作(替代原先埋在报告卡底部、被布局裁掉的「完成」)
259
- 'import.done': '完成',
260
- 'import.skipCurrent': '跳过当前插件',
261
- 'import.skipPending': '正在跳过…',
262
- 'import.retrySkipped': '重试失败/跳过的项 ({count})',
263
- 'import.secrets.title': '补录密钥',
264
- 'import.secrets.hint': '以下凭据未随备份导出(安全设计)。如需在目标 DSH 使用,请手动补录;留空将跳过。',
265
- 'import.secrets.optional': '(可选)',
266
- 'import.secrets.required': '(必需)',
267
- 'import.secrets.none': '无需补录密钥',
268
- 'import.decrypt.badge': '加密备份',
269
- 'import.decryptArchive.title': '解锁加密备份',
270
- 'import.decryptArchive.hint': '此备份已整体加密(整个文件被密码保护)。输入导出时设置的密码即可解密并继续导入——备份内的加密凭据也会用同一密码自动恢复,全程只需输入这一次密码;密码仅本次使用,绝不落盘。',
271
- 'import.decryptArchive.passwordPlaceholder': '输入备份加密密码',
272
- 'import.decryptArchive.unlock': '解锁并继续',
273
- 'import.decrypt.previewHint': '加密备份:凭据已由解锁密码自动恢复,无需再次输入密码。',
274
- 'import.conflicts.title': '解决冲突',
275
- 'import.conflicts.hint': '以下配置项在目标 DSH 已存在且与备份不同,请逐项决策。',
276
- 'import.conflicts.keepCurrent': '保留当前',
277
- 'import.conflicts.useImported': '使用备份',
278
- 'import.conflicts.review': '稍后决定',
279
- 'import.conflicts.severityError': '错误',
280
- 'import.conflicts.detailCurrent': '当前',
281
- 'import.conflicts.detailImported': '备份',
282
- 'import.conflicts.empty': '无冲突项',
283
- 'import.conflicts.unresolved': '还有 {count} 项未决策',
284
- 'import.conflicts.keepCurrentAll': '全部保留当前配置',
285
- 'import.conflicts.useImportedAll': '全部使用备份配置',
286
- 'import.paths.title': '路径映射',
287
- 'import.paths.hint': '备份中的绝对路径在目标机器可能不存在,请为每条路径指定新位置(留空将跳过该路径)。',
288
- 'import.paths.old': '原路径',
289
- 'import.paths.new': '新路径',
290
- // 路径来源徽章:此前直接渲染 core 的枚举字面量(kind:missing / platformMismatch),
291
- // 用户读成「源路径不存在」——missing 的真实语义是「需为本机指定新位置」(core 不做存在性探测)。
292
- 'import.paths.kind.missing': '需指定新位置',
293
- 'import.paths.kind.platformMismatch': '跨平台路径',
294
- 'import.paths.kind.homeMismatch': '基础路径不同',
295
- 'import.paths.unresolved': '还有 {count} 条路径未映射(留空将跳过该路径,可以继续)',
296
- 'import.paths.empty': '无需映射路径',
297
- // 「选择本机路径」弹窗(第③项):浏览器拿不到本机真实路径,目录列举走宿主只读端点
298
- 'import.paths.browse': '选择本机路径',
299
- 'import.paths.picker.title': '选择本机路径',
300
- 'import.paths.picker.up': '上一层',
301
- 'import.paths.picker.home': '主目录',
302
- 'import.paths.picker.thisPc': '此电脑',
303
- 'import.paths.picker.useCurrent': '使用当前目录',
304
- 'import.paths.picker.empty': '这个目录里没有可进入的项',
305
- 'import.paths.picker.truncated': '只显示前 {count} 项',
306
- 'import.paths.picker.notFound': '这个路径不存在(已为你打开上一级)',
307
- 'import.paths.picker.denied': '没有读取这个目录的权限',
308
- 'import.paths.picker.notAbsolute': '请填绝对路径(如 D:\\ 或 /)',
309
- 'import.paths.picker.failed': '读取这个目录失败',
310
- // —— 快照恢复 ——
311
- 'home.schedule.title': '定时备份',
312
- 'snapshots.selectHint': '选择快照以预览恢复计划(只读预览,不会改动任何设置):',
313
- 'snapshots.status': '状态',
314
- 'snapshots.delete': '删除',
315
- 'snapshots.deleted': '已删除快照',
316
- 'snapshots.deleteConfirmTitle': '删除快照',
317
- 'snapshots.deleteConfirm': '确认删除 {time} 创建的快照?该导入前回滚点将被永久删除,不可恢复。',
318
- 'snapshots.status.pending': '进行中',
319
- 'snapshots.status.done': '已完成',
320
- 'snapshots.status.rolled-back': '已回滚',
321
- 'snapshots.status.unknown': '未知',
322
- 'snapshots.planTitle': '恢复计划预览',
323
- 'snapshots.noActions': '该快照无可用恢复动作(或全部跳过)。',
324
- 'snapshots.execute': '执行恢复',
325
- 'snapshots.executing': '恢复执行中…',
326
- 'snapshots.confirmTitle': '确认恢复',
327
- 'snapshots.confirmRestore': '确认执行恢复?会先把当前文件备份到一个安全位置,再删除导入期间新增的插件。',
328
- 'snapshots.reportTitle': '恢复报告',
329
- 'snapshots.reportDone': '完成',
330
- 'snapshots.restored': '已还原',
331
- 'snapshots.removedPlugins': '已卸载插件',
332
- 'snapshots.manualHints': '需人工处理',
333
- 'snapshots.failed': '失败',
334
- 'snapshots.skipped': '跳过',
335
- // 恢复计划动作 kind 标签(原硬编码中文字符串,改走字典)
336
- // —— git 风格恢复预览(快照改动逐行对照) ——
337
- 'snapshots.plan.changed': '将被还原 {count}',
338
- 'snapshots.plan.added': '新增 {count}',
339
- 'snapshots.plan.deleted': '将被删除 {count}',
340
- 'snapshots.plan.plugins': '卸载插件 {count}',
341
- 'snapshots.plan.hints': '需人工处理 {count}',
342
- 'snapshots.plan.skips': '无动作 {count}',
343
- 'snapshots.plan.noStats': '未统计行数',
344
- 'snapshots.plan.statsTruncated': '部分文件未统计行数',
345
- 'snapshots.plan.group.changes': '将被还原',
346
- 'snapshots.plan.group.deletes': '将被删除',
347
- 'snapshots.plan.group.plugins': '卸载插件',
348
- 'snapshots.plan.group.hints': '需人工处理',
349
- 'snapshots.plan.group.skips': '无动作',
350
- 'snapshots.plan.status.modified': '修改',
351
- 'snapshots.plan.status.added': '新增',
352
- 'snapshots.plan.status.deleted': '删除',
353
- 'snapshots.plan.status.plugin': '卸载插件',
354
- 'snapshots.plan.status.hint': '人工提示',
355
- 'snapshots.plan.status.skip': '跳过',
356
- 'snapshots.plan.beforeLabel': '本机',
357
- 'snapshots.plan.afterLabel': '快照',
358
- 'snapshots.plan.loadingDiff': '正在读取差异…',
359
- 'snapshots.plan.diffIdentical': '两侧内容一致',
360
- 'snapshots.plan.diffBinary': '二进制文件',
361
- 'snapshots.plan.diffTooLarge': '文件过大({size})',
362
- 'snapshots.plan.diffUnreadable': '无法读取该文件',
363
- 'snapshots.plan.diffMissingBlob': '快照内缺少该文件内容',
364
- 'snapshots.plan.diffEscape': '路径越界,已拒绝读取',
365
- 'snapshots.plan.diffNotApplicable': '非文件内容变更',
366
- 'snapshots.plan.diffDegraded': '差异过大,已按整块显示',
367
- 'snapshots.plan.statSkipped.tooLarge': '体积超上限',
368
- 'snapshots.plan.statSkipped.binary': '二进制',
369
- 'snapshots.plan.statSkipped.budget': '超出数量上限',
370
- 'snapshots.plan.statSkipped.unreadable': '未统计',
371
- // —— 定时全量备份(快照 tab)——
372
- 'backupSchedule.title': '定时全量备份',
373
- 'backupSchedule.hint': '按固定间隔在后台自动导出全量备份 ZIP(恒不含 secret、不加密;要加密请手动导出)。配置存 sync/backup-schedule.json,随 self 分区备份 / 远程同步迁移。',
374
- 'backupSchedule.enabled': '启用定时备份',
375
- 'backupSchedule.enabledHint': '开启后 DSH 在后台按间隔自动备份;每次启动时立即执行一次(距上次运行不足 1 小时则跳过启动触发)。',
376
- 'backupSchedule.interval': '备份间隔',
377
- 'backupSchedule.interval.6h': '每 6 小时',
378
- 'backupSchedule.interval.12h': '每 12 小时',
379
- 'backupSchedule.interval.24h': '每 24 小时',
380
- 'backupSchedule.interval.7d': '每 7 天',
381
- 'backupSchedule.interval.custom': '自定义(每周固定时刻)',
382
- 'backupSchedule.customHint': '每周在选定星期与时刻各执行一次全量备份(错过的时间点不补跑)',
383
- // 自定义档三个下拉的无障碍名(无可见 label:它们与「启用定时备份」复选框同排)
384
- 'backupSchedule.weekday': '星期',
385
- 'backupSchedule.hour': '小时',
386
- 'backupSchedule.minute': '分钟',
387
- 'backupSchedule.weekday.sunday': '周日',
388
- 'backupSchedule.weekday.monday': '周一',
389
- 'backupSchedule.weekday.tuesday': '周二',
390
- 'backupSchedule.weekday.wednesday': '周三',
391
- 'backupSchedule.weekday.thursday': '周四',
392
- 'backupSchedule.weekday.friday': '周五',
393
- 'backupSchedule.weekday.saturday': '周六',
394
- 'backupSchedule.save': '保存设置',
395
- 'backupSchedule.saved': '设置已保存',
396
- 'backupSchedule.runNow': '立即备份',
397
- 'backupSchedule.lastRun': '上次运行',
398
- 'backupSchedule.never': '从未运行',
399
- 'backupSchedule.status.success': '成功',
400
- 'backupSchedule.status.skipped': '已跳过',
401
- 'backupSchedule.status.failed': '失败',
402
- 'backupSchedule.consecutiveFailures': '定时备份连续失败 {count} 次,请检查配置(磁盘空间 / 权限 / 分区导出错误)',
403
- 'backupSchedule.loading': '加载定时备份设置…',
404
- 'backupSchedule.error': '定时备份设置加载失败',
405
- // —— 保留策略(m-retention:GFS 分层)——
406
- 'retention.title': '保留策略',
407
- 'retention.hint': '控制自动清理保留多少份(快照与定时备份共用)。置顶的快照与未收敛恢复点恒豁免自动清理。',
408
- 'retention.keepLast': '最近保留',
409
- 'retention.keepLastHint': '按时间保留最近 N 份;0 = 不按「最近」保留',
410
- 'retention.keepMonthly': '每月保留',
411
- 'retention.keepMonthlyHint': '每月额外保留最新 1 份,最多覆盖 N 个月;0 = 关闭',
412
- 'retention.keepYearly': '每年保留',
413
- 'retention.keepYearlyHint': '每年额外保留最新 1 份,最多覆盖 N 年;0 = 关闭',
414
- 'retention.unit': '份',
415
- 'retention.months': '个月',
416
- 'retention.years': '年',
417
- 'retention.tiersOff': '仅保留最近 N 份',
418
- 'retention.appliesTo': '生效于:导入前快照 + 定时备份产物',
419
- 'backupFiles.hint': '导出产物(手动导出与定时备份)统一在此管理:可下载到本机、直接导入恢复,或删除。定时备份自动保留最近 10 个。',
420
- 'backupFiles.empty': '暂无备份文件',
421
- 'backupFiles.delete': '删除',
422
- 'backupFiles.deleteConfirmTitle': '删除备份文件',
423
- 'backupFiles.deleteConfirm': '确认删除备份文件「{name}」?此操作不可恢复。',
424
- 'backupFiles.deleted': '已删除备份文件「{name}」',
425
- 'backupFiles.inspect': '查看 / 对比',
426
- 'backupFiles.inspectLoading': '正在分析备份内容…',
427
- 'backupFiles.inspectEmpty': '该备份无法分析(文件损坏或格式不支持)',
428
- 'backupFiles.inspectSections': '包含的分区',
429
- 'backupFiles.inspectDiff': '与此备份的差异(只读预览)',
430
- 'backupFiles.inspectItems': '变更明细',
431
- 'backupFiles.inspectGroup.conflicts': '冲突(需决策)',
432
- 'backupFiles.inspectGroup.changes': '变更(将写入)',
433
- 'backupFiles.inspectGroup.paths': '路径映射(需处理)',
434
- 'backupFiles.inspectGroup.skipped': '已一致(无需处理)',
435
- 'backupFiles.inspectGroup.others': '其他',
436
- // —— 报告 ——
437
- 'report.import.title': '导入结果',
438
- 'report.needsRestart': '插件 / MCP 变更将在重启 DSH 后生效。',
439
- // —— 导入/同步后收尾清单(P0-① / P2-⑪)——
440
- 'nextSteps.title': '接下来需要处理',
441
- 'nextSteps.done': '全部完成,无需额外处理',
442
- 'nextSteps.restart.hint': '需重启 DSH 后生效({count}):',
443
- 'nextSteps.secrets.hint': '未随备份导出、需在本机补录的凭据({count}):',
444
- 'nextSteps.unresolved.hint': '未成功应用({count}),可用下方按钮重试:',
445
- // —— 错误 ——
446
- // —— Star 引导弹窗 ——
447
- 'starPrompt.title': '喜欢 Config Manager 吗?',
448
- 'starPrompt.body': '如果你觉得这个插件有用,欢迎到 GitHub 点个 ⭐ Star 支持一下——你的支持是持续维护的最大动力!',
449
- 'starPrompt.star': '去点 Star',
450
- 'starPrompt.dismiss': '不再提示',
451
- // —— 关于 ——
452
- 'about.official': '官方',
453
- 'about.version': '版本 {version}',
454
- 'about.dshVersion': 'DSH {version}',
455
- 'about.links': '相关链接',
456
- 'about.star': '⭐ 在 GitHub 上点赞',
457
- 'about.repo': 'GitHub 仓库',
458
- 'about.docs': '使用文档',
459
- 'about.issues': '反馈问题',
460
- 'about.feedbackHint': '遇到界面问题?复制环境信息,粘进 issue 就行',
461
- 'about.copyEnv': '复制环境信息',
462
- 'about.authorLabel': '作者',
463
- 'about.loading': '正在获取版本信息…',
464
- 'about.retryStatus': '重新获取',
465
- 'about.releaseNotes': '更新内容',
466
- 'about.diag.label': '插件清单来源',
467
- 'about.diag.profileDir': '目录:{path}',
468
- 'about.diag.profile': 'profile:{profile}',
469
- 'about.diag.pluginCount': '已识别插件:{count} 个',
470
- 'about.diag.manifestUnreadable': '读不到 package.json:插件清单为空(核对 profile 与 DSH_HOME)',
471
- 'about.diag.hint': '若与实际不符,请据此检查当前档案的启动方式(宿主 profileContext / 启动参数 --profile / 环境变量 DSH_PROFILE)与 DSH_HOME 环境变量。',
472
- 'about.releaseNotes.title': '版本更新内容',
473
- 'about.releaseNotes.loading': '正在获取更新内容…',
474
- 'about.releaseNotes.loadingMore': '正在加载更多版本…',
475
- 'about.releaseNotes.empty': '暂无发布记录',
476
- 'about.releaseNotes.retry': '重试',
477
- 'about.releaseNotes.viewOnGithub': '在 GitHub 上查看全部 Releases',
478
- 'about.releaseNotes.viewSingleOnGithub': '在 GitHub 上查看此版本',
479
- 'about.releaseNotes.allLoaded': '已加载全部版本记录',
480
- 'about.releaseNotes.prerelease': '预发布',
481
- 'about.releaseNotes.latest': '最新',
482
- 'about.releaseNotes.noBody': '该版本暂无详细更新说明。',
483
- 'about.releaseNotes.confirm': '确认',
484
- 'about.releaseNotes.neverShow': '永不提示',
485
- 'about.cli.title': 'CLI 救援工具',
486
- 'about.cli.hint': 'GUI 运行在 DSH 内部——DSH 无法启动时,独立安装的 CLI(dsh-config-manager)是第一救援手段:列快照 / 离线恢复 / 一键重装 DSH,全程无需 DSH 运行。安装一次即可在任何机器上用:',
487
- 'about.cli.docs': 'CLI 使用文档',
488
- // —— 档案(DSH 自带 profile:$DSH_HOME/profiles/<name>;2026-09 起替换「配置档案」快照语义) ——
489
- 'profiles.title': '档案',
490
- 'profiles.subtitle': '管理 DSH 自带的 profile($DSH_HOME/profiles/<name>):每个档案 = 一套插件组合(bundles)+ 依赖 + patch 层,用 dsh --profile <name> 启动。',
491
- 'profiles.loading': '加载档案中…',
492
- 'profiles.empty': '还没有任何档案',
493
- 'profiles.refresh': '刷新',
494
- 'profiles.current': '当前运行',
495
- 'profiles.running.title': '运行状态',
496
- 'profiles.running.none': '没有正在运行的实例',
497
- 'profiles.running.port': '端口 {port}',
498
- 'profiles.running.open': '打开',
499
- 'profiles.running.badge': ':{port} 运行中',
500
- // 行徽章专用:状态由相邻的「运行中」ok 徽章表达,这里只回答「在哪个端口」
501
- // (2026-11-01:原先把 ':{port} 运行中' 与它并排,同一个词三格内出现两次)。
502
- 'profiles.running.portBadge': ':{port}',
503
- 'profiles.running.originCurrent': '当前实例',
504
- 'profiles.running.originOwned': '本插件启动',
505
- 'profiles.running.originExternal': '其他实例',
506
- 'profiles.running.badgePlain': '运行中',
507
- 'profiles.stop': '停止',
508
- 'profiles.stop.hint': '停止本插件启动的这个实例(先请它自己退出,优雅期超时才强制终止进程树)',
509
- 'profiles.stop.hintExternal': '该档案的实例由另一个 DSH 实例(或手动启动)运行——停止会结束那个进程',
510
- 'profiles.stop.currentHint': '这就是你正在用的这个实例:不能在它自己的界面里停自己,请关闭该窗口/终端(或到启动它的那个实例里停止)',
511
- 'profiles.stopMessageExternal': '确认停止档案「{name}」的实例(端口 {port})?它由另一个 DSH 实例(或手动启动)运行,停止会关闭那个实例。',
512
- 'profiles.stopTitle': '停止实例',
513
- 'profiles.stopMessage': '确认停止档案「{name}」的实例(端口 {port})?该实例里正在进行的会话会被中断。',
514
- 'profiles.stop.done': '已停止档案「{name}」的实例',
515
- 'profiles.stop.forced': '已停止档案「{name}」的实例(进程未在优雅期内退出,已结束其进程树)',
516
- 'profiles.stop.gone': '档案「{name}」的实例早已不在(残留记录已清理)',
517
- 'profiles.copy': '复制命令',
518
- 'profiles.copied': '已复制重启命令',
519
- 'profiles.launch': '启动',
520
- 'profiles.launch.hint': '用该档案另起一个独立 DSH 实例(自动挑空闲端口、自动打开浏览器);当前实例不受影响。只支持 Web 形态档案。',
521
- 'profiles.launch.notWeb': '「{name}」不是 Web 形态,不能作为独立实例启动。请在终端运行:',
522
- 'profiles.launch.managed': '「{name}」由桌面版独占,命令行无法启动。请在桌面端应用里打开它并安装插件。',
523
- 'profiles.launch.started': '已启动档案「{name}」的独立实例(端口 {port})',
524
- 'profiles.launch.pending': '档案「{name}」的进程已启动(端口 {port}),但 {seconds} 秒内未确认就绪 —— 请看日志确认:',
525
- 'profiles.launch.open': '打开新实例',
526
- 'profiles.launch.copyUrl': '复制 URL',
527
- 'profiles.launch.copiedUrl': '已复制认证 URL',
528
- 'profiles.launch.warn.notReady': '未能确认 Web 服务已就绪(可能仍在启动,或启动失败)',
529
- 'profiles.launch.warn.urlNotFound': '没能从启动日志里抓到带 token 的认证 URL — 请从日志里复制 URL 打开',
530
- 'profiles.launch.log': '日志',
531
- 'profiles.create.title': '新建档案',
532
- 'profiles.create.hint': '在 $DSH_HOME/profiles/<name> 下创建标准 profile(package.json + cordis.patch.yml + pnpm-workspace.yaml);第三方插件需要在该档案里单独安装。',
533
- 'profiles.create.nameLabel': '档案名',
534
- 'profiles.create.placeholder': '例如 writing / rescue',
535
- 'profiles.create.templateLabel': '起步模板',
536
- 'profiles.create.action': '创建档案',
537
- 'profiles.create.done': '已创建档案「{name}」',
538
- 'profiles.nameRequired': '请输入档案名',
539
- 'profiles.nameTooLong': '档案名最长 64 个字符',
540
- 'profiles.nameInvalid': '档案名不合法:禁止路径分隔符(/ \\)、"."、".." 与 "node_modules"',
541
- 'profiles.nameReserved': '「{name}」是 DSH 保留名(web / headless / sdk / sdk-minimal / acp / desktop),不能手动创建',
542
- 'profiles.list.title': '全部档案',
543
- 'profiles.list.count': '共 {count} 个',
544
- 'profiles.list.hint': '点击档案行查看完整详情(bundle 层 / 依赖 / patch 原文)',
545
- 'profiles.row.summary': '{bundles} 个层 · patch {patch} 条 · 依赖 {deps}',
546
- 'profiles.detail.info': '档案信息',
547
- 'profiles.bundles.count': '{count} 个 bundle 层',
548
- 'profiles.shape.web': 'Web',
549
- 'profiles.shape.headless': 'Headless',
550
- 'profiles.shape.generic': '自定义',
551
- // cross-F3:中断的档案复制残留(半截副本)——必须与普通空档案可区分,且只给删除动作
552
- 'profiles.shape.incomplete': '未完成的副本',
553
- 'profiles.incomplete.from': '从「{name}」复制',
554
- 'profiles.incomplete.startedAt': '开始于 {time}',
555
- 'profiles.incomplete.dir': '目录 {path}',
556
- 'profiles.incomplete.hint': '这是一次被中断的档案复制:没有 package.json,无法启动。确认不需要后可直接删除(只删这个目录,不影响其它档案)。',
557
- 'profiles.list.incompleteCount': '未完成副本 {count} 个(不可启动)',
558
- 'profiles.delete.incompleteMessage': '确认删除未完成的副本「{name}」?将物理删除整个目录(含已拷入的部分文件),不可恢复。',
559
- 'profiles.issue.manifestInvalid': 'package.json 损坏',
560
- 'profiles.issue.patchTooLarge': 'patch 文件过大(未展示原文)',
561
- 'profiles.bundles': '插件层(bundles)',
562
- 'profiles.deps': '依赖',
563
- 'profiles.patchReload.live': 'patch 热生效',
564
- 'profiles.patchReload.startup': 'patch 仅启动应用',
565
- 'profiles.patchEntries': '{count} 条 patch',
566
- 'profiles.bundles.none': '(无)',
567
- 'profiles.nodeModules.yes': '已装 node_modules',
568
- 'profiles.nodeModules.no': '未装 node_modules',
569
- 'profiles.updatedAt': '更新于 {time}',
570
- 'profiles.dir': '目录',
571
- 'profiles.detail': '详情',
572
- 'profiles.detailTitle': '档案详情:{name}',
573
- 'profiles.detail.manifest': 'package.json',
574
- 'profiles.detail.patch': 'cordis.patch.yml',
575
- 'profiles.detail.patchMissing': '(无 patch 文件)',
576
- 'profiles.detail.patchTooLarge': '(patch 文件过大,未加载原文)',
577
- 'profiles.rename': '重命名',
578
- 'profiles.renameTitle': '重命名档案',
579
- 'profiles.renameMessage': '将档案「{name}」重命名为:',
580
- 'profiles.rename.done': '已重命名为「{name}」',
581
- 'profiles.delete': '删除',
582
- 'profiles.deleteTitle': '删除档案',
583
- 'profiles.deleteMessage': '确认删除档案「{name}」?将物理删除整个目录(含 node_modules),不可恢复。',
584
- 'profiles.delete.done': '已删除档案「{name}」',
585
- 'profiles.deleteCurrentWarning': '这是当前运行中的档案:删除后本次运行仍可用,但重启会失败。',
586
- 'profiles.deleteCurrentConfirm': '仍要删除当前档案',
587
- 'profiles.duplicate': '复制',
588
- 'profiles.duplicateHint': '把该档案整份复制成一份新档案(清单 / patch 层 / 依赖声明 / pnpm 锁文件;可连同已装的 node_modules 一起拷)',
589
- 'profiles.duplicateTitle': '复制档案',
590
- 'profiles.duplicateMessage': '把档案「{name}」复制成一份新档案:',
591
- 'profiles.duplicate.nameLabel': '副本档案名',
592
- 'profiles.duplicate.includeModules': '同时复制 node_modules(副本立刻可用)',
593
- 'profiles.duplicate.includeModulesHint': '同体积 · 约 30 秒 · 不勾选则副本启动前需装依赖',
594
- 'profiles.duplicate.onlyManifest': '无 node_modules:仅复制清单与 patch',
595
- 'profiles.duplicate.done': '已复制为档案「{name}」',
596
- 'profiles.duplicate.warn.depsNotInstalled': '副本没有带 node_modules:直接启动会因解析不到 bundle 而失败,先在副本目录安装依赖:',
597
- 'profiles.duplicate.copiedInstall': '已复制安装命令',
598
- 'profiles.error.exists': '同名档案已存在',
599
- 'profiles.error.notFound': '档案不存在(可能已被删除)',
600
- 'profiles.error.currentProfile': '该操作不能作用于当前运行中的档案',
601
- 'profiles.error.invalidName': '档案名不合法',
602
- 'profiles.error.reservedName': 'DSH 保留名不能手动创建',
603
- 'profiles.error.unknownTemplate': '未知的起步模板',
604
- 'profiles.error.notLaunchable': '该档案不是 Web 形态,没有浏览器界面(请用终端运行 dsh --profile <名>)',
605
- 'profiles.error.managedProfile': '「desktop」档案由 DeepSeek Harness Desktop 应用独占管理:删掉或改名会让桌面端下次启动时按 web 模板重建一个空档案(已装插件全部消失)。请在桌面端应用里管理它。',
606
- 'profiles.error.launcherUnavailable': '定位不到 dsh 启动器(非标准启动方式),请手动运行 dsh --profile <名>',
607
- 'profiles.error.launchFailed': '档案实例启动失败',
608
- 'profiles.error.alreadyRunning': '该档案的实例已经在运行(先停止再启动)',
609
- 'profiles.error.notRunning': '该档案没有正在运行的实例(可能已被手动关闭)',
610
- 'profiles.error.stopFailed': '停止实例失败',
611
- 'profiles.error.instanceRunning': '该档案的实例正在运行,请先停止再删除',
612
- 'profiles.error.generic': '操作失败:{message}',
613
- // —— 导入兼容性(Workbench Rebuild)——
614
- 'import.compatibility.sections': '{count} 个分区',
615
- 'import.compatibility.plugins': '已装 {installed} · 待装 {toInstall}',
616
- 'import.compatibility.paths': '{count} 项路径处理',
617
- 'import.compatibility.secrets': '{count} 项密钥补录',
618
- 'import.compatibility.score.excellent': '优秀',
619
- 'import.compatibility.score.good': '良好',
620
- 'import.compatibility.score.partial': '部分兼容',
621
- 'import.compatibility.score.unsupported': '不支持',
622
- 'import.compatibility.sectionsTitle': '备份包含的分区',
623
- // —— 同步状态行(Workbench Rebuild)——
624
- // —— Shell(Workbench Rebuild 2026-09:导航条/状态栏/抽屉)——
625
- 'nav.home': '首页',
626
- 'nav.export': '导出',
627
- 'nav.import': '导入',
628
- 'nav.sync': '同步',
629
- 'nav.market': '市场',
630
- // 快照详情弹窗(点快照卡片打开;只读)
631
- // 重启之后不再让人重启(真机反馈):这一句只陈述「本次启动的实际情况」
632
- 'shell.running.restore': '快照恢复',
633
- 'shell.status.idle': '就绪',
634
- 'shell.status.running': '{count} 个任务进行中',
635
- 'shell.status.recovery': '恢复待处理',
636
- // —— 运行中心(活动抽屉「进行中」段;终止 = 协作式取消)——
637
- 'shell.status.runningAction': '查看进行中的任务',
638
- 'runs.loading': '正在读取任务列表…',
639
- 'runs.loadFailed': '读取任务列表失败:{message}',
640
- 'runs.empty': '近期没有任何任务(运行中的任务会实时出现在这里)',
641
- 'runs.retentionHint': '刚结束的任务保留 30 分钟;完整操作审计见「迁移历史」',
642
- 'runs.runningBadge': '{count} 个进行中',
643
- 'runs.awaitingBadge': '{count} 个等待你选择',
644
- 'runs.awaitingDecision': '等待你选择',
645
- 'runs.decideNow': '去选择',
646
- 'runs.cancelAction': '终止…',
647
- 'runs.counts': '成功 {ok} · 警告 {warn} · 失败 {fail} · 跳过 {skip}',
648
- 'runs.kind.export': '导出',
649
- 'runs.kind.import': '导入',
650
- 'runs.kind.autosync': '自动同步',
651
- 'runs.kind.sync-apply': '从远端合并',
652
- 'runs.kind.backup-schedule': '定时备份',
653
- 'runs.kind.restore': '快照恢复',
654
- 'runs.kind.profile-switch': '档案切换',
655
- 'runs.kind.recovery': '事故恢复',
656
- 'runs.status.running': '进行中',
657
- 'runs.status.done': '已完成',
658
- 'runs.status.failed': '失败',
659
- 'runs.progress.running': '执行中',
660
- 'runs.progress.done': '已完成',
661
- 'runs.progress.failed': '已失败',
662
- 'runs.cancelTitle': '终止这个任务',
663
- 'runs.cancelCost': '已应用 {applied} 项、未执行 {pending} 项',
664
- 'runs.cancelCostUnknown': '已应用项数未知(宿主未上报进度计数)',
665
- 'runs.cancel.rollback': '回滚到导入前',
666
- 'runs.cancel.rollbackDesc': '撤销本次导入已应用的全部改动,回到导入前的快照状态',
667
- 'runs.cancel.keep': '保留已应用项',
668
- 'runs.cancel.keepDesc': '只停掉未执行的部分,已经写进配置的内容留在本机;随后会自动做一次启动安全审计',
669
- 'runs.cancelKeepWarn': '「保留」会留下一笔未完成的导入:审计只能压低 DSH 启动失败的概率,不能保证。若 DSH 起不来,用「事故恢复 / SAFE MODE」或离线 CLI 处理。',
670
- 'runs.recommended': '推荐',
671
- 'runs.cancelAbort': '继续运行',
672
- 'runs.cancelConfirm': '确认终止',
673
- 'runs.cancelRequestedToast': '已请求终止:将在当前计划项完成后暂停',
674
- 'runs.cancelWaiting': '已请求终止 · 等当前步骤结束 · 已等 {minutes} 分钟',
675
- 'runs.cancelWaitingJustNow': '已请求终止 · 等当前步骤结束',
676
- 'runs.cancelStuck': '长时间没有到达安全点。若出现「跳过当前插件」请先点它;仍不行请重启 DSH —— 环境锁由本进程持有,重启即释放,不重启时其他写操作会一直被拒(423)。',
677
- 'runs.lock.title': '环境锁',
678
- 'runs.lock.needsAction': '需要处理',
679
- 'runs.lock.held': '使用中',
680
- 'runs.lock.attentionDesc': '残留锁(持有进程已不存在)或锁状态无法判定:重试/重启都不会自愈,需显式回收。',
681
- 'runs.lock.heldDesc': '被另一项任务持有,会自行释放;若它就是上方卡住的那次导入,只能重启 DSH。',
682
- 'runs.lock.recover': '回收残留锁',
683
- 'runs.lock.recoverOk': '已回收残留锁',
684
- 'runs.lock.recoverRefused': '未回收({state}):只有「持有者已确证死亡」的残留锁才允许回收,活锁会自行释放',
685
- 'runs.lock.recoverFailed': '回收失败:{message}',
686
- 'runs.lock.readFailed': '读不到环境锁状态:{message}',
687
- 'runs.skipRequestedToast': '已请求跳过当前插件',
688
- 'runs.decisionAcceptedToast': '已提交你的选择',
689
- 'runs.decisionTooLateToast': '来不及了:等待超时已按安全侧默认(回滚)继续',
690
- 'runs.actionFailed': '操作失败:{message}',
691
- 'runs.unsupported': '该任务不支持手动终止',
692
- // —— Overview 控制中心(Workbench Rebuild v2)——
693
- 'overview.result.success': '成功',
694
- 'overview.result.failed': '失败',
695
- 'overview.result.skipped': '跳过',
696
- 'overview.activity.copy': '复制',
697
- 'overview.activity.redacted': '(文件名已脱敏)',
698
- 'overview.sections.entries': '{count} 项',
699
- 'overview.nav.activity': '活动',
700
- 'overview.nav.about': '关于',
701
- // ---------- 会话归位(issue #45:跨机恢复后按 cwd 归位) ----------
702
- 'nav.more': '更多',
703
- 'palette.label': '命令面板',
704
- 'palette.shortcut': '⌘/Ctrl+K',
705
- 'palette.hint': '↑↓ 选择 · ↵ 执行 · Esc 关闭',
706
- 'task.title.about': '关于',
707
- 'task.title.export': '导出配置',
708
- 'task.title.history': '迁移历史',
709
- 'task.title.import': '导入配置',
710
- 'task.title.market': '逛市场',
711
- 'task.title.publish': '发布到市场',
712
- 'task.title.runs': '活动记录',
713
- 'task.back': '← 返回{page}',
714
- 'common.infoHint': '查看说明',
715
- 'about.update.title': '插件更新',
716
- 'about.update.offline': '检查更新会访问 npm registry;离线或受限网络下失败属正常,不影响其它功能。',
717
- 'about.update.current': '当前版本 {version}',
718
- 'about.update.upToDate': '已是最新版本',
719
- 'about.update.available': '有新版本 {latest}',
720
- 'about.update.failed': '检查失败:{error}',
721
- 'about.update.commandHint': '装完需重启 DSH',
722
- 'about.update.copyCommand': '复制升级命令',
723
- 'about.update.noCommand': '未识别到当前档案,或该档案由桌面端独占管理 —— 请在 DSH 的插件页更新本插件。',
724
- 'about.update.check': '检查更新',
725
- 'about.update.recheck': '重新检查',
726
- 'about.update.apply': '立即更新',
727
- 'about.update.applied': '已更新到 {version},重启 DSH 后生效',
728
- 'about.update.dialog.title': '更新到 {version}',
729
- 'about.update.dialog.from': '当前版本 {current}',
730
- 'about.update.dialog.loadingNotes': '正在获取更新说明…',
731
- 'about.update.dialog.notesFailed': '获取更新说明失败:{error}(不影响更新)',
732
- 'about.update.dialog.noNotes': '未找到 v{version} 的发布说明,可直接更新。',
733
- 'about.update.dialog.notExact': '未找到 v{version} 的发布说明,以下为最新一条发布内容。',
734
- 'about.update.dialog.viewOnGithub': '在 GitHub 查看全部版本',
735
- 'about.update.dialog.viewReleaseOnGithub': '在 GitHub 查看此版本',
736
- 'about.update.dialog.install': '立即更新',
737
- 'about.update.dialog.installing': '正在更新,请稍候…',
738
- 'about.update.dialog.done': '更新完成:已安装 v{version}。',
739
- 'about.update.dialog.restart': '需完全退出并重启 DSH 才会生效',
740
- 'about.update.code.invalidVersion': '版本号无效,未能更新。',
741
- 'about.update.code.profileUnknown': '无法识别当前档案,请在 DSH 的插件页更新本插件。',
742
- 'about.update.code.unsupportedProfile': '桌面端档案由桌面应用独占管理,请在 DSH 的插件页更新本插件。',
743
- 'about.update.code.nonRegistryInstall': '当前是本机/开发来源安装(link/file/git),不会用 registry 版本覆盖它 —— 请在来源目录更新。',
744
- 'about.update.code.notNewer': '目标版本不高于当前版本,无需更新。',
745
- 'about.update.code.installFailed': '更新失败:{error}',
746
- 'palette.group.action': '动作',
747
- 'palette.group.library': '产物库',
748
- 'palette.group.navigate': '前往',
749
- 'palette.group.rescue': '处置',
750
- 'palette.group.view': '视图',
751
- 'palette.placeholder': '输入命令或搜索…',
752
- 'palette.empty': '没有匹配的命令',
753
- 'shell.runs.title': '运行',
754
- 'environment.title': '环境',
755
- 'environment.tab.profiles': '档案',
756
- 'environment.tab.maintenance': '维护与诊断',
757
- 'profiles.version.dsh': 'DSH {version}',
758
- 'profiles.version.format': '会话格式 v{version}',
759
- 'profiles.format.newer': '对话在此实例不可见',
760
- 'profiles.format.older': '对话在该档案不可见',
761
- 'nextSteps.sessionsRestart.hint': '写入 {count} 个会话文件;DSH 只在启动时建立会话列表与工作区投影 —— 桌面端退出应用重开,CLI 档案重启 dsh。',
762
- 'import.source.title': '来源与兼容性',
763
- 'import.source.dsh': 'DSH 版本:{source} → 本机 {target}',
764
- 'import.source.platform': '平台:{source} → 本机 {target}',
765
- 'import.source.schema': '备份格式:v{version}',
766
- 'import.source.reasons': '判定依据',
767
- 'import.sessionFormat.skipped': '本次按「跳过」处置未导入 {count} 条会话(格式版本高于本机 DSH,导入了也看不到)',
768
- 'import.sessionFormat.retryPlan': '重新生成计划',
769
- 'import.sessionFormat.option.abort': '中止导入(推荐)',
770
- 'import.sessionFormat.hint.abort': '在计划阶段就停下,不写入任何内容。',
771
- 'import.sessionFormat.option.skip': '跳过这些会话',
772
- 'import.sessionFormat.hint.skip': '这些会话默认不勾选(可在内容选择器改回),其余分区照常导入。',
773
- 'import.sessionFormat.option.guide': '仅提示,照常导入',
774
- 'import.sessionFormat.hint.guide': '会话文件照常写入,但本机 DSH 里看不到这些对话。',
775
- 'import.sessionFormat.title': '本机读不了的会话',
776
- 'import.sessionFormat.blocked': '已按「中止」停止,未写入任何内容 —— 改选「跳过」或「仅提示」后重新生成计划。',
777
- 'import.sessionFormat.summary': '包内 {count} 条会话是 v{newer} 格式,本机只支持 v{target}:DSH 会静默跳过,不报错也不出现在工作区',
778
- 'import.sessionFormat.sampled': '格式体检是抽查:已检查 {checked} 条,另有 {skipped} 条未检查(未检查的按可读处理,不参与本次处置)',
779
- 'import.sessionFormat.guide.upgrade': '把本档案的 DSH 升级到支持 v{newer} 的版本(当前支持 v{target})后重新导入;或在导出机用不高于 v{target} 的 DSH 重新导出。',
780
- 'import.sessionFormat.guide.doctor': '离线体检本机存量会话(只读):',
781
- 'import.sessionFormat.guide.copy': '复制离线体检命令',
782
- 'backupFiles.encryptedHint': '整包加密的备份:导入时需先输入备份密码解锁(文件本身没有损坏)',
783
- 'library.expand': '展开 {name}',
784
- 'library.moreActions': '更多操作',
785
- 'backupFiles.inspectEncrypted': '这是整包加密的备份,无法直接查看内容:请点「导入」——向导会先让你输入备份密码解锁,解锁后即可看到包含的分区与差异。',
786
- 'library.source.all': '全部',
787
- 'library.kind.snapshot': '本机快照',
788
- 'library.kind.backupFile': '备份文件',
789
- 'library.kind.remote': '远端快照',
790
- // cloud-sync 借鉴项 ⑥:快照的推送方设备(仅当快照 manifest 带 deviceName 时才渲染;旧快照不显示占位)
791
- 'library.remoteDevice': '由 {device} 推送',
792
- 'library.kind.market': '市场配置',
793
- 'library.title': '产物库',
794
- 'library.searchPlaceholder': '搜索文件名 / 备注 / 快照 id',
795
- 'library.sourceFailed': '{count} 个来源读取失败',
796
- // 读不到 ≠ 没有:快照目录被权限/占位挡住时如实说明(宿主 out.unreadable 透传)
797
- 'library.snapshotsUnreadable': '快照目录读取失败:可能有快照读不出',
798
- // 预览后磁盘已变化:绝不执行另一套没确认过的动作,请重新预览
799
- 'snapshots.planChanged': '环境在预览后发生了变化,恢复已取消 —— 请重新预览确认',
800
- // 删除快照被 recovery 引用挡住(与自动保留清理的 F3 豁免同源)
801
- 'library.snapshotReferencedByRecovery': '该快照是事故恢复的回滚点,已拒绝删除(请先处理恢复事项)',
802
- 'library.snapshotReferenceUnreadable': '读不到恢复引用清单,已保守拒绝删除(请重试)',
803
- 'library.retry': '重试',
804
- 'library.emptyFiltered': '没有匹配的产物',
805
- 'library.delete': '删除',
806
- 'library.remoteDeleteTitle': '删除远端快照',
807
- 'library.remoteDeleteConfirm': '确认删除远端快照 {time}?该文件将从远端仓库中删除,不可恢复。',
808
- 'library.remoteDeleteBaseline': '注意:这是当前的同步基线(本机上次同步到的那份)。删除不会改动本机配置,但下次同步会重新比对远端最新快照。',
809
- 'library.remoteDeleted': '已删除远端快照',
810
- 'library.summary.count': '共 {count} 个',
811
- 'library.summary.filtered': '{shown} / {total} 个',
812
- 'library.new.export': '手动导出',
813
- 'library.new.import': '从文件导入',
814
- 'library.new.market': '逛市场',
815
- 'import.reason.crossPlatform': '跨平台:备份来自 {source},本机是 {target}',
816
- 'palette.rescue.recovery': '事故恢复',
817
- 'palette.rescue.mode': '救援模式',
818
- // S7:回滚点(工作区 + 会话回退)命令标题
819
- 'palette.rescue.rollback': '回滚点(工作区 + 会话回退)',
820
- 'import.reason.schemaUnsupported': '包内 schema 版本 v{version} 超出本插件支持范围',
821
- 'import.reason.missingSections': '备份声明但包内缺失 {count} 个分区:{sections}',
822
- 'import.reason.sourceNewer': '备份来自更新的 DSH({source} → 本机 {target}):可能有本机不认识的配置',
823
- 'import.reason.sourceOlder': '备份来自更旧的 DSH({source} → 本机 {target}):向后兼容',
824
- // ---------- 外部 agent 导入(2026-10-04:Claude Code / Hermes / Cursor / Codex / Copilot / Antigravity) ----------
825
- // t16(GUI 静态资产):**契约在先** —— 文案覆盖全部冻结来源(配置类 6 + 会话类 24)与全部 skip 码;
826
- // t17 的组件只做 key → 文案映射(禁止渲染裸机器码),因此这里必须逐码覆盖,缺一个即「用户看见机器码」。
827
- 'foreign.source.title': '从其它 agent 导入',
828
- 'foreign.source.hint': '读取本机已装的其它 agent 配置,先看清将导入什么,再交给既有的导入向导(分析只读,零写入)。',
829
- 'foreign.source.loading': '正在检测本机配置…',
830
- 'foreign.source.empty': '未检测到任何可导入的其它 agent 配置。',
831
- 'foreign.source.unknown': '未识别的来源。',
832
- // 来源显示名(与 registry 的 labelKey 同源,不得借用 SectionId 名字)
833
- 'foreign.source.claude-code': 'Claude Code',
834
- 'foreign.source.hermes': 'Hermes',
835
- 'foreign.source.cursor': 'Cursor',
836
- 'foreign.source.codex': 'Codex CLI',
837
- 'foreign.source.copilot': 'GitHub Copilot CLI',
838
- 'foreign.source.antigravity': 'Google Antigravity',
839
- // 会话类来源(档 B,2026-10-05;顺序 = ForeignSourceId union)
840
- 'foreign.source.gemini': 'Gemini CLI',
841
- 'foreign.source.reasonix': 'Reasonix',
842
- 'foreign.source.opencode': 'OpenCode',
843
- 'foreign.source.mimocode': 'MimoCode',
844
- 'foreign.source.zcode': 'ZCode',
845
- 'foreign.source.grokbuild': 'Grok Build',
846
- 'foreign.source.openclaw': 'OpenClaw',
847
- 'foreign.source.pi': 'Pi',
848
- 'foreign.source.kimi': 'Kimi CLI',
849
- 'foreign.source.kilocode': 'Kilo Code',
850
- 'foreign.source.qoder': 'Qoder',
851
- 'foreign.source.chatgpt': 'ChatGPT',
852
- 'foreign.source.workbuddy': 'WorkBuddy',
853
- 'foreign.source.qwen': '千问办公',
854
- 'foreign.source.continue': 'Continue',
855
- 'foreign.source.cline': 'Cline',
856
- 'foreign.source.goose': 'Goose',
857
- 'foreign.source.dsh4': 'DSH 会话日志(V4 代次)',
858
- 'foreign.source.zed': 'Zed',
859
- 'foreign.source.crush': 'Crush',
860
- 'foreign.source.teleagent': 'TeleAgent',
861
- 'foreign.source.trae': 'Trae',
862
- 'foreign.source.vibe': 'Vibe',
863
- 'foreign.source.dsh': 'DSH 会话日志(V0-V3 代次)',
864
- // 导入过程(复用既有向导:宿主把外部配置翻译成临时 bundle 后走同一条流水线)
865
- 'foreign.action.import': '开始导入',
866
- 'foreign.action.refresh': '重新检测',
867
- 'foreign.importFailed': '导入失败:{reason}',
868
- 'foreign.previewTitle': '将导入的内容',
869
- 'foreign.previewSections': '包含分区:{sections}',
870
- 'foreign.previewDryRun': '只读预览:不会写入任何配置。',
871
- // F-3:任何输入变化都作废上一次的产包结果(照 dsh-movein 的 resetPreview 语义),
872
- // 并留下可见反馈 —— 否则用户会以为结果被静默吞掉。
873
- 'foreign.previewReset': '来源已变化:上一次的产包结果作废,请重新「开始导入」。',
874
- // 三类已知有损(F-5)的**卡片 chrome**(标题 / 导语 / 适用性徽章);逐条文案在
875
- // src/ui/i18n.ts(由 src/ui/foreign-view.ts 的 foreignLossyRows 渲染)。
876
- 'foreign.lossy.title': '已知有损',
877
- 'foreign.lossy.hint': '下面三条是「外部配置 → bundle → 导入」这条流水线的既有行为:都不阻断导入,兼容性评分也不会为它们给出原因。',
878
- 'foreign.lossy.applies': '本包适用',
879
- 'foreign.lossy.notApplies': '本包不涉及',
880
- 'foreign.credentialRefs': '需补录凭据 {count} 项(值未带出)',
881
- 'foreign.credentialRefsNone': '无需补录凭据',
882
- // 未迁移内容(机器码 → 文案;键名 = 'foreign.skip.<机器码>',缺键即编译期红灯)
883
- 'foreign.skipped': '未迁移 {count} 项',
884
- 'foreign.skip.unsupported-hooks': 'settings 的 hooks:DSH 无对等结构,未迁移',
885
- 'foreign.skip.unsupported-commands': '斜杠命令:与 DSH 提示词不是同一语义,本次未迁移',
886
- 'foreign.skip.credentials-not-migrated': '凭据字段只记录名字,值不读取也不迁移',
887
- 'foreign.skip.skill-missing-file': '技能目录缺少 SKILL.md,未迁移',
888
- 'foreign.skip.skill-invalid-frontmatter': '技能 frontmatter 非法(缺 name/description 或不是合法 YAML),DSH 会静默丢弃,故未迁移',
889
- 'foreign.skip.skill-invalid-name': '技能名含非法字符或路径穿越,未迁移',
890
- 'foreign.skip.mcp-server-empty': 'MCP 条目既无 command 也无 url,未迁移',
891
- 'foreign.skip.mcp-type-sse-coerced': 'MCP type=sse:按带 url 的 http 处理',
892
- 'foreign.skip.mcp-credential-redacted': 'MCP 值里发现凭据字段:值已丢弃,只保留字段名与引用名',
893
- 'foreign.skip.source-unreadable': '外部文件读不到、超限或解析失败',
894
- 'foreign.skip.source-empty-file': '配置文件存在但为空(0 字节):如实上报,不产出空分区',
895
- 'foreign.skip.source-location-overridden': '配置位置被环境变量覆盖,按覆盖后的位置读取',
896
- 'foreign.skip.session-cwd-derived': '会话记录里没有 cwd:按源侧目录名推导出工作目录,且该目录在本机确实存在(推不出来的一律按「缺少 cwd」跳过)',
897
- 'foreign.skip.source-needs-explicit-path': '该来源没有自动探测位置:必须显式提供导出文件路径(自动探测永远不会命中)',
898
- 'foreign.skip.session-format-version-unknown': '本机 DSH 会话格式版本未知:不猜版本,整批会话未迁移',
899
- 'foreign.skip.session-format-unsupported': '本机 DSH 会话格式版本不受支持,该会话未迁移',
900
- 'foreign.skip.session-missing-cwd': '会话记录缺少 cwd,无法归位到工作区',
901
- 'foreign.skip.session-unsafe-id': '会话文件名不能作为安全路径段,未迁移',
902
- 'foreign.skip.session-empty': '会话没有任何可迁移的事件',
903
- 'foreign.skip.session-unparsable': '会话存在解析不出来的行,未迁移',
904
- 'foreign.skip.unsupported-session-record': '该类型的会话记录本版不迁移',
905
- 'foreign.skip.session-id-conflict': '同 id 会话已存在:不覆盖,跳过并保留本机既有的那条',
906
- 'foreign.skip.skill-id-conflict': '技能重名:先到先得,其余跳过',
907
- 'foreign.skip.sessions-not-migrated': '该来源的对话存储形态本版不迁移(只报告,不产出会话分区)',
908
- 'foreign.skip.memory-report-only': '记忆文件只报告、不导入(正文不进备份包)',
909
- 'foreign.skip.skill-category-flattened': '技能带分类层级:已压平为 DSH 的单层技能目录',
910
- 'foreign.skip.legacy-rules-file': '旧式规则文件:DSH 无对等结构,只报告',
911
- 'foreign.skip.instructions-merged': '多份指令源被合并为一个全局指令文件',
912
- 'foreign.skip.instructions-override-selected': '命中更高优先级的指令文件(override),按它导入',
913
- // 冲突语义(用户决策:同 id 不覆盖、跳过并报码)
914
- 'foreign.conflict.policy': '同 id 冲突不覆盖本机内容:跳过并逐条报告',
27
+ ...commonZh,
28
+ ...overviewZh,
29
+ ...exportZh,
30
+ ...importZh,
31
+ ...restoreZh,
32
+ ...backupZh,
33
+ ...reportZh,
34
+ ...nextStepsZh,
35
+ ...aboutZh,
36
+ ...profilesZh,
37
+ ...importCompatZh,
38
+ ...shellZh,
39
+ ...overviewControlZh,
40
+ ...sessionsZh,
41
+ ...foreignZh,
915
42
  } as const;
916
43
 
917
44
  export const en: Record<keyof typeof zh, string> = {
918
- 'section.label': 'Backup & Migration',
919
- 'section.description': 'Export / import / migrate DSH configuration (backups exclude secrets; encrypted backups optional)',
920
- // Section display names (SectionId → text; the single mapping lives in common/section-labels.ts, UI-08)
921
- 'section.settings': 'Settings',
922
- 'section.ui': 'UI Preferences',
923
- 'section.providers': 'Providers & Models',
924
- 'section.plugins': 'Plugin list',
925
- 'section.mcp': 'MCP Servers',
926
- 'section.prompts': 'Prompts',
927
- 'section.skills': 'Skills',
928
- 'section.agentPresets': 'Agent Presets',
929
- 'section.agentInstructions': 'Agent Instructions',
930
- 'section.workspaces': 'Workspaces',
931
- 'section.pluginFiles': 'Plugin config files',
932
- 'section.credentialsStatus': 'Credentials Status',
933
- 'section.secrets': 'Secrets',
934
- 'section.sessions': 'Sessions',
935
- 'section.self': 'Config Manager settings',
936
- 'section.pluginData': 'Plugin data dirs',
937
- 'section.pluginAssets': 'Plugin large files',
938
- 'view.about': 'About',
939
- 'about.snippet.environment': '### Environment',
940
- 'about.releaseNotes.rateLimited': 'GitHub API rate limit exceeded — please try again later, or view the release notes directly on GitHub.',
941
- 'about.releaseNotes.fetchFailed': 'GitHub API request failed ({status} {statusText})',
942
- 'about.snippet.plugin': '- Plugin version: {version}',
943
- 'about.snippet.dsh': '- DSH version: {version}',
944
- 'about.snippet.platform': '- Platform: {platform}',
945
- 'about.snippet.pluginDir': '- Plugin directory: {dir}',
946
- 'common.close': 'Close',
947
- 'common.cancel': 'Cancel',
948
- 'common.labelSeparator': ': ',
949
- 'common.back': 'Back',
950
- 'common.next': 'Next',
951
- 'common.retry': 'Retry',
952
- // Persist failure (sessionStorage quota / unavailable): state is in memory but a refresh loses it
953
- 'common.saveFailed': 'Could not write browser storage: the current progress stays in this page only and is lost on refresh',
954
- 'common.loading': 'Loading…',
955
- 'common.unknownError': 'Unknown error',
956
- 'common.parens': '({text})',
957
- 'about.cli.help': 'List every CLI command and its usage (works offline)',
958
- 'about.cli.snapshots': 'List local rollback snapshots (no running DSH needed)',
959
- 'about.cli.restore': 'Restore to the pre-import state (offline)',
960
- 'about.cli.reinstall': 'One-shot DSH reinstall (rescue)',
961
- 'common.listSeparator': ', ',
962
- 'toast.copied': 'Copied to clipboard',
963
- 'toast.copyFailed': 'Copy failed — select the text and copy manually',
964
- // —— Overview(2026-09 UX refactor)——
965
- 'overview.health.ok': 'All healthy',
966
- 'overview.health.noBackup': 'No backups yet',
967
- 'overview.health.scheduleFailed': 'The last scheduled backup failed — check backup settings',
968
- 'overview.health.recovery': 'Unresolved recovery items need attention',
969
- 'overview.health.autoBackupOff': 'Auto backup is off — this machine only has manual backups',
970
- 'overview.health.recoveryAction': 'Go to Incident recovery',
971
- 'overview.metric.backups': 'Backups',
972
- 'overview.metric.snapshots': 'Snapshots',
973
- 'overview.metric.schedule': 'Auto backup',
974
- 'overview.metric.sync': 'Sync',
975
- 'overview.state.on': 'On',
976
- 'overview.state.off': 'Off',
977
- 'overview.meta.lastBackup': 'Last: {time}',
978
- 'overview.meta.noBackup': 'No records yet',
979
- 'overview.meta.scheduleOn': 'Enabled · last run {time}',
980
- 'overview.meta.scheduleOff': 'Disabled (enable for automatic protection)',
981
- 'overview.meta.scheduleFail': 'Last backup failed',
982
- 'overview.meta.syncOn': 'Configured · last sync {time}',
983
- 'overview.meta.syncOff': 'Not configured',
984
- 'overview.meta.syncUnavailable': 'Timed out',
985
- 'overview.meta.never': 'Never run',
986
- 'overview.time.now': 'just now',
987
- 'overview.time.min': '{n} min ago',
988
- 'overview.time.hour': '{n} hr ago',
989
- 'overview.time.day': '{n} d ago',
990
- 'overview.quick.backup': 'Back up now',
991
- 'overview.quick.backupDone': 'Backup finished',
992
- // issue #43: the host returns 200 + ok:true for skipped/failed too; the toast channel follows run.status
993
- 'overview.quick.backupSkippedDisabled': 'Skipped: scheduled backups are disabled (no backup file was created)',
994
- 'overview.quick.backupSkippedRunning': 'Skipped: a previous backup is still running',
995
- 'overview.quick.backupSkippedConflict': 'Skipped: another task is running (duplicate guard)',
996
- 'overview.quick.backupSkippedLocked': 'Skipped: the environment lock is held (another task is running, or a stale lock needs recovery)',
997
- 'overview.quick.backupSkippedOther': 'Skipped: the backup service cannot run right now (see host logs for details)',
998
- 'overview.quick.backupFailed': 'Backup failed: {message}',
999
- 'overview.activity.title': 'Recent activity',
1000
- 'overview.activity.colTime': 'Time',
1001
- 'overview.activity.colEvent': 'Action',
1002
- 'overview.activity.colDetail': 'Detail',
1003
- 'overview.activity.colResult': 'Result',
1004
- 'overview.activity.empty': 'No activity yet',
1005
- 'overview.activity.unavailable': 'The activity log could not be read (this is not \"no activity\")',
1006
- // Say it plainly when some of the five read-only requests failed (failures used to be swallowed into null)
1007
- 'overview.loadFailed': '{count} data {count, plural, request|requests} failed: {message} — the metrics below may be incomplete',
1008
- 'overview.empty.title': 'Start protecting your configuration',
1009
- 'overview.empty.step1': 'Create a backup',
1010
- 'overview.empty.step2': 'Export the ZIP',
1011
- 'overview.empty.step3': 'Import on the new machine',
1012
- 'overview.kind.import': 'Import',
1013
- 'overview.kind.restore': 'Restore',
1014
- 'overview.kind.rollback': 'Rollback',
1015
- 'overview.kind.profile-create': 'Profile created',
1016
- 'overview.kind.profile-select': 'Next-launch profile set',
1017
- 'overview.kind.profile-switch': 'Profile switch',
1018
- 'overview.kind.profile-delete': 'Profile delete',
1019
- 'overview.kind.profile-rename': 'Profile rename',
1020
- 'overview.kind.profile-save': 'Profile save',
1021
- 'overview.kind.profile-import': 'Profile import',
1022
- 'overview.kind.sync-apply': 'Sync apply',
1023
- 'overview.kind.autosync': 'Auto sync',
1024
- 'overview.kind.recovery': 'Recovery',
1025
- 'overview.kind.backup': 'Scheduled backup',
1026
- 'overview.kind.backup-manual': 'Manual backup',
1027
- 'overview.kind.snapshot-delete': 'Snapshot delete',
1028
- 'overview.kind.snapshot-prune': 'Snapshot prune',
1029
- 'overview.kind.other': 'Other operation',
1030
- 'export.hint': 'Exports the recommended sections by default (portable, no device-specific data).',
1031
- 'export.encrypt': 'Encrypt backup',
1032
- 'export.encryptHint': 'Encrypt the entire backup file with a password (AES-256-GCM). The password is used once and never written into the backup or any config file; it is required to unlock the backup on import.',
1033
- 'export.password': 'Backup encryption password',
1034
- 'export.passwordConfirm': 'Confirm password',
1035
- 'export.passwordMismatch': 'Passwords do not match',
1036
- 'export.passwordRequired': 'An encryption password is required when encrypting the backup',
1037
- 'export.includeSecrets': 'Export secrets',
1038
- 'export.includeSecretsHint': 'Write the real secrets (credential values) into the backup. Secrets must be stored encrypted: checking this also checks \u201cEncrypt backup\u201d; unchecking \u201cEncrypt backup\u201d unchecks this.',
1039
- 'export.run': 'Start Export',
1040
- 'export.download': 'Download backup file',
1041
- 'export.saved': 'Saved to downloads: {name}',
1042
- 'export.selectionWarnings': 'Device-specific sections may not apply on another machine:',
1043
- 'export.fileName': 'Custom file name',
1044
- 'export.fileNameHint': 'Leave empty to auto-name (dsh-config-<date>.zip); no need to type .zip — it is appended automatically. Letters, digits, spaces, - _ . only.',
1045
- 'export.fileNameInvalid': 'Invalid file name: letters, digits, spaces, - _ . only, no path separators.',
1046
- 'export.note': 'Note',
1047
- 'export.notePlaceholder': 'e.g. Full backup before migration / 2026-08 archive',
1048
- 'export.noteHint': 'The note is shown in the local backup list (and travels with the config backup) so you can tell exports apart.',
1049
- 'export.compositionTitle': 'This export',
1050
- 'export.compositionHint': 'Estimated from the current selection (read-only, zero writes)',
1051
- 'export.compositionPartial': '{sections} {sections, plural, section|sections} · {units} {units, plural, item|items} read · ~{size} (includes sections not read yet; the real total is no less)',
1052
- 'export.compositionEmpty': 'Nothing selected to export',
1053
- // —— Content picker (Phase 1: per-item export selection) ——
1054
- 'picker.title': 'Choose what to export',
1055
- 'picker.search': 'Search sections or items…',
1056
- 'picker.selectAll': 'Select all',
1057
- 'picker.selectNone': 'Select none',
1058
- 'picker.expand': 'Expand',
1059
- 'picker.collapse': 'Collapse',
1060
- 'picker.partial': 'Partial',
1061
- 'picker.blankSession': 'New Session',
1062
- 'picker.highRisk': 'High risk',
1063
- 'picker.highRiskHint': 'This section comes from a public repository without official review: selecting it installs plugins / writes files / injects global instructions on this machine. A rollback snapshot is taken before import, so the risk stays yours to confirm.',
1064
- 'picker.locked': 'Bundle',
1065
- 'picker.lockedHint': 'Must be exported together with its group (e.g. a pnpm patch declaration and its patch file); clearing either clears the whole group.',
1066
- 'picker.selectedOf': '{selected}/{total} selected',
1067
- 'picker.fileCount': '{count} {count, plural, file|files}',
1068
- 'picker.summary': 'Exporting {sections} {sections, plural, section|sections} · {units} {units, plural, item|items} · ~{size}',
1069
- 'picker.loading': 'Reading exportable items…',
1070
- 'picker.loadingItems': 'Reading items…',
1071
- 'picker.loadingSection': 'Loading…',
1072
- 'picker.empty': 'No matching sections or items',
1073
- 'picker.sessionWorkspaceLinked': 'Session and workspace selection are linked: checking a session also checks the workspace that owns it; unchecking a workspace unchecks its sessions',
1074
- 'picker.unitsUnavailable': 'Item lists failed to load for some sections; those will be exported as a whole.',
1075
- 'picker.sectionLoadFailed': 'Load failed · exported as a whole',
1076
- 'picker.deviceSpecific': 'Device-specific',
1077
- 'picker.sensitive': 'Sensitive',
1078
- 'picker.showAll': 'Show all ({count})',
1079
- 'picker.summaryImport': '{sections} {sections, plural, section|sections} · {units} {units, plural, item|items}',
1080
- // —— Plugin tree embedded in the Extensions group (plugin → list entry / data dirs / large files) ——
1081
- 'picker.pluginRoot': 'Plugins',
1082
- 'picker.pluginLeafPlugin': 'Plugin list entry',
1083
- 'picker.pluginLeafConfig': 'Data dir (config)',
1084
- 'picker.pluginLeafAssets': 'Large files (wallpapers / databases)',
1085
- 'picker.pluginAreaUnread': 'Not read yet',
1086
- 'picker.pluginAreaAbsent': 'No content',
1087
- 'picker.bucketPlugins': 'Other entries of the plugins section (patch lines / pnpm-workspace.yaml)',
1088
- 'picker.bucketLooseFiles': 'Config not attributable to a plugin (~/.dsh root)',
1089
- 'picker.bucketHint': 'These entries have no provable plugin ownership — we never guess; expand to tick them one by one.',
1090
- 'picker.groupHint.extensions': 'Only provable ownership is listed (built-in source table + plugins that declare dsh.dataDirs); config without a package name stays under "unowned".',
1091
- // Export catalog group titles (mirror of ui/types.ts EXPORT_GROUPS; it decides the order)
1092
- 'group.general': 'General',
1093
- 'group.ai': 'AI',
1094
- 'group.extensions': 'Extensions',
1095
- 'group.mcp': 'MCP / Tools',
1096
- 'group.customization': 'Customization',
1097
- 'group.automation': 'Automation',
1098
- 'group.workspace': 'Workspace',
1099
- 'group.ui': 'UI',
1100
- 'group.optional': 'Optional Data',
1101
- 'import.nothingSelected': 'Nothing selected',
1102
- 'import.excludedByUser': '{count} deselected (not imported, not snapshotted)',
1103
- 'import.consult.hint': 'Read-only analysis: review the verdict and its evidence first, then choose what to import.',
1104
- 'consult.title': 'Pre-migration consultation',
1105
- 'library.pullTitle': 'Pull remote snapshot',
1106
- // "Pull" is not a read-only preview: the host stages the snapshot as a local ZIP and goes
1107
- // straight into the import wizard (pull-then-import), so the text must say so.
1108
- 'library.pulling': 'Pulling and importing…',
1109
- 'library.downloadTitle': 'Download remote snapshot',
1110
- 'library.downloading': 'Pulling and downloading…',
1111
-
1112
- 'import.consult.unavailable': 'The consultation report is unavailable right now (importing can still continue).',
1113
- 'import.picker.title': 'Choose what to import',
1114
- 'import.picker.hint': 'Unchecked items are neither imported nor snapshotted; you can come back to this step anytime.',
1115
- 'import.stage.select': 'Select',
1116
- 'import.stage.analyze': 'Analyze',
1117
- 'import.stage.decide': 'Preview & decide',
1118
- 'import.stage.confirm': 'Confirm',
1119
- 'import.stage.execute': 'Execute',
1120
- 'import.stage.done': 'Done',
1121
- 'import.stepper.label': 'Step {current} of {total}: {label}',
1122
- 'import.select.title': 'Select Backup File',
1123
- 'import.select.hint': 'Pick a dsh-config-*.zip backup exported from DSH to begin. Analysis is read-only and changes nothing.',
1124
- 'import.select.browse': 'Choose ZIP file',
1125
- 'import.select.reselect': 'Reselect',
1126
- 'import.select.cancel': 'Cancel selection',
1127
- 'import.select.file': 'Selected: {name}',
1128
- 'import.compatibility.title': 'Compatibility',
1129
- 'import.compatibility.score': 'Compatibility score: {score}',
1130
- 'import.preview.title': 'Import Preview',
1131
- 'import.preview.willChange': '{count} {count, plural, item|items} will change',
1132
- 'import.preview.unchanged': '{count} {count, plural, item|items} already identical (skipped)',
1133
- 'import.preview.settings': '{count} settings {count, plural, update|updates}',
1134
- 'import.preview.plugins': '{count} {count, plural, plugin|plugins} to install',
1135
- 'import.preview.mcp': '{count} MCP {count, plural, server|servers} added',
1136
- 'import.preview.prompts': '{count} {count, plural, prompt|prompts}',
1137
- 'import.preview.paths': '{count} path {count, plural, mapping|mappings} needed',
1138
- 'import.preview.rebase': 'Base path rebased automatically (the backup came from a machine with a different DSH base path): {from} -> {to}; no manual mapping needed',
1139
- 'import.preview.secrets': '{count} {count, plural, secret|secrets} to re-enter',
1140
- 'import.preview.conflicts': '{count} {count, plural, conflict|conflicts}',
1141
- 'import.preview.restart': 'A DSH restart is required after import',
1142
- 'import.confirm.execute': 'Confirm Import',
1143
- 'import.confirm.warning': 'Import modifies the current DSH configuration; a snapshot is taken first.',
1144
- 'import.confirm.warningNoRollback': 'Import modifies the current DSH configuration; a snapshot is taken first. Bulk rollback is off — a failure does not stop the rest, and writes are not reverted.',
1145
- 'import.confirm.encrypted': 'The backup password will decrypt and restore {count} {count, plural, credential|credentials}.',
1146
- 'import.rollbackOnError': 'Roll back everything on failure (recommended)',
1147
- 'import.log.title': 'Import Log',
1148
- 'import.log.empty': 'Waiting for command output…',
1149
- 'import.log.newOutput': '↓ New output',
1150
- 'import.log.counts': '{ok} ok · {skip} skipped · {warn} warned · {fail} failed',
1151
- 'import.log.filterProblems': 'Problems only',
1152
- 'import.log.filterAll': 'Show all',
1153
- 'import.log.problemsEmpty': 'No failed or warned items in this import',
1154
- 'import.done': 'Done',
1155
- 'import.skipCurrent': 'Skip current plugin',
1156
- 'import.skipPending': 'Skipping…',
1157
- 'import.retrySkipped': 'Retry failed/skipped items ({count})',
1158
- 'import.secrets.title': 'Re-enter Secrets',
1159
- 'import.secrets.hint': 'These credentials were not exported with the backup (security by design). Enter them manually to use them here; leave blank to skip.',
1160
- 'import.secrets.optional': '(optional)',
1161
- 'import.secrets.required': '(required)',
1162
- 'import.secrets.none': 'No secrets required',
1163
- 'import.decrypt.badge': 'encrypted backup',
1164
- 'import.decryptArchive.title': 'Unlock Encrypted Backup',
1165
- 'import.decryptArchive.hint': 'This backup is fully encrypted (the whole file is password-protected). Enter the password set at export time to decrypt and continue — encrypted credentials inside are restored with the same password, so this is the only password prompt. It is used once and never written to disk.',
1166
- 'import.decryptArchive.passwordPlaceholder': 'Enter backup encryption password',
1167
- 'import.decryptArchive.unlock': 'Unlock & Continue',
1168
- 'import.decrypt.previewHint': 'Encrypted backup: credentials are restored automatically by the unlock password — no further password prompt.',
1169
- 'import.conflicts.title': 'Resolve Conflicts',
1170
- 'import.conflicts.hint': 'These items already exist on this machine and differ from the backup. Decide per item.',
1171
- 'import.conflicts.keepCurrent': 'Keep current',
1172
- 'import.conflicts.useImported': 'Use backup',
1173
- 'import.conflicts.review': 'Decide later',
1174
- 'import.conflicts.severityError': 'Error',
1175
- 'import.conflicts.detailCurrent': 'Current',
1176
- 'import.conflicts.detailImported': 'Backup',
1177
- 'import.conflicts.empty': 'No conflicts',
1178
- 'import.conflicts.unresolved': '{count} {count, plural, item|items} unresolved',
1179
- 'import.conflicts.keepCurrentAll': 'Keep all current',
1180
- 'import.conflicts.useImportedAll': 'Use all backup',
1181
- 'import.paths.title': 'Path Mapping',
1182
- 'import.paths.hint': 'Absolute paths in the backup may not exist on this machine. Map each path to a new location (leave blank to skip).',
1183
- 'import.paths.old': 'Original path',
1184
- 'import.paths.new': 'New path',
1185
- 'import.paths.kind.missing': 'Set a new location',
1186
- 'import.paths.kind.platformMismatch': 'Cross-platform path',
1187
- 'import.paths.kind.homeMismatch': 'Different base path',
1188
- 'import.paths.unresolved': '{count} {count, plural, path|paths} unmapped (blank = skip that path, you can continue)',
1189
- 'import.paths.empty': 'No paths to map',
1190
- 'import.paths.browse': 'Choose a local path',
1191
- 'import.paths.picker.title': 'Choose a local path',
1192
- 'import.paths.picker.up': 'Up one level',
1193
- 'import.paths.picker.home': 'Home folder',
1194
- 'import.paths.picker.thisPc': 'This PC',
1195
- 'import.paths.picker.useCurrent': 'Use this folder',
1196
- 'import.paths.picker.empty': 'Nothing to open in this folder',
1197
- 'import.paths.picker.truncated': 'Showing the first {count} entries',
1198
- 'import.paths.picker.notFound': 'That path does not exist (opened its parent instead)',
1199
- 'import.paths.picker.denied': 'No permission to read this folder',
1200
- 'import.paths.picker.notAbsolute': 'Enter an absolute path (e.g. D:\\ or /)',
1201
- 'import.paths.picker.failed': 'Could not read this folder',
1202
- 'home.schedule.title': 'Schedule',
1203
- 'snapshots.selectHint': 'Select a snapshot to preview its restore plan (read-only preview, changes nothing):',
1204
- 'snapshots.status': 'Status',
1205
- 'snapshots.delete': 'Delete',
1206
- 'snapshots.deleted': 'Snapshot deleted',
1207
- 'snapshots.deleteConfirmTitle': 'Delete Snapshot',
1208
- 'snapshots.deleteConfirm': 'Delete the snapshot created at {time}? This pre-import rollback point will be permanently removed and cannot be recovered.',
1209
- 'snapshots.status.pending': 'Pending',
1210
- 'snapshots.status.done': 'Done',
1211
- 'snapshots.status.rolled-back': 'Rolled back',
1212
- 'snapshots.status.unknown': 'Unknown',
1213
- 'snapshots.planTitle': 'Restore Plan Preview',
1214
- 'snapshots.noActions': 'No restorable actions for this snapshot (or all skipped).',
1215
- 'snapshots.execute': 'Restore now',
1216
- 'snapshots.executing': 'Restoring…',
1217
- 'snapshots.confirmTitle': 'Confirm restore',
1218
- 'snapshots.confirmRestore': 'Confirm restore? Current files are first backed up to a safe location, then plugins added during the import are removed.',
1219
- 'snapshots.reportTitle': 'Restore Report',
1220
- 'snapshots.reportDone': 'Done',
1221
- 'snapshots.restored': 'Restored',
1222
- 'snapshots.removedPlugins': 'Removed plugins',
1223
- 'snapshots.manualHints': 'Manual action needed',
1224
- 'snapshots.failed': 'Failed',
1225
- 'snapshots.skipped': 'Skipped',
1226
- // —— git-style restore preview (line-by-line) ——
1227
- 'snapshots.plan.changed': '{count} {count, plural, file|files} to restore',
1228
- 'snapshots.plan.added': '{count} added',
1229
- 'snapshots.plan.deleted': '{count} to delete',
1230
- 'snapshots.plan.plugins': '{count} plugin uninstall',
1231
- 'snapshots.plan.hints': '{count} manual step',
1232
- 'snapshots.plan.skips': '{count} no-op',
1233
- 'snapshots.plan.noStats': 'No line stats',
1234
- 'snapshots.plan.statsTruncated': 'Some files were not counted',
1235
- 'snapshots.plan.group.changes': 'To restore',
1236
- 'snapshots.plan.group.deletes': 'To delete',
1237
- 'snapshots.plan.group.plugins': 'Plugin uninstall',
1238
- 'snapshots.plan.group.hints': 'Manual steps',
1239
- 'snapshots.plan.group.skips': 'No action',
1240
- 'snapshots.plan.status.modified': 'Modified',
1241
- 'snapshots.plan.status.added': 'Added',
1242
- 'snapshots.plan.status.deleted': 'Deleted',
1243
- 'snapshots.plan.status.plugin': 'Plugin',
1244
- 'snapshots.plan.status.hint': 'Manual',
1245
- 'snapshots.plan.status.skip': 'Skip',
1246
- 'snapshots.plan.beforeLabel': 'This machine',
1247
- 'snapshots.plan.afterLabel': 'Snapshot',
1248
- 'snapshots.plan.loadingDiff': 'Loading differences…',
1249
- 'snapshots.plan.diffIdentical': 'Both sides are identical',
1250
- 'snapshots.plan.diffBinary': 'Binary file',
1251
- 'snapshots.plan.diffTooLarge': 'File too large ({size})',
1252
- 'snapshots.plan.diffUnreadable': 'Cannot read this file',
1253
- 'snapshots.plan.diffMissingBlob': 'The snapshot has no content for this file',
1254
- 'snapshots.plan.diffEscape': 'Path escapes the sandbox: read refused',
1255
- 'snapshots.plan.diffNotApplicable': 'Not a file content change',
1256
- 'snapshots.plan.diffDegraded': 'Diff too large: shown as whole blocks',
1257
- 'snapshots.plan.statSkipped.tooLarge': 'Over the size limit',
1258
- 'snapshots.plan.statSkipped.binary': 'Binary',
1259
- 'snapshots.plan.statSkipped.budget': 'Over the file-count limit',
1260
- 'snapshots.plan.statSkipped.unreadable': 'Not counted',
1261
- // —— Scheduled full backups (snapshots tab) ——
1262
- 'backupSchedule.title': 'Scheduled Full Backups',
1263
- 'backupSchedule.hint': 'Automatically export a full backup ZIP in the background on a fixed cadence (secrets are never included, never encrypted — use manual export for encryption). Config lives in sync/backup-schedule.json and migrates with the self section.',
1264
- 'backupSchedule.enabled': 'Enable scheduled backups',
1265
- 'backupSchedule.enabledHint': 'When on, DSH backs up automatically on the cadence below; one run fires on every startup (skipped if less than 1h since the last run).',
1266
- 'backupSchedule.interval': 'Backup interval',
1267
- 'backupSchedule.interval.6h': 'Every 6 hours',
1268
- 'backupSchedule.interval.12h': 'Every 12 hours',
1269
- 'backupSchedule.interval.24h': 'Every 24 hours',
1270
- 'backupSchedule.interval.7d': 'Every 7 days',
1271
- 'backupSchedule.interval.custom': 'Custom (weekly at a fixed time)',
1272
- 'backupSchedule.customHint': 'Runs a full backup once a week at the selected weekday and time (missed triggers are not backfilled)',
1273
- 'backupSchedule.weekday': 'Weekday',
1274
- 'backupSchedule.hour': 'Hour',
1275
- 'backupSchedule.minute': 'Minute',
1276
- 'backupSchedule.weekday.sunday': 'Sunday',
1277
- 'backupSchedule.weekday.monday': 'Monday',
1278
- 'backupSchedule.weekday.tuesday': 'Tuesday',
1279
- 'backupSchedule.weekday.wednesday': 'Wednesday',
1280
- 'backupSchedule.weekday.thursday': 'Thursday',
1281
- 'backupSchedule.weekday.friday': 'Friday',
1282
- 'backupSchedule.weekday.saturday': 'Saturday',
1283
- 'backupSchedule.save': 'Save settings',
1284
- 'backupSchedule.saved': 'Settings saved',
1285
- 'backupSchedule.runNow': 'Back up now',
1286
- 'backupSchedule.lastRun': 'Last run',
1287
- 'backupSchedule.never': 'Never run',
1288
- 'backupSchedule.status.success': 'Success',
1289
- 'backupSchedule.status.skipped': 'Skipped',
1290
- 'backupSchedule.status.failed': 'Failed',
1291
- 'backupSchedule.consecutiveFailures': 'Scheduled backups failed {count} {count, plural, time|times} in a row — check the configuration (disk space / permissions / section export errors)',
1292
- 'backupSchedule.loading': 'Loading scheduled backup settings…',
1293
- 'backupSchedule.error': 'Failed to load scheduled backup settings',
1294
- // —— Retention policy (m-retention: GFS tiers) ——
1295
- 'retention.title': 'Retention policy',
1296
- 'retention.hint': 'Controls how many copies auto-cleanup keeps (shared by snapshots and scheduled backups). Pinned snapshots and unsettled recovery points are always exempt.',
1297
- 'retention.keepLast': 'Keep last',
1298
- 'retention.keepLastHint': 'Keep the newest N by time; 0 disables the "recent" tier',
1299
- 'retention.keepMonthly': 'Keep monthly',
1300
- 'retention.keepMonthlyHint': 'Additionally keep the newest copy of each month, for at most N months; 0 disables',
1301
- 'retention.keepYearly': 'Keep yearly',
1302
- 'retention.keepYearlyHint': 'Additionally keep the newest copy of each year, for at most N years; 0 disables',
1303
- 'retention.unit': 'copies',
1304
- 'retention.months': 'months',
1305
- 'retention.years': 'years',
1306
- 'retention.tiersOff': 'Newest N copies only',
1307
- 'retention.appliesTo': 'Applies to: pre-import snapshots + scheduled backup artifacts',
1308
- 'backupFiles.hint': 'All export artifacts (manual exports and scheduled backups) are managed here: download to your machine, import to restore, or delete. Scheduled backups auto-keep the latest 10.',
1309
- 'backupFiles.empty': 'No backup files yet',
1310
- 'backupFiles.delete': 'Delete',
1311
- 'backupFiles.deleteConfirmTitle': 'Delete backup file',
1312
- 'backupFiles.deleteConfirm': 'Delete backup file "{name}"? This cannot be undone.',
1313
- 'backupFiles.deleted': 'Deleted backup file “{name}”',
1314
- 'backupFiles.inspect': 'Inspect / Compare',
1315
- 'backupFiles.inspectLoading': 'Analyzing backup contents…',
1316
- 'backupFiles.inspectEmpty': 'This backup could not be analyzed (corrupt or unsupported format)',
1317
- 'backupFiles.inspectSections': 'Sections included',
1318
- 'backupFiles.inspectDiff': 'Diff against this backup (read-only preview)',
1319
- 'backupFiles.inspectItems': 'Change details',
1320
- 'backupFiles.inspectGroup.conflicts': 'Conflicts (need decision)',
1321
- 'backupFiles.inspectGroup.changes': 'Changes (will apply)',
1322
- 'backupFiles.inspectGroup.paths': 'Path mappings (need handling)',
1323
- 'backupFiles.inspectGroup.skipped': 'Identical (nothing to do)',
1324
- 'backupFiles.inspectGroup.others': 'Others',
1325
- 'report.import.title': 'Import Result',
1326
- 'report.needsRestart': 'Plugin / MCP changes take effect after restarting DSH.',
1327
- // —— Star prompt dialog ——
1328
- 'starPrompt.title': 'Enjoying Config Manager?',
1329
- 'starPrompt.body': 'If you find this plugin useful, please give it a ⭐ on GitHub — your support keeps it maintained!',
1330
- 'starPrompt.star': 'Star on GitHub',
1331
- 'starPrompt.dismiss': "Don't ask again",
1332
- // —— About ——
1333
- 'about.official': 'Official',
1334
- 'about.version': 'Version {version}',
1335
- 'about.dshVersion': 'DSH {version}',
1336
- 'about.links': 'Links',
1337
- 'about.star': '⭐ Star on GitHub',
1338
- 'about.repo': 'GitHub Repository',
1339
- 'about.docs': 'Documentation',
1340
- 'about.issues': 'Report an issue',
1341
- 'about.feedbackHint': 'Hit a UI problem? Copy the environment info and paste it into your issue.',
1342
- 'about.copyEnv': 'Copy environment info',
1343
- 'about.authorLabel': 'Author',
1344
- 'about.loading': 'Loading version info…',
1345
- 'about.retryStatus': 'Retry',
1346
- 'about.releaseNotes': 'Release Notes',
1347
- 'about.diag.label': 'Plugin list source',
1348
- 'about.diag.profileDir': 'Directory: {path}',
1349
- 'about.diag.profile': 'profile: {profile}',
1350
- 'about.diag.pluginCount': 'Plugins detected: {count}',
1351
- 'about.diag.manifestUnreadable': 'package.json unreadable: plugin list is empty (check profile and DSH_HOME)',
1352
- 'about.diag.hint': 'If this does not match your setup, check how the profile was launched (host profileContext / --profile argument / DSH_PROFILE environment variable) and the DSH_HOME environment variable.',
1353
- 'about.releaseNotes.title': 'Release Notes',
1354
- 'about.releaseNotes.loading': 'Loading release notes…',
1355
- 'about.releaseNotes.loadingMore': 'Loading more releases…',
1356
- 'about.releaseNotes.empty': 'No releases',
1357
- 'about.releaseNotes.retry': 'Retry',
1358
- 'about.releaseNotes.viewOnGithub': 'View all releases on GitHub',
1359
- 'about.releaseNotes.viewSingleOnGithub': 'View on GitHub',
1360
- 'about.releaseNotes.allLoaded': 'All releases loaded',
1361
- 'about.releaseNotes.prerelease': 'Pre-release',
1362
- 'about.releaseNotes.latest': 'Latest',
1363
- 'about.releaseNotes.noBody': 'No description provided for this release.',
1364
- 'about.releaseNotes.confirm': 'Confirm',
1365
- 'about.releaseNotes.neverShow': "Don't show again",
1366
- 'about.cli.title': 'CLI Rescue Tool',
1367
- 'about.cli.hint': 'The GUI lives inside DSH — when DSH cannot start, the separately installed CLI (dsh-config-manager) is your first rescue tool: list snapshots / offline restore / one-click DSH reinstall, no DSH runtime needed. Install once and use it on any machine:',
1368
- 'about.cli.docs': 'CLI documentation',
1369
- // Profiles = DSH profiles ($DSH_HOME/profiles/<name>); replaced the config-snapshot meaning in 2026-09
1370
- 'profiles.title': 'Profiles',
1371
- 'profiles.subtitle': 'Manage DSH profiles ($DSH_HOME/profiles/<name>): each profile is one plugin stack (bundles) + dependencies + patch layer, launched with dsh --profile <name>.',
1372
- 'profiles.loading': 'Loading profiles…',
1373
- 'profiles.empty': 'No profiles yet',
1374
- 'profiles.refresh': 'Refresh',
1375
- 'profiles.current': 'Running',
1376
- 'profiles.running.title': 'Runtime',
1377
- 'profiles.running.none': 'No instances running',
1378
- 'profiles.running.port': 'port {port}',
1379
- 'profiles.running.open': 'Open',
1380
- 'profiles.running.badge': ':{port} running',
1381
- 'profiles.running.portBadge': ':{port}',
1382
- 'profiles.running.originCurrent': 'current instance',
1383
- 'profiles.running.originOwned': 'launched here',
1384
- 'profiles.running.originExternal': 'other instance',
1385
- 'profiles.running.badgePlain': 'running',
1386
- 'profiles.stop': 'Stop',
1387
- 'profiles.stop.hint': 'Stop the instance this plugin started (asked to exit gracefully first; force-killed only after the grace period)',
1388
- 'profiles.stop.hintExternal': 'This profile runs in another DSH instance (or was started manually) — stopping ends that process',
1389
- 'profiles.stop.currentHint': 'This is the instance you are using right now: it cannot stop itself here. Close that window/terminal, or stop it from the instance that launched it.',
1390
- 'profiles.stopMessageExternal': 'Stop the instance of “{name}” (port {port})? It runs in another DSH instance (or was started manually); stopping closes that instance.',
1391
- 'profiles.stopTitle': 'Stop instance',
1392
- 'profiles.stopMessage': 'Stop the instance of “{name}” (port {port})? Sessions running inside that instance will be interrupted.',
1393
- 'profiles.stop.done': 'Stopped the instance of “{name}”',
1394
- 'profiles.stop.forced': 'Stopped the instance of “{name}” (it did not exit within the grace period, so its process tree was terminated)',
1395
- 'profiles.stop.gone': 'The instance of “{name}” was already gone (stale record cleaned up)',
1396
- 'profiles.copy': 'Copy command',
1397
- 'profiles.copied': 'Restart command copied',
1398
- 'profiles.launch': 'Launch',
1399
- 'profiles.launch.hint': 'Starts an independent DSH instance for this profile (free port picked automatically, browser opened automatically); the running instance is unaffected. Web-shaped profiles only.',
1400
- 'profiles.launch.notWeb': '“{name}” is not a Web-shaped profile and cannot start as an independent instance. Run in a terminal:',
1401
- 'profiles.launch.managed': '“{name}” is managed by the Desktop app and cannot be started from the CLI. Open it and install plugins in the Desktop app.',
1402
- 'profiles.launch.started': 'Started an independent instance of “{name}” (port {port})',
1403
- 'profiles.launch.pending': 'The process for “{name}” is up (port {port}) but readiness was not confirmed within {seconds}s — check the log:',
1404
- 'profiles.launch.open': 'Open the new instance',
1405
- 'profiles.launch.copyUrl': 'Copy URL',
1406
- 'profiles.launch.copiedUrl': 'Authenticated URL copied',
1407
- 'profiles.launch.warn.notReady': 'The web service readiness could not be confirmed (it may still be starting, or it failed)',
1408
- 'profiles.launch.warn.urlNotFound': 'No tokenized URL was found in the startup log — copy the URL from the log to open it',
1409
- 'profiles.launch.log': 'Log',
1410
- 'profiles.create.title': 'New profile',
1411
- 'profiles.create.hint': 'Creates a standard profile under $DSH_HOME/profiles/<name> (package.json + cordis.patch.yml + pnpm-workspace.yaml); third-party plugins must be installed into that profile separately.',
1412
- 'profiles.create.nameLabel': 'Profile name',
1413
- 'profiles.create.placeholder': 'e.g. writing / rescue',
1414
- 'profiles.create.templateLabel': 'Starting template',
1415
- 'profiles.create.action': 'Create profile',
1416
- 'profiles.create.done': 'Created profile “{name}”',
1417
- 'profiles.nameRequired': 'Enter a profile name',
1418
- 'profiles.nameTooLong': 'A profile name is at most 64 characters',
1419
- 'profiles.nameInvalid': 'Invalid profile name: no path separators (/ \\), "." , ".." or "node_modules"',
1420
- 'profiles.nameReserved': '“{name}” is reserved by DSH (web / headless / sdk / sdk-minimal / acp / desktop) and cannot be created manually',
1421
- 'profiles.list.title': 'All profiles',
1422
- 'profiles.list.count': '{count} total',
1423
- 'profiles.list.hint': 'Click a profile row for full details (bundle layers / dependencies / raw patch)',
1424
- // 英文侧不再用 (s)/(ies) 括号式复数(2026-11-01):档案只有 1 个时它渲染成
1425
- // "1 layer(s) · 5 patch entry(ies)",在一行被截断的元信息里既占宽又不专业。
1426
- // zh 侧本来就是无复数形态,改成同样的「数字 + 名词」短形态后两侧结构一致。
1427
- 'profiles.row.summary': '{bundles} layers · {patch} patches · {deps} deps',
1428
- 'profiles.detail.info': 'Profile info',
1429
- 'profiles.bundles.count': '{count} bundle {count, plural, layer|layers}',
1430
- 'profiles.shape.web': 'Web',
1431
- 'profiles.shape.headless': 'Headless',
1432
- 'profiles.shape.generic': 'Custom',
1433
- // cross-F3:interrupted profile copy left on disk (half copy) — must be distinguishable from a normal empty profile
1434
- 'profiles.shape.incomplete': 'Incomplete copy',
1435
- 'profiles.incomplete.from': 'Copied from “{name}”',
1436
- 'profiles.incomplete.startedAt': 'started at {time}',
1437
- 'profiles.incomplete.dir': 'Directory {path}',
1438
- 'profiles.incomplete.hint': 'This is an interrupted profile copy: it has no package.json and cannot be launched. Delete it if you no longer need it (only this directory is removed).',
1439
- 'profiles.list.incompleteCount': '{count} incomplete {count, plural, copyy|copyies} (not launchable)',
1440
- 'profiles.delete.incompleteMessage': 'Delete the incomplete copy “{name}”? The whole directory (including partially copied files) will be physically removed and cannot be recovered.',
1441
- 'profiles.issue.manifestInvalid': 'package.json is corrupted',
1442
- 'profiles.issue.patchTooLarge': 'patch file too large (content not shown)',
1443
- 'profiles.bundles': 'Plugin layers (bundles)',
1444
- 'profiles.deps': 'Dependencies',
1445
- 'profiles.patchReload.live': 'patch hot-reloads',
1446
- 'profiles.patchReload.startup': 'patch applies at startup only',
1447
- 'profiles.patchEntries': '{count} patch {count, plural, entryy|entryies}',
1448
- 'profiles.bundles.none': '(none)',
1449
- 'profiles.nodeModules.yes': 'node_modules present',
1450
- 'profiles.nodeModules.no': 'no node_modules',
1451
- 'profiles.updatedAt': 'Updated {time}',
1452
- 'profiles.dir': 'Directory',
1453
- 'profiles.detail': 'Details',
1454
- 'profiles.detailTitle': 'Profile details: {name}',
1455
- 'profiles.detail.manifest': 'package.json',
1456
- 'profiles.detail.patch': 'cordis.patch.yml',
1457
- 'profiles.detail.patchMissing': '(no patch file)',
1458
- 'profiles.detail.patchTooLarge': '(patch file too large, content not loaded)',
1459
- 'profiles.rename': 'Rename',
1460
- 'profiles.renameTitle': 'Rename profile',
1461
- 'profiles.renameMessage': 'Rename profile "{name}" to:',
1462
- 'profiles.rename.done': 'Renamed to “{name}”',
1463
- 'profiles.delete': 'Delete',
1464
- 'profiles.deleteTitle': 'Delete profile',
1465
- 'profiles.deleteMessage': 'Delete profile "{name}"? The whole directory (including node_modules) is deleted physically and cannot be recovered.',
1466
- 'profiles.delete.done': 'Deleted profile “{name}”',
1467
- 'profiles.deleteCurrentWarning': 'This is the running profile: the current process keeps working, but the next start will fail.',
1468
- 'profiles.deleteCurrentConfirm': 'Delete the running profile anyway',
1469
- 'profiles.duplicate': 'Duplicate',
1470
- 'profiles.duplicateHint': 'Copy this profile as a new profile (manifest / patch layer / dependency declarations / pnpm lockfile; the installed node_modules can be copied too)',
1471
- 'profiles.duplicateTitle': 'Duplicate profile',
1472
- 'profiles.duplicateMessage': 'Duplicate “{name}” as a new profile:',
1473
- 'profiles.duplicate.nameLabel': 'New profile name',
1474
- 'profiles.duplicate.includeModules': 'Also copy node_modules (the copy works immediately)',
1475
- 'profiles.duplicate.includeModulesHint': 'Same size · ~30 s · without it, install dependencies before starting',
1476
- 'profiles.duplicate.onlyManifest': 'No node_modules: only manifest and patch are copied',
1477
- 'profiles.duplicate.done': 'Duplicated as profile “{name}”',
1478
- 'profiles.duplicate.warn.depsNotInstalled': 'The copy has no node_modules: starting it fails because its bundles cannot be resolved. Install the dependencies inside the copy first:',
1479
- 'profiles.duplicate.copiedInstall': 'Install command copied',
1480
- 'profiles.error.exists': 'A profile with that name already exists',
1481
- 'profiles.error.notFound': 'Profile not found (it may have been deleted)',
1482
- 'profiles.error.currentProfile': 'This operation cannot target the running profile',
1483
- 'profiles.error.invalidName': 'Invalid profile name',
1484
- 'profiles.error.reservedName': 'Reserved DSH names cannot be created manually',
1485
- 'profiles.error.unknownTemplate': 'Unknown starting template',
1486
- 'profiles.error.notLaunchable': 'This profile is not Web-shaped and has no browser UI (run dsh --profile <name> in a terminal)',
1487
- 'profiles.error.managedProfile': 'The "desktop" profile is managed exclusively by the DeepSeek Harness Desktop application: deleting or renaming it makes the Desktop app rebuild an empty profile from the web template on its next start (every installed plugin is lost). Manage it from the Desktop app.',
1488
- 'profiles.error.launcherUnavailable': 'Could not locate the dsh launcher (non-standard startup); run dsh --profile <name> manually',
1489
- 'profiles.error.launchFailed': 'Starting the profile instance failed',
1490
- 'profiles.error.alreadyRunning': 'An instance of this profile is already running (stop it first)',
1491
- 'profiles.error.notRunning': 'This profile has no running instance (it may have been closed manually)',
1492
- 'profiles.error.stopFailed': 'Stopping the instance failed',
1493
- 'profiles.error.instanceRunning': 'An instance of this profile is running — stop it before deleting',
1494
- 'profiles.error.generic': 'Operation failed: {message}',
1495
- // —— Import compatibility (Workbench Rebuild) ——
1496
- 'import.compatibility.sections': '{count} {count, plural, section|sections}',
1497
- 'import.compatibility.plugins': 'installed {installed} · to install {toInstall}',
1498
- 'import.compatibility.paths': '{count} path {count, plural, issue|issues}',
1499
- 'import.compatibility.secrets': '{count} {count, plural, secret|secrets} to re-enter',
1500
- 'import.compatibility.score.excellent': 'Excellent',
1501
- 'import.compatibility.score.good': 'Good',
1502
- 'import.compatibility.score.partial': 'Partial',
1503
- 'import.compatibility.score.unsupported': 'Unsupported',
1504
- 'import.compatibility.sectionsTitle': 'Sections in this backup',
1505
- // —— Sync status facts (Workbench Rebuild) ——
1506
- // Import/sync next-steps checklist (P0-① / P2-⑪)
1507
- 'nextSteps.title': 'Next steps',
1508
- 'nextSteps.done': 'All done — nothing else to handle',
1509
- 'nextSteps.restart.hint': 'Take effect after restarting DSH ({count}):',
1510
- 'nextSteps.secrets.hint': 'Not exported with the backup — re-enter on this machine ({count}):',
1511
- 'nextSteps.unresolved.hint': 'Not applied ({count}) — retry with the button below:',
1512
- // —— Shell(Workbench Rebuild 2026-09)——
1513
- 'nav.home': 'Home',
1514
- 'nav.export': 'Export',
1515
- 'nav.import': 'Import',
1516
- 'nav.sync': 'Sync',
1517
- 'nav.market': 'Market',
1518
- // Snapshot detail dialog (opened by clicking a snapshot card; read-only)
1519
- // After the restart the banner must stop asking for one (real-machine feedback)
1520
- 'shell.running.restore': 'Snapshot restore',
1521
- 'shell.status.idle': 'Idle',
1522
- 'shell.status.running': '{count} {count, plural, task|tasks} running',
1523
- 'shell.status.recovery': 'Recovery pending',
1524
- // —— Run center (the drawer's "In progress" segment; terminate = cooperative cancel) ——
1525
- 'shell.status.runningAction': 'View running tasks',
1526
- 'runs.loading': 'Loading tasks...',
1527
- 'runs.loadFailed': 'Failed to load tasks: {message}',
1528
- 'runs.empty': 'No recent tasks (running ones appear here live)',
1529
- 'runs.retentionHint': 'Recently finished tasks are kept for 30 minutes; the full audit lives in Migration History',
1530
- 'runs.runningBadge': '{count} running',
1531
- 'runs.awaitingBadge': '{count} waiting for you',
1532
- 'runs.awaitingDecision': 'Waiting for you',
1533
- 'runs.decideNow': 'Decide',
1534
- 'runs.cancelAction': 'Terminate...',
1535
- 'runs.counts': 'OK {ok} · warn {warn} · fail {fail} · skip {skip}',
1536
- 'runs.kind.export': 'Export',
1537
- 'runs.kind.import': 'Import',
1538
- 'runs.kind.autosync': 'Auto sync',
1539
- 'runs.kind.sync-apply': 'Merge from remote',
1540
- 'runs.kind.backup-schedule': 'Scheduled backup',
1541
- 'runs.kind.restore': 'Snapshot restore',
1542
- 'runs.kind.profile-switch': 'Profile switch',
1543
- 'runs.kind.recovery': 'Incident recovery',
1544
- 'runs.status.running': 'Running',
1545
- 'runs.status.done': 'Done',
1546
- 'runs.status.failed': 'Failed',
1547
- 'runs.progress.running': 'Running',
1548
- 'runs.progress.done': 'Done',
1549
- 'runs.progress.failed': 'Failed',
1550
- 'runs.cancelTitle': 'Terminate this task',
1551
- 'runs.cancelCost': '{applied} applied, {pending} not executed',
1552
- 'runs.cancelCostUnknown': 'Applied item count is unknown (the host did not report progress counts)',
1553
- 'runs.cancel.rollback': 'Roll back to before the import',
1554
- 'runs.cancel.rollbackDesc': 'Undo every change this import applied and return to the pre-import snapshot',
1555
- 'runs.cancel.keep': 'Keep applied items',
1556
- 'runs.cancel.keepDesc': 'Stop only the remaining work and keep what is already written; a launch safety audit runs right after',
1557
- 'runs.cancelKeepWarn': 'Keeping leaves an unfinished import behind: the audit only lowers the chance of DSH failing to start, it cannot guarantee it. If DSH will not start, use incident recovery / SAFE MODE or the offline CLI.',
1558
- 'runs.recommended': 'Recommended',
1559
- 'runs.cancelAbort': 'Keep running',
1560
- 'runs.cancelConfirm': 'Terminate',
1561
- 'runs.cancelRequestedToast': 'Termination requested: it pauses after the current plan item finishes',
1562
- 'runs.cancelWaiting': 'Termination requested · waits for the current step · {minutes} min so far',
1563
- 'runs.cancelWaitingJustNow': 'Termination requested · waits for the current step',
1564
- 'runs.cancelStuck': 'No safe point reached for a long time. If "Skip current plugin" appears, click it first; otherwise restart DSH -- the environment lock is held by this process, so a restart releases it. Without a restart, every other write keeps being rejected (423).',
1565
- 'runs.lock.title': 'Environment lock',
1566
- 'runs.lock.needsAction': 'Action needed',
1567
- 'runs.lock.held': 'In use',
1568
- 'runs.lock.attentionDesc': 'Leftover lock (holder no longer exists) or undeterminable state: retrying or restarting will NOT fix it -- recover explicitly.',
1569
- 'runs.lock.heldDesc': 'Held by another task; it releases itself. If it is the stuck import above, only a DSH restart frees it.',
1570
- 'runs.lock.recover': 'Recover leftover lock',
1571
- 'runs.lock.recoverOk': 'Leftover lock recovered',
1572
- 'runs.lock.recoverRefused': 'Not recovered ({state}): only a leftover lock whose holder is proven dead may be recovered; a live lock releases itself',
1573
- 'runs.lock.recoverFailed': 'Recovery failed: {message}',
1574
- 'runs.lock.readFailed': 'Cannot read the environment lock state: {message}',
1575
- 'runs.skipRequestedToast': 'Requested to skip the current plugin',
1576
- 'runs.decisionAcceptedToast': 'Your choice was submitted',
1577
- 'runs.decisionTooLateToast': 'Too late: the wait timed out and the safe-side default (roll back) already continued',
1578
- 'runs.actionFailed': 'Action failed: {message}',
1579
- 'runs.unsupported': 'This task does not support manual termination',
1580
- // —— Overview control center (Workbench Rebuild v2) ——
1581
- 'overview.result.success': 'OK',
1582
- 'overview.result.failed': 'Failed',
1583
- 'overview.result.skipped': 'Skipped',
1584
- 'overview.activity.copy': 'Copy',
1585
- 'overview.activity.redacted': '(filename redacted)',
1586
- 'overview.sections.entries': '{count} {count, plural, item|items}',
1587
- 'overview.nav.activity': 'Activity',
1588
- 'overview.nav.about': 'About',
1589
- // ---------- session grouping (issue #45) ----------
1590
- 'nav.more': 'More',
1591
- 'palette.label': 'Command palette',
1592
- 'palette.shortcut': '⌘/Ctrl+K',
1593
- 'palette.hint': '↑↓ select · ↵ run · Esc close',
1594
- 'task.title.about': 'About',
1595
- 'task.title.export': 'Export config',
1596
- 'task.title.history': 'Migration history',
1597
- 'task.title.import': 'Import config',
1598
- 'task.title.market': 'Browse market',
1599
- 'task.title.publish': 'Publish to market',
1600
- 'task.title.runs': 'Activity log',
1601
- 'task.back': '← Back to {page}',
1602
- 'common.infoHint': 'Show description',
1603
- 'about.update.title': 'Plugin updates',
1604
- 'about.update.offline': 'The check calls the npm registry; failures are expected offline and affect nothing else.',
1605
- 'about.update.current': 'Current version {version}',
1606
- 'about.update.upToDate': 'Up to date',
1607
- 'about.update.available': 'New version {latest}',
1608
- 'about.update.failed': 'Check failed: {error}',
1609
- 'about.update.commandHint': 'Restart DSH after installing',
1610
- 'about.update.copyCommand': 'Copy upgrade command',
1611
- 'about.update.noCommand': 'The current profile is unknown or managed exclusively by the desktop app — update this plugin from DSH\'s plugin page.',
1612
- 'about.update.check': 'Check for updates',
1613
- 'about.update.recheck': 'Check again',
1614
- 'about.update.apply': 'Update now',
1615
- 'about.update.applied': 'Updated to {version} — restart DSH to apply',
1616
- 'about.update.dialog.title': 'Update to {version}',
1617
- 'about.update.dialog.from': 'Current version {current}',
1618
- 'about.update.dialog.loadingNotes': 'Loading release notes…',
1619
- 'about.update.dialog.notesFailed': 'Could not load release notes: {error} (you can still update)',
1620
- 'about.update.dialog.noNotes': 'No release notes found for v{version}. You can still update.',
1621
- 'about.update.dialog.notExact': 'No release notes found for v{version}; showing the latest release instead.',
1622
- 'about.update.dialog.viewOnGithub': 'View all releases on GitHub',
1623
- 'about.update.dialog.viewReleaseOnGithub': 'View this release on GitHub',
1624
- 'about.update.dialog.install': 'Update now',
1625
- 'about.update.dialog.installing': 'Updating, please wait…',
1626
- 'about.update.dialog.done': 'Update complete: v{version} installed.',
1627
- 'about.update.dialog.restart': 'Fully quit and restart DSH to take effect',
1628
- 'about.update.code.invalidVersion': 'Invalid version — nothing was updated.',
1629
- 'about.update.code.profileUnknown': "Could not determine the current profile; update this plugin from DSH's plugin page.",
1630
- 'about.update.code.unsupportedProfile': "The desktop profile is managed by the desktop app; update this plugin from DSH's plugin page.",
1631
- 'about.update.code.nonRegistryInstall': 'Installed from a local/dev source (link/file/git) — a registry version will not overwrite it. Update it in its source directory.',
1632
- 'about.update.code.notNewer': 'The target version is not newer than the current one; nothing to do.',
1633
- 'about.update.code.installFailed': 'Update failed: {error}',
1634
- 'palette.group.action': 'Actions',
1635
- 'palette.group.library': 'Library',
1636
- 'palette.group.navigate': 'Go to',
1637
- 'palette.group.rescue': 'Recovery',
1638
- 'palette.group.view': 'Views',
1639
- 'palette.placeholder': 'Type a command or search…',
1640
- 'palette.empty': 'No matching commands',
1641
- 'shell.runs.title': 'Runs',
1642
- 'environment.title': 'Environment',
1643
- 'environment.tab.profiles': 'Profiles',
1644
- 'environment.tab.maintenance': 'Maintenance',
1645
- 'profiles.version.dsh': 'DSH {version}',
1646
- 'profiles.version.format': 'session format v{version}',
1647
- 'profiles.format.newer': 'its conversations are hidden here',
1648
- 'profiles.format.older': 'conversations here are hidden there',
1649
- 'nextSteps.sessionsRestart.hint': '{count} session {count, plural, file|files} written. DSH builds the session list and workspace projection only at startup — on Desktop quit and reopen the app, for CLI profiles restart dsh.',
1650
- 'import.source.title': 'Source & compatibility',
1651
- 'import.source.dsh': 'DSH version: {source} → local {target}',
1652
- 'import.source.platform': 'Platform: {source} → local {target}',
1653
- 'import.source.schema': 'Backup format: v{version}',
1654
- 'import.source.reasons': 'Why this score',
1655
- 'import.sessionFormat.skipped': '{count} {count, plural, session was|sessions were} not imported because of the \"skip\" disposition (their format is newer than this DSH build — they would not be visible anyway)',
1656
- 'import.sessionFormat.retryPlan': 'Regenerate plan',
1657
- 'import.sessionFormat.option.abort': 'Abort the import (recommended)',
1658
- 'import.sessionFormat.hint.abort': 'Stops at the planning stage and writes nothing.',
1659
- 'import.sessionFormat.option.skip': 'Skip these sessions',
1660
- 'import.sessionFormat.hint.skip': 'Those sessions are left unchecked (tick them back in the content picker if you want); everything else imports as usual.',
1661
- 'import.sessionFormat.option.guide': 'Warn only, import as usual',
1662
- 'import.sessionFormat.hint.guide': 'Session files are written as usual, but this DSH build will not show those conversations.',
1663
- 'import.sessionFormat.title': 'Sessions this DSH build cannot read',
1664
- 'import.sessionFormat.blocked': 'Stopped by \"abort\" — nothing was written. Pick \"skip\" or \"warn only\" and regenerate the plan.',
1665
- 'import.sessionFormat.summary': '{count} {count, plural, session log is|session logs are} v{newer} while this build supports v{target}: DSH skips them silently — no error, and they never appear in the workspace',
1666
- 'import.sessionFormat.sampled': 'The format check was sampled: {checked} checked, {skipped} not checked (unchecked ones are treated as readable and are not affected by this disposition)',
1667
- 'import.sessionFormat.guide.upgrade': 'Upgrade the DSH build of this profile to one that supports v{newer} (this build supports v{target}) and import again; or re-export on the source machine with a DSH build no newer than v{target}.',
1668
- 'import.sessionFormat.guide.doctor': 'Inspect the sessions already on this machine (read-only):',
1669
- 'import.sessionFormat.guide.copy': 'Copy the offline inspection command',
1670
- 'backupFiles.encryptedHint': 'Fully encrypted backup: importing requires the backup password to unlock it first (the file itself is intact)',
1671
- 'library.expand': 'Expand {name}',
1672
- 'library.moreActions': 'More actions',
1673
- 'backupFiles.inspectEncrypted': 'This backup is fully encrypted, so its contents cannot be inspected directly. Use Import — the wizard asks for the backup password, unlocks the archive, and then shows its sections and diff.',
1674
- 'library.source.all': 'All',
1675
- 'library.kind.snapshot': 'Local snapshot',
1676
- 'library.kind.backupFile': 'Backup file',
1677
- 'library.kind.remote': 'Remote snapshot',
1678
- 'library.remoteDevice': 'Pushed by {device}',
1679
- 'library.kind.market': 'Market config',
1680
- 'library.title': 'Artifact library',
1681
- 'library.searchPlaceholder': 'Search file name / note / snapshot id',
1682
- 'library.sourceFailed': '{count} sources failed to load',
1683
- // "cannot read" is not "no snapshots": surface the host's out.unreadable fact
1684
- 'library.snapshotsUnreadable': 'Snapshot folder unreadable: snapshots may exist',
1685
- // The environment changed after the preview: never run a different, unconfirmed plan
1686
- 'snapshots.planChanged': 'The environment changed after the preview, so the restore was cancelled — preview again to confirm',
1687
- // Deleting a snapshot that recovery still references is refused (same F3 exemption as auto-prune)
1688
- 'library.snapshotReferencedByRecovery': 'This snapshot is a recovery rollback point — deletion refused (resolve the recovery items first)',
1689
- 'library.snapshotReferenceUnreadable': 'The recovery reference list could not be read — deletion conservatively refused (please retry)',
1690
- 'library.retry': 'Retry',
1691
- 'library.emptyFiltered': 'No matching artifacts',
1692
- 'library.delete': 'Delete',
1693
- 'library.remoteDeleteTitle': 'Delete remote snapshot',
1694
- 'library.remoteDeleteConfirm': 'Delete remote snapshot {time}? The file will be removed from the remote repository and cannot be recovered.',
1695
- 'library.remoteDeleteBaseline': 'Note: this is the current sync baseline (the snapshot this machine last synced to). Deleting it does not change this machine, but the next sync will re-compare against the latest remote snapshot.',
1696
- 'library.remoteDeleted': 'Remote snapshot deleted',
1697
- 'library.summary.count': '{count} total',
1698
- 'library.summary.filtered': '{shown} of {total}',
1699
- 'library.new.export': 'Export',
1700
- 'library.new.import': 'Import from file',
1701
- 'library.new.market': 'Browse market',
1702
- 'import.reason.crossPlatform': 'Cross-platform: backup from {source}, local is {target}',
1703
- 'palette.rescue.recovery': 'Incident recovery',
1704
- 'palette.rescue.mode': 'Rescue mode',
1705
- // S7: rollback points (workspace + session rewind) command title
1706
- 'palette.rescue.rollback': 'Rollback points (workspace + session rewind)',
1707
- 'import.reason.schemaUnsupported': 'The bundle uses schema v{version}, beyond what this plugin supports',
1708
- 'import.reason.missingSections': 'Declared by the backup but missing from the archive: {count} {count, plural, section|sections} — {sections}',
1709
- 'import.reason.sourceNewer': 'Backup comes from a newer DSH ({source} → local {target}): it may contain settings this build does not know',
1710
- 'import.reason.sourceOlder': 'Backup comes from an older DSH ({source} → local {target}): backward compatible',
1711
- // ---------- Importing from other agents (2026-10-04) ----------
1712
- 'foreign.source.title': 'Import from another agent',
1713
- 'foreign.source.hint': 'Read the other agents installed on this machine, review what will be imported, then hand it to the existing import wizard (analysis is read-only, zero writes).',
1714
- 'foreign.source.loading': 'Detecting local configuration…',
1715
- 'foreign.source.empty': 'No importable configuration from another agent was detected.',
1716
- 'foreign.source.unknown': 'Unrecognised source.',
1717
- 'foreign.source.claude-code': 'Claude Code',
1718
- 'foreign.source.hermes': 'Hermes',
1719
- 'foreign.source.cursor': 'Cursor',
1720
- 'foreign.source.codex': 'Codex CLI',
1721
- 'foreign.source.copilot': 'GitHub Copilot CLI',
1722
- 'foreign.source.antigravity': 'Google Antigravity',
1723
- // Conversation sources (cohort B, 2026-10-05): same order as the ForeignSourceId union
1724
- 'foreign.source.gemini': 'Gemini CLI',
1725
- 'foreign.source.reasonix': 'Reasonix',
1726
- 'foreign.source.opencode': 'OpenCode',
1727
- 'foreign.source.mimocode': 'MimoCode',
1728
- 'foreign.source.zcode': 'ZCode',
1729
- 'foreign.source.grokbuild': 'Grok Build',
1730
- 'foreign.source.openclaw': 'OpenClaw',
1731
- 'foreign.source.pi': 'Pi',
1732
- 'foreign.source.kimi': 'Kimi CLI',
1733
- 'foreign.source.kilocode': 'Kilo Code',
1734
- 'foreign.source.qoder': 'Qoder',
1735
- 'foreign.source.chatgpt': 'ChatGPT',
1736
- 'foreign.source.workbuddy': 'WorkBuddy',
1737
- 'foreign.source.qwen': 'Qwen Work',
1738
- 'foreign.source.continue': 'Continue',
1739
- 'foreign.source.cline': 'Cline',
1740
- 'foreign.source.goose': 'Goose',
1741
- 'foreign.source.dsh4': 'DSH session logs (V4)',
1742
- 'foreign.source.zed': 'Zed',
1743
- 'foreign.source.crush': 'Crush',
1744
- 'foreign.source.teleagent': 'TeleAgent',
1745
- 'foreign.source.trae': 'Trae',
1746
- 'foreign.source.vibe': 'Vibe',
1747
- 'foreign.source.dsh': 'DSH session logs (V0-V3)',
1748
- 'foreign.action.import': 'Start import',
1749
- 'foreign.action.refresh': 'Detect again',
1750
- 'foreign.importFailed': 'Import failed: {reason}',
1751
- 'foreign.previewTitle': 'What will be imported',
1752
- 'foreign.previewSections': 'Sections included: {sections}',
1753
- 'foreign.previewDryRun': 'Read-only preview: nothing is written.',
1754
- 'foreign.previewReset': 'The source changed: the last preview was discarded — start the import again.',
1755
- 'foreign.lossy.title': 'Known lossy behaviour',
1756
- 'foreign.lossy.hint': 'These three behaviours are built into the "external config → bundle → import" pipeline: none of them blocks the import, and the compatibility score never explains them.',
1757
- 'foreign.lossy.applies': 'Applies here',
1758
- 'foreign.lossy.notApplies': 'Not applicable here',
1759
- 'foreign.credentialRefs': '{count} {count, plural, credential|credentials} to re-enter (values never travel)',
1760
- 'foreign.credentialRefsNone': 'No credentials to enter',
1761
- 'foreign.skipped': '{count} {count, plural, item|items} not migrated',
1762
- 'foreign.skip.unsupported-hooks': 'settings hooks: DSH has no equivalent, not migrated',
1763
- 'foreign.skip.unsupported-commands': 'Slash commands: not the same thing as DSH prompts, not migrated this round',
1764
- 'foreign.skip.credentials-not-migrated': 'Credential fields: only the names are recorded; the values are never read or migrated',
1765
- 'foreign.skip.skill-missing-file': 'Skill directory has no SKILL.md, not migrated',
1766
- 'foreign.skip.skill-invalid-frontmatter': 'Skill frontmatter is invalid (missing name/description or not valid YAML) and DSH would silently drop it, so it was not migrated',
1767
- 'foreign.skip.skill-invalid-name': 'Skill name has illegal characters or path traversal, not migrated',
1768
- 'foreign.skip.mcp-server-empty': 'MCP entry has neither command nor url, not migrated',
1769
- 'foreign.skip.mcp-type-sse-coerced': 'MCP type=sse: treated as http with a url',
1770
- 'foreign.skip.mcp-credential-redacted': 'Credential field found in an MCP value: the value was dropped, only the field name and reference name are kept',
1771
- 'foreign.skip.source-unreadable': 'External file unreadable, over the size limit, or failed to parse',
1772
- 'foreign.skip.source-empty-file': 'Config file exists but is empty (0 bytes): reported as-is, no empty section is produced',
1773
- 'foreign.skip.source-location-overridden': 'Config location overridden by an environment variable; the overridden location was used',
1774
- 'foreign.skip.session-cwd-derived': 'The session record has no cwd: the working directory was derived from the source-side path and verified to exist on this machine (anything unprovable is skipped as a missing cwd)',
1775
- 'foreign.skip.source-needs-explicit-path': 'This source has no auto-detected location: you must supply the export file path explicitly (auto-detection never matches)',
1776
- 'foreign.skip.session-format-version-unknown': 'This DSH build reports no session format version: the version is never guessed, so no session was migrated',
1777
- 'foreign.skip.session-format-unsupported': 'This DSH build does not support that session format version, so the session was not migrated',
1778
- 'foreign.skip.session-missing-cwd': 'Session record has no cwd, so it cannot be placed under a workspace',
1779
- 'foreign.skip.session-unsafe-id': 'Session file name is not a safe path segment, not migrated',
1780
- 'foreign.skip.session-empty': 'Session has no migratable events',
1781
- 'foreign.skip.session-unparsable': 'Session has lines that cannot be parsed, not migrated',
1782
- 'foreign.skip.unsupported-session-record': 'This kind of session record is not migrated in this version',
1783
- 'foreign.skip.session-id-conflict': 'A session with the same id already exists: it is skipped without overwriting, and the local one is kept',
1784
- 'foreign.skip.skill-id-conflict': 'Duplicate skill name: first one wins, the rest are skipped',
1785
- 'foreign.skip.sessions-not-migrated': 'This source stores conversations in a form this version does not migrate (reported only; no sessions section is produced)',
1786
- 'foreign.skip.memory-report-only': 'Memory files are reported only, never imported (their text does not enter the bundle)',
1787
- 'foreign.skip.skill-category-flattened': 'Skill carried category levels: flattened into DSH\'s single-level skill folders',
1788
- 'foreign.skip.legacy-rules-file': 'Legacy rules file: DSH has no equivalent, reported only',
1789
- 'foreign.skip.instructions-merged': 'Several instruction sources were merged into one global instruction file',
1790
- 'foreign.skip.instructions-override-selected': 'A higher-priority instruction file (override) was found and is the one imported',
1791
- 'foreign.conflict.policy': 'Same-id conflicts never overwrite local content: skipped and listed in the report',
45
+ ...commonEn,
46
+ ...overviewEn,
47
+ ...exportEn,
48
+ ...importEn,
49
+ ...restoreEn,
50
+ ...backupEn,
51
+ ...reportEn,
52
+ ...aboutEn,
53
+ ...profilesEn,
54
+ ...importCompatEn,
55
+ ...nextStepsEn,
56
+ ...shellEn,
57
+ ...overviewControlEn,
58
+ ...sessionsEn,
59
+ ...foreignEn,
1792
60
  };
1793
61
 
1794
62
  /** 字典键联合(注册处 compile-time 校验) */