99 lines
3.9 KiB
JSON
99 lines
3.9 KiB
JSON
{
|
||
"phase": {
|
||
"id": "phase-2",
|
||
"name": "翻译文件 — 创建 8 种非中文翻译",
|
||
"description": "创建 zh-TW/en/ja/ko/de/fr/es/pt 共 8 种语言翻译文件,键结构必须与 zh-CN.ts 完全一致",
|
||
"dependencies": ["phase-1"],
|
||
"tasks": [
|
||
{
|
||
"id": "2.1",
|
||
"name": "创建繁體中文翻译 zh-TW.ts",
|
||
"status": "pending",
|
||
"description": "简转繁,保持相同键结构",
|
||
"files": { "create": ["src/locales/zh-TW.ts"] },
|
||
"steps": [
|
||
{ "id": "2.1.1", "action": "write_implementation", "description": "创建 zh-TW.ts,简转繁" },
|
||
{ "id": "2.1.2", "action": "commit", "message": "feat(i18n): 添加繁體中文翻譯 zh-TW.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.2",
|
||
"name": "创建英文翻译 en.ts",
|
||
"status": "pending",
|
||
"description": "领域术语保留拼音(如 Zi Wei Dou Shu)",
|
||
"files": { "create": ["src/locales/en.ts"] },
|
||
"steps": [
|
||
{ "id": "2.2.1", "action": "write_implementation", "description": "创建 en.ts,领域术语保留拼音" },
|
||
{ "id": "2.2.2", "action": "commit", "message": "feat(i18n): 添加英文翻譯 en.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.3",
|
||
"name": "创建日文翻译 ja.ts",
|
||
"status": "pending",
|
||
"description": "命理术语保留汉字(如 紫微斗数、三方四正)",
|
||
"files": { "create": ["src/locales/ja.ts"] },
|
||
"steps": [
|
||
{ "id": "2.3.1", "action": "write_implementation", "description": "创建 ja.ts,命理术语保留汉字" },
|
||
{ "id": "2.3.2", "action": "commit", "message": "feat(i18n): 添加日文翻譯 ja.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.4",
|
||
"name": "创建韩文翻译 ko.ts",
|
||
"status": "pending",
|
||
"description": "命理术语保留汉字(如 자미두수)",
|
||
"files": { "create": ["src/locales/ko.ts"] },
|
||
"steps": [
|
||
{ "id": "2.4.1", "action": "write_implementation", "description": "创建 ko.ts" },
|
||
{ "id": "2.4.2", "action": "commit", "message": "feat(i18n): 添加韩文翻譯 ko.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.5",
|
||
"name": "创建德文翻译 de.ts",
|
||
"status": "pending",
|
||
"description": "领域术语保留拼音",
|
||
"files": { "create": ["src/locales/de.ts"] },
|
||
"steps": [
|
||
{ "id": "2.5.1", "action": "write_implementation", "description": "创建 de.ts" },
|
||
{ "id": "2.5.2", "action": "commit", "message": "feat(i18n): 添加德文翻譯 de.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.6",
|
||
"name": "创建法文翻译 fr.ts",
|
||
"status": "pending",
|
||
"description": "领域术语保留拼音",
|
||
"files": { "create": ["src/locales/fr.ts"] },
|
||
"steps": [
|
||
{ "id": "2.6.1", "action": "write_implementation", "description": "创建 fr.ts" },
|
||
{ "id": "2.6.2", "action": "commit", "message": "feat(i18n): 添加法文翻譯 fr.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.7",
|
||
"name": "创建西班牙文翻译 es.ts",
|
||
"status": "pending",
|
||
"description": "领域术语保留拼音",
|
||
"files": { "create": ["src/locales/es.ts"] },
|
||
"steps": [
|
||
{ "id": "2.7.1", "action": "write_implementation", "description": "创建 es.ts" },
|
||
{ "id": "2.7.2", "action": "commit", "message": "feat(i18n): 添加西班牙文翻譯 es.ts" }
|
||
]
|
||
},
|
||
{
|
||
"id": "2.8",
|
||
"name": "创建葡萄牙文翻译 pt.ts",
|
||
"status": "pending",
|
||
"description": "领域术语保留拼音",
|
||
"files": { "create": ["src/locales/pt.ts"] },
|
||
"steps": [
|
||
{ "id": "2.8.1", "action": "write_implementation", "description": "创建 pt.ts" },
|
||
{ "id": "2.8.2", "action": "commit", "message": "feat(i18n): 添加葡萄牙文翻譯 pt.ts" }
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|