Merge pull request #4652 from suuuuuu-1/refactor/clean-zh-accounts-redundant-keys

refactor(i18n): 清理 zh/admin/accounts.ts 中重构遗留的冗余 keys
This commit is contained in:
Wesley Liddick
2026-07-21 10:39:46 +08:00
committed by GitHub
+1 -39
View File
@@ -77,9 +77,6 @@ export default {
crsBack: '返回',
editAccount: '编辑账号',
deleteAccount: '删除账号',
deleteConfirmMessage: "确定要删除账号 '{name}' 吗?",
refreshCookie: '刷新 Cookie',
testAccount: '测试账号',
searchAccounts: '搜索账号...',
notes: '备注',
notesPlaceholder: '请输入备注',
@@ -268,9 +265,7 @@ export default {
grokOauth: 'Grok OAuth',
antigravityApikey: '通过 Base URL + API Key 连接',
upstream: '对接上游',
upstreamDesc: '通过 Base URL + API Key 连接上游',
api_key: 'API Key',
cookie: 'Cookie'
upstreamDesc: '通过 Base URL + API Key 连接上游'
},
antigravityProjectIdLabel: 'GCP Project ID(可选)',
antigravityProjectIdPlaceholder: 'your-gcp-project-id',
@@ -406,37 +401,7 @@ export default {
needsReauth: '需要重新授权',
rateLimited: '限流中',
usageError: '获取失败',
form: {
nameLabel: '账号名称',
namePlaceholder: '请输入账号名称',
platformLabel: '平台',
selectPlatform: '选择平台',
typeLabel: '类型',
selectType: '选择类型',
credentialsLabel: '凭证',
credentialsPlaceholder: '请输入 Cookie 或 API Key',
priorityLabel: '优先级',
priorityHint: '数值越小优先级越高',
weightLabel: '权重',
weightHint: '用于负载均衡的权重值',
statusLabel: '状态'
},
filters: {
platform: '平台',
allPlatforms: '全部平台',
type: '类型',
allTypes: '全部类型',
status: '状态',
allStatuses: '全部状态'
},
saving: '保存中...',
refreshing: '刷新中...',
testing: '测试中...',
noAccounts: '暂无账号',
noAccountsDescription: '添加 AI 平台账号以开始使用 API 网关。',
accountCreatedSuccess: '账号添加成功',
accountUpdatedSuccess: '账号更新成功',
accountDeletedSuccess: '账号删除成功',
bulkSchedulableEnabled: '成功启用 {count} 个账号的调度',
bulkSchedulableDisabled: '成功停止 {count} 个账号的调度',
bulkSchedulablePartial: '部分调度更新成功:成功 {success} 个,失败 {failed} 个',
@@ -494,11 +459,8 @@ export default {
resetStatus: '重置状态',
statusReset: '账号状态已重置',
failedToResetStatus: '重置账号状态失败',
cookieRefreshedSuccess: 'Cookie 刷新成功',
testSuccess: '账号测试通过',
testFailed: '账号测试失败',
failedToLoad: '加载账号列表失败',
failedToSave: '保存账号失败',
failedToDelete: '删除账号失败',
failedToRefresh: '刷新 Cookie 失败',
// Create/Edit Account Modal