feat(frontend): 更新国际化翻译
- 新增英文翻译条目 - 完善中文翻译内容 - 改进多语言支持
This commit is contained in:
@@ -52,6 +52,7 @@ export default {
|
|||||||
password: 'Password',
|
password: 'Password',
|
||||||
databaseName: 'Database Name',
|
databaseName: 'Database Name',
|
||||||
sslMode: 'SSL Mode',
|
sslMode: 'SSL Mode',
|
||||||
|
passwordPlaceholder: 'Password',
|
||||||
ssl: {
|
ssl: {
|
||||||
disable: 'Disable',
|
disable: 'Disable',
|
||||||
require: 'Require',
|
require: 'Require',
|
||||||
@@ -64,13 +65,17 @@ export default {
|
|||||||
host: 'Host',
|
host: 'Host',
|
||||||
port: 'Port',
|
port: 'Port',
|
||||||
password: 'Password (optional)',
|
password: 'Password (optional)',
|
||||||
database: 'Database'
|
database: 'Database',
|
||||||
|
passwordPlaceholder: 'Password'
|
||||||
},
|
},
|
||||||
admin: {
|
admin: {
|
||||||
title: 'Admin Account',
|
title: 'Admin Account',
|
||||||
email: 'Email',
|
email: 'Email',
|
||||||
password: 'Password',
|
password: 'Password',
|
||||||
confirmPassword: 'Confirm Password'
|
confirmPassword: 'Confirm Password',
|
||||||
|
passwordPlaceholder: 'Min 6 characters',
|
||||||
|
confirmPasswordPlaceholder: 'Confirm password',
|
||||||
|
passwordMismatch: 'Passwords do not match'
|
||||||
},
|
},
|
||||||
ready: {
|
ready: {
|
||||||
title: 'Ready to Install',
|
title: 'Ready to Install',
|
||||||
@@ -127,7 +132,14 @@ export default {
|
|||||||
searchPlaceholder: 'Search...',
|
searchPlaceholder: 'Search...',
|
||||||
noOptionsFound: 'No options found',
|
noOptionsFound: 'No options found',
|
||||||
saving: 'Saving...',
|
saving: 'Saving...',
|
||||||
refresh: 'Refresh'
|
refresh: 'Refresh',
|
||||||
|
time: {
|
||||||
|
never: 'Never',
|
||||||
|
justNow: 'Just now',
|
||||||
|
minutesAgo: '{n}m ago',
|
||||||
|
hoursAgo: '{n}h ago',
|
||||||
|
daysAgo: '{n}d ago'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Navigation
|
// Navigation
|
||||||
@@ -263,7 +275,7 @@ export default {
|
|||||||
created: 'Created',
|
created: 'Created',
|
||||||
copyToClipboard: 'Copy to clipboard',
|
copyToClipboard: 'Copy to clipboard',
|
||||||
copied: 'Copied!',
|
copied: 'Copied!',
|
||||||
importToCcSwitch: 'Import to CC Switch',
|
importToCcSwitch: 'Import to CCS',
|
||||||
enable: 'Enable',
|
enable: 'Enable',
|
||||||
disable: 'Disable',
|
disable: 'Disable',
|
||||||
nameLabel: 'Name',
|
nameLabel: 'Name',
|
||||||
@@ -517,6 +529,7 @@ export default {
|
|||||||
actual: 'Actual',
|
actual: 'Actual',
|
||||||
standard: 'Standard',
|
standard: 'Standard',
|
||||||
noDataAvailable: 'No data available',
|
noDataAvailable: 'No data available',
|
||||||
|
recentUsage: 'Recent Usage',
|
||||||
failedToLoad: 'Failed to load dashboard statistics'
|
failedToLoad: 'Failed to load dashboard statistics'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -569,9 +582,13 @@ export default {
|
|||||||
noSubscription: 'No subscription',
|
noSubscription: 'No subscription',
|
||||||
daysRemaining: '{days}d',
|
daysRemaining: '{days}d',
|
||||||
expired: 'Expired',
|
expired: 'Expired',
|
||||||
|
disable: 'Disable',
|
||||||
|
enable: 'Enable',
|
||||||
disableUser: 'Disable User',
|
disableUser: 'Disable User',
|
||||||
enableUser: 'Enable User',
|
enableUser: 'Enable User',
|
||||||
viewApiKeys: 'View API Keys',
|
viewApiKeys: 'View API Keys',
|
||||||
|
groups: 'Groups',
|
||||||
|
apiKeys: 'API Keys',
|
||||||
userApiKeys: 'User API Keys',
|
userApiKeys: 'User API Keys',
|
||||||
noApiKeys: 'This user has no API keys',
|
noApiKeys: 'This user has no API keys',
|
||||||
group: 'Group',
|
group: 'Group',
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ export default {
|
|||||||
password: '密码',
|
password: '密码',
|
||||||
databaseName: '数据库名称',
|
databaseName: '数据库名称',
|
||||||
sslMode: 'SSL 模式',
|
sslMode: 'SSL 模式',
|
||||||
|
passwordPlaceholder: '密码',
|
||||||
ssl: {
|
ssl: {
|
||||||
disable: '禁用',
|
disable: '禁用',
|
||||||
require: '要求',
|
require: '要求',
|
||||||
@@ -61,13 +62,17 @@ export default {
|
|||||||
host: '主机',
|
host: '主机',
|
||||||
port: '端口',
|
port: '端口',
|
||||||
password: '密码(可选)',
|
password: '密码(可选)',
|
||||||
database: '数据库'
|
database: '数据库',
|
||||||
|
passwordPlaceholder: '密码'
|
||||||
},
|
},
|
||||||
admin: {
|
admin: {
|
||||||
title: '管理员账户',
|
title: '管理员账户',
|
||||||
email: '邮箱',
|
email: '邮箱',
|
||||||
password: '密码',
|
password: '密码',
|
||||||
confirmPassword: '确认密码'
|
confirmPassword: '确认密码',
|
||||||
|
passwordPlaceholder: '至少 6 个字符',
|
||||||
|
confirmPasswordPlaceholder: '确认密码',
|
||||||
|
passwordMismatch: '密码不匹配'
|
||||||
},
|
},
|
||||||
ready: {
|
ready: {
|
||||||
title: '准备安装',
|
title: '准备安装',
|
||||||
@@ -124,7 +129,14 @@ export default {
|
|||||||
searchPlaceholder: '搜索...',
|
searchPlaceholder: '搜索...',
|
||||||
noOptionsFound: '无匹配选项',
|
noOptionsFound: '无匹配选项',
|
||||||
saving: '保存中...',
|
saving: '保存中...',
|
||||||
refresh: '刷新'
|
refresh: '刷新',
|
||||||
|
time: {
|
||||||
|
never: '从未',
|
||||||
|
justNow: '刚刚',
|
||||||
|
minutesAgo: '{n}分钟前',
|
||||||
|
hoursAgo: '{n}小时前',
|
||||||
|
daysAgo: '{n}天前'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Navigation
|
// Navigation
|
||||||
@@ -260,7 +272,7 @@ export default {
|
|||||||
created: '创建时间',
|
created: '创建时间',
|
||||||
copyToClipboard: '复制到剪贴板',
|
copyToClipboard: '复制到剪贴板',
|
||||||
copied: '已复制!',
|
copied: '已复制!',
|
||||||
importToCcSwitch: '导入到 CC Switch',
|
importToCcSwitch: '导入到 CCS',
|
||||||
enable: '启用',
|
enable: '启用',
|
||||||
disable: '禁用',
|
disable: '禁用',
|
||||||
nameLabel: '名称',
|
nameLabel: '名称',
|
||||||
@@ -589,9 +601,13 @@ export default {
|
|||||||
noSubscription: '暂无订阅',
|
noSubscription: '暂无订阅',
|
||||||
daysRemaining: '{days}天',
|
daysRemaining: '{days}天',
|
||||||
expired: '已过期',
|
expired: '已过期',
|
||||||
|
disable: '禁用',
|
||||||
|
enable: '启用',
|
||||||
disableUser: '禁用用户',
|
disableUser: '禁用用户',
|
||||||
enableUser: '启用用户',
|
enableUser: '启用用户',
|
||||||
viewApiKeys: '查看 API 密钥',
|
viewApiKeys: '查看 API 密钥',
|
||||||
|
groups: '分组',
|
||||||
|
apiKeys: 'API密钥',
|
||||||
userApiKeys: '用户 API 密钥',
|
userApiKeys: '用户 API 密钥',
|
||||||
noApiKeys: '此用户暂无 API 密钥',
|
noApiKeys: '此用户暂无 API 密钥',
|
||||||
group: '分组',
|
group: '分组',
|
||||||
@@ -727,10 +743,13 @@ export default {
|
|||||||
priorityHint: '数值越高优先级越高,用于账号调度',
|
priorityHint: '数值越高优先级越高,用于账号调度',
|
||||||
statusLabel: '状态'
|
statusLabel: '状态'
|
||||||
},
|
},
|
||||||
exclusive: {
|
exclusiveObj: {
|
||||||
yes: '是',
|
yes: '是',
|
||||||
no: '否'
|
no: '否'
|
||||||
},
|
},
|
||||||
|
exclusive: '独占',
|
||||||
|
exclusiveHint: '启用后,此分组的用户将独占使用分配的账号',
|
||||||
|
rateMultiplierHint: '1.0 = 标准费率,0.5 = 半价,2.0 = 双倍',
|
||||||
platforms: {
|
platforms: {
|
||||||
all: '全部平台',
|
all: '全部平台',
|
||||||
claude: 'Claude',
|
claude: 'Claude',
|
||||||
@@ -876,6 +895,7 @@ export default {
|
|||||||
deleteConfirmMessage: "确定要删除账号 '{name}' 吗?",
|
deleteConfirmMessage: "确定要删除账号 '{name}' 吗?",
|
||||||
refreshCookie: '刷新 Cookie',
|
refreshCookie: '刷新 Cookie',
|
||||||
testAccount: '测试账号',
|
testAccount: '测试账号',
|
||||||
|
searchAccounts: '搜索账号...',
|
||||||
// Filter options
|
// Filter options
|
||||||
allPlatforms: '全部平台',
|
allPlatforms: '全部平台',
|
||||||
allTypes: '全部类型',
|
allTypes: '全部类型',
|
||||||
@@ -903,6 +923,19 @@ export default {
|
|||||||
lastUsed: '最近使用',
|
lastUsed: '最近使用',
|
||||||
actions: '操作'
|
actions: '操作'
|
||||||
},
|
},
|
||||||
|
clearRateLimit: '清除速率限制',
|
||||||
|
testConnection: '测试连接',
|
||||||
|
reAuthorize: '重新授权',
|
||||||
|
refreshToken: '刷新令牌',
|
||||||
|
noAccountsYet: '暂无账号',
|
||||||
|
createFirstAccount: '添加 AI 平台账号以开始使用 API 网关。',
|
||||||
|
tokenRefreshed: 'Token 刷新成功',
|
||||||
|
accountDeleted: '账号删除成功',
|
||||||
|
rateLimitCleared: '速率限制已清除',
|
||||||
|
setupToken: 'Setup Token',
|
||||||
|
apiKey: 'API Key',
|
||||||
|
deleteConfirm: "确定要删除账号 '{name}' 吗?此操作无法撤销。",
|
||||||
|
failedToClearRateLimit: '清除速率限制失败',
|
||||||
platforms: {
|
platforms: {
|
||||||
claude: 'Claude',
|
claude: 'Claude',
|
||||||
openai: 'OpenAI',
|
openai: 'OpenAI',
|
||||||
|
|||||||
Reference in New Issue
Block a user