From 670b03f7e70b2e8e8ad78b581846e8dbfb29801d Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Wed, 12 Aug 2026 00:10:34 +0800 Subject: [PATCH] fix(i18n): move account scheduling threshold keys out of status block --- frontend/src/i18n/locales/en/admin/accounts.ts | 10 ++++++---- frontend/src/i18n/locales/zh/admin/accounts.ts | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/frontend/src/i18n/locales/en/admin/accounts.ts b/frontend/src/i18n/locales/en/admin/accounts.ts index 0a521bef45..925452f0e1 100644 --- a/frontend/src/i18n/locales/en/admin/accounts.ts +++ b/frontend/src/i18n/locales/en/admin/accounts.ts @@ -121,6 +121,12 @@ export default { antigravityProjectIdPlaceholder: 'your-gcp-project-id', antigravityProjectIdHint: 'Antigravity standard-tier accounts that do not receive an automatic project_id need a user-owned GCP project.', + accountSchedulingThresholdOverride: 'Account Auto-Pause Threshold Override', + accountSchedulingThresholdOverrideHint: + 'Override the platform auto-pause threshold for this account only. Disable to use platform settings.', + accountSchedulingThresholdOverrideValue: 'Account threshold percent', + accountSchedulingThresholdOverrideDisabledHint: + 'Use 1-100. The account becomes temporarily unschedulable after reaching this usage percent; 100 disables it for this account.', status: { active: 'Active', inactive: 'Inactive', @@ -131,10 +137,6 @@ export default { rateLimited: 'Rate Limited', overloaded: 'Overloaded', tempUnschedulable: 'Temp Unschedulable', - accountSchedulingThresholdOverride: 'Account Auto-Pause Threshold Override', - accountSchedulingThresholdOverrideHint: 'Override the platform auto-pause threshold for this account only. Disable to use platform settings.', - accountSchedulingThresholdOverrideValue: 'Account threshold percent', - accountSchedulingThresholdOverrideDisabledHint: 'Use 1-100. The account becomes temporarily unschedulable after reaching this usage percent; 100 disables it for this account.', quotaExceeded: 'Quota Exceeded', unschedulable: 'Unschedulable', rateLimitedUntil: 'Rate limited and removed from scheduling. Auto resumes at {time}', diff --git a/frontend/src/i18n/locales/zh/admin/accounts.ts b/frontend/src/i18n/locales/zh/admin/accounts.ts index 6d111c7c18..88673f3835 100644 --- a/frontend/src/i18n/locales/zh/admin/accounts.ts +++ b/frontend/src/i18n/locales/zh/admin/accounts.ts @@ -324,6 +324,12 @@ export default { antigravityProjectIdPlaceholder: 'your-gcp-project-id', antigravityProjectIdHint: 'standard-tier 且未自动返回 project_id 的 Antigravity 账号需要填写用户自带 GCP project。', + accountSchedulingThresholdOverride: '账号自动停调阈值覆盖', + accountSchedulingThresholdOverrideHint: + '仅对当前账号覆盖平台级自动停调阈值;关闭后使用平台设置。', + accountSchedulingThresholdOverrideValue: '账号阈值百分比', + accountSchedulingThresholdOverrideDisabledHint: + '1-100,达到该用量百分比后临时不可调度;100 表示禁用当前账号自动停调。', status: { active: '正常', inactive: '停用', @@ -334,10 +340,6 @@ export default { rateLimited: '限流中', overloaded: '过载中', tempUnschedulable: '临时不可调度', - accountSchedulingThresholdOverride: '账号自动停调阈值覆盖', - accountSchedulingThresholdOverrideHint: '仅对当前账号覆盖平台级自动停调阈值;关闭后使用平台设置。', - accountSchedulingThresholdOverrideValue: '账号阈值百分比', - accountSchedulingThresholdOverrideDisabledHint: '1-100,达到该用量百分比后临时不可调度;100 表示禁用当前账号自动停调。', quotaExceeded: '配额超限', unschedulable: '不可调度', rateLimitedUntil: '限流中,当前不参与调度,预计 {time} 自动恢复',