chore: 导入旧记忆备份供恢复

This commit is contained in:
2026-09-23 22:38:40 +08:00
parent 5313fcee7a
commit 6a6a895eaf
638 changed files with 29816 additions and 1 deletions
@@ -0,0 +1,78 @@
---
title: VMZhCN 实施任务列表
type: curated
permalink: main/projects/49564d35-91ae-430d-9d67-7bb8bec4c646/curated/vmzh-cn-实施任务列表
stable_id: a1c59b03-2509-4e4a-ad82-dc19ca906c30
scope: project
project_id: 49564d35-91ae-430d-9d67-7bb8bec4c646
workspace_type: development
usage_profile_id: null
preference_context: development
document_type: tasks
revision: 4
source_memory_ids: []
source_checkpoint_ids: []
source_file_ids: []
source_git_commit: 3e0661c1216b285a039518ba6d810b8394657e1d
source_git_commits:
- 3e0661c1216b285a039518ba6d810b8394657e1d
source_agent_sync_ids: []
model_connection: Sub2API
model_name: openai/gpt-oss-120b
source_count: 24
source_revisions:
memory:8e4d8070-44cb-4c5c-bdf5-2a241cf127dc: '1'
memory:0ab7a208-e8ad-4933-b526-9f1e8e297e12: '1'
memory:d697a9d0-ec5c-4e1a-a378-753dc93f2464: '1'
memory:d52edecb-bc1d-4a3f-8347-58574f8f7e3f: '1'
memory:2f6e65b2-e6f2-4970-b570-1895590207dd: '1'
memory:334cf92b-b81d-419b-a21d-c2d66cd8d634: '1'
source_dispositions:
processed: 24
unchanged: 0
unsupported: 0
skipped: 0
cited_source_ids:
- curated_baseline:a1c59b03-2509-4e4a-ad82-dc19ca906c30
- memory:0ab7a208-e8ad-4933-b526-9f1e8e297e12
- memory:d697a9d0-ec5c-4e1a-a378-753dc93f2464
- memory:d52edecb-bc1d-4a3f-8347-58574f8f7e3f
- memory:2f6e65b2-e6f2-4970-b570-1895590207dd
- memory:334cf92b-b81d-419b-a21d-c2d66cd8d634
- memory:8e4d8070-44cb-4c5c-bdf5-2a241cf127dc
job_cited_source_ids: []
conflicts: []
supersedes: []
preferences: []
source_cursor: 196
source_hash: 0a84505c3e53c83a1d2f2e939a42b813a45b865e71febe7c7d488f60c0578b9b
prompt_version: 2026-08-12.3
schema_version: '3'
curation_job_id: c431b17f-7247-44bf-bb35-1eb6862bbace
created_at: '2026-08-26T19:00:59.632716+00:00'
updated_at: '2026-08-27T18:35:48.834950+00:00'
tags:
- 翻译
- CLI
- 备份
- 测试
---
## 待办任务(基于当前状态)
1. **完善 locale 切换实现** – 完成 `switch zh_CN` 与 `switch en_US` 的全部逻辑,包括系统偏好写入、桌面启动器生成以及必要的根权限检查。
- 参考实现步骤见 `vmzhcn.py` 中的 `command_switch`(source: `git:vmzhcn.py`)。
2. **补全 UI 翻译** – 解决仍为英文的底部 GTK 按钮以及部分硬编码标签(如 *My Computer*),并在后续 VMware 发行版中继续扫描新增键。
- 当前已完成 1 394 条 Linux 专属键的翻译(source: `1e49f29e-51cc-40fc-854b-09b5ac845b95`)。
3. **自动化测试扩展** – 为 `switch` 命令添加单元测试并在 CI 中运行,确保覆盖率 100%。
4. **文档完善** – 在 `README.md` 中补充 `switch` 使用示例、备份恢复流程以及已知限制的详细说明(source: `a1c59b03-2509-4e4a-ad82-dc19ca906c30`)。
5. **持续集成 (CI) 配置** – 将 `coverage`、`status` 与单元测试整合进 CI,自动在每次提交后报告翻译覆盖率。
6. **未来发布兼容** – 规划在新 VMware 版本发布后运行 `scan` → `build` 流程,更新 `linux‑overrides‑zh_CN.vmsg`,并在任务列表中记录该周期性工作(source: `7aa36dd8-e492-443e-a799-782af7babb9f`)。
### 已完成的里程碑(2026‑08‑26)
- 项目创建、基本 CLI `vmzhcn.py`、`linux‑overrides‑zh_CN.vmsg` 添加(22:10)。
- 完成全部 1 394 条 Linux 键的翻译(22:22),验证 100% 覆盖。
- 创建 Gitea 仓库并推送首个提交(22:27‑28)。
- 实现备份/恢复逻辑、字典 SHA‑256 校验、单元测试全部通过(22:25)。
**标签**: [翻译], [CLI], [备份], [测试]