1173 lines
98 KiB
JavaScript
1173 lines
98 KiB
JavaScript
// magpie speaks English by default; this is every other language it knows.
|
||
// Keys are the English strings as written in app.js and index.html; a
|
||
// missing key falls back to English, so a half-translated language still
|
||
// works. {name} slots are filled by t(str, vars).
|
||
const I18N = {
|
||
zh: {
|
||
// header, nav, footer
|
||
"Agents": "Agent",
|
||
"Providers": "供应商",
|
||
"Gateway": "网关",
|
||
"Usage": "用量",
|
||
"Library": "资源库",
|
||
"Settings": "设置",
|
||
"Refresh model lists (models.dev and every vendor)": "刷新模型列表(models.dev 与各供应商)",
|
||
"Open as a window": "在窗口中打开",
|
||
"Open magpie": "打开 magpie",
|
||
"Quit": "退出",
|
||
"Filter…": "筛选…",
|
||
|
||
// agents
|
||
"No agents found": "没有找到 Agent",
|
||
"Install Claude Code, Codex, Gemini CLI, OpenCode… and magpie will list them here.": "安装 Claude Code、Codex、Gemini CLI、OpenCode…… 之后,magpie 会在这里列出它们。",
|
||
"Show {n} more": "显示其余 {n} 个",
|
||
"Show less": "收起",
|
||
"{n} hidden": "已隐藏 {n} 个",
|
||
"{n} hidden agents": "已隐藏的 Agent({n} 个)",
|
||
"Show {n} more ({h} hidden)": "显示其余 {n} 个(含 {h} 个已隐藏)",
|
||
"Hidden": "已隐藏",
|
||
"Not set up": "未设置",
|
||
"Hidden by you · show it in the list again": "你隐藏了它 · 点击放回列表",
|
||
"{agent} hidden · find it under Hidden at the bottom": "已隐藏 {agent} · 可在列表底部「已隐藏」里找回",
|
||
"Drag to reorder · click to move or hide": "拖动以调整顺序 · 点击可移动或隐藏",
|
||
"Arrange {agent}": "调整 {agent}",
|
||
"Drag to reorder · click for more": "拖动以调整顺序 · 点击查看更多",
|
||
"Show {agent}": "显示 {agent}",
|
||
"Hide {agent}": "隐藏 {agent}",
|
||
"Move up": "上移",
|
||
"Move down": "下移",
|
||
"Apply again": "重新应用",
|
||
"Keep current settings": "保留当前设置",
|
||
"{agent} no longer goes through magpie — its config was changed": "{agent} 已不经过 magpie —— 它的配置被改动了",
|
||
"{agent} was switched off {model} outside magpie": "{agent} 在 magpie 之外被从 {model} 切走了",
|
||
"{agent} was used without going through magpie — restart it after applying": "{agent} 最近的使用没有经过 magpie —— 重新应用后请重启它",
|
||
"{agent} goes through magpie again": "{agent} 已重新经过 magpie",
|
||
"{agent} hidden": "已隐藏 {agent}",
|
||
"{agent} shown": "已显示 {agent}",
|
||
"model": "模型",
|
||
"effort": "推理强度",
|
||
"thinking": "思考",
|
||
"small": "小模型",
|
||
"large": "大模型",
|
||
"tiers": "分档",
|
||
"subagents": "子 agent",
|
||
"same as model": "同主模型",
|
||
"same as model ({model})": "同主模型({model})",
|
||
"Same as model": "同主模型",
|
||
"{agent} stays signed in; magpie just stops offering it": "{agent} 仍保持登录,只是 magpie 不再提供它",
|
||
"You removed it from magpie.": "你已把它从 magpie 中移除。",
|
||
"Add it back": "加回来",
|
||
"Tray icon": "托盘图标",
|
||
"Dock": "程序坞",
|
||
"Open at login": "开机自启",
|
||
"Start magpie in the tray when you log in, so agents find the gateway from the start": "登录系统时在托盘里启动 magpie,各个 Agent 一开始就能连上网关",
|
||
"move magpie to Applications first, then turn this on": "请先把 magpie 移到「应用程序」文件夹,再打开这个选项",
|
||
"Keep magpie in the Dock too, always or while its window is open, for Cmd-Tab and a menu bar too full to show its icon": "让 magpie 也出现在程序坞:常驻,或只在窗口打开时显示,方便 Cmd-Tab 切换,菜单栏图标被挤掉时也能打开",
|
||
"With window": "跟随窗口",
|
||
"What clicking magpie’s icon in the menu bar or tray opens": "点击菜单栏或托盘里的 magpie 图标时打开什么",
|
||
"Quick panel": "快捷面板",
|
||
"Main window": "主窗口",
|
||
"Proxy": "代理",
|
||
"Requests to vendors go through {proxy}": "对模型厂商的请求经由 {proxy}",
|
||
"Following the system proxy, {proxy}": "跟随系统代理:{proxy}",
|
||
"Following HTTPS_PROXY, {proxy}": "跟随 HTTPS_PROXY:{proxy}",
|
||
"Off: requests to vendors go direct": "已关闭:对模型厂商的请求直连",
|
||
"No system proxy found; requests to vendors go direct": "未发现系统代理,对模型厂商的请求直连",
|
||
"Off": "关闭",
|
||
"On": "开启",
|
||
"Privacy": "隐私",
|
||
"Mask secrets": "脱敏密钥",
|
||
"Local network": "局域网",
|
||
"Share on local network": "局域网共享",
|
||
"Agents on other computers on this network can use magpie’s models, with the API key below": "同一网络里其他电脑上的 Agent 可以用下面的 API Key 使用 magpie 的模型",
|
||
"This computer has no local network address right now": "这台电脑现在没有局域网地址",
|
||
"OpenAI: {u}/v1 · Anthropic: {u}": "OpenAI:{u}/v1 · Anthropic:{u}",
|
||
"New key": "换新 Key",
|
||
"Other computers send it as their API key; a new one stops the old from working": "其他电脑把它填作 API Key;换新后旧的立即失效",
|
||
"API keys, private keys, tokens and passwords go to vendors as placeholders, and come back as they were": "API Key、私钥、Token 和密码以占位符发给模型厂商,回复里再还原",
|
||
"Mask personal data": "脱敏个人信息",
|
||
"Codex warm-up": "Codex 预热",
|
||
"Usage in the menu bar": "菜单栏显示用量",
|
||
"Show a subscription's use beside magpie's icon in the menu bar, refreshed every few minutes": "在菜单栏 magpie 图标旁显示一个订阅的用量,每隔几分钟刷新",
|
||
"Show a subscription's use when pointing at magpie's tray icon, refreshed every few minutes": "鼠标指向托盘里的 magpie 图标时显示一个订阅的用量,每隔几分钟刷新",
|
||
"Shown beside the icon": "显示在图标旁",
|
||
"No subscriptions yet": "还没有订阅",
|
||
"Sign in to one, or add a plan's key, and it shows on the Usage page": "登录一个订阅或添加套餐的 Key 后,会出现在用量页",
|
||
"Weekly": "每周",
|
||
"Weekly and 5-hour": "每周和 5 小时",
|
||
"When a ChatGPT account's window resets, send it one tiny request so the next one starts counting at once": "ChatGPT 账号的额度窗口一重置,就替它发一条极小的请求,让下一个窗口立即开始计时",
|
||
"last started {when}": "上次启动于{when}",
|
||
"Emails, phone numbers, ID and bank card numbers too": "邮箱、手机号、身份证号和银行卡号也一并脱敏",
|
||
"Masked words": "脱敏词",
|
||
"Your own words to keep from vendors, separated by commas": "不想让模型厂商看到的词,用逗号分隔",
|
||
"names, codenames, hosts": "人名、代号、主机名",
|
||
"{name} added back": "已加回 {name}",
|
||
"auth": "认证",
|
||
"agent default": "Agent 默认值",
|
||
"default": "默认",
|
||
"off": "关闭",
|
||
"none": "不思考",
|
||
"minimal": "最低",
|
||
"low": "低",
|
||
"medium": "中",
|
||
"high": "高",
|
||
"xhigh": "很高",
|
||
"max": "最高",
|
||
"{label}: {value}": "{label}:{value}",
|
||
"Profiles": "方案",
|
||
"+ Save current": "+ 保存当前",
|
||
"none yet · save the setup to switch back in one click": "还没有 · 保存当前设置,之后一键切回",
|
||
"Delete profile": "删除方案",
|
||
"Update to the current setup": "用当前配置更新",
|
||
"Updated {name} to the current setup": "已用当前配置更新 {name}",
|
||
"Profile name": "方案名称",
|
||
"{name} applied · {n} setting changed": "已应用 {name} · 更改了 {n} 项设置",
|
||
"{name} applied · {n} settings changed": "已应用 {name} · 更改了 {n} 项设置",
|
||
"Saved {name}": "已保存 {name}",
|
||
"Deleted {name}": "已删除 {name}",
|
||
"{n} server": "{n} 个服务器",
|
||
"{n} servers": "{n} 个服务器",
|
||
"{n} skill": "{n} 个技能",
|
||
"{n} skills": "{n} 个技能",
|
||
"instructions": "指令",
|
||
", ": "、",
|
||
"+ Library: {what}": "+ 资源库:{what}",
|
||
"+ Library: nothing on": "+ 资源库:全部关闭",
|
||
"skipped, no longer in the Library: {names}": "已跳过资源库中已不存在的:{names}",
|
||
"some of the Library couldn't be given; see Library": "资源库有部分内容未能写入,详见资源库",
|
||
|
||
// picker
|
||
"Default": "默认",
|
||
"Icon": "图标",
|
||
"Choose a picture…": "选择图片…",
|
||
"Built-in icons": "内置图标",
|
||
"From the website": "从网站获取",
|
||
"Look for the icon of the site the base URL is on": "按上面填的 Base URL 找到对应网站的图标",
|
||
"Looking…": "查找中…",
|
||
"what {agent} ships with": "{agent} 自带的默认值",
|
||
"current value": "当前值",
|
||
"use as typed": "按输入使用",
|
||
"Filter models…": "筛选模型…",
|
||
"Filter, or type any model id…": "筛选,或输入任意模型 ID…",
|
||
"{field} — filter, or type any model id…": "{field} — 筛选,或输入任意模型 ID…",
|
||
"Filter {field}…": "筛选{field}…",
|
||
"No matches.": "没有匹配项。",
|
||
|
||
// providers
|
||
"sponsored": "赞助",
|
||
"{n} model": "{n} 个模型",
|
||
"{n} models": "{n} 个模型",
|
||
"no models exposed": "未暴露模型",
|
||
"signed in as {user}": "已登录 {user}",
|
||
"{name} · {model} — click to change": "{name} · {model} — 点击更改",
|
||
"{name} · {model}, through the routing group {group} — click to change": "{name} · {model},经由路由组 {group} — 点击更改",
|
||
"{agent} is signed in; its models are here for every other agent": "{agent} 已登录;它的模型在这里供其他 Agent 使用",
|
||
"no key": "无需密钥",
|
||
"needs a key": "需要密钥",
|
||
"API key {masked}": "API 密钥 {masked}",
|
||
"Local servers need no key": "本地服务无需密钥",
|
||
"Open the row and paste an API key": "展开这一行并粘贴 API 密钥",
|
||
"{agent} is signed in, but stays out of this list. ": "{agent} 已登录,但不在此列表中。",
|
||
"{agents} adds these itself, each time it starts, and magpie leaves them as they are: {names}": "{agents} 每次启动都会自己加上这些,magpie 不去动它们:{names}",
|
||
"{agent}'s saved accounts aren't offered. ": "{agent} 保存的账号没有提供出来。",
|
||
"signed in": "已登录",
|
||
"{p} exposes no models yet — pick some below": "{p} 尚未暴露模型 — 在下方选几个",
|
||
"+ Add provider": "+ 添加供应商",
|
||
"Add a provider": "添加供应商",
|
||
"Add your first provider": "添加第一个供应商",
|
||
"Find a vendor…": "查找供应商…",
|
||
"Find a model…": "查找模型…",
|
||
"No models match “{q}”": "没有和“{q}”匹配的模型",
|
||
"Close": "关闭",
|
||
"Vendors": "供应商",
|
||
"Relays · many vendors behind one key": "中转 · 一个密钥背后多家供应商",
|
||
"On this machine": "本机",
|
||
"Custom": "自定义",
|
||
"any compatible URL": "任意兼容的 URL",
|
||
"Nothing called “{q}”. ": "没有叫“{q}”的。",
|
||
"Add it as a custom provider": "添加为自定义供应商",
|
||
"{name} is already added — open it": "{name} 已添加 — 点击打开",
|
||
|
||
// provider editor
|
||
"Chat Completions — most agents": "Chat Completions — 多数 Agent",
|
||
"OpenAI Responses — what Codex speaks": "OpenAI Responses — Codex 使用",
|
||
"Anthropic Messages — what Claude Code speaks": "Anthropic Messages — Claude Code 使用",
|
||
"Custom provider": "自定义供应商",
|
||
"{agent} is on {model} — click to change": "{agent} 正在使用 {model} — 点击更改",
|
||
"{agent} is on the routing group {group}, {model} here among its members — click to change": "{agent} 正在使用路由组 {group},这里的 {model} 是它的成员之一 — 点击更改",
|
||
"e.g. My Relay": "例如 My Relay",
|
||
"Name": "名称",
|
||
"OpenAI compatible": "OpenAI 兼容",
|
||
"…/v1 — chat completions, and responses when the vendor has it": "…/v1 — chat completions,供应商支持时也含 responses",
|
||
"OpenAI Responses": "OpenAI Responses",
|
||
"…/v1 — for a vendor that serves only the Responses API, not chat completions": "…/v1 — 供应商只提供 Responses API、不提供 chat completions 时选这个",
|
||
"Anthropic compatible": "Anthropic 兼容",
|
||
"the root URL, what ANTHROPIC_BASE_URL would take": "根地址,即 ANTHROPIC_BASE_URL 的值",
|
||
"Account": "账号",
|
||
"Accounts": "账号",
|
||
"Fallback": "备用",
|
||
"Context window": "上下文窗口",
|
||
"e.g. 128k · or gpt-6=1m, comma separated": "如 128k · 或 gpt-6=1m,逗号分隔",
|
||
"How long a request the models take, told to the agents; empty leaves it to the vendor and models.dev": "模型能接受的上下文长度,会告诉各个 Agent;留空则按厂商和 models.dev 的",
|
||
"Context window: {v} is not a length like 128k or 1m": "上下文窗口:{v} 不是 128k、1m 这样的长度",
|
||
"add a model: filter, or type provider/model…": "添加模型:筛选,或输入 provider/model…",
|
||
"No provider serves {id} now; it is skipped": "现在没有供应商提供 {id},会跳过它",
|
||
"Up": "上移",
|
||
"Enter adds {id}": "回车添加 {id}",
|
||
"No model matches": "没有匹配的模型",
|
||
"When {name} is out of quota, rate limited or down, a request goes to these instead, top first. It only happens before any of the reply is sent, and {name} then sits out a minute.": "当 {name} 额度用完、被限流或不可用时,请求会按从上到下的顺序改发给这些模型。只在回复开始发送之前切换,之后 {name} 会暂停一分钟再用。",
|
||
"{agent} and the gateway use the one in use. Sessions already running keep theirs until restarted.": "{agent} 和网关使用标记为「使用中」的账号。已在运行的会话保持原账号,重启后切换。",
|
||
"The gateway uses the first. Tick more and it moves on to the next when the one before it is out of quota. {agent} itself stays signed in as it is.": "网关优先用第一个账号。多勾选几个,前一个额度用完时会自动换到下一个。{agent} 本身的登录保持不变。",
|
||
"The gateway uses this account first": "网关优先使用这个账号",
|
||
"Routing": "路由",
|
||
"Tick every key to use; Routing says how requests spread over them.": "勾选的密钥会同时启用;请求怎么分给它们,由下面的「路由」决定。",
|
||
"Tick every account to use; Routing says how requests spread over them.": "勾选的账号会同时启用;请求怎么分给它们,由下面的「路由」决定。",
|
||
"Smart": "智能",
|
||
"The first takes requests while it has quota to spare; when it runs low, the one with the most left takes over. One out of credit sits out half an hour, one out of quota until it resets, one rate limited as long as the vendor asks, and one that fails a minute, longer each time it fails again.": "额度充足时请求都给第一个(保持缓存命中);额度快用完时,自动换到剩余额度最多的那个。欠费的暂停半小时,额度用完的暂停到额度重置,被限流的按厂商要求的时间暂停,出错的暂停一分钟、连续出错则越停越久——期间请求自动转给其他可用的。",
|
||
"In order": "按顺序",
|
||
"In turn": "轮流",
|
||
"Least used first": "用量少的优先",
|
||
"Requests go to the first; the next takes over when the one before runs out of quota, hits a rate limit or fails.": "请求先发给第一个;它额度用完、被限流或出错时,由下一个接手。",
|
||
"Each turn of a conversation goes to the next one, spreading the load evenly; the requests within a turn stay where it began, so the prompt cache holds, and one that fails is passed over while it rests.": "会话的每一轮轮流交给下一个,均摊负载;一轮之内的请求留在这一轮开始的地方,好让提示词缓存生效;出错的在休息期间被跳过。",
|
||
"Each request goes to the one used least: a subscription by the share of its allowance used, a key by the tokens it served in the last hours.": "每个请求发给用量最少的:订阅看已用额度比例,密钥看最近几小时经它的 token 数。",
|
||
"{name}: {routing}": "{name}:{routing}",
|
||
"The gateway now uses {user} first": "网关现在优先使用 {user}",
|
||
"{agent} signs in to the first. Tick more and the gateway moves on to the next when the one before it is out of quota. Sessions already running keep theirs until restarted.": "{agent} 登录首选账号。多勾选几个,前一个额度用完时网关会自动换到下一个。已在运行的会话保持原账号,重启后切换。",
|
||
"{agent} is signed in to this account": "{agent} 当前登录的就是这个账号",
|
||
"Stop using this account": "停用这个账号",
|
||
"Use this account too": "同时启用这个账号",
|
||
"No usage reported": "暂无用量数据",
|
||
"resets {in}": "{in}重置",
|
||
"in {n}m": "{n} 分钟后",
|
||
"in {n}h": "{n} 小时后",
|
||
"in {n}d": "{n} 天后",
|
||
"In use": "使用中",
|
||
"Tick every key to use. Requests go to the first; when it runs out of quota or hits a rate limit, the next ticked key takes over.": "勾选的密钥会同时启用。请求先走第一个,它额度用完或被限流时,由下一个勾选的密钥自动接上。",
|
||
"Stop using this key": "停用这个密钥",
|
||
"Any protocol": "任意协议",
|
||
"Protocol this key speaks": "这个密钥可用的协议",
|
||
"Used on every endpoint": "所有端点都可以用",
|
||
"Messages API · Claude Code, Claude": "Messages API · Claude Code、Claude 模型",
|
||
"OpenAI API · GPT models, most agents": "OpenAI API · GPT 模型、大多数 agent",
|
||
"OpenAI Responses API · Codex": "OpenAI Responses API · Codex",
|
||
"Some relays give out a key per protocol. Set it here and the gateway sends each request to the key that fits: Claude models to the Anthropic key, GPT models to the OpenAI one.": "有的中转站按协议发放不同的密钥。在这里标明后,网关会把每个请求交给合适的密钥:Claude 模型走 Anthropic 密钥,GPT 模型走 OpenAI 密钥。",
|
||
"Use this key too": "同时启用这个密钥",
|
||
"First": "首选",
|
||
"{n} keys": "{n} 个密钥",
|
||
"Make first": "设为首选",
|
||
"{name} tries {key} first": "{name} 会先用 {key}",
|
||
"Add another key": "添加另一个密钥",
|
||
"Name, e.g. Team": "名称,例如 团队",
|
||
"Name, e.g. Personal or Team": "名称,例如 个人 或 团队",
|
||
"Rename": "重命名",
|
||
"Key removed": "已移除密钥",
|
||
"Key added — it takes over when the ones before it run out": "已添加密钥,前面的密钥用完时由它接上",
|
||
"Use": "使用",
|
||
"Add another {name} account": "添加另一个 {name} 账号",
|
||
"Sign in to another {name} account": "换一个 {name} 账号登录",
|
||
"{agent} keeps one account; the gateway runs it for every request. Signing in to another replaces it.": "{agent} 只保存一个账号,网关的每个请求都通过它运行。登录另一个账号会替换它。",
|
||
"signed in · switch account": "已登录 · 切换账号",
|
||
"Subscriptions · sign in, no key": "订阅 · 登录即可,无需密钥",
|
||
"{name} subscription": "{name} 订阅",
|
||
"1 account · add another": "1 个账号 · 再添加一个",
|
||
"{n} accounts · add another": "{n} 个账号 · 再添加一个",
|
||
"Finish signing in to {name} in your browser": "请在浏览器中完成 {name} 登录",
|
||
"{name} accounts can be suspended": "{name} 账号可能被封禁",
|
||
"Google may suspend an Antigravity account it sees used outside Antigravity. Use one you can afford to lose.": "Google 发现 Antigravity 账号在 Antigravity 之外使用时,可能会封禁该账号。请用一个丢了也无妨的账号。",
|
||
"Sign in anyway": "仍然登录",
|
||
"Installing {cli}…": "正在安装 {cli}…",
|
||
"{name} is used through its own CLI, which isn't on this computer yet. magpie is installing it with the official installer; the sign-in page opens as soon as it's done.": "{name} 需要通过它自己的 CLI 使用,这台电脑上还没有安装。magpie 正在用官方安装脚本安装,装好后会立即打开登录页面。",
|
||
"magpie opened the sign-in page. The account shows up here as soon as you're done.": "magpie 已打开登录页面,完成后账号会立即出现在这里。",
|
||
"Open again": "重新打开",
|
||
"Copy link": "复制链接",
|
||
"Sign-in link": "登录链接",
|
||
"1 provider to bring over": "有 1 个供应商可导入",
|
||
"{n} providers to bring over": "有 {n} 个供应商可导入",
|
||
"magpie opened GitHub's device page. Enter this code there; the account shows up here as soon as you're done.": "magpie 已打开 GitHub 的设备登录页,请在那里输入下面的验证码;完成后账号会立即出现在这里。",
|
||
"Code": "验证码",
|
||
"Sign-in didn't finish": "登录未完成",
|
||
"Try again": "重试",
|
||
"Signed in as {user}": "已登录 {user}",
|
||
"{user} added — switch to it any time": "已添加 {user},随时可以切换",
|
||
"{user} removed": "已移除 {user}",
|
||
"magpie forgets this account's sign-in; the account itself is untouched": "magpie 忘掉这个账号的登录信息;账号本身不受影响",
|
||
"Sign {agent} in to this account": "让 {agent} 登录到这个账号",
|
||
"{agent} is now signed in as {user}": "{agent} 已切换为 {user}",
|
||
"{agent}'s sign-in, read from its own files. Sign out there and this provider goes away.": "{agent} 的登录信息,读取自它自己的文件。在那里退出登录,此供应商即消失。",
|
||
"Models": "模型",
|
||
"Endpoints": "端点",
|
||
"Cancel": "取消",
|
||
"Save": "保存",
|
||
"{name} saved": "已保存 {name}",
|
||
"{masked} · paste a new key to replace it": "{masked} · 粘贴新密钥以替换",
|
||
"optional for local servers": "本地服务可不填",
|
||
"paste an API key": "粘贴 API 密钥",
|
||
"Show": "显示",
|
||
"Hide": "隐藏",
|
||
"Get a key ↗": "获取密钥 ↗",
|
||
"Import link": "导入链接",
|
||
"Import…": "导入…",
|
||
"Bring over providers set up in other apps": "导入其他应用中已配置的供应商",
|
||
"Import from other apps": "从其他应用导入",
|
||
"Select all": "全选",
|
||
"Import": "导入",
|
||
"{n} selected": "已选 {n} 个",
|
||
"Reading other apps…": "正在读取其他应用…",
|
||
"magpie reads these apps' settings and changes nothing in them. Pick the providers to bring over.": "magpie 只读取这些应用的配置,不会改动它们。勾选要导入的供应商。",
|
||
"Not found on this computer": "这台电脑上没有找到",
|
||
"No providers in it": "里面没有供应商",
|
||
"Imported {n}: {names}": "已导入 {n} 个:{names}",
|
||
"1 model": "1 个模型",
|
||
"Add as another key": "作为另一个密钥加入",
|
||
"magpie has {name} already": "magpie 里已有 {name}",
|
||
"Add as a new provider": "作为新的供应商",
|
||
"Keep both": "两个都保留",
|
||
"Replace it": "替换原有的",
|
||
"Already added": "已添加",
|
||
"Can't import": "无法导入",
|
||
"Name in use": "重名",
|
||
"Same vendor": "同一服务商",
|
||
"turned off in Alma": "在 Alma 里是关闭的",
|
||
"it is the agent's own sign-in; add the subscription in magpie": "这是 agent 自己的登录,请在 magpie 里添加订阅",
|
||
"it is the agent's own sign-in": "这是 agent 自己的登录",
|
||
"it is a sign-in, not a key; add the subscription in magpie": "这是登录账号而不是密钥,请在 magpie 里添加订阅",
|
||
"magpie doesn't talk the Gemini protocol to relays yet": "magpie 暂不支持以 Gemini 协议连接中转",
|
||
"magpie doesn't support Azure OpenAI yet": "magpie 暂不支持 Azure OpenAI",
|
||
"it points at magpie itself": "它指向的就是 magpie 自己",
|
||
"it has no base URL": "没有 Base URL",
|
||
"it has no API key": "没有 API 密钥",
|
||
"its base URL isn't valid": "Base URL 无效",
|
||
"from a link": "来自链接",
|
||
"Fetching {host}’s icon…": "正在获取 {host} 的图标…",
|
||
"the vendor": "该厂商",
|
||
"Close": "关闭",
|
||
"This link can't be imported: {e}": "这个链接无法导入:{e}",
|
||
"Added from a link. Your prompts and this key will go to {hosts}; add it only if you trust the site that sent you here.": "这是从链接导入的。你的提示词和这个密钥会发往 {hosts};只有信任发来链接的网站时才添加。",
|
||
"From the link. Kept in ~/.config/magpie/providers.json, readable by you alone.": "来自链接。保存在 ~/.config/magpie/providers.json,仅你自己可读。",
|
||
"Replaces your {name}, key and all.": "将替换你现有的 {name},包括密钥。",
|
||
"Replace": "替换",
|
||
"API key": "API 密钥",
|
||
"Kept in ~/.config/magpie/providers.json, readable by you alone. Nothing is read from your shell.": "保存在 ~/.config/magpie/providers.json,仅你本人可读。不会从你的 shell 读取任何内容。",
|
||
"model ids, comma separated · e.g. gpt-5.5, claude-sonnet-5": "模型 ID,逗号分隔 · 例如 gpt-5.5, claude-sonnet-5",
|
||
"Optional: magpie asks the vendor for its list after saving.": "可选:保存后 magpie 会向供应商获取模型列表。",
|
||
"More endpoints": "更多端点",
|
||
"OpenAI URL": "OpenAI 地址",
|
||
"if the vendor also serves chat completions": "如果供应商也提供 chat completions",
|
||
"Anthropic URL": "Anthropic 地址",
|
||
"if the vendor also serves Anthropic messages": "如果供应商也提供 Anthropic messages",
|
||
"Responses URL": "Responses 地址",
|
||
"if the vendor serves the OpenAI Responses API (Codex uses it natively)": "如果供应商提供 OpenAI Responses API(Codex 原生使用)",
|
||
"models.dev ids, e.g. openai, deepseek": "models.dev 上的 ID,例如 openai, deepseek",
|
||
"Catalog": "目录",
|
||
"Display names and reasoning levels for the models; for a gateway that serves several vendors, list them all, first match wins": "模型的显示名称与推理等级;网关同时提供多家厂商的模型时,把它们都列上,按顺序先匹配到的为准",
|
||
"Balance URL": "余额查询地址",
|
||
"Models URL": "模型列表地址",
|
||
"Where the vendor lists its models, when that isn't under the base URL; asked with the key": "供应商的模型列表接口,不在基础地址下时填写;请求时会带上 Key",
|
||
"Where the vendor tells what is left on the key, asked with it like a chat request; shown on the Usage page": "供应商查询该 Key 余额的接口,按对话请求的方式带上 Key 请求;结果显示在用量页",
|
||
"Balance field": "余额字段",
|
||
"Where the amount is in the reply, e.g. data.balance; it can be a sum with + - * / and brackets, e.g. data.total / 500000 or (1 - credits.used / 70) %; \"$\" in front adds the sign, \"%\" after it shows a percent; several, each with a label, go apart by \";\", e.g. 5h: a.used / a.cap %; $credits.left": "金额在返回 JSON 中的位置,例如 data.balance;可以用 + - * / 和括号算,例如 data.total / 500000 或 (1 - credits.used / 70) %;前面加 \"$\" 显示币种符号,后面加 \"%\" 显示为百分比;多个金额用 \";\" 隔开,各自可加标签,例如 5h: a.used / a.cap %; $credits.left",
|
||
"Balance": "余额",
|
||
"Allowances": "额度",
|
||
"What is left on the account: the vendor tells only this, so Used / Left leaves it as it is": "账户里剩下的金额:供应商只提供这个数,所以「已用 / 剩余」不会改变它",
|
||
"Headers": "请求头",
|
||
"Extra HTTP headers sent to the vendor, applied after auth. For gateways that need a private scheme.": "发送给供应商的额外 HTTP 请求头,在鉴权之后应用。适用于需要私有鉴权方案的网关。",
|
||
"Header-Name": "请求头名称",
|
||
"value": "值",
|
||
"Remove header": "删除请求头",
|
||
"+ Add header": "+ 添加请求头",
|
||
"Add the {h} header; its value is yours to fill in": "添加 {h} 请求头,值由你填写",
|
||
"Optional headers sent with every request to {p}, applied after auth.": "随每个发往 {p} 的请求发送的可选请求头,在鉴权之后应用。",
|
||
"Add another {name}": "再添加一个 {name}",
|
||
"One more {name} provider, with its own key, headers and models": "再添加一个 {name} 供应商,使用各自的 key、请求头和模型",
|
||
"e.g. {name} · Work": "例如 {name} · Work",
|
||
"id {id} — a number is added if it is taken": "ID 为 {id} — 若已被占用会自动加上数字",
|
||
"Edit as JSON": "以 JSON 编辑",
|
||
"Collapse to one line": "折叠为单行",
|
||
"Remove": "移除",
|
||
"{name} removed": "已移除 {name}",
|
||
"Add": "添加",
|
||
"{name} added": "已添加 {name}",
|
||
"Give it a name": "先起个名字",
|
||
"A base URL is needed": "需要填写 Base URL",
|
||
"Test": "测试",
|
||
"Send a tiny request through each endpoint": "向每个端点发送一个小请求",
|
||
"model {model}": "模型 {model}",
|
||
"filter {n} models…": "筛选 {n} 个模型…",
|
||
"… {n} more, filter to find them": "…… 还有 {n} 个,用筛选查找",
|
||
"Added by hand": "手动添加",
|
||
"The vendor's list is empty. Refresh, or type a model id.": "供应商列表为空。刷新,或输入一个模型 ID。",
|
||
"add a model id…": "添加模型 ID…",
|
||
"Refresh": "刷新",
|
||
"Ask the vendor which models it serves": "向供应商询问它提供哪些模型",
|
||
"{p}: {n} models": "{p}:{n} 个模型",
|
||
"vendor list · {when}": "供应商列表 · {when}",
|
||
"from models.dev · Refresh asks the vendor": "来自 models.dev · 刷新可向供应商获取",
|
||
"magpie's list · Refresh asks the vendor": "magpie 内置列表 · 刷新可向供应商获取",
|
||
"Names & levels": "名称与推理档位",
|
||
"Rename the models agents see, or offer fewer of their reasoning levels": "重命名 Agent 看到的模型,或只提供部分推理档位",
|
||
"Test models": "测试模型",
|
||
"Send a tiny request to each model agents see, to find the ones that don't answer": "给 Agent 能看到的每个模型发一个极小的请求,找出不通的模型",
|
||
"{n} of {all} models didn't answer": "{all} 个模型中有 {n} 个没有响应",
|
||
"All {n} models answered": "{n} 个模型全部可用",
|
||
"Testing…": "测试中…",
|
||
"Answered in {ms} ms": "{ms} 毫秒内响应",
|
||
"Pick a model first.": "请先选择模型。",
|
||
"The name agents and magpie show for {id}; empty for its own": "Agent 和 magpie 为 {id} 显示的名称;留空则用默认名称",
|
||
"{id} is called {name}": "{id} 已改名为 {name}",
|
||
"{id} has its own name again": "{id} 已恢复默认名称",
|
||
"Reasoning levels agents are offered": "提供给 Agent 的推理档位",
|
||
"Its reasoning levels aren't known: tick the ones it takes": "未知这个模型的推理档位:勾选它支持的档位",
|
||
"Keep at least one level": "至少保留一个档位",
|
||
"{id}: {levels}": "{id}:{levels}",
|
||
"Restore default": "恢复默认",
|
||
"Its own name and every reasoning level it has": "恢复默认名称和全部推理档位",
|
||
"{id} is as its provider has it again": "{id} 已恢复为供应商的默认设置",
|
||
|
||
// gateway
|
||
"running": "运行中",
|
||
"running · served by another magpie": "运行中 · 由另一个 magpie 提供",
|
||
"not running": "未运行",
|
||
"{n} agent routed through it": "{n} 个 Agent 经由此路由",
|
||
"{n} agents routed through it": "{n} 个 Agent 经由此路由",
|
||
"no agent routed through it yet": "尚无 Agent 经由此路由",
|
||
"four APIs, one URL": "四种 API,一个地址",
|
||
"start it with magpie serve, or open magpie at login": "用 magpie serve 启动,或让 magpie 开机自启",
|
||
"Copy the gateway URL": "复制网关地址",
|
||
"Gateway URL": "网关地址",
|
||
// sync and backup
|
||
"Sync and backup": "同步与备份",
|
||
"WebDAV sync": "WebDAV 同步",
|
||
"Keeps providers, settings, profiles, agents' models and the library the same on every computer": "让每台电脑上的供应商、设置、Profile、各 agent 的模型和资源库保持一致",
|
||
"Couldn't sync: {error}": "同步失败:{error}",
|
||
"Synced {when} · {host}": "{when} 已同步 · {host}",
|
||
"Not synced yet · {host}": "尚未同步 · {host}",
|
||
"at {time}": "{time}",
|
||
"Sync now": "立即同步", "Set up": "设置",
|
||
"providers": "供应商", "settings": "设置", "profiles": "Profile", "agents' models": "agent 的模型", "library": "资源库",
|
||
"Replaced here by newer ones from another computer: {parts}": "本机的{parts}已被另一台电脑上较新的版本替换",
|
||
"Replaced on the server by this computer's newer ones: {parts}": "服务器上的{parts}已被本机较新的版本替换",
|
||
"The copies replaced are kept in the sync folder.": "被替换的那份已保存在 sync 文件夹里。",
|
||
"OK": "知道了",
|
||
"Export": "导出", "Export…": "导出…",
|
||
"Everything above in one file, sealed with a passphrase, to carry to another computer": "把上面这些打包成一个用口令加密的文件,带到另一台电脑",
|
||
"Import…": "导入…",
|
||
"Bring in a file exported from magpie": "导入从 magpie 导出的文件",
|
||
"user name": "用户名",
|
||
"saved · type a new one to replace it": "已保存 · 输入新的即可替换",
|
||
"password, or an app password": "密码或应用密码",
|
||
"the same on every computer": "每台电脑上都一样",
|
||
"Providers' API keys": "供应商的 API Key",
|
||
"Agents' models": "各 agent 选的模型",
|
||
"Library: instructions, MCP servers and skills": "资源库:指令、MCP 服务器和技能",
|
||
"Address": "地址", "User": "用户", "Password": "密码", "Passphrase": "口令", "Also sync": "同时同步",
|
||
"A folder named magpie is made in it.": "会在其中建一个名为 magpie 的文件夹。",
|
||
"The file is sealed with it on this computer; the server only ever sees it sealed. Keep it: without it the file can't be opened.": "文件在本机用它加密,服务器只能看到加密后的内容。请记住它:没有口令无法打开文件。",
|
||
"Turn on": "开启", "Turn off": "关闭同步",
|
||
"Pick a passphrase: the file is sealed with it": "请设置口令:文件会用它加密",
|
||
"passphrase": "口令", "again": "再输入一次",
|
||
"With the providers' API keys": "包含供应商的 API Key",
|
||
"With the library: instructions, MCP servers and skills": "包含资源库:指令、MCP 服务器和技能",
|
||
"Needed to open the file. Subscriptions aren't in it: sign in to them on the other computer.": "打开文件时需要。订阅账号不在其中,请在另一台电脑上各自登录。",
|
||
"The two passphrases differ": "两次输入的口令不一致",
|
||
"Saved to {path}": "已保存到 {path}",
|
||
"No file chosen": "未选择文件", "Choose…": "选择…", "File": "文件",
|
||
"Set the agents' models too": "同时设置各 agent 的模型",
|
||
"Bring in the library too: instructions, MCP servers and skills": "同时导入资源库:指令、MCP 服务器和技能",
|
||
"Providers with the same id are replaced; one that came without a key keeps the key it has here. The library replaces the one here, which is kept with its backups.": "同 id 的供应商会被替换;不带 Key 的会保留本机已有的 Key。资源库会替换本机的资源库,被替换的内容会保存在备份里。",
|
||
"Choose a file first": "请先选择文件",
|
||
"Providers: {added} added, {replaced} replaced; {profiles} profiles; {agents} agent settings changed": "供应商:新增 {added} 个,替换 {replaced} 个;Profile {profiles} 个;agent 设置改动 {agents} 项",
|
||
"Needs a key: {names}": "需要填写 Key:{names}",
|
||
"Library brought in and written into the agents": "资源库已导入,并已写入各 agent",
|
||
"{agent} couldn't get {what}: {error}": "{agent} 未能写入 {what}:{error}",
|
||
"Community": "社区", "questions, ideas and feedback, on Discord": "提问、想法和反馈,都在 Discord", "Join Discord": "加入 Discord",
|
||
"Copy": "复制",
|
||
"Copied": "已复制",
|
||
"Region": "区域",
|
||
"Auto": "自动",
|
||
"Global": "国际",
|
||
"China Mainland": "中国大陆",
|
||
"Plan": "套餐",
|
||
"Pay as you go": "按量付费",
|
||
"which endpoint {p} is reached through": "通过哪个入口访问 {p}",
|
||
"{what} copied": "已复制{what}",
|
||
"Connect": "接入",
|
||
"Loopback only · the key can be anything": "仅限本机回环 · 密钥可以随意填",
|
||
"Chat Completions, the API most tools speak. Anything with an OpenAI base-URL setting works.": "Chat Completions,多数工具使用的 API。任何可设置 OpenAI base URL 的工具都能用。",
|
||
"OpenAI's newer API: reasoning, built-in tool items, encrypted reasoning. Codex speaks this.": "OpenAI 较新的 API:推理、内置工具项、加密推理。Codex 使用它。",
|
||
"Messages API. Claude Code reads ANTHROPIC_AUTH_TOKEN instead of the key; the Agents tab sets that for you.": "Messages API。Claude Code 读取 ANTHROPIC_AUTH_TOKEN 而非密钥;Agent 页会替你设置。",
|
||
"Google's generateContent API, v1beta. Gemini CLI and the google-genai SDKs speak this.": "Google 的 generateContent API(v1beta)。Gemini CLI 和 google-genai SDK 使用它。",
|
||
"What {env} takes.": "填入 {env}。",
|
||
"Key": "密钥",
|
||
"{env}=magpie. The gateway trusts everything on loopback, so any value works.": "{env}=magpie。网关信任本机回环上的一切请求,随便填什么都行。",
|
||
"Model": "模型",
|
||
"Model id": "模型 ID",
|
||
"Model ids": "模型 ID",
|
||
"provider/model, as listed below. Click a model there to put it in the snippets.": "格式为 provider/model,见下方列表。点击某个模型即可放入示例。",
|
||
"No models yet. Add a provider, or sign in to Codex or Copilot.": "还没有模型。添加一个供应商,或登录 Codex / Copilot。",
|
||
"Example": "示例",
|
||
"Snippet": "代码片段",
|
||
"Put these in the shell (or the tool's settings) and the tool talks to magpie instead of the vendor.": "把这些放进 shell(或工具的设置)里,工具就会改为与 magpie 通信,而不是直连供应商。",
|
||
"Copy all ids": "复制全部 ID",
|
||
"No models exposed yet": "尚未暴露任何模型",
|
||
"All models": "全部模型",
|
||
"Favorites": "收藏",
|
||
"Add to favorites": "添加到收藏",
|
||
"Remove from favorites": "从收藏中移除",
|
||
"Add a provider, or sign in to Codex or Copilot; their models show up here for every agent.": "添加一个供应商,或登录 Codex / Copilot;它们的模型会出现在这里,供所有 Agent 使用。",
|
||
"Use this model in the snippets": "在示例中使用此模型",
|
||
"Recent calls": "最近调用",
|
||
"shown by the magpie that serves the gateway": "由提供网关的那个 magpie 显示",
|
||
"No requests yet. Point an agent at a model, or run the example above; every call shows up here as it happens.": "还没有请求。让某个 Agent 使用一个模型,或运行上面的示例;每次调用都会实时显示在这里。",
|
||
"Show request and response bodies": "查看请求体和响应体",
|
||
"Hide request and response bodies": "收起请求体和响应体",
|
||
"Request Body": "请求体",
|
||
"Response Body": "响应体",
|
||
"No body captured": "未捕获到内容",
|
||
"first 256 KB": "前 256 KB",
|
||
|
||
// usage
|
||
"Today": "今天",
|
||
"7 days": "7 天",
|
||
"1 day": "1 天",
|
||
"Month": "本月",
|
||
"On-demand": "按需用量",
|
||
"30 days": "30 天",
|
||
"All": "全部",
|
||
"list price": "标价",
|
||
"{n} call had no known price and is not counted": "{n} 次调用没有已知价格,未计入",
|
||
"{n} calls had no known price and are not counted": "{n} 次调用没有已知价格,未计入",
|
||
"At each model's list price on models.dev": "按 models.dev 上各模型的标价计算",
|
||
"no price for these models": "这些模型没有价格信息",
|
||
|
||
// sessions
|
||
"Overview": "概览",
|
||
"Sessions": "会话",
|
||
"Search sessions": "搜索会话",
|
||
"Resume": "继续",
|
||
"Resume command": "继续会话的命令",
|
||
"Copy the command that resumes it: {cmd}": "复制继续这个会话的命令:{cmd}",
|
||
"Open in Terminal": "在终端中打开",
|
||
"Opened in Terminal": "已在终端中打开",
|
||
"Session id": "会话 ID",
|
||
"(no prompt)": "(无提示词)",
|
||
"session": "个会话",
|
||
"sessions": "个会话",
|
||
"{n} folder": "{n} 个文件夹",
|
||
"{n} folders": "{n} 个文件夹",
|
||
"cost": "费用",
|
||
"at list price": "按标价",
|
||
"just now": "刚刚",
|
||
"No session matches.": "没有匹配的会话。",
|
||
"No sessions yet. Claude Code's and Codex's sessions on this computer show up here, with what each cost and the command that resumes it.": "还没有会话。这台电脑上 Claude Code 和 Codex 的会话会显示在这里,附带各自的费用和继续会话的命令。",
|
||
"Reading the agents' session files…": "正在读取 Agent 的会话文件…",
|
||
"Read from the agents' own session files, the latest {n} by activity · {dirs}": "读取自 Agent 自己的会话文件,按最近活动取 {n} 个 · {dirs}",
|
||
"No known price for {models}": "{models} 没有已知价格",
|
||
"Not counted: {models}, with no known price": "未计入:{models},没有已知价格",
|
||
"{n} session used a model with no known price; its share is not counted": "{n} 个会话用了没有已知价格的模型,这部分未计入",
|
||
"{n} sessions used a model with no known price; their share is not counted": "{n} 个会话用了没有已知价格的模型,这部分未计入",
|
||
"5 hours": "5 小时",
|
||
"24 hours": "24 小时",
|
||
"MCP · Month": "MCP · 本月",
|
||
"this key has no OpenCode Go subscription": "这个 Key 没有订阅 OpenCode Go",
|
||
"7 days · Opus": "7 天 · Opus",
|
||
"7 days · Sonnet": "7 天 · Sonnet",
|
||
"Auto + Composer": "Auto + Composer",
|
||
"Total": "合计",
|
||
"Usage unavailable": "暂时无法获取用量",
|
||
"Hide usage": "收起用量",
|
||
"Show usage": "展开用量",
|
||
"Signed out — add this account again to use it": "登录已失效,请重新添加此账号",
|
||
"Needs a Google Cloud project — hover for how": "需要指定 Google Cloud 项目,悬停查看方法",
|
||
"Google no longer serves personal accounts to Gemini CLI — hover for more": "Google 已停止向个人账号提供 Gemini CLI,悬停查看详情",
|
||
"Google has suspended this account — hover for details": "此账号已被 Google 停用,悬停查看详情",
|
||
"This key has no limit — add the account's access token in the provider's settings to see its balance": "此 key 未设额度,在供应商设置里填入账户的访问令牌即可显示账户余额",
|
||
"AiHubMix didn't take the access token — paste a new one in the provider's settings": "AiHubMix 不认这个访问令牌,请在供应商设置里重新填入",
|
||
"Account balance": "账户余额",
|
||
"saved · paste a new one to replace it": "已保存 · 粘贴新的即可替换",
|
||
"optional · the account's system access token": "可选 · 账户的系统访问令牌",
|
||
"A key tells only what is left on itself. For the whole account's balance on the Usage page, generate a System Access Token in {p}'s settings and paste it here; it is used for nothing else.": "API key 只能查到它自己的剩余额度。要在用量页显示整个账户的余额,请在 {p} 的设置中生成系统访问令牌并粘贴到这里;它不作他用。",
|
||
"Antigravity hasn't set this account up — hover for why": "Antigravity 还没为这个账号开通,悬停查看原因",
|
||
"Resets {when}": "重置于 {when}",
|
||
"Allowance": "用量额度",
|
||
"Chat requests": "聊天请求",
|
||
"Completions": "代码补全",
|
||
"Premium requests": "高级请求",
|
||
"No calls today.": "今天没有调用。",
|
||
"No calls in the last 7 days.": "最近 7 天没有调用。",
|
||
"No calls in the last 30 days.": "最近 30 天没有调用。",
|
||
"No calls yet.": "还没有调用。",
|
||
"Point an agent at a catalog model and use it; every call through the gateway is counted here.": "让某个 Agent 使用目录中的模型;每次经过网关的调用都会计入这里。",
|
||
"tokens": "token",
|
||
"{a} in · {b} out": "输入 {a} · 输出 {b}",
|
||
"cache read": "缓存读取",
|
||
"hit rate {p}": "命中率 {p}",
|
||
"{n} written": "写入 {n}",
|
||
"reasoning": "推理",
|
||
"agent": "Agent",
|
||
"member": "成员",
|
||
"inside output": "计入输出",
|
||
"call": "次调用",
|
||
"calls": "次调用",
|
||
"{n} failed": "{n} 次失败",
|
||
"week of {label}": "{label} 起的一周",
|
||
"{when} · {tokens} tokens · {n} call": "{when} · {tokens} token · {n} 次调用",
|
||
"{when} · {tokens} tokens · {n} calls": "{when} · {tokens} token · {n} 次调用",
|
||
"{when} · nothing": "{when} · 无",
|
||
"{n} call": "{n} 次调用",
|
||
"{n} calls": "{n} 次调用",
|
||
"{n}% of tokens": "占 token 的 {n}%",
|
||
"{n} cached": "缓存 {n}",
|
||
"Counted from the providers' own usage reports on every call through the gateway · {path}": "根据供应商在每次网关调用中返回的用量统计 · {path}",
|
||
|
||
// sync
|
||
"Model lists refreshed": "模型列表已刷新",
|
||
"Sync failed: {e}": "同步失败:{e}",
|
||
|
||
// settings
|
||
"Preferences": "偏好",
|
||
"Appearance": "外观",
|
||
"Light or dark, or whatever the system is showing": "浅色、深色,或跟随系统",
|
||
"Language": "语言",
|
||
"Applies at once, no restart": "立即生效,无需重启",
|
||
"System": "跟随系统",
|
||
"Light": "浅色",
|
||
"Dark": "深色",
|
||
"About": "关于",
|
||
"Version": "版本",
|
||
"Checking for updates…": "正在检查更新…",
|
||
"{v} is downloaded": "{v} 已下载",
|
||
"Restart to update": "重启以更新",
|
||
"Update": "更新",
|
||
"Update failed": "更新失败",
|
||
"Restart to update to {v}": "重启以更新到 {v}",
|
||
"Restarting…": "正在重启…",
|
||
"{v} is out": "{v} 已发布",
|
||
"Download": "下载",
|
||
"Downloading {v}…": "正在下载 {v}…",
|
||
"Up to date": "已是最新",
|
||
"Check": "检查",
|
||
"Couldn't check for updates": "检查更新失败",
|
||
"Couldn't download {v}": "{v} 下载失败",
|
||
"{done} of {total} MB": "{done} / {total} MB",
|
||
"{done} MB": "{done} MB",
|
||
"Downloading…": "正在下载…",
|
||
"Downloading… {p}%": "正在下载… {p}%",
|
||
"Click to try again": "点击重试",
|
||
"Click to open the download page.": "点击打开下载页面。",
|
||
"macOS is running magpie from a temporary copy, so it can't update itself; move magpie to Applications and open it from there.": "macOS 正在从临时副本运行 magpie,所以它无法自动更新;请把 magpie 移到「应用程序」文件夹,再从那里打开。",
|
||
"magpie is running from its disk image, so it can't update itself; drag it to Applications and open it from there.": "magpie 正在从磁盘映像中运行,所以它无法自动更新;请把它拖到「应用程序」文件夹,再从那里打开。",
|
||
"Config folder": "配置目录",
|
||
"providers, profiles and these settings": "供应商、方案与这些设置",
|
||
"Open": "打开",
|
||
"Path": "路径",
|
||
"the address every agent is pointed at": "各 Agent 指向的地址",
|
||
"Saved": "已保存",
|
||
// Gateway: routing, live
|
||
"live, as the gateway decides": "实时 · 网关正在做的决定",
|
||
"Hide emails": "邮箱打码",
|
||
"Add a model": "添加模型",
|
||
"Add another model": "再添加一个模型",
|
||
"{api} only · after the others": "仅 {api} · 排在其他之后",
|
||
"any API": "任意 API",
|
||
"{who} is made for {api}, not {other} as the keys routed over are, so it isn't one of them: it's tried after them.": "{who} 是为 {api} 准备的,和参与路由的 {other} 密钥不同,所以不算其中一员:排在它们之后才试。",
|
||
"{n} keys for {api}": "{n} 个 {api} 密钥",
|
||
"New group": "新建组",
|
||
"models agents pick as one": "Agent 当作一个模型来选",
|
||
"No group yet. A model two of your providers serve becomes one on its own; New group makes one of any models you like.": "还没有路由组。两个供应商都提供的同一个模型会自动成组;点「新建组」可以把任意模型组到一起。",
|
||
"Removed:": "已移除:",
|
||
"Bring it back": "恢复",
|
||
"{name} is back": "{name} 已恢复",
|
||
"found by magpie": "magpie 自动发现",
|
||
"no member ready": "没有可用成员",
|
||
"Edit": "编辑",
|
||
"found by magpie — saving a change makes it yours": "magpie 自动发现的——保存修改后就归你管理",
|
||
"e.g. Opus anywhere": "例如:Opus 多家备份",
|
||
"Agents pick it as {id}": "Agent 里选 {id}",
|
||
"an agent set to {id} needs setting again": "已经选了 {id} 的 agent 要重新选一次",
|
||
"Agents pick its models as {id}": "Agent 里按 {id} 选它的模型",
|
||
"agents and routing groups on {id} move to it": "用着 {id} 的 agent 和路由分组会一起换过去",
|
||
"The first answers for what the model can do. In order, they are tried top first.": "排第一的模型决定这个组对外的能力;按顺序模式下从上往下依次尝试。",
|
||
"Stays": "会话保持",
|
||
"Session": "整个会话",
|
||
"Within a turn": "一轮之内",
|
||
"A group needs a model in it": "组里至少要有一个模型",
|
||
"Rules": "规则",
|
||
"Add a rule": "添加规则",
|
||
"When": "当",
|
||
"tokens": "tokens",
|
||
"has an image": "带图片",
|
||
"any reasoning": "不限推理",
|
||
"reasoning on": "开启推理",
|
||
"reasoning ≥ {level}": "推理 ≥ {level}",
|
||
"not a condition": "不作为条件",
|
||
"thinking or any effort level": "开了 thinking 或任意推理强度",
|
||
"any agent": "不限 Agent",
|
||
"send to": "先发给",
|
||
"it doesn't take images": "它不支持图片",
|
||
"it takes {n} tokens": "它的上下文只有 {n} tokens",
|
||
"≥ {n} tokens": "≥ {n} tokens",
|
||
"1 rule": "1 条规则",
|
||
"{n} rules": "{n} 条规则",
|
||
"Rule {n} needs a condition": "第 {n} 条规则还没有条件",
|
||
"asks for": "意图是",
|
||
"asks for “{intent}”": "意图是“{intent}”",
|
||
"what it asks for, e.g. writing tests": "用户想做什么,例如:写测试",
|
||
"Intent told by": "意图判断模型",
|
||
"choose a model": "选择模型",
|
||
"As a turn begins, this model is asked which of the intents the message is — once; a small, fast one without reasoning is best. If it fails or can't say, no intent matches. Its calls show in the usage as magpie’s own.": "每一轮开始时,问这个模型一次:用户这条消息属于哪个意图。建议选小而快、不带推理的模型。它出错或给不出答案时,所有意图条件都不命中。它的调用在用量里显示为 magpie 自己的调用。",
|
||
"Choose the model that tells which intent a message is": "请选择用来判断消息意图的模型",
|
||
"the classifier": "意图判断模型",
|
||
"said before, for the same message": "同一条消息之前已判断过",
|
||
"in {ms}": "用时 {ms}",
|
||
"{by} was to tell which of {kinds} turn {turn} is, but couldn't — {err} — so no rule with an intent matches it.": "{by} 本应判断第 {turn} 轮属于 {kinds} 中的哪一个,但没能给出答案({err}),所以带意图的规则都不命中。",
|
||
"{by} was asked which of {kinds} turn {turn} is, and said none ({took}).": "问 {by} 第 {turn} 轮属于 {kinds} 中的哪一个,它说都不是({took})。",
|
||
"{by} was asked which of {kinds} turn {turn} is, and said “{intent}” ({took}).": "问 {by} 第 {turn} 轮属于 {kinds} 中的哪一个,它说是“{intent}”({took})。",
|
||
"It was told turn {prev} was “{after}”, which a message that only carries on from it is too.": "同时告诉了它第 {prev} 轮是“{after}”,只是接着上一轮说的消息也算这一类。",
|
||
"{by} was to rate how hard turn {turn} is, but couldn't — {err} — so it reasons as the agent asked.": "{by} 本应评估第 {turn} 轮的难度,但没能给出答案({err}),所以按 agent 自己要求的推理强度。",
|
||
"{by} rated turn {turn} {score} of 3, so it picks {level} reasoning for the turn — each model gets the level it has nearest.": "{by} 给第 {turn} 轮的难度打了 {score} 分(满分 3),选了 {level} 推理强度——每个模型按它最接近的档位。",
|
||
", {n} sure": ",把握 {n}",
|
||
"Decided by": "决策模型",
|
||
"Agents never see them: a routing group picks one as its classifier.": "agent 看不到它们:只有路由组把其中一个选作判断模型。",
|
||
"Jev's names · Refresh asks the vendor": "Jev 的名字 · 刷新会向厂商获取",
|
||
"Routing groups name its models as {id} for their classifier": "路由组以 {id} 把它的模型选作判断模型",
|
||
"TypeSafe's decision API — what a routing group asks as a turn begins": "TypeSafe 的决策 API——每轮开始时路由组询问它",
|
||
"at {level} reasoning": "以 {level} 推理强度",
|
||
"Jev is asked once as each turn begins, with the message and what it said of the turn before. Its calls show in the usage as magpie’s own.": "每轮开始时只问 Jev 一次,给它这条消息和它对上一轮的判断。它的调用在用量里记为 magpie 自己的。",
|
||
"Effort": "推理强度",
|
||
"Agent's": "按 agent",
|
||
"Picked per turn": "每轮判断",
|
||
"Choose the model that rates how hard a turn is": "请选择判断每轮难度的模型",
|
||
"Turn {turn} reasons at {level}, as the classifier picked when it began.": "第 {turn} 轮按 {level} 推理,这是判断模型在这一轮开始时选的。",
|
||
"As a turn begins, the classifier rates how hard it is and the turn's requests ask their model for low, medium, high or xhigh reasoning — the level each model has nearest. Only where the agent asked for reasoning: a request without any (a session title) stays without.": "每轮开始时,判断模型评估这一轮有多难,这一轮的请求就让模型按 low、medium、high 或 xhigh 推理(取各模型最接近的档位)。只作用于 agent 本来就要求推理的请求:不带推理的请求(如会话标题)保持不带。",
|
||
"As a turn begins, this model is asked how hard the turn is — once; a small, fast one without reasoning is best. If it fails or can't say, the turn reasons as the agent asked. Its calls show in the usage as magpie’s own.": "每轮开始时问这个模型一次这一轮有多难;最好用小而快、不推理的模型。它失败或答不上来时,这一轮按 agent 自己要求的强度推理。它的调用在用量里记为 magpie 自己的。",
|
||
"As a turn begins, this model is asked which of the intents the message is and how hard the turn is, each once; a small, fast one without reasoning is best. If it can't say, no intent matches and the turn reasons as the agent asked. Its calls show in the usage as magpie’s own.": "每轮开始时分别问这个模型一次:这条消息属于哪个意图、这一轮有多难;最好用小而快、不推理的模型。答不上来时不匹配任何意图,并按 agent 自己要求的强度推理。它的调用在用量里记为 magpie 自己的。",
|
||
"Each request reasons as much as the agent asked.": "每个请求按 agent 自己要求的强度推理。",
|
||
"As a turn begins, Jev is asked once which of the intents the message is, and how hard the turn is when it picks the effort. An intent it isn't sure of matches no rule. Its calls show in the usage as magpie’s own.": "每一轮开始时,问 Jev 一次:这条消息属于哪个意图;如果由它选推理强度,也一并问这一轮有多难。它没把握的意图不命中任何规则。它的调用在用量里显示为 magpie 自己的调用。",
|
||
"It was told turn {prev} reasoned at {level}, which a message that only carries on from it needs too.": "同时告诉了它第 {prev} 轮按 {level} 推理,只是接着上一轮说的消息也需要这么多。",
|
||
"With two models or more, a rule can send some turns to one of them first.": "组里有两个及以上模型时,可以用规则把某些轮次先发给其中一个。",
|
||
"Checked top first when you send a message: the first that matches sends that turn to its model first; the rest stay behind it if it fails. A turn under way is never moved.": "每次你发新消息时从上往下检查:第一条命中的规则把这一轮先发给它指定的模型,其余成员排在后面做故障转移。进行中的一轮不会中途换模型。",
|
||
"Rule {n} ({when}) sent turn {turn} to {use} as it began; the turn stays with whoever took it then.": "第 {turn} 轮开始时命中规则 {n}({when}),先发给了 {use};这一轮留在当时接手的模型上。",
|
||
"Turn {turn} begins and rule {n} matches — {when} — so {use} goes first; if it fails, {then}, which the rules after it that match too name, then the group's others.": "第 {turn} 轮开始,命中规则 {n}({when}),{use} 先上;它不行时先换 {then}(后面同样命中的规则指定的),再换组里其他模型。",
|
||
"Rule {n} matches, but {use} has nothing ready now, so {instead} goes first: a rule after it that matches too names it.": "命中规则 {n},但 {use} 现在没有可用的账号或 Key,所以由后面同样命中的规则指定的 {instead} 先上。",
|
||
"In {group}, rule {n} matches, but {use} has nothing ready now, so {instead} goes first: a rule after it that matches too names it.": "在 {group} 里,规则 {n} 命中了,但 {use} 眼下没有可用的,由后面同样命中的规则指定的 {instead} 先上。",
|
||
"Turn {turn} begins and rule {n} matches — {when} — so {use} goes first; the group's others stay behind it if it fails.": "第 {turn} 轮开始,命中规则 {n}({when}),所以 {use} 排第一;组里其他成员排在后面,它失败时接手。",
|
||
"Rule {n} matches, but {use} has nothing ready now, so the group's order stands.": "命中规则 {n},但 {use} 现在没有可用的账号或 Key,所以按分组原本的顺序。",
|
||
"This turn began before magpie saw it, so the rules wait for the next one.": "这一轮在 magpie 看到之前就已开始,规则等下一轮再判断。",
|
||
"No rule matches turn {turn} (about {n} tokens{img}), so the group routes it as usual.": "第 {turn} 轮没有命中任何规则(约 {n} tokens{img}),按分组平常的方式路由。",
|
||
"the group {name}": "路由组 {name}",
|
||
"In {group}, rule {n} matches, but {use} has nothing ready now, so {group}'s order stands.": "在 {group} 里,规则 {n} 命中了,但 {use} 眼下没有可用的,{group} 的顺序不变。",
|
||
"In {group}, rule {n} ({when}) sent turn {turn} to {use} as it began; the turn stays with whoever took it then.": "在 {group} 里,第 {turn} 轮开始时规则 {n}({when})先交给了 {use},这一轮留在当时接手的模型上。",
|
||
"In {group}, rule {n} matches — {when} — so {use} goes first there.": "在 {group} 里,规则 {n} 命中({when}),所以 {use} 在组内排第一。",
|
||
"In {group}, no rule matches, so it routes as usual.": "在 {group} 里没有命中规则,按它平常的方式路由。",
|
||
"In {group}: {text}": "在 {group} 里:{text}",
|
||
"{who} is one of {path}, a group in {name}; that group routes {mode}.": "{who} 属于 {path}——{name} 里的一个子路由组;这个子组按「{mode}」路由。",
|
||
", with an image": ",带图片",
|
||
"Within turn {turn} the conversation grew to about {tokens} tokens, more than the model it was on takes, so rule {n} ({when}) moves it to {use}.": "第 {turn} 轮进行中会话涨到约 {tokens} tokens,超过了当前模型能装下的长度,所以按规则 {n}({when})换到 {use}。",
|
||
"{who} answered this conversation last, but a new turn begins and the group's rule {n} puts {use} first.": "{who} 上次回答了这个会话,但新一轮开始时命中了分组的规则 {n},{use} 排第一。",
|
||
"Several accounts or keys": "多账号 / 多 Key",
|
||
"each provider routes over its own": "各供应商在自己的账号或 Key 间路由",
|
||
"{n} accounts": "{n} 个账号",
|
||
"A conversation stays with the account or key that answered it while what the vendor cached of it is worth keeping — within a turn always, across turns while it's fresh.": "会话留在回答过它的账号或 Key 上,只要厂商为它缓存的内容还值得保留——一轮之内总是保持,跨轮则在缓存还新鲜时保持。",
|
||
"A conversation stays with the account or key that answered it for the whole session, while it can answer.": "整个会话都留在回答过它的账号或 Key 上,只要它还能回答。",
|
||
"A conversation stays put within a turn, while the agent sends tool results back; when you speak again, routing decides afresh.": "一轮之内(Agent 回传工具结果时)不换;你再次发言时,路由重新决定。",
|
||
"Every request is routed afresh, whoever answered its conversation before.": "每个请求都重新路由,不管之前是谁回答的这个会话。",
|
||
"Smart, over every member's accounts and keys together: of the subscriptions with quota to spare, the one whose allowance renews soonest goes first; one resting after a failure goes last.": "智能:把所有成员的账号和 Key 放在一起排——还有余量的订阅里,额度最先重置的排第一;失败后在休息的排最后。",
|
||
"In order: the first model until it can't answer, then the next — each over its own accounts or keys as its provider routes them.": "按顺序:先用第一个模型,它答不了再换下一个——每个成员按其供应商的路由在自己的账号或 Key 间分配。",
|
||
"In turn: each conversation's next turn goes to the next member's account or key, spreading the load.": "轮流:会话的每一轮交给下一个成员的账号或 Key,均摊负载。",
|
||
"Least used first: the account or key with the most of its allowance left goes first.": "最少使用优先:剩余额度最多的账号或 Key 排第一。",
|
||
"Mask the email addresses on this page, for a screenshot to share": "给本页的邮箱地址打码,方便截图分享",
|
||
"Least used": "最少使用",
|
||
"requests": "请求",
|
||
"rerouted": "改道",
|
||
"errors your agent saw": "Agent 收到的错误",
|
||
"rate limited": "限流",
|
||
"out of credit": "余额不足",
|
||
"quota used up": "额度用尽",
|
||
"failed": "失败",
|
||
"canceled": "已取消",
|
||
"another account's reasoning": "另一个账号的推理",
|
||
"reply too short": "回复长度过短",
|
||
"{who} takes no request for a reply as short as this one asked for, so it is asked again for the shortest it gives, before any of the reply reaches {agent}.": "{who} 不接受这么短的回复长度(max_tokens),所以按它允许的最小值再问一次,{agent} 收到回复前就处理好了。",
|
||
"{who} couldn't read the reasoning another account wrote earlier in this conversation, so it is asked again without it, before any of the reply reaches {agent}.": "{who} 读不了这个会话里之前由另一个账号写下的推理,所以去掉这部分后再问一次,{agent} 收到回复前就处理好了。",
|
||
"{agent} canceled the request while {who} was answering: nobody failed, so nobody rests and nobody else is asked.": "{who} 还在回答时,{agent} 取消了请求:不是谁出了错,所以谁也不用休息,也不再问别人。",
|
||
"{who} answered {status} · {fail}, and nobody else is left to ask — a failure that may pass, so it is tried again in {d}, before any of the reply reaches {agent}.": "{who} 回了 {status} · {fail},而且没有别人可问了——这种失败可能一会儿就过去,所以 {d} 后再试它一次,回复的任何部分都还没交给 {agent}。",
|
||
"fallback": "备用",
|
||
"gateway": "网关",
|
||
"one key": "一个 Key",
|
||
"your agent": "你的 Agent",
|
||
"Back to live": "回到实时",
|
||
"How the last request was routed": "最近一个请求是怎么路由的",
|
||
"How the request at {time} was routed": "{time} 的请求是怎么路由的",
|
||
"Waiting for a request": "等待请求",
|
||
"No request yet": "还没有请求",
|
||
"Send one from any agent routed through magpie and it plays here as it happens: who routing put first and why, each try, and what each answered.": "任何经由 magpie 的 Agent 发出请求,这里就实时播放:路由把谁排在第一、为什么,每一次尝试,以及各自的回应。",
|
||
"Every request an agent sends to magpie shows up here, routed for real.": "Agent 发给 magpie 的每个请求都会出现在这里——真实的路由。",
|
||
"Another magpie serves the gateway; its routing plays live in that magpie's window.": "网关由另一个 magpie 提供,它的路由在那个 magpie 的窗口里实时播放。",
|
||
"The gateway isn't running, so nothing is routed.": "网关没有运行,因此没有任何路由。",
|
||
"The gateway is served by a magpie without a window (magpie serve), so its routing can't be watched. Stop it and let this magpie serve the gateway to see routing live.": "网关由一个没有窗口的 magpie(magpie serve)提供,它的路由没法在这里看到。停掉它、让这个 magpie 来提供网关,就能实时看到路由。",
|
||
"Smart: of the accounts with quota to spare, the one whose allowance renews soonest goes first — what it has left would be lost at the reset. One at 90% or more waits until the others can't answer; one resting after a failure goes last.": "智能:在还有余量的账号里,额度最先重置的排第一——它剩下的额度到重置时就作废了。用到 90% 以上的账号等其他账号都答不了时才用;失败后正在休息的排最后。",
|
||
"Smart: keys that suit the request go first — one made for the model's own API — then in their order. One resting after a failure goes last.": "智能:适合这个请求的 Key 排前面——专为该模型原生 API 的 Key 优先——其余按顺序。失败后正在休息的排最后。",
|
||
"In order: the first answers everything until it can't; then the next.": "按顺序:第一个处理所有请求,直到它不行了,再换下一个。",
|
||
"In turn: each conversation's next turn goes to the account after the one that answered its last, and a new conversation starts one further along; the requests within a turn stay put, keeping the prompt cache.": "轮流:会话的下一轮交给上一轮回答者之后的那个账号,新会话从再下一个开始;一轮之内的请求不换账号,保住提示词缓存。",
|
||
"Least used first: the account with the most of its allowance left goes first; a key by the tokens magpie sent it lately.": "最少使用优先:剩余额度最多的账号排第一;Key 按 magpie 最近发给它的 token 数排。",
|
||
"Nothing could take {model}.": "没有谁能处理 {model}。",
|
||
"{who} is the only one, so it's tried though it is resting.": "只有 {who} 一个,所以虽然它在休息,也还是会试。",
|
||
"{who} is the only account on for {model} — nothing to choose between.": "{who} 是 {model} 唯一启用的账号——无需选择。",
|
||
"{name} has one key on — nothing to choose between.": "{name} 只启用了一个 Key——无需选择。",
|
||
"Every one is resting after a failure, so {who}, first in line, is tried all the same.": "所有账号都在失败后休息,所以排在第一的 {who} 照样会试。",
|
||
"{name} is resting, so its fallback {fb} goes first.": "{name} 正在休息,所以它的备用 {fb} 排第一。",
|
||
"In order: {who} is first, and answers everything while it can.": "按顺序:{who} 排第一,只要能答就由它答。",
|
||
"In turn: it's {who}'s turn — each request starts one further along.": "轮流:这次轮到 {who}——每个请求从下一个开始。",
|
||
"Least used first: {who} has the most of its allowance left — {n} used.": "最少使用优先:{who} 剩余额度最多——已用 {n}。",
|
||
"Least used first: {who} served the fewest tokens lately — {n}.": "最少使用优先:{who} 最近处理的 token 最少——{n}。",
|
||
"Least used first: {who} goes first.": "最少使用优先:{who} 排第一。",
|
||
"{who} goes first: it's made for {api}, the API {model} is at home in, so nothing is translated.": "{who} 排第一:它专为 {api} 而设,正是 {model} 的原生 API,无需转换。",
|
||
"{who} goes first: keys go in their order, those that suit the request first.": "{who} 排第一:Key 按顺序排,适合这个请求的在前。",
|
||
"{who} goes first.": "{who} 排第一。",
|
||
"The vendor hasn't said yet what these accounts have left, so they go in their order: {who} first.": "厂商还没告知这些账号还剩多少,所以按顺序排:{who} 第一。",
|
||
"Every account is at 90% or more of its allowance, so the one with the most left goes first: {who}, at {n}.": "所有账号都用到了 90% 以上,所以剩余最多的排第一:{who},已用 {n}。",
|
||
"{who} goes first: it has quota to spare, and the others are kept for last.": "{who} 排第一:它还有余量,其他账号留到最后。",
|
||
"{who} goes first: of those with quota to spare, its allowance renews soonest — in {d} — and what it has left then is lost. {other} renews later and keeps its own.": "{who} 排第一:在还有余量的账号里,它的额度最先重置——{d}后——剩下的届时就作废了。{other} 重置得晚,额度先留着。",
|
||
"{who} goes first: its allowance renews in the same hour as {other}'s, and its shorter one sooner — in {d}.": "{who} 排第一:它和 {other} 的额度在同一小时重置,而它较短的那个窗口更早——{d}后。",
|
||
"{who} and {other} renew within the same hour, so the order given stays — and the vendor's prompt cache stays warm.": "{who} 和 {other} 在同一小时内重置,所以保持原有顺序——厂商的 prompt 缓存也保持命中。",
|
||
"{who} goes first, in the order given: when its allowance renews isn't known.": "{who} 按原有顺序排第一:不知道它的额度何时重置。",
|
||
"{who} is resting — {why}, {when} — so it waits at the back.": "{who} 正在休息——{why},{when}——所以排在最后。",
|
||
"{who} is at {n} — all but used up, it answers only when nothing else can.": "{who} 已用 {n}——几乎用尽,只在别的都不行时才用它。",
|
||
"{who} is at {n} — kept for when the others can't.": "{who} 已用 {n}——留给其他账号都不行的时候。",
|
||
"{who}: what it has left isn't known yet, so it goes after those known.": "{who}:还不知道它剩多少,所以排在已知的之后。",
|
||
"{who} is left out: its plan doesn't list {model}.": "{who} 不参与:它的套餐不包含 {model}。",
|
||
"{who} is left out: {name} lists {model} to its other keys, not this one.": "{who} 不参与:{name} 只在它其他 key 的模型列表里列出了 {model},这个 key 的列表里没有。",
|
||
"{who} is answering…": "{who} 正在回答…",
|
||
"{n} tokens": "{n} token",
|
||
"{who} answered in {ms}{tk}. {agent} got one clean reply and never saw the {n} that failed first.": "{who} 用 {ms} 完成回答{tk}。{agent} 收到一个干净的回复,完全没看到之前失败的 {n} 次。",
|
||
"{who} answered in {ms}{tk}.": "{who} 用 {ms} 完成回答{tk}。",
|
||
"{who} answered {status} · {fail}. {how}; the request goes on to {next} before any of the reply reaches {agent}.": "{who} 返回 {status} · {fail}。{how};在任何回复到达 {agent} 之前,请求就转给了 {next}。",
|
||
"{who} answered {status} and nobody is left to try, so {agent} gets the error.": "{who} 返回 {status},已经没有别的可试,所以 {agent} 收到了这个错误。",
|
||
"{who} answered {status} — an error another account wouldn't fix, so {agent} gets it.": "{who} 返回 {status}——换个账号也解决不了的错误,所以 {agent} 收到了它。",
|
||
"the next": "下一个",
|
||
"It rests {d}, as the vendor's Retry-After says": "按厂商 Retry-After 的要求,它休息 {d}",
|
||
"It sits out half an hour, until someone tops it up": "它先休息半小时,等人充值",
|
||
"Its allowance is used up: it rests until that renews, at {time}": "它的额度用尽了:休息到额度在 {time} 重置",
|
||
"It rests until {time}, when Claude Code says the limit resets": "它休息到 {time},Claude Code 说那时额度重置",
|
||
"It rests 15 minutes: out of quota, with no word of when it resets": "它休息 15 分钟:额度用尽,但没说何时重置",
|
||
"It has failed {n} times in a row: it rests {d}, longer each time": "它已连续失败 {n} 次:休息 {d},每次更久",
|
||
"It rests {d}, longer if it fails again": "它休息 {d},再失败就更久",
|
||
"It rests {d}": "它休息 {d}",
|
||
"It cools down {d}: the vendor didn't say for how long": "它冷却 {d}:厂商没说要多久",
|
||
"With {rested} resting after a failure, {who} goes first: ": "{rested} 失败后正在休息,{who} 排第一:",
|
||
"the others go in their order.": "其余按顺序排。",
|
||
"In order: with {rested} resting after a failure, {who} is the first that can answer.": "按顺序:{rested} 失败后正在休息,{who} 是第一个能答的。",
|
||
"{agent} asked for {model}": "{agent} 请求 {model}",
|
||
"Nothing was tried: {error}": "没有尝试任何账号:{error}",
|
||
"Requests": "请求",
|
||
"{agent} asked for {model}: {name} serves it, and the vendor is asked for {sent}": "{agent} 请求 {model}:由 {name} 提供,向厂商请求的模型是 {sent}",
|
||
"the last {n} the gateway keeps": "网关保留的最近 {n} 个",
|
||
"Accounts and keys": "账号与密钥",
|
||
"over those requests": "统计自这些请求",
|
||
"tried {n}": "尝试 {n}",
|
||
"answered {n}": "应答 {n}",
|
||
"last answered {time}": "最近应答 {time}",
|
||
"as of {time}": "截至 {time}",
|
||
"{n} used at {time}; it has renewed since": "{time} 时已用 {n},之后已重置",
|
||
"{n} tries": "{n} 次尝试",
|
||
"routing…": "路由中…",
|
||
"back in {d}": "{d}后恢复",
|
||
"back at {time}": "{time} 恢复",
|
||
"its plan doesn't list {model}": "套餐不包含 {model}",
|
||
"{name}'s list for this key has no {model}": "{name} 给这个 key 的模型列表里没有 {model}",
|
||
"answering…": "回答中…",
|
||
"answered this request": "回答了这个请求",
|
||
"answered {agent}": "回答了 {agent}",
|
||
"routing group": "路由组",
|
||
"Routing groups": "路由组",
|
||
"{n} agents at once": "{n} 个 Agent 同时在发",
|
||
"In order: member by member, the first model the group names until it can't answer, each over its own accounts or keys as its provider routes them.": "按顺序:逐个成员——先用组里排第一的模型,它答不了再换下一个;每个成员按其供应商的路由在自己的账号或 Key 间分配。",
|
||
"{agent} asked for the routing group {name}: {members}": "{agent} 请求了路由组 {name}:{members}",
|
||
"Kept on {who}: it answered this conversation before, and affinity keeps a session with one account.": "留在 {who}:这个会话之前由它回答,亲和性让一个会话始终用同一个账号。",
|
||
"Kept on {who}: {agent} is handing back tool results within turn {n}, and moving now would lose what the vendor cached of it.": "留在 {who}:{agent} 正在第 {n} 轮内回传工具结果,此时换账号会丢掉厂商为它缓存的内容。",
|
||
"Kept on {who}: the vendor read {n} tokens of this conversation from its cache {d} ago; anyone else would be sent them afresh and paid in full.": "留在 {who}:{d}前厂商从缓存里读了这个会话的 {n} tokens;换给别人就得重新发送、全价计费。",
|
||
"Turn {n} begins: in turn, it goes to the one after {who}, which answered the last turn — {next}.": "第 {n} 轮开始:轮流模式下,交给上一轮回答者 {who} 之后的那个——{next}。",
|
||
"Turn {n} begins: affinity keeps a conversation only within a turn, so routing decides afresh.": "第 {n} 轮开始:亲和性只在一轮之内保持,所以路由重新决定。",
|
||
"{who} answered this conversation last, but it is resting, so the conversation moves.": "这个会话上次由 {who} 回答,但它在休息,所以会话换了账号。",
|
||
"{who} answered this conversation last, but its allowance is all but used up, so the conversation moves.": "这个会话上次由 {who} 回答,但它的额度快用完了,所以会话换了账号。",
|
||
"{who} answered this conversation last, but it is no longer one to route to.": "这个会话上次由 {who} 回答,但它已不在可路由的范围内。",
|
||
"{who} answered this conversation last, but the vendor read only {n} tokens of it from its cache then — not worth staying for.": "这个会话上次由 {who} 回答,但当时厂商只从缓存读了 {n} tokens——不值得为此留下。",
|
||
"{who} answered this conversation {d} ago, longer than the 5 minutes a vendor keeps a prompt cached — so routing decides afresh.": "这个会话 {d}前由 {who} 回答,已超过厂商缓存提示词的 5 分钟——所以路由重新决定。",
|
||
"Affinity is off: each request is routed afresh, whoever answered its conversation before.": "亲和性已关闭:每个请求都重新路由,不管之前是谁回答的这个会话。",
|
||
"{status} · {fail} · passed to {agent}": "{status} · {fail} · 已交给 {agent}",
|
||
"{n} used · all but used up": "已用 {n} · 几乎用尽",
|
||
"{n} used · kept for last": "已用 {n} · 留到最后",
|
||
"{n} used · renews in {d}": "已用 {n} · {d}后重置",
|
||
"{n} used": "已用 {n}",
|
||
"{n} left": "剩余 {n}",
|
||
"Used": "已用",
|
||
"Left": "剩余",
|
||
"Show how much of each window is used": "显示每个额度窗口已用多少",
|
||
"Show how much of each window is left": "显示每个额度窗口还剩多少",
|
||
"what's left not known yet": "剩余额度未知",
|
||
"{n} tokens lately": "最近 {n} token",
|
||
"{api} only": "仅 {api}",
|
||
"one on": "启用 1 个",
|
||
"{n} on": "启用 {n} 个",
|
||
"{n} s": "{n} 秒",
|
||
"{n} ms": "{n} 毫秒",
|
||
"{n} min": "{n} 分钟",
|
||
"{h} h {m} min": "{h} 小时 {m} 分钟",
|
||
"{n} h": "{n} 小时",
|
||
"{n} d": "{n} 天",
|
||
// library (#29)
|
||
"Show in {fm}": "在 {fm} 中显示",
|
||
"the file manager": "文件管理器",
|
||
"{agent} has it — click to take it away": "{agent} 已启用 — 点击移除",
|
||
"Give it to {agent}": "给 {agent} 启用",
|
||
"{agent} reads it through {other} — click to give it its own": "{agent} 通过 {other} 读取它 — 点击给它单独一份",
|
||
"{agent}: {error}": "{agent}:{error}",
|
||
"{agent} reads MCP servers through the {ext} extension": "{agent} 通过 {ext} 扩展读取 MCP 服务器",
|
||
"(and {n} more)": "(另有 {n} 项)",
|
||
"Written to {agent}": "已写入 {agent}",
|
||
"Written to {n} agents": "已写入 {n} 个 Agent",
|
||
"Saved — the agents already had it": "已保存 — Agent 中已是最新",
|
||
"Instructions": "指令",
|
||
"MCP servers": "MCP 服务器",
|
||
"Skills": "技能",
|
||
"Library folder": "资源库文件夹",
|
||
"RTK rewrites the shell commands an agent runs — git status, cargo test, ls… — to print only what the model needs, so they cost fewer tokens. Switch it on for an agent and magpie runs RTK's own installer for it.": "RTK 会改写 Agent 执行的命令行命令(git status、cargo test、ls……),只输出模型需要的部分,从而省 token。为某个 Agent 打开后,magpie 会替它运行 RTK 自带的安装程序。",
|
||
"{saved} tokens saved over {n} commands — {pct}% on average": "{n} 条命令共节省 {saved} token,平均省 {pct}%",
|
||
"Nothing saved yet: the agents' commands go through RTK once it's switched on and the agent is restarted.": "还没有节省记录:打开后重启 Agent,它的命令就会经过 RTK。",
|
||
"RTK isn't installed. magpie can install it for you, or get it from its site.": "尚未安装 RTK。magpie 可以帮你安装,也可以去官网获取。",
|
||
"Installing RTK… this can take a minute.": "正在安装 RTK…可能需要一分钟。",
|
||
"Install RTK": "安装 RTK",
|
||
"RTK is installed — switch it on for your agents below": "RTK 已安装 — 在下方为你的 agent 打开",
|
||
"RTK missing": "RTK 缺失",
|
||
"{agent}'s hook calls rtk, which isn't installed, so its shell commands fail. Install RTK, or switch this off.": "{agent} 的 hook 会调用 rtk,但 rtk 没有安装,它的 shell 命令会失败。请安装 RTK,或关掉这个开关。",
|
||
"Get RTK": "获取 RTK",
|
||
"Check again": "重新检测",
|
||
"restart an agent after switching it": "切换后需重启对应 Agent",
|
||
"{agent} runs its commands through RTK": "{agent} 的命令经过 RTK",
|
||
"None of your agents is one RTK has a hook for.": "你的 Agent 中没有 RTK 支持的。",
|
||
"RTK is on for {agent} — restart it to use it": "已为 {agent} 打开 RTK,重启后生效",
|
||
"RTK is off for {agent} — restart it to see it": "已为 {agent} 关闭 RTK,重启后生效",
|
||
"No agents to write to": "没有可写入的 Agent",
|
||
"Install Claude Code, Codex, Gemini CLI, OpenCode… and the library can give them the same instructions, MCP servers and skills.": "安装 Claude Code、Codex、Gemini CLI、OpenCode 等之后,资源库就能给它们同一份指令、MCP 服务器和技能。",
|
||
"magpie keeps a copy of every file before it writes it.": "magpie 写入任何文件前都会先备份一份。",
|
||
"Backups": "备份",
|
||
"Write it once: every agent switched on below reads it before each conversation, in its own instructions file.": "写一次就够了:下面开启的每个 Agent 都会在每次对话前,从各自的指令文件里读到它。",
|
||
"What every agent should know — how you like code written, the stack you work in, the commands that run your tests…": "每个 Agent 都该知道的事 — 你喜欢的代码风格、使用的技术栈、跑测试的命令……",
|
||
"Not saved yet": "尚未保存",
|
||
"Discard": "放弃",
|
||
"Shared instructions": "共享指令",
|
||
"New set": "新建一套",
|
||
"Remove {name} and its text": "删除「{name}」及其内容",
|
||
"Empty": "空",
|
||
"Renamed to {name}": "已改名为 {name}",
|
||
"Name, e.g. Work": "名字,例如 公司规范",
|
||
"The agents switched on below read this set": "下面开启的 Agent 读的是这一套",
|
||
"Switch the agents to this set": "让 Agent 改用这一套",
|
||
"The agents read {name} now": "Agent 现在读的是「{name}」",
|
||
"Switch the agents to another set before removing this one": "先让 Agent 改用别的一套,才能删除这一套",
|
||
"{name} added — switch the agents to it when it's ready": "已添加「{name}」— 写好后再让 Agent 改用它",
|
||
"magpie writes its part between two marker lines — the rest of each file stays yours": "magpie 只写两行标记之间的部分 — 文件其余内容仍归你",
|
||
"None of your agents reads a user-wide instructions file magpie knows.": "你的 Agent 都没有 magpie 已知的用户级指令文件。",
|
||
"{agents} keeps no user-wide instructions file.": "{agents} 没有用户级指令文件。",
|
||
"{agents} keep no user-wide instructions file.": "{agents} 没有用户级指令文件。",
|
||
"+ its own": "+ 专属",
|
||
"{agent} gets something of its own after the shared text": "{agent} 在共享内容之后还有专属内容",
|
||
"edited in the file": "文件中已被修改",
|
||
"magpie's part of this file was changed there; magpie leaves it until the library's text changes": "文件中 magpie 的部分在别处被改过;在资源库内容变化前 magpie 不会动它",
|
||
"1 line of its own": "1 行自有内容",
|
||
"{n} lines of its own": "{n} 行自有内容",
|
||
"The file has instructions besides magpie's part — they stay, and the agent reads both": "文件里除了 magpie 的部分还有别的指令 — 它们会保留,Agent 两者都会读",
|
||
"{agent} reads the shared instructions": "{agent} 读取共享指令",
|
||
"Taken out of {agent}'s file": "已从 {agent} 的文件中移除",
|
||
"{agent} is on — save to write the new text into its file": "{agent} 已开启 — 保存后写入它的文件",
|
||
"{agent} is on — it gets the shared instructions once there are some": "{agent} 已开启 — 有共享指令后就会写入",
|
||
"{agent} reads the shared instructions now": "{agent} 现在读取共享指令",
|
||
"{agent} reads {file} instead of this file while it has anything in it.": "只要 {file} 有内容,{agent} 就会读它而不是这个文件。",
|
||
"{agent} reads Claude Code's CLAUDE.md when it has no AGENTS.md of its own.": "{agent} 在没有自己的 AGENTS.md 时会读取 Claude Code 的 CLAUDE.md。",
|
||
"Only for {agent}, after the shared text": "仅给 {agent},接在共享内容之后",
|
||
"Anything only {agent} should be told": "只需告诉 {agent} 的内容",
|
||
"Switch {agent} on for it to read this.": "开启 {agent} 后它才会读到这些。",
|
||
"Move its own into the shared text": "把它的内容移入共享指令",
|
||
"Moved into the shared instructions — {agent} reads the same as before": "已移入共享指令 — {agent} 读到的内容与之前相同",
|
||
"Takes the {n} lines out of the file, adds them to the shared text, and switches {agent} on — so it reads what it read before, and the other agents can too": "从文件中取出这 {n} 行加入共享指令,并开启 {agent} — 它读到的不变,其他 Agent 也能读到",
|
||
"Write the library's text again": "重新写入资源库的内容",
|
||
"{agent}'s file has the library's text again": "{agent} 的文件已恢复为资源库的内容",
|
||
"Replaces what was changed in magpie's part of the file; the file is kept aside first": "覆盖文件中 magpie 部分的改动;会先备份文件",
|
||
"{agent} can't reach a server over SSE — only a command or streamable HTTP": "{agent} 不支持 SSE 服务器 — 只支持命令或 Streamable HTTP",
|
||
"{agent} runs only a command from its settings — add a remote server in its Connectors instead": "{agent} 的配置文件只支持命令启动的服务器 — 远程服务器请在它的「连接器」里添加",
|
||
"Forget": "忘掉",
|
||
"Drop the list fetched from the vendor; the models.dev one is used until Refresh": "丢弃从供应商拉取的列表;在重新刷新前使用 models.dev 的列表",
|
||
"Only through routing groups": "只通过路由分组使用",
|
||
"Its models leave the list agents pick from; the routing groups they are in still use them": "它的模型不出现在 Agent 的可选列表里;所在的路由分组仍会使用它们",
|
||
"Agents don't see them: only the routing groups they are in use them.": "Agent 看不到这些模型,只有它们所在的路由分组会用到。",
|
||
"Agents see the models picked.": "Agent 看到的是已勾选的模型。",
|
||
"None picked: agents see the vendor's list, up to {n}.": "未勾选:Agent 看到供应商的列表,最多 {n} 个。",
|
||
"Add a server once and switch it on for the agents that should have it — magpie writes it into each one's config in the shape that agent reads.": "服务器只需添加一次,再为需要的 Agent 开启 — magpie 会按各 Agent 能读的格式写进它们的配置。",
|
||
"+ Add a server": "+ 添加服务器",
|
||
"No servers in the library yet": "资源库里还没有服务器",
|
||
"Add one, or bring in those your agents already have, below.": "添加一个,或把 Agent 里已有的导入进来(见下方)。",
|
||
"Paste a server's JSON from its README, or fill it in.": "粘贴 README 里的服务器 JSON,或手动填写。",
|
||
"+ Add server": "+ 添加服务器",
|
||
"In your agents": "Agent 中已有",
|
||
"not in the library — bring one in to manage it here": "不在资源库中 — 导入后即可在这里管理",
|
||
"{agents} has no MCP servers magpie can write.": "{agents} 没有 magpie 可写入的 MCP 配置。",
|
||
"Edit {name}": "编辑 {name}",
|
||
"differs in {agents}": "{agents} 中不同",
|
||
"{agents} has another server by this name; bringing this one in leaves that one as it is": "{agents} 有另一个同名服务器;导入这个不会改动那个",
|
||
"Bring in": "导入",
|
||
"{name} is in the library now": "{name} 已加入资源库",
|
||
"Keeps it in the library: {agents} go on having it, and you can give it to the others": "放进资源库:{agents} 继续拥有它,你也可以把它给其他 Agent",
|
||
"+ Add": "+ 添加",
|
||
"New MCP server": "新的 MCP 服务器",
|
||
"or paste its JSON anywhere here": "或直接在此粘贴它的 JSON",
|
||
"e.g. github": "例如 github",
|
||
"Letters, digits, - and _ — what the agents call it": "字母、数字、- 和 _ — Agent 用这个名字称呼它",
|
||
"Command": "命令",
|
||
"Runs as": "运行方式",
|
||
"The command and its arguments, as you'd type them": "命令及参数,就像在终端里输入的那样",
|
||
"Environment": "环境变量",
|
||
"Remove from the library": "从资源库移除",
|
||
"{name} is out of the library and the agents it was given to": "{name} 已从资源库及相关 Agent 中移除",
|
||
"Filled in from what you pasted": "已根据粘贴内容填写",
|
||
"{n} servers in what you pasted": "粘贴内容中有 {n} 个服务器",
|
||
"(no name)": "(无名称)",
|
||
"in the library": "已在资源库",
|
||
"Add 1 server": "添加 1 个服务器",
|
||
"Add {n} servers": "添加 {n} 个服务器",
|
||
"Added {n} servers": "已添加 {n} 个服务器",
|
||
"A skill is a folder with a SKILL.md an agent loads when it's needed. The library keeps each one once and links it into the agents you pick.": "技能是一个带 SKILL.md 的文件夹,Agent 在需要时加载。资源库只保存一份,再链接到你选的 Agent 中。",
|
||
"In the library": "资源库中",
|
||
"not in the library — bring one in to give it to the others": "不在资源库中 — 导入后可以给其他 Agent",
|
||
"{agents} has no skills folder.": "{agents} 没有技能文件夹。",
|
||
"owner/repo, a GitHub link, or a folder on this computer": "owner/repo、GitHub 链接,或本机上的文件夹",
|
||
"Looking…": "查找中…",
|
||
"Find skills": "查找技能",
|
||
"No SKILL.md found there": "那里没有找到 SKILL.md",
|
||
"No skills there — a skill is a folder with a SKILL.md in it.": "那里没有技能 — 技能是一个含 SKILL.md 的文件夹。",
|
||
"1 skill in {src}": "{src} 中有 1 个技能",
|
||
"{n} skills in {src}": "{src} 中有 {n} 个技能",
|
||
"Select none": "全不选",
|
||
"for": "给",
|
||
"Installing…": "安装中…",
|
||
"1 skill installed": "已安装 1 个技能",
|
||
"{n} skills installed": "已安装 {n} 个技能",
|
||
"Install 1 skill": "安装 1 个技能",
|
||
"Install {n} skills": "安装 {n} 个技能",
|
||
"Its folder is gone from the library": "它的文件夹已不在资源库中",
|
||
"linked from": "链接自",
|
||
"{name} is up to date": "{name} 已是最新",
|
||
"Update all": "全部更新",
|
||
"Updating…": "更新中…",
|
||
"Fetch the {n} skills from GitHub again": "从 GitHub 重新获取这 {n} 个技能",
|
||
"{name} wasn't updated: {error}": "{name} 未能更新:{error}",
|
||
"{n} up to date": "{n} 个已是最新",
|
||
"{n} skills up to date": "{n} 个技能已是最新",
|
||
"Update from GitHub": "从 GitHub 更新",
|
||
"Update from GitHub ({repo}, as CC Switch installed it)": "从 GitHub 更新({repo},CC Switch 安装时的来源)",
|
||
"Read {name}'s SKILL.md": "查看 {name} 的 SKILL.md",
|
||
"Remove {name}?": "移除 {name}?",
|
||
"It is taken out of every agent it was given to. The folder it was linked from stays where it is.": "它会从所有已启用的 Agent 中移除。它链接的原文件夹保持不动。",
|
||
"It is taken out of every agent it was given to, and its folder is moved to magpie's backups.": "它会从所有已启用的 Agent 中移除,文件夹会移到 magpie 的备份中。",
|
||
"{agents} has another skill by this name; bringing this one in leaves that one as it is": "{agents} 有另一个同名技能;导入这个不会改动那个",
|
||
"Keeps a link to where it is: {agents} go on having it, and you can give it to the others": "保留指向原位置的链接:{agents} 继续拥有它,你也可以给其他 Agent",
|
||
"Moves it into the library and links it back: {agents} go on having it, and you can give it to the others": "移入资源库并链接回去:{agents} 继续拥有它,你也可以给其他 Agent",
|
||
"Discover": "发现",
|
||
"Search MCP servers — GitHub, Postgres, Figma…": "搜索 MCP 服务器 — GitHub、Postgres、Figma…",
|
||
"Search skills on skills.sh — react, pdf, testing…": "在 skills.sh 搜索技能 — react、pdf、testing…",
|
||
"1 result": "1 个结果",
|
||
"{n} results": "{n} 个结果",
|
||
"Featured, and the official MCP Registry": "精选,以及官方 MCP Registry",
|
||
"Popular on skills.sh": "skills.sh 热门",
|
||
"Nothing matches “{q}”.": "没有与“{q}”匹配的结果。",
|
||
"Nothing to show.": "暂无内容。",
|
||
"Remote · sign-in": "远程 · 需登录",
|
||
"Remote": "远程",
|
||
"Local": "本地",
|
||
"Added": "已添加",
|
||
"In the library as {name}": "已在资源库中,名为 {name}",
|
||
"Adding…": "添加中…",
|
||
"Needs {what} to add": "添加时需要 {what}",
|
||
"Add…": "添加…",
|
||
"About {name}": "关于 {name}",
|
||
"Homepage": "主页",
|
||
"Each agent asks you to sign in, in the browser, the first time it uses it.": "每个 Agent 首次使用时会在浏览器中请你登录。",
|
||
"Set as {key}": "设为 {key}",
|
||
"Sent as the {key} header": "作为 {key} 请求头发送",
|
||
"(optional)": "(可选)",
|
||
"Add to the library": "加入资源库",
|
||
"{what} is needed": "请填写 {what}",
|
||
"Official — from the team that makes it": "官方 — 来自其开发团队",
|
||
"{n} installs": "{n} 次安装",
|
||
"Official": "官方",
|
||
"No description.": "暂无描述。",
|
||
"From": "来自",
|
||
"Up-to-date documentation and code examples for any library, straight into the prompt.": "任意库的最新文档与代码示例,直接送进提示词。",
|
||
"Drive a real browser: open pages, click, type and read them through the accessibility tree.": "驱动真实浏览器:打开页面、点击、输入,并通过无障碍树读取页面。",
|
||
"Control and inspect a live Chrome: console, network, performance traces and screenshots.": "控制并检查运行中的 Chrome:控制台、网络、性能追踪和截图。",
|
||
"Repositories, issues, pull requests, Actions and code search on GitHub.": "GitHub 上的仓库、Issue、PR、Actions 和代码搜索。",
|
||
"Ask questions about any public GitHub repository and read its generated wiki.": "就任意公开 GitHub 仓库提问,并阅读自动生成的 Wiki。",
|
||
"Web search and code search built for agents, with clean page contents.": "为 Agent 打造的网页与代码搜索,返回干净的页面内容。",
|
||
"Read, write and search files, limited to the folders you allow.": "读、写、搜索文件,仅限你允许的文件夹。",
|
||
"Fetch a web page and hand it over as Markdown.": "抓取网页并转成 Markdown。",
|
||
"A knowledge graph the agent keeps across conversations.": "Agent 跨对话保留的知识图谱。",
|
||
"Think a problem through step by step, revising and branching as it goes.": "一步步想清问题,边想边修正、分支。",
|
||
"Read, search and change Git repositories.": "读取、搜索和修改 Git 仓库。",
|
||
"The current time anywhere, and conversions between time zones.": "任意地点的当前时间,以及时区换算。",
|
||
"Issues, errors and traces from Sentry, and Seer's analysis of them.": "Sentry 中的问题、错误和追踪,以及 Seer 的分析。",
|
||
"Find, create and update Linear issues, projects and comments.": "查找、创建和更新 Linear 的 Issue、项目和评论。",
|
||
"Search, read and write pages and databases in your Notion workspace.": "搜索、读写 Notion 工作区中的页面和数据库。",
|
||
"Jira issues and Confluence pages from Atlassian Cloud.": "Atlassian Cloud 上的 Jira Issue 和 Confluence 页面。",
|
||
"Manage Supabase projects: tables, SQL, migrations, logs and edge functions.": "管理 Supabase 项目:数据表、SQL、迁移、日志和 Edge Functions。",
|
||
"Customers, payments, subscriptions and Stripe's documentation.": "客户、支付、订阅,以及 Stripe 文档。",
|
||
"Projects, deployments and logs on Vercel, and its documentation.": "Vercel 上的项目、部署和日志,以及其文档。",
|
||
"Serverless Postgres on Neon: projects, branches and SQL.": "Neon 上的 Serverless Postgres:项目、分支和 SQL。",
|
||
"Search Cloudflare's documentation.": "搜索 Cloudflare 文档。",
|
||
"Official Microsoft and Azure documentation and code samples.": "微软与 Azure 官方文档和代码示例。",
|
||
"Search models, datasets, Spaces and papers on the Hugging Face Hub.": "搜索 Hugging Face Hub 上的模型、数据集、Spaces 和论文。",
|
||
"Web, news, image and local search from Brave's independent index.": "基于 Brave 独立索引的网页、新闻、图片和本地搜索。",
|
||
"Scrape, crawl and search the web into clean Markdown.": "抓取、爬取和搜索网页,输出干净的 Markdown。",
|
||
"Search and extract from the web with Tavily.": "用 Tavily 搜索并提取网页内容。",
|
||
"Personal access token": "个人访问令牌",
|
||
"Folder": "文件夹",
|
||
"The folder it may read and write": "它可以读写的文件夹",
|
||
"Optional — raises the rate limit. From context7.com/dashboard": "可选 — 提高速率限制。在 context7.com/dashboard 获取",
|
||
},
|
||
};
|
||
|
||
// The active language: a ?locale= URL parameter wins, then the saved
|
||
// preference, then the system.
|
||
let locale = "en";
|
||
function setLocale(pref) {
|
||
const p = params.get("locale") || pref || "system";
|
||
locale = p === "system" ? ((navigator.language || "").toLowerCase().startsWith("zh") ? "zh" : "en") : p;
|
||
// set only when it changes: settings come back on every refresh, and a
|
||
// view that redraws for a new language shouldn't redraw for the same one
|
||
const lang = locale === "zh" ? "zh-CN" : "en";
|
||
if (document.documentElement.lang !== lang) document.documentElement.lang = lang;
|
||
translateStatic();
|
||
}
|
||
|
||
function t(s, vars) {
|
||
let out = I18N[locale]?.[s] ?? s;
|
||
if (vars) for (const k in vars) out = out.split("{" + k + "}").join(vars[k]);
|
||
return out;
|
||
}
|
||
|
||
// Static text in index.html: elements marked data-t (text) or data-tt
|
||
// (title) keep their English in a data attribute and are re-rendered on a
|
||
// language change.
|
||
function translateStatic() {
|
||
for (const e of document.querySelectorAll("[data-t]")) {
|
||
if (e.dataset.en === undefined) e.dataset.en = e.textContent;
|
||
e.textContent = t(e.dataset.en);
|
||
}
|
||
for (const e of document.querySelectorAll("[data-tt]")) {
|
||
if (e.dataset.enTitle === undefined) e.dataset.enTitle = e.title;
|
||
e.title = t(e.dataset.enTitle);
|
||
}
|
||
for (const e of document.querySelectorAll("[data-tp]")) {
|
||
if (e.dataset.enPlaceholder === undefined) e.dataset.enPlaceholder = e.placeholder;
|
||
e.placeholder = t(e.dataset.enPlaceholder);
|
||
}
|
||
}
|