mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-07 01:56:53 +00:00
perf(web): improve dialog sizing and footer layout
- migrate frontend dialogs to the shared footer API so actions stay separated from scrollable body content. - tune dialog dimensions for model analytics, prefill groups, billing history, channel model sync, and related workflows. - update channel terminology and dialog action translations across supported locales.
This commit is contained in:
Vendored
+26
-19
@@ -140,7 +140,7 @@
|
||||
"Add {{title}}": "添加{{title}}",
|
||||
"Add a group identifier to the auto assignment list.": "将分组标识符添加到自动分配列表。",
|
||||
"Add a new API key by providing necessary info.": "通过提供必要信息添加新的 API 密钥。",
|
||||
"Add a new channel by providing the necessary information.": "通过提供必要信息添加新的通道。",
|
||||
"Add a new channel by providing the necessary information.": "通过提供必要信息添加新的渠道。",
|
||||
"Add a new model to the system by providing the necessary information.": "通过提供必要信息向系统添加新模型。",
|
||||
"Add a new user by providing necessary info.": "通过提供必要信息来添加新用户。",
|
||||
"Add a new vendor to the system": "向系统添加新供应商",
|
||||
@@ -452,7 +452,7 @@
|
||||
"Auto-discovers endpoints from the provider": "自动从提供商发现端点",
|
||||
"Auto-fill when one field exists and another is missing": "在一个字段有值、另一个缺失时自动补齐",
|
||||
"Auto-retry status codes": "自动重试状态码",
|
||||
"Automatically disable channel on repeated failures": "重复失败时自动禁用通道",
|
||||
"Automatically disable channel on repeated failures": "重复失败时自动禁用渠道",
|
||||
"Automatically disable channels exceeding this response time": "自动禁用超出此响应时间的渠道",
|
||||
"Automatically disable channels when tests fail": "当测试失败时自动禁用渠道",
|
||||
"Automatically probe all channels in the background": "在后台自动探测所有渠道",
|
||||
@@ -645,7 +645,6 @@
|
||||
"Channel Affinity": "渠道亲和性",
|
||||
"Channel affinity reuses the last successful channel based on keys extracted from the request context or JSON body.": "渠道亲和性会基于从请求上下文或 JSON Body 提取的 Key,优先复用上一次成功的渠道。",
|
||||
"Channel Affinity: Upstream Cache Hit": "渠道亲和性:上游缓存命中",
|
||||
"Keep affinity when channel is disabled": "渠道禁用后保留亲和",
|
||||
"Channel copied successfully": "渠道复制成功",
|
||||
"Channel created successfully": "渠道创建成功",
|
||||
"Channel deleted successfully": "渠道删除成功",
|
||||
@@ -661,7 +660,7 @@
|
||||
"Channel type is required": "渠道类型是必填的",
|
||||
"Channel updated successfully": "渠道更新成功",
|
||||
"Channel-specific settings (JSON format)": "渠道特定设置(JSON 格式)",
|
||||
"Channel:": "频道:",
|
||||
"Channel:": "渠道:",
|
||||
"channel(s)? This action cannot be undone.": "渠道?此操作无法撤销。",
|
||||
"Channels": "渠道",
|
||||
"Channels deleted successfully": "渠道删除成功",
|
||||
@@ -771,7 +770,7 @@
|
||||
"Codex Account & Usage": "Codex 账户和用量",
|
||||
"Codex Authorization": "Codex 授权",
|
||||
"Codex channels do not support batch creation": "Codex 渠道不支持批量创建",
|
||||
"Codex channels use an OAuth JSON credential as the key.": "Codex 频道使用 OAuth JSON 凭据作为密钥。",
|
||||
"Codex channels use an OAuth JSON credential as the key.": "Codex 渠道使用 OAuth JSON 凭据作为密钥。",
|
||||
"Codex CLI Header Passthrough": "Codex CLI 请求头透传",
|
||||
"Codex credential must be a JSON object with access_token and account_id": "Codex 凭据必须是包含 access_token 和 account_id 的 JSON 对象",
|
||||
"Cohere": "Cohere",
|
||||
@@ -964,6 +963,7 @@
|
||||
"Copy to clipboard": "复制到剪贴板",
|
||||
"Copy token": "复制令牌",
|
||||
"Copy URL": "复制 URL",
|
||||
"Copying...": "正在复制...",
|
||||
"Copywriting, ad creative, SEO": "文案、广告创意、SEO",
|
||||
"Core concepts": "核心概念",
|
||||
"Core Configuration": "核心配置",
|
||||
@@ -1512,8 +1512,8 @@
|
||||
"Exact": "精确",
|
||||
"Exact Match": "完全匹配",
|
||||
"Example": "示例",
|
||||
"Example (all channels):": "示例(全部频道):",
|
||||
"Example (specific channels):": "示例(指定频道):",
|
||||
"Example (all channels):": "示例(全部渠道):",
|
||||
"Example (specific channels):": "示例(指定渠道):",
|
||||
"Example:": "示例:",
|
||||
"example.com blocked-site.com": "example.com blocked-site.com",
|
||||
"example.com company.com": "example.com company.com",
|
||||
@@ -1663,12 +1663,12 @@
|
||||
"Failed to sync prices": "同步价格失败",
|
||||
"Failed to sync ratios": "同步比率失败",
|
||||
"Failed to test all channels": "无法测试所有渠道",
|
||||
"Failed to test channel": "测试通道失败",
|
||||
"Failed to test channel": "测试渠道失败",
|
||||
"Failed to update all balances": "无法更新所有余额",
|
||||
"Failed to update API key": "更新 API 密钥失败",
|
||||
"Failed to update API key status": "更新 API 密钥状态失败",
|
||||
"Failed to update balance": "无法更新余额",
|
||||
"Failed to update channel": "更新通道失败",
|
||||
"Failed to update channel": "更新渠道失败",
|
||||
"Failed to update models": "更新模型失败",
|
||||
"Failed to update profile": "无法更新个人资料",
|
||||
"Failed to update provider": "更新提供商失败",
|
||||
@@ -1707,8 +1707,8 @@
|
||||
"Files to Retain": "保留文件数",
|
||||
"Fill All Models": "填充所有模型",
|
||||
"Fill Codex CLI / Claude CLI Templates": "填充 Codex CLI / Claude CLI 模板",
|
||||
"Fill example (all channels)": "填充示例(全部频道)",
|
||||
"Fill example (specific channels)": "填充示例(指定频道)",
|
||||
"Fill example (all channels)": "填充示例(全部渠道)",
|
||||
"Fill example (specific channels)": "填充示例(指定渠道)",
|
||||
"Fill in both Merchant ID and API Private Key before creating.": "创建前请填写 Merchant ID 和 API 私钥。",
|
||||
"Fill in the credentials above to begin.": "请先填写上方凭证。",
|
||||
"Fill in the following info to create a new subscription plan": "填写以下信息创建新的订阅套餐",
|
||||
@@ -1720,7 +1720,7 @@
|
||||
"Filled {{count}} related model(s)": "已填充 {{count}} 个关联模型",
|
||||
"Filter": "筛选",
|
||||
"Filter by API key...": "按 API 密钥筛选...",
|
||||
"Filter by channel ID": "按通道 ID 筛选",
|
||||
"Filter by channel ID": "按渠道 ID 筛选",
|
||||
"Filter by group": "按分组筛选",
|
||||
"Filter by Midjourney task ID": "按 Midjourney 任务 ID 筛选",
|
||||
"Filter by model name...": "按模型名称筛选...",
|
||||
@@ -1739,6 +1739,7 @@
|
||||
"Filter models by provider, group, type, endpoint, and tags.": "按供应商、分组、类型、端点和标签筛选模型。",
|
||||
"Filter models by type, endpoint, vendor, group and tags": "按类型、端点、供应商、分组和标签筛选模型",
|
||||
"Filter models...": "筛选模型...",
|
||||
"Filter the model analytics view by time range and user.": "按时间范围和用户筛选模型分析视图。",
|
||||
"Filter...": "筛选...",
|
||||
"Filters": "筛选器",
|
||||
"Filters active": "筛选已启用",
|
||||
@@ -1821,7 +1822,7 @@
|
||||
"Gemini will continue to auto-detect thinking mode even with the adapter disabled. Enable this only when you need finer control over pricing and budgeting.": "即使禁用适配器,Gemini 也会继续自动检测思维模式。仅当您需要对定价和预算进行更精细的控制时才启用此选项。",
|
||||
"General": "常规",
|
||||
"General Settings": "通用设置",
|
||||
"Generate a Codex OAuth credential and paste it into the channel key field.": "生成 Codex OAuth 凭据并粘贴到频道密钥字段。",
|
||||
"Generate a Codex OAuth credential and paste it into the channel key field.": "生成 Codex OAuth 凭据并粘贴到渠道密钥字段。",
|
||||
"Generate and manage your API access token": "生成和管理您的 API 访问令牌",
|
||||
"Generate credential": "生成凭据",
|
||||
"Generate Lyrics": "生成歌词",
|
||||
@@ -1991,11 +1992,10 @@
|
||||
"Icon identifier (e.g. github, gitlab)": "图标标识符(例如 github、gitlab)",
|
||||
"ID": "ID",
|
||||
"If an upstream error contains any of these keywords (case insensitive), the channel will be disabled automatically.": "如果上游错误包含以下任何关键字(不区分大小写),渠道将自动禁用。",
|
||||
"If authorization succeeds, the generated JSON will be inserted into the key field. You still need to save the channel to persist it.": "授权成功后,生成的 JSON 将插入密钥字段。您仍需保存频道以持久化。",
|
||||
"If authorization succeeds, the generated JSON will be inserted into the key field. You still need to save the channel to persist it.": "授权成功后,生成的 JSON 将插入密钥字段。您仍需保存渠道以持久化。",
|
||||
"If connecting to upstream One API or New API relay projects, use OpenAI type instead unless you know what you are doing": "如果连接上游 One API 或 New API 中继项目,除非您知道自己在做什么,否则请使用 OpenAI 类型",
|
||||
"If default auto group is enabled, newly created tokens start with auto instead of an empty group.": "如果启用默认 auto 分组,新建令牌会默认使用 auto,而不是空分组。",
|
||||
"If the affinity channel fails and retry succeeds on another channel, update affinity to the successful channel.": "如果亲和到的渠道失败,重试到其他渠道成功后,将亲和更新到成功的渠道。",
|
||||
"When enabled, keep the affinity entry even if the affinity channel is disabled or no longer usable for the current group/model. Leave it off to delete the entry and select another channel.": "开启后,亲和到的渠道被禁用,或不再适用于当前分组/模型时,仍保留这条亲和;关闭时会删除并重新选择渠道。",
|
||||
"If this keeps happening, please report it on GitHub Issues.": "如果问题持续出现,请到 GitHub Issues 反馈。",
|
||||
"If you provide generative AI services to the public in mainland China, you will fulfill legal obligations including filing, security assessment, content safety, complaint handling, generated content labeling, log retention, and personal information protection.": "如果你在中国大陆向公众提供生成式人工智能服务,你将履行备案、安全评估、内容安全、投诉处理、生成内容标识、日志留存和个人信息保护等法律义务。",
|
||||
"Ignored upstream models": "已忽略上游模型",
|
||||
@@ -2108,6 +2108,7 @@
|
||||
"Just now": "刚刚",
|
||||
"JustSong": "JustSong",
|
||||
"K": "K",
|
||||
"Keep affinity when channel is disabled": "渠道禁用后保留亲和",
|
||||
"Keep enabled if you need to proxy requests for different upstream accounts.": "如果需要为不同上游账户代理请求,请保持启用。",
|
||||
"Keep enough balance before production traffic": "生产流量前保持充足余额",
|
||||
"Keep original value": "保留原值",
|
||||
@@ -2326,6 +2327,8 @@
|
||||
"Model": "模型",
|
||||
"Model Access": "模型访问",
|
||||
"Model Analytics": "模型数据分析",
|
||||
"Model Analytics Defaults": "模型分析默认设置",
|
||||
"Model Analytics Filters": "模型分析筛选",
|
||||
"model billing support": "模型计费支持",
|
||||
"Model Call Analytics": "模型调用分析",
|
||||
"Model context usage": "模型上下文用量",
|
||||
@@ -2369,7 +2372,7 @@
|
||||
"Model Square": "模型广场",
|
||||
"Model Tags": "模型标签",
|
||||
"Model to use for testing": "用于测试的模型",
|
||||
"Model to use when testing channel connectivity": "测试通道连接时使用的模型",
|
||||
"Model to use when testing channel connectivity": "测试渠道连接时使用的模型",
|
||||
"Model Version *": "模型版本 *",
|
||||
"model(s) selected out of": "已选模型(共)",
|
||||
"model(s)? This action cannot be undone.": "模型?此操作无法撤销。",
|
||||
@@ -2423,7 +2426,7 @@
|
||||
"ms": "毫秒",
|
||||
"Multi-key channel: Keys will be": "多密钥渠道:密钥将",
|
||||
"Multi-Key Management": "多密钥管理",
|
||||
"Multi-Key Mode (multiple keys, one channel)": "多密钥模式(多个密钥,一个通道)",
|
||||
"Multi-Key Mode (multiple keys, one channel)": "多密钥模式(多个密钥,一个渠道)",
|
||||
"Multi-Key Strategy": "多密钥策略",
|
||||
"Multi-key: Polling rotation": "多密钥:轮询",
|
||||
"Multi-key: Random rotation": "多密钥:随机",
|
||||
@@ -3610,6 +3613,7 @@
|
||||
"Set a tag for": "设置标签为",
|
||||
"Set API key access restrictions": "设置令牌的访问限制",
|
||||
"Set API key basic information": "设置令牌的基本信息",
|
||||
"Set default ranges and charts for model analytics.": "设置模型分析的默认时间范围和图表。",
|
||||
"Set Field": "设置字段",
|
||||
"Set filters to customize your dashboard statistics and charts.": "设置筛选器以自定义您的仪表板统计数据和图表。",
|
||||
"Set filters to narrow down your log search results.": "设置筛选器以缩小日志搜索结果范围。",
|
||||
@@ -3811,11 +3815,13 @@
|
||||
"Sync Endpoints": "同步端点",
|
||||
"Sync Fields": "字段同步",
|
||||
"Sync from the public upstream metadata repository.": "从公共上游元数据仓库同步。",
|
||||
"Sync Now": "立即同步",
|
||||
"Sync this model with official upstream": "将此模型与官方上游同步",
|
||||
"Sync Upstream": "同步上游",
|
||||
"Sync Upstream Models": "同步上游模型",
|
||||
"Synchronize models and vendors from an upstream source": "从上游源同步模型和供应商",
|
||||
"Syncing prices, please wait...": "正在同步价格,请稍候...",
|
||||
"Syncing...": "同步中...",
|
||||
"System": "系统",
|
||||
"System Administration": "系统管理",
|
||||
"System Announcements": "系统公告",
|
||||
@@ -3887,7 +3893,7 @@
|
||||
"Test Model": "测试模型",
|
||||
"Test models and prompts from the browser": "在浏览器中测试模型和提示词",
|
||||
"Test selected models": "测试所选模型",
|
||||
"Testing all enabled channels started. Please refresh to see results.": "测试所有启用的通道已开始。请刷新以查看结果。",
|
||||
"Testing all enabled channels started. Please refresh to see results.": "测试所有启用的渠道已开始。请刷新以查看结果。",
|
||||
"Testing...": "测试中...",
|
||||
"Text": "文本",
|
||||
"Text description of the desired image": "想要生成图像的文字描述",
|
||||
@@ -3937,7 +3943,7 @@
|
||||
"This action cannot be undone. This will permanently delete your account and remove all your data from our servers.": "此操作无法撤消。这将永久删除您的账户并从我们的服务器中移除您的所有数据。",
|
||||
"This action will permanently remove 2FA protection from your account.": "此操作将永久移除您账户的 2FA 保护。",
|
||||
"This channel is not an Ollama channel.": "该渠道不是 Ollama 渠道。",
|
||||
"This channel type does not support fetching models": "此通道类型不支持获取模型",
|
||||
"This channel type does not support fetching models": "此渠道类型不支持获取模型",
|
||||
"This channel type requires additional configuration": "此渠道类型需要填写额外配置",
|
||||
"This confirmation unlocks payment, redemption code, subscription plan, and invitation reward features. Please read the statements carefully.": "此确认会解锁支付、兑换码、订阅套餐和邀请奖励功能。请仔细阅读相关声明。",
|
||||
"This controls model request rate limiting. Web/API route throttling is configured by environment variables and may still return 429.": "此处仅控制模型请求速率限制。Web/API 路由限流由环境变量配置,仍可能返回 429。",
|
||||
@@ -4453,6 +4459,7 @@
|
||||
"When a token uses the auto group, the system tries groups from top to bottom until it finds an available group.": "当令牌使用 auto 分组时,系统会按从上到下的顺序尝试,直到找到可用分组。",
|
||||
"When conditions match, the final price is multiplied by X. Multiple matches multiply together; values < 1 act as discounts.": "条件满足时,最终价格乘以 X;多条命中的倍率会相乘;小于 1 的值为折扣。",
|
||||
"When enabled, if channels in the current group fail, it will try channels in the next group in order.": "开启后,当前分组渠道失败时会按顺序尝试下一个分组的渠道。",
|
||||
"When enabled, keep the affinity entry even if the affinity channel is disabled or no longer usable for the current group/model. Leave it off to delete the entry and select another channel.": "开启后,亲和到的渠道被禁用,或不再适用于当前分组/模型时,仍保留这条亲和;关闭时会删除并重新选择渠道。",
|
||||
"When enabled, large request bodies are temporarily stored on disk instead of memory, significantly reducing memory usage. SSD recommended.": "启用磁盘缓存后,大请求体将临时存储到磁盘而非内存,可显著降低内存占用。建议在 SSD 环境下使用。",
|
||||
"When enabled, Midjourney callbacks are accepted (reveals server IP).": "启用时,接受 Midjourney 回调 (会泄露服务器 IP)。",
|
||||
"When enabled, newly created tokens start in the first auto group.": "启用后,新创建的令牌将从第一个自动分组开始。",
|
||||
|
||||
Reference in New Issue
Block a user