diff --git a/web/admin-spa/src/components/accounts/AccountForm.vue b/web/admin-spa/src/components/accounts/AccountForm.vue
index 0e3688ca..0ea88cf6 100644
--- a/web/admin-spa/src/components/accounts/AccountForm.vue
+++ b/web/admin-spa/src/components/accounts/AccountForm.vue
@@ -806,7 +806,7 @@
- 留空表示支持所有模型。如果指定模型,请求中的模型不在列表内将不会调度到此账号
+ {{ t('accountForm.modelSupportDescription') }}
@@ -821,7 +821,7 @@
type="text"
/>
- 留空时将自动使用客户端的 User-Agent,仅在需要固定特定 UA 时填写
+ {{ t('accountForm.userAgentDescription') }}
@@ -995,7 +995,7 @@
@click="regenerateClientId"
>
- 重新生成
+ {{ t('accountForm.regenerateButton') }}
@@ -1103,7 +1103,7 @@
~/.config/gemini/credentials.json
- 文件中的凭证。
+ {{ t('accountForm.credentialsFileDescription') }}
- 点击下方按钮生成授权链接
+ {{ t('accountForm.clickToGenerateAuthLink') }}
- 输入 Authorization Code
+ {{ t('accountForm.enterAuthorizationCode') }}
- 授权完成后,从返回页面复制 Authorization Code,并粘贴到下方输入框:
+ {{ t('accountForm.copyAuthCodeDescription') }}
@@ -1377,7 +1377,7 @@
- 请粘贴从Claude Code授权页面复制的Authorization Code
+ {{ t('accountForm.authCodeInputHint') }}
@@ -1761,7 +1761,7 @@
-
每日自动重置额度的时间
+
+ {{ t('accountForm.quotaResetTimeDescription') }}
+
@@ -1797,7 +1799,7 @@
>
- 今日使用情况
+ {{ t('accountForm.todayUsageLabel') }}
${{ calculateCurrentUsage().toFixed(4) }} / ${{ form.dailyQuota.toFixed(2) }}
@@ -1818,22 +1820,26 @@
- 剩余: ${{ Math.max(0, form.dailyQuota - calculateCurrentUsage()).toFixed(2) }}
+ {{
+ t('accountForm.remainingQuota', {
+ amount: Math.max(0, form.dailyQuota - calculateCurrentUsage()).toFixed(2)
+ })
+ }}
- {{ usagePercentage.toFixed(1) }}% 已使用
+ {{ t('accountForm.usedPercentage', { percentage: usagePercentage.toFixed(1) }) }}
-
+
- 留空表示支持所有模型且不修改请求。配置映射后,左侧模型会被识别为支持的模型,右侧是实际发送的模型。
+ {{ t('accountForm.modelMappingTableDescription') }}
@@ -1911,14 +1917,14 @@
- 留空表示支持所有模型。如果指定模型,请求中的模型不在列表内将不会调度到此账号
+ {{ t('accountForm.modelSupportDescription') }}
-
+
- 留空时将自动使用客户端的 User-Agent,仅在需要固定特定 UA 时填写
+ {{ t('accountForm.userAgentDescription') }}
@@ -1946,21 +1952,23 @@
}}
- 启用后,当账号返回429错误时将暂停调度一段时间
+ {{ t('accountForm.rateLimitDescription') }}
-
+
-
账号被限流后暂停调度的时间(分钟)
+
+ {{ t('accountForm.rateLimitDurationDescription') }}
+
@@ -2011,14 +2019,14 @@
-
常用 AWS 区域参考:
+
{{ t('accountForm.awsRegionReferenceTitle') }}
- • us-east-1 (美国东部)
- • us-west-2 (美国西部)
- • eu-west-1 (欧洲爱尔兰)
- • ap-southeast-1 (新加坡)
- • ap-northeast-1 (东京)
- • eu-central-1 (法兰克福)
+ {{ t('accountForm.awsRegionUsEast1') }}
+ {{ t('accountForm.awsRegionUsWest2') }}
+ {{ t('accountForm.awsRegionEuWest1') }}
+ {{ t('accountForm.awsRegionApSoutheast1') }}
+ {{ t('accountForm.awsRegionApNortheast1') }}
+ {{ t('accountForm.awsRegionEuCentral1') }}
@@ -2083,21 +2091,23 @@
}}
- 启用后,当账号返回429错误时将暂停调度一段时间
+ {{ t('accountForm.rateLimitDescription') }}
-
+
-
账号被限流后暂停调度的时间(分钟)
+
+ {{ t('accountForm.rateLimitDurationDescription') }}
+
@@ -2199,7 +2209,9 @@
{{ model }}
- 选择此部署支持的模型类型
+
+ {{ t('accountForm.azureModelTypeDescription') }}
+
@@ -2223,9 +2235,11 @@
{{ t('accountForm.updateTokenLabel') }}
- 可以更新 Access Token 和 Refresh Token。为了安全起见,不会显示当前的 Token 值。
+ {{ t('accountForm.tokenUpdateDescription') }}
+
+
+ {{ t('accountForm.tokenUpdateHint') }}
- 💡 留空表示不更新该字段。
@@ -2265,7 +2279,7 @@
type="button"
@click="$emit('close')"
>
- 取消
+ {{ t('accountForm.cancelButton') }}