This commit is contained in:
duanfuxiang
2025-06-12 16:08:05 +08:00
parent 2f34794a3c
commit d16207e3c5
4 changed files with 78 additions and 19 deletions

View File

@@ -239,6 +239,31 @@ export default {
searchOrEnterModelName: 'Search or enter model name...',
enterCustomModelName: 'Enter custom model name',
custom: 'Custom: ',
testConnection: {
testApiConnection: 'Test API Connection',
testingConnection: 'Testing connection...',
connectionSuccess: 'Connection test successful',
connectionFailed: 'Connection test failed',
notSupported: 'Testing {provider} API connection is not supported',
invalidApiKey: 'Invalid or missing API key',
invalidBaseUrl: 'Invalid base URL configuration',
requestTimeout: 'Request timeout, please check network connection',
networkError: 'Network connection failed',
unauthorizedError: 'API key authorization failed',
forbiddenError: 'Access denied, please check API key permissions',
rateLimitError: 'Rate limit exceeded, please try again later',
serverError: 'Internal server error',
noDefaultModel: 'No default model available for {provider}',
invalidResponse: 'Invalid response format',
// UI text
showApiKey: 'Show API Key',
hideApiKey: 'Hide API Key',
testConnectionTooltip: 'Test API connection',
testing: 'Testing',
success: 'Success',
failed: 'Failed',
test: 'Test',
},
},
// Model Parameters Section

View File

@@ -240,6 +240,31 @@ export default {
searchOrEnterModelName: '搜索或输入模型名称...',
enterCustomModelName: '输入自定义模型名称',
custom: '自定义: ',
testConnection: {
testApiConnection: '测试 API 连接',
testingConnection: '正在测试连接...',
connectionSuccess: '连接测试成功',
connectionFailed: '连接测试失败',
notSupported: '不支持测试 {provider} 的 API 连接',
invalidApiKey: 'API Key 无效或缺失',
invalidBaseUrl: '基础 URL 设置错误',
requestTimeout: '请求超时,请检查网络连接',
networkError: '网络连接失败',
unauthorizedError: 'API Key 授权失败',
forbiddenError: '访问被拒绝,请检查 API Key 权限',
rateLimitError: '请求频率过高,请稍后重试',
serverError: '服务器内部错误',
noDefaultModel: '{provider} 没有可用的默认模型',
invalidResponse: '响应格式无效',
// UI 文本
showApiKey: '显示 API Key',
hideApiKey: '隐藏 API Key',
testConnectionTooltip: '测试 API 连接',
testing: '测试中',
success: '成功',
failed: '失败',
test: '测试',
},
},
// 模型参数部分