feat(system-settings): add user token limit configuration section (#5678)

This commit is contained in:
RedwindA
2026-06-24 20:39:21 +08:00
committed by GitHub
parent 0b2cf43e7b
commit 5d943281b5
10 changed files with 266 additions and 0 deletions
+20
View File
@@ -370,6 +370,7 @@
"API Key disabled successfully": "API 密钥禁用成功",
"API Key enabled successfully": "API 密钥启用成功",
"API key from the provider": "来自提供商的 API 密钥",
"API key is loading, please try again in a moment": "API 密钥正在加载,请稍后再试",
"API key is required": "需要 API 密钥",
"API Key mode (does not support batch creation)": "API Key 模式(不支持批量创建)",
"API Key mode: use APIKey|Region": "API Key 模式:使用 APIKey|Region",
@@ -1701,6 +1702,7 @@
"Failed to copy keys": "复制密钥失败",
"Failed to copy model names": "复制模型名称失败",
"Failed to copy to clipboard": "复制到剪贴板失败",
"Failed to create account": "创建账户失败",
"Failed to create API key": "创建API密钥失败",
"Failed to create channel": "创建渠道失败",
"Failed to create deployment": "创建部署失败",
@@ -1753,6 +1755,8 @@
"Failed to load key status": "加载密钥状态失败",
"Failed to load logs": "加载日志失败",
"Failed to load Passkey status": "加载 Passkey 状态失败",
"Failed to load playground groups": "加载 playground 分组失败",
"Failed to load playground models": "加载 playground 模型失败",
"Failed to load profile": "加载个人资料失败",
"Failed to load redemption codes": "加载兑换码失败",
"Failed to load setup data": "无法加载设置数据",
@@ -1779,7 +1783,9 @@
"Failed to search API keys": "搜索 API 密钥失败",
"Failed to search redemption codes": "搜索兑换码失败",
"Failed to search users": "搜索用户失败",
"Failed to send reset email": "发送重置邮件失败",
"Failed to send verification code": "发送验证码失败",
"Failed to send verification email": "发送验证邮件失败",
"Failed to set tag": "设置标签失败",
"Failed to setup 2FA": "设置 2FA 失败",
"Failed to start {{provider}} login": "启动 {{provider}} 登录失败",
@@ -1822,6 +1828,7 @@
"Fee": "扣费",
"Fee Amount": "扣费金额",
"Fetch available models for:": "获取可用模型:",
"Fetch available models from upstream": "从上游获取可用模型",
"Fetch from Upstream": "从上游获取",
"Fetch Models": "获取模型",
"Fetched {{count}} model(s) from upstream": "从上游获取了 {{count}} 个模型",
@@ -2445,10 +2452,12 @@
"Maximum 500 characters. Supports Markdown and HTML.": "最多 500 个字符。支持 Markdown 和 HTML。",
"Maximum check-in quota": "签到最大额度",
"Maximum input window": "最大输入窗口",
"Maximum number of tokens each user can create. Default 1000. Setting too large may affect performance.": "每个用户可创建的最大令牌数量。默认 1000。设置过大可能会影响性能。",
"Maximum number of tokens in the response": "响应中最大 token 数",
"Maximum quota amount awarded for check-in": "签到奖励的最大额度",
"Maximum tokens including hidden reasoning tokens": "最大 token 数(含隐藏的推理 token",
"Maximum tokens per response": "单次响应最大 token 数",
"Maximum tokens per user": "每个用户的最大令牌数",
"maxRequests ≥ 0, maxSuccess ≥ 1, both ≤ 2,147,483,647": "maxRequests ≥ 0, maxSuccess ≥ 1,两者均 ≤ 2,147,483,647",
"May be used for training by upstream provider": "可能被上游提供商用于训练",
"Media pricing": "媒体定价",
@@ -2517,7 +2526,9 @@
"Model Mapping (JSON)": "模型映射 (JSON)",
"Model Mapping must be a JSON object like": "模型映射必须是如下所示的 JSON 对象",
"Model mapping must be a JSON object with string values": "模型映射必须是值为字符串的 JSON 对象",
"Model mapping must be a valid JSON object": "模型映射必须是有效的 JSON 对象",
"Model mapping must be valid JSON": "模型映射必须是有效的 JSON",
"Model mapping must be valid JSON format": "模型映射必须是有效的 JSON 格式",
"Model mapping values must be strings": "模型映射的值必须是字符串",
"Model name": "模型名称",
"Model Name": "模型名称",
@@ -2748,6 +2759,7 @@
"No missing models found.": "未找到缺失的模型。",
"No model found.": "未找到模型。",
"No model mappings configured. Click \"Add Mapping\" to get started.": "未配置模型映射。点击“添加映射”即可开始使用。",
"No model price changes to save": "没有模型价格变更需要保存",
"No models available": "没有可用的模型",
"No models available in this category": "该分类下没有可用模型",
"No models available. Create your first model to get started.": "没有可用的模型。创建您的第一个模型即可开始使用。",
@@ -2760,6 +2772,7 @@
"No models match the selected filters": "没有匹配筛选条件的模型",
"No models match your current filters.": "没有模型匹配您当前的筛选条件。",
"No models match your search": "没有匹配的模型",
"No models matched your search.": "没有匹配搜索的模型",
"No models selected": "未选择模型",
"No models to add": "无待新增模型",
"No models to copy": "没有模型可复制",
@@ -3072,6 +3085,7 @@
"Password Login": "密码登录",
"Password must be at least 8 characters": "密码必须至少 8 个字符",
"Password must be at least 8 characters long": "密码必须至少 8 个字符长",
"Password must be between 8 and 20 characters": "密码长度必须在 8 到 20 个字符之间",
"Password Registration": "密码注册",
"Password reset and copied to clipboard: {{password}}": "密码已重置并复制到剪贴板:{{password}}",
"Password reset: {{password}}": "密码已重置:{{password}}",
@@ -3323,6 +3337,7 @@
"Prompt Details": "提示词详情",
"Prompt price ($/1M tokens)": "提示词价格(美元/100 万 token",
"Proprietary": "商业闭源",
"Protect login and registration with Cloudflare Turnstile": "使用 Cloudflare Turnstile 保护登录和注册",
"Provide a JSON object where each key maps to an endpoint definition.": "提供一个 JSON 对象,其中每个键映射到一个端点定义。",
"Provide a valid URL starting with http:// or https://": "请提供以 http:// 或 https:// 开头的有效 URL",
"Provide Markdown, HTML, or an external URL for the privacy policy": "提供 Markdown、HTML 或外部 URL 作为隐私政策",
@@ -3860,6 +3875,7 @@
"Send a request": "发送请求",
"Send code": "发送验证码",
"Send email alerts when a user falls below this quota": "当用户低于此配额时发送电子邮件警报",
"Send reset email": "发送重置邮件",
"Sending...": "发送中...",
"Sensitive Words": "敏感词",
"Sent the API key to FluentRead.": "API 密钥已发送至 FluentRead。",
@@ -4240,6 +4256,7 @@
"This action cannot be undone.": "此操作无法撤消。",
"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 has no configured models.": "该渠道没有配置模型。",
"This channel is not an Ollama channel.": "该渠道不是 Ollama 渠道。",
"This channel type does not support fetching models": "此渠道类型不支持获取模型",
"This channel type requires additional configuration": "此渠道类型需要填写额外配置",
@@ -4326,6 +4343,7 @@
"Token Endpoint (Optional)": "Token 端点(可选)",
"Token estimator": "Token 估算器",
"Token group": "令牌分组",
"Token Limits": "令牌限制",
"Token management": "令牌管理",
"Token Management": "令牌管理",
"Token Mgmt": "令牌管理",
@@ -4524,6 +4542,7 @@
"Updated system setting {{key}}": "修改系统设置 {{key}}",
"Updated user {{username}} (ID: {{id}})": "更新用户 {{username}}ID: {{id}}",
"Updating all channel balances. This may take a while. Please refresh to see results.": "正在更新所有渠道余额。这可能需要一段时间。请刷新以查看结果。",
"Updating...": "更新中...",
"Upgrade Group": "升级分组",
"Upgrade plaintext SMTP connection with STARTTLS before authentication": "在身份验证前使用 STARTTLS 升级明文 SMTP 连接",
"Upload": "上传",
@@ -4728,6 +4747,7 @@
"Visual Parameter Override": "可视化参数覆盖",
"VolcEngine": "火山方舟",
"vs. previous": "相较上期",
"Waffo": "Waffo",
"Waffo Aggregator Gateway": "Waffo 聚合网关",
"Waffo Pancake Dashboard": "Waffo Pancake 控制台",
"Waffo Pancake MoR": "Waffo Pancake MoR",