From e80c49c1ce66ed568fbdf0e9e6aa75d6dd1d2f5f Mon Sep 17 00:00:00 2001 From: Wangnov Date: Tue, 9 Sep 2025 13:11:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=80=E5=A7=8B=20AccountForm=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 扩展语言文件,添加200+条 AccountForm 相关翻译键 - 支持简体中文、繁体中文、英文三种语言 - 添加 useI18n 组合式 API 支持 - 国际化模态框标题、步骤指示器、平台选择等关键UI元素 - 国际化账户类型、分组管理等核心功能 - 国际化 JavaScript 中的Toast消息和确认对话框 - 为多平台(Claude、Gemini、OpenAI、Azure OpenAI、Bedrock、Claude Console)提供完整翻译支持 这是一个大型组件(3730行)的渐进式国际化工作,后续将继续完善其余部分。 --- .../src/components/accounts/AccountForm.vue | 889 +++--------------- web/admin-spa/src/i18n/locales/en.js | 293 ++++++ web/admin-spa/src/i18n/locales/zh-cn.js | 293 ++++++ web/admin-spa/src/i18n/locales/zh-tw.js | 293 ++++++ 4 files changed, 1021 insertions(+), 747 deletions(-) diff --git a/web/admin-spa/src/components/accounts/AccountForm.vue b/web/admin-spa/src/components/accounts/AccountForm.vue index 94358290..b5a1c769 100644 --- a/web/admin-spa/src/components/accounts/AccountForm.vue +++ b/web/admin-spa/src/components/accounts/AccountForm.vue @@ -12,7 +12,7 @@

- {{ isEdit ? '编辑账户' : '添加账户' }} + {{ isEdit ? t('accountForm.editAccount') : t('accountForm.addAccount') }}