mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-12 23:30:35 +00:00
feat(advanced-custom): remove fallback option and enhance path matching for advanced custom routes
This commit is contained in:
Vendored
+14
-17
@@ -138,11 +138,6 @@
|
||||
"Active models": "活跃模型",
|
||||
"active users": "活跃用户",
|
||||
"Actual Amount": "实付金额",
|
||||
"Plan Price": "套餐价格",
|
||||
"Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "用户购买该套餐需支付的金额,具体币种由支付渠道决定",
|
||||
"Amount the user pays to purchase this plan (USD).": "用户购买该套餐需支付的金额(美元)。",
|
||||
"Plan Quota": "套餐额度",
|
||||
"Total quota included in the plan, usable per billing period. 0 means unlimited.": "套餐包含的总额度,每个计费周期可用;0 表示不限量",
|
||||
"Actual Model": "实际模型",
|
||||
"Actual Model:": "实际模型:",
|
||||
"Adapt `-thinking` suffix requests to Anthropic native thinking behavior while keeping billing predictable.": "将带 `-thinking` 后缀的请求适配为 Anthropic 原生思考请求,并保持计费可预测。",
|
||||
@@ -231,7 +226,7 @@
|
||||
"Advanced Configuration": "高级配置",
|
||||
"Advanced Custom": "高级自定义",
|
||||
"Advanced custom configuration is required": "必须配置高级自定义",
|
||||
"Advanced custom configuration requires at least one route or fallback": "高级自定义至少需要一个路由或启用兜底",
|
||||
"Advanced custom configuration requires at least one route": "高级自定义至少需要一个路由",
|
||||
"Advanced Custom Routes": "高级自定义路由",
|
||||
"Advanced options": "高级选项",
|
||||
"Advanced Options": "高级选项",
|
||||
@@ -286,10 +281,6 @@
|
||||
"Allocated Memory": "已分配内存",
|
||||
"Allow accountFilter parameter": "允许 accountFilter 参数",
|
||||
"Allow balance redemption": "允许余额兑换",
|
||||
"Allow wallet balance after quota used up": "额度用尽后允许使用钱包余额",
|
||||
"Downgrade Group": "降级分组",
|
||||
"Downgrade to pre-purchase group": "降级到购买前分组",
|
||||
"Downgrade to this group after the subscription expires": "订阅过期后降级到该分组",
|
||||
"Allow Claude beta query passthrough": "允许 Claude beta 查询透传",
|
||||
"Allow clients to query configured ratios via `/api/ratio`.": "允许客户端通过 `/api/ratio` 查询配置的比例。",
|
||||
"Allow HTTP image requests": "允许 HTTP 图像请求",
|
||||
@@ -318,6 +309,7 @@
|
||||
"Allow users to sign in with this provider": "允许用户使用此提供商登录",
|
||||
"Allow users to sign in with WeChat": "允许用户使用微信登录",
|
||||
"Allow using models without price configuration": "允许使用未配置价格的模型",
|
||||
"Allow wallet balance after quota used up": "额度用尽后允许使用钱包余额",
|
||||
"Allowed": "允许",
|
||||
"Allowed Origins": "允许的 Origins",
|
||||
"Allowed Ports": "允许的端口",
|
||||
@@ -331,6 +323,8 @@
|
||||
"Amount must be greater than 0": "金额必须大于 0",
|
||||
"Amount of quota to credit to user account.": "添加到用户账户的配额数量。",
|
||||
"Amount options must be a JSON array": "金额选项必须是 JSON 数组",
|
||||
"Amount the user pays to purchase this plan (USD).": "用户购买该套餐需支付的金额(美元)。",
|
||||
"Amount the user pays to purchase this plan; the actual currency depends on the payment gateway.": "用户购买该套餐需支付的金额,具体币种由支付渠道决定",
|
||||
"Amount to pay:": "待支付金额:",
|
||||
"An unexpected error occurred": "发生意外错误",
|
||||
"and": "和",
|
||||
@@ -542,7 +536,6 @@
|
||||
"Base URL": "API 地址",
|
||||
"Base URL is required for this channel type": "此渠道类型需要填写 Base URL",
|
||||
"Base URL is required when an advanced route uses an upstream path": "高级路由使用上游路径时必须填写 Base URL",
|
||||
"Base URL is required when fallback is enabled": "启用兜底时必须填写 Base URL",
|
||||
"Base URL of your Uptime Kuma instance": "您的 Uptime Kuma 实例的基础 URL",
|
||||
"Basic Authentication": "基本身份验证",
|
||||
"Basic Configuration": "基本配置",
|
||||
@@ -791,6 +784,7 @@
|
||||
"Click save when you're done.": "完成後點擊保存。",
|
||||
"Click save when you're done.": "完成后点击保存。",
|
||||
"Click the button below to bind your Telegram account": "点击下方按钮绑定您的 Telegram 账户",
|
||||
"Click to copy": "点击复制",
|
||||
"Click to open deployment": "点击打开部署",
|
||||
"Click to preview audio": "点击预览音乐",
|
||||
"Click to preview video": "点击预览视频",
|
||||
@@ -1336,6 +1330,9 @@
|
||||
"Doubao custom API address editing unlocked": "已解锁豆包自定义 API 地址编辑",
|
||||
"DoubaoVideo": "DoubaoVideo",
|
||||
"Double check the configuration below. Your system will be locked until initialization is complete.": "仔细检查以下配置。您的系统将在初始化完成前保持锁定状态。",
|
||||
"Downgrade Group": "降级分组",
|
||||
"Downgrade to pre-purchase group": "降级到购买前分组",
|
||||
"Downgrade to this group after the subscription expires": "订阅过期后降级到该分组",
|
||||
"Download": "下载",
|
||||
"Draw": "绘图",
|
||||
"Drawing": "绘图",
|
||||
@@ -1774,9 +1771,7 @@
|
||||
"Failed to update user": "更新用户失败",
|
||||
"Failure keywords": "失败关键词",
|
||||
"Fair": "公平",
|
||||
"Fallback": "兜底",
|
||||
"Fallback base URL": "兜底 Base URL",
|
||||
"Fallback routing": "兜底路由",
|
||||
"Fallback tier": "兜底阶梯",
|
||||
"FAQ": "常见问答",
|
||||
"FAQ added. Click \"Save Settings\" to apply.": "FAQ 已添加。点击 \"保存设置\" 以应用。",
|
||||
@@ -2864,8 +2859,8 @@
|
||||
"OpenAI Chat to Anthropic Messages": "OpenAI Chat 到 Anthropic Messages",
|
||||
"OpenAI Chat to Gemini Generate Content": "OpenAI Chat 到 Gemini Generate Content",
|
||||
"OpenAI Chat to OpenAI Responses": "OpenAI Chat 到 OpenAI Responses",
|
||||
"OpenAI Completions": "OpenAI 文本补全",
|
||||
"OpenAI Compatible": "兼容 OpenAI",
|
||||
"OpenAI Completions": "OpenAI 文本补全",
|
||||
"OpenAI Embeddings": "OpenAI 嵌入",
|
||||
"OpenAI Image Edits": "OpenAI 图像编辑",
|
||||
"OpenAI Image Generations": "OpenAI 图像生成",
|
||||
@@ -3072,7 +3067,9 @@
|
||||
"Ping Interval (seconds)": "Ping 间隔(秒)",
|
||||
"Plan": "套餐",
|
||||
"Plan Name": "套餐名称",
|
||||
"Plan Price": "套餐价格",
|
||||
"Plan price must be greater than zero": "套餐价格必须大于 0",
|
||||
"Plan Quota": "套餐额度",
|
||||
"Plan Subtitle": "套餐副标题",
|
||||
"Plan Title": "套餐标题",
|
||||
"Plan title is required": "套餐标题为必填项",
|
||||
@@ -4267,6 +4264,7 @@
|
||||
"Total invitation revenue": "总邀请收入",
|
||||
"Total Log Size": "日志总大小",
|
||||
"Total Quota": "总额度",
|
||||
"Total quota included in the plan, usable per billing period. 0 means unlimited.": "套餐包含的总额度,每个计费周期可用;0 表示不限量",
|
||||
"Total requests allowed per period. 0 = unlimited.": "每周期允许的总请求数。0 = 无限制。",
|
||||
"Total requests made": "总请求数",
|
||||
"Total tokens": "总 Token",
|
||||
@@ -4408,10 +4406,10 @@
|
||||
"Upstream Model Update Check": "上游模型更新检查",
|
||||
"Upstream Model Updates": "上游模型更新",
|
||||
"Upstream model updates applied: {{added}} added, {{removed}} removed, {{ignored}} ignored this time, {{totalIgnored}} total ignored models": "已处理上游模型更新:加入 {{added}} 个,删除 {{removed}} 个,本次忽略 {{ignored}} 个,当前已忽略模型 {{totalIgnored}} 个",
|
||||
"Upstream price sync": "上游价格同步",
|
||||
"Upstream path": "上游路径",
|
||||
"Upstream path is required": "上游路径不能为空",
|
||||
"Upstream path must be a full URL or a path starting with /": "上游路径必须是完整 URL,或以 / 开头的路径",
|
||||
"Upstream price sync": "上游价格同步",
|
||||
"Upstream prices fetched successfully": "已成功获取上游价格",
|
||||
"Upstream ratios fetched successfully": "上游比率获取成功",
|
||||
"Upstream Request ID": "上游请求 ID",
|
||||
@@ -4443,8 +4441,8 @@
|
||||
"USD price per 1M input tokens.": "每 100 万输入 token 的美元价格。",
|
||||
"USD price per 1M tokens.": "每 100 万 token 的美元价格。",
|
||||
"Use +: to add a group, -: to remove a default selectable group, or no prefix to append a group.": "使用 +: 添加分组,使用 -: 移除默认可选分组,不加前缀则追加分组。",
|
||||
"Use a path to append it to the channel Base URL, or enter a full URL to override the Base URL for this route.": "填写以 / 开头的路径时会自动拼接渠道 Base URL;填写完整 URL 时,此路由会直接使用该 URL。",
|
||||
"Use a compatible browser or device with biometric authentication or a security key to register a Passkey.": "请使用支持生物识别认证或安全密钥的兼容浏览器或设备来注册通行密钥。",
|
||||
"Use a path to append it to the channel Base URL, or enter a full URL to override the Base URL for this route.": "填写以 / 开头的路径时会自动拼接渠道 Base URL;填写完整 URL 时,此路由会直接使用该 URL。",
|
||||
"Use authenticator code": "使用验证器代码",
|
||||
"Use backup code": "使用备用代码",
|
||||
"Use disk cache when request body exceeds this size": "请求体超过此大小时使用磁盘缓存",
|
||||
@@ -4657,7 +4655,6 @@
|
||||
"When enabled, Midjourney callbacks are accepted (reveals server IP).": "启用时,接受 Midjourney 回调 (会泄露服务器 IP)。",
|
||||
"When enabled, newly created tokens start in the first auto group.": "启用后,新创建的令牌将从第一个自动分组开始。",
|
||||
"When enabled, prompts are scanned before reaching upstream models.": "启用后,提示将在到达上游模型之前被扫描。",
|
||||
"When enabled, requests that do not match any advanced route are forwarded to the channel base URL. When disabled, unmatched requests return an error.": "开启后,未命中任何高级路由的请求会转发到该渠道的 Base URL;关闭时,未匹配请求会返回错误。",
|
||||
"When enabled, the store field will be blocked": "开启后将阻止 store 字段透传",
|
||||
"When enabled, users can pick this group when creating tokens.": "启用后,用户创建令牌时可以选择该分组。",
|
||||
"When enabled, violation requests will incur additional charges.": "开启后,违规请求将额外扣费。",
|
||||
|
||||
Reference in New Issue
Block a user