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:
1 parent
26fb88f3b5
commit
d8a3ee2bfd
4 files changed
+4
-6
No files matched your search
@@ -4,9 +4,7 @@
|
||||
|
||||
**Claude Code 主导 + Codex CLI + Gemini CLI + Claude CLI 协作工作流系统**
|
||||
|
||||
[](https://www.npmjs.com/package/ccg-workflow)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://claude.ai/code)
|
||||
[](https://www.npmjs.com/package/ccg-workflow) [](https://opensource.org/licenses/MIT) [](https://claude.ai/code) [](https://github.com/openai/openai-python) [](https://ai.google.dev/)
|
||||
|
||||
> **最新版本 v1.3.3**:修复 Windows PATH 配置安全问题
|
||||
|
||||
|
||||
+1
-1
@@ -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
@@ -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
@@ -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(),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user