mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-12 15:21:09 +00:00
refactor: codex usage ui (#5595)
* refactor: codex usage ui * feat: show Codex reset credit details * feat: add Codex usage reset flow
This commit is contained in:
Vendored
+32
@@ -234,6 +234,7 @@
|
||||
"Advanced Settings": "高级设置",
|
||||
"Advanced text editing": "高级文本编辑",
|
||||
"Aesthetic style": "画风",
|
||||
"Affected windows:": "影响窗口:",
|
||||
"After clicking the button, you'll be asked to authorize the bot": "点击按钮后,您将被要求授权机器人",
|
||||
"After disabling, it will no longer be shown to users, but historical orders are not affected. Continue?": "禁用后用户端不再展示,但历史订单不受影响。是否继续?",
|
||||
"After enabling, the plan will be shown to users. Continue?": "启用后套餐将在用户端展示。是否继续?",
|
||||
@@ -394,6 +395,7 @@
|
||||
"Apply Filters": "应用筛选器",
|
||||
"Apply IP Filter to Resolved Domains": "对已解析的域应用 IP 筛选器",
|
||||
"Apply Overwrite": "应用覆盖",
|
||||
"Apply reset": "执行重置",
|
||||
"Apply Sync": "应用同步",
|
||||
"Applying...": "正在应用...",
|
||||
"Approx.": "约",
|
||||
@@ -485,8 +487,10 @@
|
||||
"Automatically sync model list when upstream changes are detected": "检测到上游模型变更时自动同步模型列表",
|
||||
"Availability (last 24h)": "可用率(最近 24 小时)",
|
||||
"Available": "可用",
|
||||
"Available credits are ordered by soonest expiration.": "可用次数按最早到期排序。",
|
||||
"Available disk space": "可用磁盘空间",
|
||||
"Available Models": "可用模型",
|
||||
"Available reset credits": "可用重置次数",
|
||||
"Available Rewards": "可用奖励",
|
||||
"Average latency": "平均延迟",
|
||||
"Average latency, TTFT, and success rate by group": "各分组的平均延迟、首 Token 延迟和成功率",
|
||||
@@ -686,6 +690,7 @@
|
||||
"Channel enabled successfully": "渠道启用成功",
|
||||
"Channel Extra Settings": "渠道额外设置",
|
||||
"Channel ID": "渠道 ID",
|
||||
"Channel ID is required": "缺少渠道 ID",
|
||||
"Channel key": "渠道密钥",
|
||||
"Channel key unlocked": "渠道密钥已解锁",
|
||||
"Channel models": "渠道模型",
|
||||
@@ -811,6 +816,7 @@
|
||||
"Codes copied!": "代码已复制!",
|
||||
"Codex": "Codex",
|
||||
"Codex Account & Usage": "Codex 账户和用量",
|
||||
"Codex Account Status": "Codex 账号状态",
|
||||
"Codex channels do not support batch creation": "Codex 渠道不支持批量创建",
|
||||
"Codex channels use an OAuth JSON credential as the key.": "Codex 渠道使用 OAuth JSON 凭据作为密钥。",
|
||||
"Codex CLI Header Passthrough": "Codex CLI 请求头透传",
|
||||
@@ -928,6 +934,7 @@
|
||||
"Confirm settings and finish setup": "确认设置并完成安装",
|
||||
"confirm that I bear legal responsibility arising from deployment": "确认承担因部署",
|
||||
"Confirm Unbind": "确认解绑",
|
||||
"Confirm usage reset": "确认重置用量",
|
||||
"Confirm your identity before removing this Passkey from your account.": "在解绑当前账号的 Passkey 前请确认你的身份。",
|
||||
"Confirm your identity with Two-factor Authentication before registering a Passkey.": "在注册 Passkey 前请使用两步验证确认你的身份。",
|
||||
"Confirmed at {{time}} by user #{{userId}}": "用户 #{{userId}} 于 {{time}} 确认",
|
||||
@@ -1625,6 +1632,8 @@
|
||||
"Expired at": "过期于",
|
||||
"Expired time cannot be earlier than current time": "过期时间不能早于当前时间",
|
||||
"Expires": "过期",
|
||||
"Expires at": "到期时间",
|
||||
"Expires in": "剩余到期时间",
|
||||
"Expose ratio API": "暴露倍率接口",
|
||||
"Exposes the pricing/models catalog in the top navigation.": "在顶部导航中显示定价/模型目录。",
|
||||
"Expression": "表达式",
|
||||
@@ -1699,6 +1708,7 @@
|
||||
"Failed to fetch deployment details": "获取部署详情失败",
|
||||
"Failed to fetch models": "获取模型失败",
|
||||
"Failed to fetch OIDC configuration. Please check the URL and network status": "获取 OIDC 配置失败。请检查 URL 和网络状态",
|
||||
"Failed to fetch reset credit details": "获取重置次数详情失败",
|
||||
"Failed to fetch upstream prices": "获取上游价格失败",
|
||||
"Failed to fetch upstream ratios": "获取上游比率失败",
|
||||
"Failed to fetch usage": "获取用量失败",
|
||||
@@ -1732,6 +1742,7 @@
|
||||
"Failed to reset 2FA": "重置 2FA 失败",
|
||||
"Failed to reset model ratios": "重置模型比率失败",
|
||||
"Failed to reset Passkey": "重置 Passkey 失败",
|
||||
"Failed to reset usage": "重置用量失败",
|
||||
"Failed to save": "保存失败",
|
||||
"Failed to save announcements": "保存公告失败",
|
||||
"Failed to save API info": "保存 API 信息失败",
|
||||
@@ -1962,6 +1973,7 @@
|
||||
"gpt-4": "gpt-4",
|
||||
"gpt-4, claude-3-opus, etc.": "gpt-4, claude-3-opus, 等",
|
||||
"GPU count": "GPU 数量",
|
||||
"Granted at": "发放时间",
|
||||
"Greater than": "大于",
|
||||
"Greater Than": "大于",
|
||||
"Greater than or equal": "大于等于",
|
||||
@@ -2726,6 +2738,8 @@
|
||||
"No related models available for this channel type": "此渠道类型没有相关模型可用",
|
||||
"No release notes provided.": "未提供发布说明。",
|
||||
"No Reset": "不重置",
|
||||
"No reset credits": "暂无重置次数",
|
||||
"No reset credits available": "没有可用重置次数",
|
||||
"No restriction": "无限制",
|
||||
"No results for \"{{query}}\". Try adjusting your search or filters.": "未找到 \"{{query}}\" 的结果。请尝试调整搜索或筛选条件。",
|
||||
"No results found": "搜索无结果",
|
||||
@@ -2915,6 +2929,7 @@
|
||||
"Output token price for generated tokens.": "生成内容的输出 token 价格。",
|
||||
"Output tokens": "输出 token",
|
||||
"Output Tokens": "输出 Token",
|
||||
"Overage limited": "超额受限",
|
||||
"overall": "总体",
|
||||
"Overnight range": "跨日范围",
|
||||
"override": "覆盖",
|
||||
@@ -3346,6 +3361,8 @@
|
||||
"Recursive": "递归",
|
||||
"Redeem": "兑换额度",
|
||||
"Redeem codes": "兑换码",
|
||||
"Redeemed": "已使用",
|
||||
"Redeemed at": "使用时间",
|
||||
"Redeemed By": "兑换人",
|
||||
"Redeemed:": "已兑换:",
|
||||
"redemption code": "兑换码",
|
||||
@@ -3373,6 +3390,7 @@
|
||||
"Refresh": "刷新",
|
||||
"Refresh Cache": "刷新缓存",
|
||||
"Refresh credential": "刷新凭据",
|
||||
"Refresh details": "刷新详情",
|
||||
"Refresh failed": "刷新失败",
|
||||
"Refresh interval (minutes)": "刷新间隔 (分钟)",
|
||||
"Refresh Stats": "刷新统计",
|
||||
@@ -3491,6 +3509,11 @@
|
||||
"Reset all settings to default values": "将所有设置重置为默认值",
|
||||
"Reset at:": "重置于:",
|
||||
"Reset balance and used quota": "重置余额和已用配额",
|
||||
"Reset completed": "重置完成",
|
||||
"Reset completed. Latest usage has been refreshed.": "重置完成,已刷新最新用量。",
|
||||
"Reset count:": "重置次数:",
|
||||
"Reset Credit": "重置次数",
|
||||
"Reset Credits": "重置次数",
|
||||
"Reset Cycle": "重置周期",
|
||||
"Reset email sent, please check your inbox": "重置邮件已发送,请检查您的收件箱",
|
||||
"Reset failed": "重置失败",
|
||||
@@ -3506,7 +3529,9 @@
|
||||
"Reset to Default": "重置为默认",
|
||||
"Reset to default configuration": "已重置为默认配置",
|
||||
"Reset Two-Factor Authentication": "重置 2FA",
|
||||
"Reset usage window": "重置用量窗口",
|
||||
"Resets in:": "将于以下时间重置:",
|
||||
"Resetting...": "重置中...",
|
||||
"Resolve Conflicts": "解决冲突",
|
||||
"Resource Configuration": "资源配置",
|
||||
"Response": "响应",
|
||||
@@ -3872,6 +3897,7 @@
|
||||
"Special ratios override the token group ratio for specific user group and token group combinations.": "特殊倍率会针对特定用户分组和令牌分组组合覆盖令牌分组倍率。",
|
||||
"Special usable group rules": "特殊可用分组规则",
|
||||
"Special usable group rules can add, remove, or append selectable token groups for a specific user group.": "特殊可用分组规则可以为特定用户分组添加、移除或追加可选令牌分组。",
|
||||
"Spend limited": "消费受限",
|
||||
"SQLite stores all data in a single file. Make sure that file is persisted when running in containers.": "SQLite 将所有数据存储在单个文件中。在容器中运行时请确保该文件已持久化。",
|
||||
"SSRF Protection": "SSRF 保护",
|
||||
"Standard": "标准",
|
||||
@@ -4088,6 +4114,7 @@
|
||||
"The name displayed across the application": "在整个应用程序中显示的名称",
|
||||
"The public URL of your server, used for OAuth callbacks, webhooks, and other external integrations": "服务器的公开URL,用于OAuth回调、Webhook和其他外部集成",
|
||||
"The requested chat preset does not exist or has been removed.": "请求的聊天预设不存在或已被删除。",
|
||||
"The reset request stays disabled until a credit is available.": "没有可用次数时,重置请求会保持禁用。",
|
||||
"The setup wizard will use this database during initialization.": "设置向导将在初始化过程中使用此数据库。",
|
||||
"The site is not available at the moment.": "该站点目前不可用。",
|
||||
"The slug is appended to the URL:": "别名将附加到 URL:",
|
||||
@@ -4402,6 +4429,7 @@
|
||||
"Upload photo": "上传照片",
|
||||
"Upscale": "放大",
|
||||
"Upstream": "上游",
|
||||
"Upstream did not return reset credit details.": "上游未返回重置次数详情。",
|
||||
"Upstream Model Detection Settings": "检测上游模型设置",
|
||||
"Upstream Model Update Check": "上游模型更新检查",
|
||||
"Upstream Model Updates": "上游模型更新",
|
||||
@@ -4447,6 +4475,8 @@
|
||||
"Use backup code": "使用备用代码",
|
||||
"Use disk cache when request body exceeds this size": "请求体超过此大小时使用磁盘缓存",
|
||||
"Use external tools to extend capabilities": "通过外部工具扩展能力",
|
||||
"Use one available reset credit for this channel. The reset request is sent only after confirmation.": "将为当前渠道使用 1 次可用重置次数。只有确认后才会发送重置请求。",
|
||||
"Use one available reset credit to refresh the current Codex usage windows.": "使用 1 次可用重置次数,刷新当前 Codex 用量窗口。",
|
||||
"Use our unified OpenAI-compatible endpoint in your applications": "在应用中使用我们兼容 OpenAI 的统一接口",
|
||||
"Use Passkey to sign in without entering your password.": "使用通行密钥登录,无需输入密码。",
|
||||
"Use presets or upstream discovery to populate the model list faster.": "使用预设或上游发现来更快填充模型列表。",
|
||||
@@ -4464,6 +4494,7 @@
|
||||
"Used for load balancing. Higher weight = more requests": "用于负载均衡。权重越高 = 请求越多",
|
||||
"Used in URLs and API routes": "用于URL和API路由",
|
||||
"Used Quota": "消耗额度",
|
||||
"Used reset credits cannot be restored.": "已使用的重置次数无法恢复。",
|
||||
"Used to authenticate with io.net deployment API": "用于 io.net 部署 API 鉴权",
|
||||
"Used to authenticate with the worker. Leave blank to keep the existing secret.": "用于与 Worker 进行身份验证。留空以保留现有密钥。",
|
||||
"Used to decide the payment flow. Built-in keys include stripe for Stripe and waffo_pancake for Waffo Pancake; other values are sent to Epay as the type parameter.": "用于决定点击后走哪个支付流程。stripe 走 Stripe,waffo_pancake 走 Waffo Pancake;其他值会作为 Epay 的 type 参数提交。",
|
||||
@@ -4555,6 +4586,7 @@
|
||||
"View detailed information about this user including balance, usage statistics, and invitation details.": "查看此用户的详细信息,包括余额、使用统计和邀请详情。",
|
||||
"View details": "查看详情",
|
||||
"View document": "查看文档",
|
||||
"View issued reset credits, grant dates, and expiration.": "查看已发放的重置次数、发放日期和到期时间。",
|
||||
"View logs": "查看日志",
|
||||
"View mode": "视图模式",
|
||||
"View model statistics and charts": "查看模型统计和图表",
|
||||
|
||||
Reference in New Issue
Block a user