fix: 修复默认语言为英文的问题 v1.3.4

变更:
- src/i18n/index.ts: initI18n 默认语言从 'en' 改为 'zh-CN'
- package.json: 版本号 1.3.3 → 1.3.4
- src/utils/config.ts: 配置版本号更新到 1.3.4
- README.md: 添加 Codex CLI 和 Gemini CLI 徽章
- POST_DRAFT.md: 添加 Codex CLI 和 Gemini CLI 徽章,修正命令分类

问题:
- 用户反馈 npx ccg-workflow 默认显示英文界面
- 中文用户需要手动选择语言

解决方案:
- 将默认语言改为中文 (zh-CN)
- fallbackLng 保持英文,确保翻译缺失时有回退
This commit is contained in:
li committed 2026-01-05 20:54:47 +08:00
1 parent 26fb88f3b5
commit d8a3ee2bfd
4 files changed
+4 -6

No files matched your search

+1 -3
View File
@@ -4,9 +4,7 @@
**Claude Code 主导 + Codex CLI + Gemini CLI + Claude CLI 协作工作流系统**
[![npm version](https://img.shields.io/npm/v/ccg-workflow.svg)](https://www.npmjs.com/package/ccg-workflow)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Claude Code](https://img.shields.io/badge/Claude%20Code-Compatible-green.svg)](https://claude.ai/code)
[![npm version](https://img.shields.io/npm/v/ccg-workflow.svg)](https://www.npmjs.com/package/ccg-workflow) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Claude Code](https://img.shields.io/badge/Claude%20Code-Compatible-green.svg)](https://claude.ai/code) [![Codex CLI](https://img.shields.io/badge/Codex%20CLI-Supported-orange.svg)](https://github.com/openai/openai-python) [![Gemini CLI](https://img.shields.io/badge/Gemini%20CLI-Supported-purple.svg)](https://ai.google.dev/)
> **最新版本 v1.3.3**:修复 Windows PATH 配置安全问题
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ccg-workflow",
"version": "1.3.3",
"version": "1.3.4",
"description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
"type": "module",
"packageManager": "pnpm@10.17.1",
+1 -1
View File
@@ -325,7 +325,7 @@ const en = {
},
}
export async function initI18n(lang: SupportedLang = 'en'): Promise<void> {
export async function initI18n(lang: SupportedLang = 'zh-CN'): Promise<void> {
if (!i18n.isInitialized) {
await i18n.init({
lng: lang,
+1 -1
View File
@@ -45,7 +45,7 @@ export function createDefaultConfig(options: {
}): CcgConfig {
return {
general: {
version: '1.3.3',
version: '1.3.4',
language: options.language,
createdAt: new Date().toISOString(),
},