增加配置转换

This commit is contained in:
2025-08-07 23:46:55 +08:00
parent 5910362683
commit ca56cc83f0
16 changed files with 2837 additions and 2 deletions

View File

@@ -38,6 +38,48 @@ project-not-found = Project not found
project-access-denied = Access denied to project
session-not-found = Session not found
# Relay Station Messages
relay-station-not-found = Relay station not found
relay-station-create-failed = Failed to create relay station
relay-station-update-failed = Failed to update relay station
relay-station-delete-failed = Failed to delete relay station
relay-station-delete-success = Relay station deleted successfully
relay-station-name-required = Relay station name is required
relay-station-api-url-required = API URL is required
relay-station-invalid-url = Invalid URL format
relay-station-https-required = Only HTTPS URLs are allowed for security
relay-station-token-required = System token is required
relay-station-token-too-short = Token is too short (minimum 10 characters)
relay-station-token-invalid-chars = Token contains invalid characters
relay-station-invalid-adapter = Invalid adapter type
relay-station-invalid-auth-method = Invalid authentication method
relay-station-invalid-config = Invalid adapter configuration
# Relay Adapter Messages
relay-adapter-connection-success = Connection successful
relay-adapter-api-error = API returned error
relay-adapter-parse-error = Failed to parse response
relay-adapter-http-error = HTTP request failed
relay-adapter-network-error = Network connection failed
relay-adapter-custom-no-test = Custom configuration, connection test skipped
relay-adapter-user-info-not-available = User info not available for this configuration
relay-adapter-usage-logs-not-available = Usage logs not available for this configuration
relay-adapter-token-management-not-available = Token management not available for this configuration
relay-adapter-token-deleted = Token deleted successfully
relay-adapter-get-info-failed = Failed to get station information
relay-adapter-get-user-info-failed = Failed to get user information
relay-adapter-connection-test-failed = Connection test failed
relay-adapter-get-usage-logs-failed = Failed to get usage logs
relay-adapter-list-tokens-failed = Failed to list tokens
relay-adapter-create-token-failed = Failed to create token
relay-adapter-update-token-failed = Failed to update token
relay-adapter-delete-token-failed = Failed to delete token
# Database Messages
database-lock-failed = Failed to acquire database lock
database-init-failed = Failed to initialize database
database-query-failed = Database query failed
# General Messages
operation-cancelled = Operation cancelled
timeout-error = Operation timed out

View File

@@ -38,6 +38,48 @@ project-not-found = 未找到项目
project-access-denied = 拒绝访问项目
session-not-found = 未找到会话
# 中转站消息
relay-station-not-found = 未找到中转站
relay-station-create-failed = 创建中转站失败
relay-station-update-failed = 更新中转站失败
relay-station-delete-failed = 删除中转站失败
relay-station-delete-success = 中转站删除成功
relay-station-name-required = 中转站名称必填
relay-station-api-url-required = API 地址必填
relay-station-invalid-url = URL 格式无效
relay-station-https-required = 为了安全,仅允许 HTTPS URL
relay-station-token-required = 系统令牌必填
relay-station-token-too-short = 令牌太短最少10个字符
relay-station-token-invalid-chars = 令牌包含无效字符
relay-station-invalid-adapter = 适配器类型无效
relay-station-invalid-auth-method = 认证方式无效
relay-station-invalid-config = 适配器配置无效
# 中转站适配器消息
relay-adapter-connection-success = 连接成功
relay-adapter-api-error = API 返回错误
relay-adapter-parse-error = 解析响应失败
relay-adapter-http-error = HTTP 请求失败
relay-adapter-network-error = 网络连接失败
relay-adapter-custom-no-test = 自定义配置,跳过连接测试
relay-adapter-user-info-not-available = 该配置不支持用户信息查询
relay-adapter-usage-logs-not-available = 该配置不支持使用日志查询
relay-adapter-token-management-not-available = 该配置不支持 Token 管理
relay-adapter-token-deleted = Token 删除成功
relay-adapter-get-info-failed = 获取站点信息失败
relay-adapter-get-user-info-failed = 获取用户信息失败
relay-adapter-connection-test-failed = 连接测试失败
relay-adapter-get-usage-logs-failed = 获取使用日志失败
relay-adapter-list-tokens-failed = 获取 Token 列表失败
relay-adapter-create-token-failed = 创建 Token 失败
relay-adapter-update-token-failed = 更新 Token 失败
relay-adapter-delete-token-failed = 删除 Token 失败
# 数据库消息
database-lock-failed = 获取数据库锁失败
database-init-failed = 初始化数据库失败
database-query-failed = 数据库查询失败
# 通用消息
operation-cancelled = 操作已取消
timeout-error = 操作超时