mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-06 17:46:23 +00:00
✨ feat(default): redesign dashboard overview
Refresh the overview page with an actionable Get Started guide, live API request details, real usage sparklines, and OpenAI-inspired dashboard panels. Add collapsible setup state, role-aware quick actions, and localized copy so returning users can focus on platform health.
This commit is contained in:
Vendored
+49
-4
@@ -98,6 +98,7 @@
|
||||
"7 days ago": "7 天前",
|
||||
"80,443,8080": "80,443,8080",
|
||||
"A billing multiplier. Lower ratios mean lower API call costs.": "计费乘数,倍率越低,API 调用费用越低。",
|
||||
"A focused home for keys, balance, routing, and service health.": "集中展示密钥、余额、路由和服务健康状态。",
|
||||
"About": "关于",
|
||||
"Accept Unpriced Models": "接受未定价模型",
|
||||
"Accepts a JSON array of model identifiers that support the Imagine API.": "接受支持 Imagine API 的模型标识符的 JSON 数组。",
|
||||
@@ -145,6 +146,7 @@
|
||||
"Add chat preset": "添加聊天预设",
|
||||
"Add condition": "新增条件",
|
||||
"Add Condition": "添加条件",
|
||||
"Add credits": "添加额度",
|
||||
"Add custom model(s), comma-separated": "添加自定义模型(多个以逗号分隔)",
|
||||
"Add discount tier": "添加折扣等级",
|
||||
"Add each model or tag you want to include.": "添加您想要包含的每个模型或标签。",
|
||||
@@ -311,6 +313,7 @@
|
||||
"Announcements": "公告",
|
||||
"Announcements saved successfully": "公告保存成功",
|
||||
"Answer": "答案",
|
||||
"Answers for common access and billing questions": "访问与计费常见问题解答",
|
||||
"Anthropic": "Anthropic",
|
||||
"Any Match (OR)": "任一满足(OR)",
|
||||
"API": "API",
|
||||
@@ -411,6 +414,7 @@
|
||||
"Audio Preview": "音乐预览",
|
||||
"Audio ratio": "音频倍率",
|
||||
"Audio Tokens": "语音 Token",
|
||||
"Auth configured": "认证已配置",
|
||||
"Auth Style": "认证方式",
|
||||
"Authentication": "身份验证",
|
||||
"Authenticator code": "身份验证器代码",
|
||||
@@ -446,8 +450,6 @@
|
||||
"Available Models": "可用模型",
|
||||
"Available Rewards": "可用奖励",
|
||||
"Average latency": "平均延迟",
|
||||
"Latency": "延迟",
|
||||
"Latency short": "延迟",
|
||||
"Average latency, TTFT, and success rate by group": "各分组的平均延迟、首 Token 延迟和成功率",
|
||||
"Average RPM": "平均 RPM",
|
||||
"Average time-to-first-token (TTFT) by group": "各分组的平均首 Token 延迟(TTFT)",
|
||||
@@ -475,6 +477,7 @@
|
||||
"Baidu V2": "百度 V2",
|
||||
"Balance": "余额",
|
||||
"Balance and top-up management": "余额充值管理",
|
||||
"Balance is shown in quota units": "余额以额度单位显示",
|
||||
"Balance queried successfully": "余额查询成功",
|
||||
"Balance updated successfully": "余额更新成功",
|
||||
"Balance updated: {{balance}}": "余额已更新:{{balance}}",
|
||||
@@ -549,11 +552,13 @@
|
||||
"Broadcast a global banner to users. Markdown is supported.": "向用户广播全局横幅。支持 Markdown。",
|
||||
"Broadcast short system notices on the dashboard": "在仪表板上广播简短的系统通知",
|
||||
"Browse and compare": "浏览和比较",
|
||||
"Browse available models and pricing": "浏览可用模型和价格",
|
||||
"Browse rankings by category": "按行业浏览排行",
|
||||
"Budget tokens = max tokens × ratio. Accepts a decimal between 0.002 and 1. Recommended to keep aligned with upstream billing.": "预算令牌 = 最大令牌数 × 比例。接受 0.002 到 1 之间的十进制数。建议与上游计费保持一致。",
|
||||
"Budget tokens = max tokens × ratio. Accepts a decimal between 0.1 and 1.": "预算令牌 = 最大令牌数 × 比例。接受 0.1 到 1 之间的十进制数。",
|
||||
"Budget Tokens Ratio": "预算令牌比例",
|
||||
"Budgets": "预算",
|
||||
"Build on your API gateway in minutes": "几分钟内开始使用你的 API 网关",
|
||||
"Built for developers,": "为开发者打造,",
|
||||
"Built-in": "内置",
|
||||
"Built-in Device": "内置设备",
|
||||
@@ -846,6 +851,7 @@
|
||||
"Configure xAI Grok model specific settings": "配置 xAI Grok 模型特定设置",
|
||||
"Configure your account behavior preferences": "配置您的账户行为偏好",
|
||||
"Configure your account preferences and integrations": "配置您的账户偏好和集成",
|
||||
"Configured routes and latency checks": "已配置路由和延迟检测",
|
||||
"Confirm": "确认",
|
||||
"Confirm Action": "确认操作",
|
||||
"Confirm Batch Update": "确认批量更新",
|
||||
@@ -937,6 +943,7 @@
|
||||
"Copy model name": "复制模型名称",
|
||||
"Copy model names": "复制模型名称列表",
|
||||
"Copy prompt": "复制提示词",
|
||||
"Copy ready-to-run curl": "复制可直接运行的 curl",
|
||||
"Copy redemption code": "复制兑换码",
|
||||
"Copy referral link": "复制推荐链接",
|
||||
"Copy Request Header": "复制请求头",
|
||||
@@ -962,9 +969,11 @@
|
||||
"CPU Threshold (%)": "CPU 阈值 (%)",
|
||||
"Create": "新建",
|
||||
"Create a copy of:": "创建副本:",
|
||||
"Create a key for your app or service": "为你的应用或服务创建密钥",
|
||||
"Create a new user group to configure ratio overrides for.": "创建一个新的用户分组来配置比例覆盖。",
|
||||
"Create account": "创建账户",
|
||||
"Create an account": "创建一个账户",
|
||||
"Create an API key to unlock the real request": "创建 API 密钥以解锁真实请求",
|
||||
"Create and review invite or credit codes.": "创建和审查邀请或信用代码。",
|
||||
"Create API Key": "创建 API 密钥",
|
||||
"Create cache": "创建缓存",
|
||||
@@ -996,6 +1005,7 @@
|
||||
"Credential generated": "凭据已生成",
|
||||
"Credential refreshed": "凭据已刷新",
|
||||
"Credentials": "凭证",
|
||||
"Credit remaining": "剩余额度",
|
||||
"Creem API key (leave blank unless updating)": "Creem API 密钥(除非更新,否则留空)",
|
||||
"Creem Gateway": "Creem 网关",
|
||||
"Creem Payment": "Creem 支付",
|
||||
@@ -1009,6 +1019,7 @@
|
||||
"Current Balance": "当前余额",
|
||||
"Current Billing": "当前计费",
|
||||
"Current Cache Size": "当前缓存大小",
|
||||
"Current domain": "当前域名",
|
||||
"Current email: {{email}}. Enter a new email to change.": "当前邮箱:{{email}}。输入新邮箱以更改。",
|
||||
"Current key": "当前密钥",
|
||||
"Current legacy JSON is invalid, cannot append": "当前旧格式 JSON 不合法,无法追加模板",
|
||||
@@ -1211,6 +1222,7 @@
|
||||
"Display name shown to users.": "显示给用户的名称。",
|
||||
"Display Options": "显示选项",
|
||||
"Display Token Statistics": "显示 Token 统计信息",
|
||||
"Displayed in": "显示单位",
|
||||
"Displays the mobile sidebar.": "显示移动侧边栏。",
|
||||
"Do not over-trust this feature. IP may be spoofed. Please use with nginx, CDN and other gateways.": "请勿过度信任此功能,IP 可能被伪造,请配合 nginx 和 cdn 等网关使用",
|
||||
"Do not repeat check-in; only once per day": "请勿重复签到;每天仅一次",
|
||||
@@ -1714,6 +1726,7 @@
|
||||
"Finance": "金融",
|
||||
"Fine-tune Midjourney integration and guardrails.": "微调 Midjourney 集成和防护栏。",
|
||||
"Finish Time": "完成时间",
|
||||
"First API request": "首个 API 请求",
|
||||
"First/Last Frame to Video": "首尾生视频",
|
||||
"Fix Abilities": "修复能力",
|
||||
"Fixed abilities: {{success}} succeeded, {{fails}} failed": "修复能力:{{success}} 个成功,{{fails}} 个失败",
|
||||
@@ -1800,6 +1813,7 @@
|
||||
"Generation quality preset": "生成质量预设",
|
||||
"Generic cache": "通用缓存",
|
||||
"Get notified when balance falls below this value": "当余额低于此值时接收通知",
|
||||
"Get started": "开始使用",
|
||||
"Get Started": "开始使用",
|
||||
"GitHub": "GitHub",
|
||||
"Give the group a recognizable name and optional description.": "为该分组提供一个可识别的名称和可选的描述。",
|
||||
@@ -1856,6 +1870,7 @@
|
||||
"Group-based rate limits": "基于分组的速率限制",
|
||||
"Group:": "分组:",
|
||||
"Group: {{ratio}}x": "分组:{{ratio}}x",
|
||||
"Grouped monitor status from Uptime Kuma": "来自 Uptime Kuma 的分组监控状态",
|
||||
"Groups": "分组",
|
||||
"Groups *": "分组 *",
|
||||
"Groups that users can select when creating API keys.": "用户在创建 API 密钥时可以选择的分组。",
|
||||
@@ -1884,6 +1899,7 @@
|
||||
"Hidden — verify to reveal": "隐藏 — 验证以显示",
|
||||
"Hide": "隐藏",
|
||||
"Hide API key": "隐藏 API 密钥",
|
||||
"Hide setup guide": "隐藏设置引导",
|
||||
"High Performance": "高性能",
|
||||
"High-risk operation confirmation": "高危操作确认",
|
||||
"High-risk status code retry confirmation text": "我确认",
|
||||
@@ -1990,6 +2006,7 @@
|
||||
"Input tokens": "输入 token",
|
||||
"Input Tokens": "输入 Token",
|
||||
"Inset": "内嵌",
|
||||
"Inspect requests, errors, and billing details": "查看请求、错误和计费详情",
|
||||
"Inspect user prompts": "检查用户提示",
|
||||
"Instance": "实例",
|
||||
"Integrations": "集成",
|
||||
@@ -2063,8 +2080,10 @@
|
||||
"JustSong": "JustSong",
|
||||
"K": "K",
|
||||
"Keep enabled if you need to proxy requests for different upstream accounts.": "如果需要为不同上游账户代理请求,请保持启用。",
|
||||
"Keep enough balance before production traffic": "生产流量前保持充足余额",
|
||||
"Keep original value": "保留原值",
|
||||
"Keep original value (skip if target exists)": "保留原值(目标已有值时不覆盖)",
|
||||
"Keep the platform ready": "保持平台就绪",
|
||||
"Keep this above 1 minute to avoid heavy database load": "保持此值大于 1 分钟以避免数据库负载过重",
|
||||
"Keep-alive Ping": "保持连接心跳",
|
||||
"Key": "密钥",
|
||||
@@ -2090,7 +2109,11 @@
|
||||
"Last updated:": "上次更新时间:",
|
||||
"Last Used": "最后使用时间",
|
||||
"Last used:": "上次使用时间:",
|
||||
"Latency": "延迟",
|
||||
"Latency check": "延迟检测",
|
||||
"Latency short": "延迟",
|
||||
"Latency trend (last 24h)": "延迟趋势(最近 24 小时)",
|
||||
"Latest platform updates and notices": "最新平台更新和通知",
|
||||
"Lavender Dream": "薰衣草梦",
|
||||
"Layout": "布局",
|
||||
"lead": "领头",
|
||||
@@ -2141,6 +2164,7 @@
|
||||
"Load Balancing": "负载均衡",
|
||||
"Load template...": "加载模板...",
|
||||
"Loader": "加载器",
|
||||
"Loading": "加载中",
|
||||
"Loading configuration": "正在加载配置",
|
||||
"Loading content settings...": "正在加载内容设置...",
|
||||
"Loading current models...": "正在加载当前模型...",
|
||||
@@ -2314,6 +2338,7 @@
|
||||
"Model ratios reset successfully": "模型比例重置成功",
|
||||
"Model Regex": "模型正则",
|
||||
"Model Regex (one per line)": "模型正则(每行一个)",
|
||||
"Model selected": "已选择模型",
|
||||
"Model Square": "模型广场",
|
||||
"Model Tags": "模型标签",
|
||||
"Model to use for testing": "用于测试的模型",
|
||||
@@ -2344,6 +2369,7 @@
|
||||
"Module availability": "模块可用性",
|
||||
"MokaAI": "MokaAI",
|
||||
"Monitor": "监控",
|
||||
"Monitor balance, usage, and request volume": "监控余额、用量和请求量",
|
||||
"Monitoring & Alerts": "监控与警报",
|
||||
"Month": "本月",
|
||||
"Month number": "月份",
|
||||
@@ -2406,6 +2432,7 @@
|
||||
"name@example.com": "name@example.com",
|
||||
"Native format": "原生格式",
|
||||
"Need a code?": "需要一个代码吗?",
|
||||
"Needs API key": "需要 API 密钥",
|
||||
"Nested JSON defining per-group rules for adding (+:), removing (-:), or appending usable groups.": "嵌套 JSON,定义按分组添加(+:)、移除(-:)或追加可用分组的规则。",
|
||||
"Nested JSON: source group →": "嵌套 JSON:源分组 →",
|
||||
"Network proxy for this channel (supports socks5 protocol)": "此渠道的网络代理(支持 socks5 协议)",
|
||||
@@ -2438,6 +2465,7 @@
|
||||
"No announcements at this time": "目前暂无公告",
|
||||
"No announcements yet. Click \"Add Announcement\" to create one.": "暂无公告。点击“添加公告”来创建一个。",
|
||||
"No API Domains yet. Click \"Add API\" to create one.": "暂无 API 域。点击“添加 API”创建一个。",
|
||||
"No API key yet": "暂无 API 密钥",
|
||||
"No API keys available. Create your first API key to get started.": "没有可用的 API 密钥。创建您的第一个 API 密钥即可开始使用。",
|
||||
"No API Keys Found": "未找到 API 密钥",
|
||||
"No API routes configured": "未配置 API 路由",
|
||||
@@ -2632,6 +2660,7 @@
|
||||
"One IP or CIDR range per line": "每行一个 IP 或 CIDR 范围",
|
||||
"One IP per line (empty for no restriction)": "每行一个 IP (留空表示无限制)",
|
||||
"one keyword per line": "每行一个关键词",
|
||||
"Online": "在线",
|
||||
"Online payment is not enabled. Please contact the administrator.": "管理员未开启在线支付功能,请联系管理员配置。",
|
||||
"Online topup is not enabled. Please use redemption code or contact administrator.": "尚未启用在线充值。请使用兑换码或联系管理员。",
|
||||
"Only allow specific email domains": "仅允许特定的电子邮件域名",
|
||||
@@ -3082,6 +3111,7 @@
|
||||
"Raw Quota": "原生额度",
|
||||
"Re-enable on success": "成功后重新启用",
|
||||
"Re-login": "重新登录",
|
||||
"Ready": "就绪",
|
||||
"Ready to initialize": "准备初始化",
|
||||
"Ready to simplify": "准备好简化",
|
||||
"Real exchange rate between USD and your payment gateway currency": "美元与您的支付网关货币之间的实际汇率",
|
||||
@@ -3097,6 +3127,7 @@
|
||||
"Recharge Amount": "充值金额",
|
||||
"Recharge Amount (USD)": "充值金额 (USD)",
|
||||
"Recommended": "推荐",
|
||||
"Recommended actions": "推荐操作",
|
||||
"Recommended to keep this high to avoid upstream throttling.": "建议保持此值较高,以避免上游限流。",
|
||||
"Record IP Address": "记录 IP 地址",
|
||||
"Record quota usage": "记录配额使用量",
|
||||
@@ -3281,6 +3312,7 @@
|
||||
"Revenue": "收入",
|
||||
"Review & initialize": "审核并初始化",
|
||||
"Review current version and fetch release notes.": "查看当前版本并获取发布说明。",
|
||||
"Review model rates before scaling traffic": "扩展流量前查看模型费率",
|
||||
"Review your payment details": "查看您的付款详情",
|
||||
"Review your purchase details before proceeding.": "在继续之前,请审阅您的购买详情。",
|
||||
"Rewards will be added directly to your balance": "奖励将直接添加到您的余额",
|
||||
@@ -3291,8 +3323,10 @@
|
||||
"Root": "根",
|
||||
"Rose Garden": "玫瑰花园",
|
||||
"Route": "路由",
|
||||
"Route active": "路由已启用",
|
||||
"Route Description": "路由描述",
|
||||
"Route is required": "路由为必填项",
|
||||
"Route, auth, and balance check in one place": "路由、认证和余额检查集中展示",
|
||||
"Routing & Overrides": "路由与覆盖",
|
||||
"Routing Strategy": "路由策略",
|
||||
"Rows per page": "每页行数",
|
||||
@@ -3401,6 +3435,7 @@
|
||||
"Secret environment variables (JSON)": "密钥环境变量 (JSON)",
|
||||
"Secret Key": "密钥",
|
||||
"Secure & Reliable": "安全可靠",
|
||||
"Secured": "已保护",
|
||||
"Security": "安全",
|
||||
"Security & Limits": "安全与限制",
|
||||
"Security Check": "安全验证",
|
||||
@@ -3480,6 +3515,7 @@
|
||||
"Selected when creating a token and used as the default billing group for API calls.": "创建令牌时选择,用作 API 调用的默认计费分组。",
|
||||
"Self-Use Mode": "自用模式",
|
||||
"Send": "发送",
|
||||
"Send a request": "发送请求",
|
||||
"Send code": "发送验证码",
|
||||
"Send email alerts when a user falls below this quota": "当用户低于此配额时发送电子邮件警报",
|
||||
"Sending...": "发送中...",
|
||||
@@ -3520,7 +3556,11 @@
|
||||
"Settings": "设置",
|
||||
"Settings & Preferences": "设置与偏好",
|
||||
"Settings updated successfully": "设置更新成功",
|
||||
"Setup guide": "设置引导",
|
||||
"Setup guide complete": "设置引导已完成",
|
||||
"Setup guide is collapsed. Expand it anytime.": "设置引导已收起,可随时展开。",
|
||||
"Setup Instructions": "设置说明",
|
||||
"Setup progress: {{completed}}/{{total}}": "设置进度:{{completed}}/{{total}}",
|
||||
"Setup Two-Factor Authentication": "设置双重身份验证",
|
||||
"Share": "占比",
|
||||
"Share your link and earn rewards": "分享您的链接并赚取奖励",
|
||||
@@ -3531,6 +3571,7 @@
|
||||
"Show all providers including unbound": "显示所有提供商(包括未绑定)",
|
||||
"Show only bound providers": "仅显示已绑定的提供商",
|
||||
"Show prices in currency instead of quota.": "以货币而非配额显示价格。",
|
||||
"Show setup guide": "显示设置引导",
|
||||
"Show token usage statistics in the UI": "在用户界面中显示令牌使用统计信息",
|
||||
"Showcase core capabilities with demo credentials and limited access.": "使用演示凭据和有限访问权限展示核心功能。",
|
||||
"Showing": "显示第",
|
||||
@@ -3605,11 +3646,11 @@
|
||||
"Statistical tokens": "统计 Token 数",
|
||||
"Statistics reset": "统计已重置",
|
||||
"Status": "状态",
|
||||
"Status short": "状态",
|
||||
"Status & Sync": "状态与同步",
|
||||
"Status Code": "状态码",
|
||||
"Status Code Mapping": "状态码映射",
|
||||
"Status Page Slug": "状态页面 Slug",
|
||||
"Status short": "状态",
|
||||
"Status:": "状态:",
|
||||
"Stay": "留下来",
|
||||
"Stay tuned though!": "敬请期待!",
|
||||
@@ -3754,6 +3795,7 @@
|
||||
"Test Latency": "测试延迟",
|
||||
"Test Mode": "测试模式",
|
||||
"Test Model": "测试模型",
|
||||
"Test models and prompts from the browser": "在浏览器中测试模型和提示词",
|
||||
"Testing all enabled channels started. Please refresh to see results.": "测试所有启用的通道已开始。请刷新以查看结果。",
|
||||
"Testing...": "测试中...",
|
||||
"Text": "文本",
|
||||
@@ -3837,8 +3879,8 @@
|
||||
"This year": "本年",
|
||||
"Three steps to get started": "三步快速上手",
|
||||
"Throughput": "吞吐量",
|
||||
"Throughput short": "吞吐",
|
||||
"Throughput by group": "各分组吞吐量",
|
||||
"Throughput short": "吞吐",
|
||||
"Throughput trend": "吞吐量趋势",
|
||||
"Tier": "档位",
|
||||
"Tier conditions": "档位条件",
|
||||
@@ -4092,6 +4134,7 @@
|
||||
"URL is required": "URL 为必填项",
|
||||
"URL to your logo image (optional)": "您的徽标图片 URL(可选)",
|
||||
"Usage": "用量",
|
||||
"Usage at a glance": "用量概览",
|
||||
"Usage guide": "使用教程",
|
||||
"Usage logs": "使用日志",
|
||||
"Usage Logs": "使用日志",
|
||||
@@ -4189,6 +4232,7 @@
|
||||
"Verification required to reveal the saved key.": "需要验证才能显示已保存的密钥。",
|
||||
"Verify": "验证",
|
||||
"Verify and Sign In": "验证并登录",
|
||||
"Verify routing with Playground or your client": "使用 Playground 或你的客户端验证路由",
|
||||
"Verify Setup": "验证设置",
|
||||
"Verify your database connection": "验证数据库连接",
|
||||
"Version Overrides": "版本覆盖",
|
||||
@@ -4346,6 +4390,7 @@
|
||||
"Your GitHub OAuth Client Secret": "您的 GitHub OAuth 客户端密钥",
|
||||
"Your new backup codes are ready": "您的新备份代码已准备就绪",
|
||||
"Your Referral Link": "您的推荐链接",
|
||||
"Your setup guide is collapsed so usage stays in focus.": "设置引导已收起,让用量信息保持在焦点位置。",
|
||||
"Your system access token for API authentication. Keep it secure and don't share it with others.": "您的系统访问令牌,用于 API 认证。请妥善保管,不要与他人分享。",
|
||||
"Your Telegram Bot Token": "您的 Telegram 机器人令牌",
|
||||
"Your Turnstile secret key": "您的 Turnstile 密钥",
|
||||
|
||||
Reference in New Issue
Block a user