gui: the account options' tooltips say what they do in a sentence or two

B3TT3R on Discord (#feedback) found the tooltip on Codex's "Only switch
Codex's sign-in" hard to read: one run-on sentence of three clauses, then
two more caveats. Its siblings in the same account list were the same
kind. Each now says what the option does in one short sentence, and at
most one caveat, in every language (zh, zh-TW, ja, de rewritten, not
machine-shortened from the old text).

- Codex, Only switch sign-in: "When an account is used up, magpie signs
  {agent} in to the next one, and requests go straight to OpenAI. Open
  {agent} sessions keep their account until reopened." (zh: 账号额度用完时,
  magpie 把 {agent} 切到下一个账号,请求直连 OpenAI。已打开的 {agent} 会话重新
  打开后才换账号。) The third caveat, that a Codex connected to magpie
  still sends its requests through it, is dropped: the option is for a
  Codex not connected (Agents row "Not connected · switching accounts
  only"), and a connected one is unchanged by it.
- Claude Code, Only switch sign-in: "When an account is used up, magpie
  signs {agent} in to the next one. Requests on these accounts don't go
  through magpie."
- Keep signed in to: "{agent} stays on this account even when it runs
  low. Requests through magpie still follow Routing."
- The account it stays on (picker): "The account {agent} stays signed
  in to".
- Check usage again near a cap: "On: an account near its cap has its
  usage read again before a request. One whose usage can't be read is
  held." (the 5 points, 15s/5m and 10s wait stay in
  docs/subsystems/providers-accounts.md).

Restart-the-app and Stop-at-cap were already one or two short sentences
and are unchanged.

Run (on mote, through mote-run, at 9730e0199 + this change):
- node --test switch-only, claude-switch-only, keep-login, pool-ends,
  restart-app, i18n-keys, i18n-en-no-cjk (chromium and webkit, 1100 and
  420 wide, en/zh/ja/de): 159 of 160. The one red is i18n-keys "a
  plugin's words are its own", red the same on a clean 9730e0199 copy,
  filed as #5332, #5327, #5482, #5426.

Not run at push: the whole GUI suite, queued under mote's suite.lock
behind other sessions' suites (log ~/csd-logs/gui.log on mote).

Reported-by: B3TT3R
This commit is contained in:
yetone
2026-11-08 22:12:36 +08:00
parent 9730e01992
commit ec7a18d124
6 changed files with 30 additions and 30 deletions
+5 -5
View File
@@ -13409,13 +13409,13 @@ function renderAccounts(a, p) {
if ((a.agent === "codex" || a.agent === "claude") && several && p && !p.switchOnly) {
const box = el("div", "keep-login");
const [keep, cb] = tick(t("Keep {agent} signed in to", { agent: a.agentName }), !!p.keepLogin);
keep.title = t("magpie won't sign {agent} in to another account when the first runs low; requests through magpie still go to the other ticked accounts as Routing says", { agent: a.agentName });
keep.title = t("{agent} stays on this account even when it runs low. Requests through magpie still follow Routing.", { agent: a.agentName });
let keepAs = kept;
const opts = [{ v: "", name: t("the first account"), note: "", literalName: true }];
for (const l of ls) if (!l.lapsed) opts.push({ v: l.user, name: l.user, note: "", literalName: true });
const as = el("button", "sess-pick keep-as" + (keepAs ? " set" : ""));
as.type = "button";
as.title = t("The account {agent} stays signed in to; the first is the one the gateway uses first", { agent: a.agentName });
as.title = t("The account {agent} stays signed in to", { agent: a.agentName });
as.dataset.value = keepAs;
as.setAttribute("aria-haspopup", "menu");
as.setAttribute("aria-expanded", "false");
@@ -13446,8 +13446,8 @@ function renderAccounts(a, p) {
const cx = a.agent === "codex", ag = { agent: a.agentName };
if (p && (cx && several || a.agent === "claude")) {
const [only, cb] = tick(t("Only switch {agent}'s sign-in", ag), p.switchOnly);
const [tip, on, off] = cx ? [t("magpie signs {agent} in to the next account with room when the one it is on is used up, and keeps it there till that one is used up too, by writing {agent}'s own sign-in; {agent}'s requests go straight to OpenAI, never through magpie. A {agent} app or session already open stays on its account until it is opened again. Connected to magpie, {agent}'s requests go through it as before.", ag), t("magpie only switches {agent}'s sign-in; its requests go straight to OpenAI", ag), t("{agent}'s requests go through magpie to fail over to your other accounts again", ag)]
: [t("magpie moves {agent}'s own sign-in to the next account with room when one is used up, and keeps it there till that one is used up too. Nothing on these accounts is served through magpie.", ag), t("magpie serves no requests on these accounts"), t("magpie serves requests on these accounts again")];
const [tip, on, off] = cx ? [t("When an account is used up, magpie signs {agent} in to the next one, and requests go straight to OpenAI. Open {agent} sessions keep their account until reopened.", ag), t("magpie only switches {agent}'s sign-in; its requests go straight to OpenAI", ag), t("{agent}'s requests go through magpie to fail over to your other accounts again", ag)]
: [t("When an account is used up, magpie signs {agent} in to the next one. Requests on these accounts don't go through magpie.", ag), t("magpie serves no requests on these accounts"), t("magpie serves requests on these accounts again")];
only.title = tip;
cb.onchange = () => accountAction("provider/switchonly", { id: p.id, switchOnly: cb.checked }, cb.checked ? on : off);
list.append(el("div", "switch-only", only));
@@ -13463,7 +13463,7 @@ function renderAccounts(a, p) {
if (p && (ls.some(capped) || p.capStop || p.capCareful)) {
const box = el("div", "pool-ends");
for (const [k, say, tip] of [["capStop", "Stop when every account is at its cap", "On: once every account in use is at its cap, requests get 429 instead of going to the fallbacks."],
["capCareful", "Check usage again near a cap", "On: an account within 5 points of its cap has its usage read again if older than 15s (any account: 5m) before a request, waiting up to 10s; one whose usage can't be read is held."]]) {
["capCareful", "Check usage again near a cap", "On: an account near its cap has its usage read again before a request. One whose usage can't be read is held."]]) {
const [l, c] = tick(t(say), !!p[k]);
l.title = t(tip);
c.onchange = () => accountAction("provider/" + k.toLowerCase(), { id: p.id, [k]: c.checked }, t("Saved"));
+20 -20
View File
@@ -1950,22 +1950,22 @@ const I18N = {
"Stop when every account is at its cap": "所有账号都到上限时停止",
"On: once every account in use is at its cap, requests get 429 instead of going to the fallbacks.": "开启:在用的账号全部到达上限后,请求返回 429,不再转到备用。",
"Check usage again near a cap": "接近上限时重新读取用量",
"On: an account within 5 points of its cap has its usage read again if older than 15s (any account: 5m) before a request, waiting up to 10s; one whose usage can't be read is held.": "开启:距上限 5 个百分点以内的账号,用量读数超过 15 秒(任何账号超过 5 分钟)时,请求前重新读取,最多等 10 秒;读不到用量的账号暂停使用。",
"On: an account near its cap has its usage read again before a request. One whose usage can't be read is held.": "开启:账号接近上限时,请求前重新读取用量。读不到用量的账号暂停使用。",
"No cap on {users}: used to 100% of each window": "{users} 没有上限:每个窗口都会用到 100%",
"magpie signs {agent} in to the next account with room when the one it is on is used up, and keeps it there till that one is used up too, by writing {agent}'s own sign-in; {agent}'s requests go straight to OpenAI, never through magpie. A {agent} app or session already open stays on its account until it is opened again. Connected to magpie, {agent}'s requests go through it as before.": "当前账号额度用完时,magpie 改写 {agent} 自己的登录,把它切到下一个还有额度的账号,并一直用它,直到它也用完;{agent} 的请求直接发往 OpenAI,不经过 magpie。已经打开的 {agent} 应用或会话会停留在原账号,直到重新打开。{agent} 接入 magpie 时,请求仍照常经过 magpie。",
"When an account is used up, magpie signs {agent} in to the next one, and requests go straight to OpenAI. Open {agent} sessions keep their account until reopened.": "账号额度用完时,magpie 把 {agent} 切到下一个账号,请求直连 OpenAI。已打开的 {agent} 会话重新打开后才换账号。",
"magpie only switches {agent}'s sign-in; its requests go straight to OpenAI": "magpie 只切换 {agent} 的登录;它的请求直接发往 OpenAI",
"magpie moves {agent}'s own sign-in to the next account with room when one is used up, and keeps it there till that one is used up too. Nothing on these accounts is served through magpie.": "账号用完时,magpie 把 {agent} 自己的登录切到下一个还有额度的账号,并一直用它,直到它也用完。这些账号上的请求一概不经 magpie 处理。",
"When an account is used up, magpie signs {agent} in to the next one. Requests on these accounts don't go through magpie.": "账号额度用完时,magpie 把 {agent} 切到下一个账号。这些账号的请求都不经过 magpie。",
"magpie serves no requests on these accounts": "magpie 不在这些账号上处理任何请求",
"magpie serves requests on these accounts again": "magpie 重新在这些账号上处理请求",
"{agent}'s requests go through magpie to fail over to your other accounts again": "{agent} 的请求重新经过 magpie,以便转到你的其他账号",
"the first account": "首选账号",
"Account to stay signed in to": "始终登录的账号",
"The account {agent} stays signed in to; the first is the one the gateway uses first": "{agent} 始终登录的账号;首选账号是网关最先使用的",
"The account {agent} stays signed in to": "{agent} 始终登录的账号",
"{agent} stays signed in to {user}": "{agent} 将始终登录 {user}",
"{agent} is kept signed in to this account; requests through magpie go to the accounts in their order": "{agent} 始终登录这个账号;经过 magpie 的请求按账号顺序分配",
"The gateway uses this account first; {agent} stays signed in to {user}": "网关优先使用这个账号;{agent} 仍登录 {user}",
"Routing picks the account for each request through magpie, in the accounts' order; {agent} on its own stays signed in to {user}, whatever it has left.": "经 magpie 的请求由路由按账号顺序挑选;{agent} 直连时始终登录 {user},无论剩余额度多少。",
"magpie won't sign {agent} in to another account when the first runs low; requests through magpie still go to the other ticked accounts as Routing says": "首选账号额度快用完时,不会把 {agent} 登录到其他账号;经 magpie 的请求仍按「路由」分给其他已勾选账号",
"{agent} stays on this account even when it runs low. Requests through magpie still follow Routing.": "额度快用完时,{agent} 也不换账号。经 magpie 的请求仍按「路由」分配。",
"{agent} stays signed in to the first account": "{agent} 将始终登录首选账号",
"magpie moves {agent} to an account with room again": "首选账号额度不足时,会再把 {agent} 切到有余量的账号",
"Smart": "智能",
@@ -6687,22 +6687,22 @@ const I18N = {
"Stop when every account is at its cap": "所有帳號都到上限時停止",
"On: once every account in use is at its cap, requests get 429 instead of going to the fallbacks.": "開啟:使用中的帳號全部到達上限後,請求回傳 429,不再轉到備援。",
"Check usage again near a cap": "接近上限時重新讀取用量",
"On: an account within 5 points of its cap has its usage read again if older than 15s (any account: 5m) before a request, waiting up to 10s; one whose usage can't be read is held.": "開啟:距上限 5 個百分點以內的帳號,用量讀數超過 15 秒(任何帳號超過 5 分鐘)時,請求前重新讀取,最多等 10 秒;讀不到用量的帳號暫停使用。",
"On: an account near its cap has its usage read again before a request. One whose usage can't be read is held.": "開啟:帳號接近上限時,請求前重新讀取用量。讀不到用量的帳號暫停使用。",
"No cap on {users}: used to 100% of each window": "{users} 沒有上限:每個視窗都會用到 100%",
"magpie signs {agent} in to the next account with room when the one it is on is used up, and keeps it there till that one is used up too, by writing {agent}'s own sign-in; {agent}'s requests go straight to OpenAI, never through magpie. A {agent} app or session already open stays on its account until it is opened again. Connected to magpie, {agent}'s requests go through it as before.": "目前帳號額度用完時,magpie 改寫 {agent} 自己的登入,把它切到下一個還有額度的帳號,並一直用它,直到它也用完;{agent} 的請求直接送往 OpenAI,不經過 magpie。已經開啟的 {agent} 應用程式或工作階段會停留在原帳號,直到重新開啟。{agent} 接入 magpie 時,請求仍照常經過 magpie。",
"When an account is used up, magpie signs {agent} in to the next one, and requests go straight to OpenAI. Open {agent} sessions keep their account until reopened.": "帳號額度用完時,magpie 把 {agent} 切到下一個帳號,請求直連 OpenAI。已開啟的 {agent} 工作階段重新開啟後才換帳號。",
"magpie only switches {agent}'s sign-in; its requests go straight to OpenAI": "magpie 只切換 {agent} 的登入;它的請求直接送往 OpenAI",
"magpie moves {agent}'s own sign-in to the next account with room when one is used up, and keeps it there till that one is used up too. Nothing on these accounts is served through magpie.": "帳號用完時,magpie 把 {agent} 自己的登入切到下一個還有額度的帳號,並一直用它,直到它也用完。這些帳號上的請求一概不經 magpie 處理。",
"When an account is used up, magpie signs {agent} in to the next one. Requests on these accounts don't go through magpie.": "帳號額度用完時,magpie 把 {agent} 切到下一個帳號。這些帳號的請求都不經過 magpie。",
"magpie serves no requests on these accounts": "magpie 不在這些帳號上處理任何請求",
"magpie serves requests on these accounts again": "magpie 重新在這些帳號上處理請求",
"{agent}'s requests go through magpie to fail over to your other accounts again": "{agent} 的請求重新經過 magpie,以便轉到你的其他帳號",
"the first account": "首選帳號",
"Account to stay signed in to": "始終登入的帳號",
"The account {agent} stays signed in to; the first is the one the gateway uses first": "{agent} 始終登入的帳號;首選帳號是閘道最先使用的",
"The account {agent} stays signed in to": "{agent} 始終登入的帳號",
"{agent} stays signed in to {user}": "{agent} 將始終登入 {user}",
"{agent} is kept signed in to this account; requests through magpie go to the accounts in their order": "{agent} 始終登入這個帳號;經過 magpie 的請求按帳號順序分配",
"The gateway uses this account first; {agent} stays signed in to {user}": "閘道優先使用這個帳號;{agent} 仍登入 {user}",
"Routing picks the account for each request through magpie, in the accounts' order; {agent} on its own stays signed in to {user}, whatever it has left.": "經 magpie 的請求由路由按帳號順序挑選;{agent} 直連時始終登入 {user},無論剩餘額度多少。",
"magpie won't sign {agent} in to another account when the first runs low; requests through magpie still go to the other ticked accounts as Routing says": "首選帳號額度快用完時,不會把 {agent} 登入到其他帳號;經 magpie 的請求仍按「路由」分給其他已勾選帳號",
"{agent} stays on this account even when it runs low. Requests through magpie still follow Routing.": "額度快用完時,{agent} 也不換帳號。經 magpie 的請求仍按「路由」分配。",
"{agent} stays signed in to the first account": "{agent} 將始終登入首選帳號",
"magpie moves {agent} to an account with room again": "首選帳號額度不足時,會再把 {agent} 切到有餘量的帳號",
"Smart": "智慧",
@@ -11400,22 +11400,22 @@ const I18N = {
"Stop when every account is at its cap": "すべてのアカウントが上限に達したら止める",
"On: once every account in use is at its cap, requests get 429 instead of going to the fallbacks.": "オン:使用中のアカウントがすべて上限に達すると、リクエストはフォールバックに送らず 429 を返します。",
"Check usage again near a cap": "上限に近づいたら使用量を読み直す",
"On: an account within 5 points of its cap has its usage read again if older than 15s (any account: 5m) before a request, waiting up to 10s; one whose usage can't be read is held.": "オン:上限まで 5 ポイント以内のアカウントは、読み取りが 15 秒(どのアカウントも 5 分)より古ければリクエスト前に使用量を読み直し、最大 10 秒待ちます。使用量を読めないアカウントは使いません。",
"On: an account near its cap has its usage read again before a request. One whose usage can't be read is held.": "オン:上限に近いアカウントは、リクエスト前に使用量を読み直します。読めないアカウントは使いません。",
"No cap on {users}: used to 100% of each window": "{users} には上限がありません:各ウィンドウを 100% まで使います",
"magpie signs {agent} in to the next account with room when the one it is on is used up, and keeps it there till that one is used up too, by writing {agent}'s own sign-in; {agent}'s requests go straight to OpenAI, never through magpie. A {agent} app or session already open stays on its account until it is opened again. Connected to magpie, {agent}'s requests go through it as before.": "{agent} がサインイン中のアカウントの利用枠を使い切ると、magpie は {agent} 自身のサインインを書き換えて、枠の残っている次のアカウントに切り替え、そのアカウントも使い切るまでそのまま使います。{agent} のリクエストは magpie を経由せず、OpenAI に直接送られます。すでに開いている {agent} のアプリやセッションは、開き直すまで元のアカウントのままです。{agent} を magpie に接続している場合、リクエストはこれまでどおり magpie を経由します。",
"When an account is used up, magpie signs {agent} in to the next one, and requests go straight to OpenAI. Open {agent} sessions keep their account until reopened.": "アカウントを使い切ると、magpie が {agent} を次のアカウントに切り替え、リクエストは OpenAI に直接送られます。開いている {agent} のセッションは、開き直すまで元のアカウントのままです。",
"magpie only switches {agent}'s sign-in; its requests go straight to OpenAI": "magpie は {agent} のサインインだけを切り替えます。リクエストは OpenAI に直接送られます",
"magpie moves {agent}'s own sign-in to the next account with room when one is used up, and keeps it there till that one is used up too. Nothing on these accounts is served through magpie.": "アカウントを使い切ると、magpie は {agent} 自身のサインインを空きのある次のアカウントに切り替え、そのアカウントも使い切るまでそのまま使います。これらのアカウントのリクエストは magpie を一切通りません。",
"When an account is used up, magpie signs {agent} in to the next one. Requests on these accounts don't go through magpie.": "アカウントを使い切ると、magpie が {agent} を次のアカウントに切り替えます。これらのアカウントのリクエストは magpie を通りません。",
"magpie serves no requests on these accounts": "magpie はこれらのアカウントでリクエストを処理しません",
"magpie serves requests on these accounts again": "magpie はこれらのアカウントで再びリクエストを処理します",
"{agent}'s requests go through magpie to fail over to your other accounts again": "{agent} のリクエストは再び magpie を経由し、他のアカウントへ切り替えられます",
"the first account": "最初のアカウント",
"Account to stay signed in to": "サインインしたままにするアカウント",
"The account {agent} stays signed in to; the first is the one the gateway uses first": "{agent} がサインインしたままにするアカウント。最初のアカウントはゲートウェイが最初に使うアカウントです",
"The account {agent} stays signed in to": "{agent} がサインインしたままにするアカウント",
"{agent} stays signed in to {user}": "{agent} は {user} にサインインしたままになります",
"{agent} is kept signed in to this account; requests through magpie go to the accounts in their order": "{agent} はこのアカウントにサインインしたままです。magpie 経由のリクエストはアカウントの順番で振り分けられます",
"The gateway uses this account first; {agent} stays signed in to {user}": "ゲートウェイはこのアカウントを最初に使います。{agent} は {user} にサインインしたままです",
"Routing picks the account for each request through magpie, in the accounts' order; {agent} on its own stays signed in to {user}, whatever it has left.": "magpie 経由のリクエストはルーティングがアカウントの順番で選びます。{agent} 単体では残量にかかわらず {user} にサインインしたままです。",
"magpie won't sign {agent} in to another account when the first runs low; requests through magpie still go to the other ticked accounts as Routing says": "最初のアカウントの残量が少なくなっても、magpie は {agent} を別のアカウントにサインインさせません。magpie 経由のリクエストは引き続き「ルーティング」に従って他のチェック済みアカウントに振り分けられます",
"{agent} stays on this account even when it runs low. Requests through magpie still follow Routing.": "残量が少なくなっても、{agent} はこのアカウントのままです。magpie 経由のリクエストは「ルーティング」に従います。",
"{agent} stays signed in to the first account": "{agent} は最初のアカウントにサインインしたままになります",
"magpie moves {agent} to an account with room again": "magpie は {agent} を再び残量のあるアカウントに切り替えます",
"Smart": "スマート",
@@ -16144,22 +16144,22 @@ const I18N = {
"Stop when every account is at its cap": "Anhalten, wenn jedes Konto sein Limit erreicht hat",
"On: once every account in use is at its cap, requests get 429 instead of going to the fallbacks.": "An: Hat jedes genutzte Konto sein Limit erreicht, bekommen Anfragen 429, statt an die Fallbacks zu gehen.",
"Check usage again near a cap": "Nutzung nahe am Limit neu lesen",
"On: an account within 5 points of its cap has its usage read again if older than 15s (any account: 5m) before a request, waiting up to 10s; one whose usage can't be read is held.": "An: Bei einem Konto höchstens 5 Punkte unter seinem Limit wird die Nutzung vor einer Anfrage neu gelesen, wenn sie älter als 15 s ist (bei jedem Konto: 5 min), mit bis zu 10 s Wartezeit; ein Konto, dessen Nutzung sich nicht lesen lässt, wird zurückgehalten.",
"On: an account near its cap has its usage read again before a request. One whose usage can't be read is held.": "An: Bei einem Konto nahe am Limit wird die Nutzung vor einer Anfrage neu gelesen. Ein Konto, dessen Nutzung sich nicht lesen lässt, wird zurückgehalten.",
"No cap on {users}: used to 100% of each window": "Kein Limit für {users}: jedes Fenster wird bis 100 % genutzt",
"magpie signs {agent} in to the next account with room when the one it is on is used up, and keeps it there till that one is used up too, by writing {agent}'s own sign-in; {agent}'s requests go straight to OpenAI, never through magpie. A {agent} app or session already open stays on its account until it is opened again. Connected to magpie, {agent}'s requests go through it as before.": "Ist das Konto, mit dem {agent} angemeldet ist, aufgebraucht, schreibt magpie die eigene Anmeldung von {agent} auf das nächste Konto mit Kontingent um und bleibt dort, bis auch dieses aufgebraucht ist; die Anfragen von {agent} gehen direkt an OpenAI, nie über magpie. Eine bereits geöffnete {agent}-App oder -Sitzung bleibt beim bisherigen Konto, bis sie neu geöffnet wird. Ist {agent} mit magpie verbunden, laufen seine Anfragen wie bisher über magpie.",
"When an account is used up, magpie signs {agent} in to the next one, and requests go straight to OpenAI. Open {agent} sessions keep their account until reopened.": "Ist ein Konto aufgebraucht, meldet magpie {agent} beim nächsten an; Anfragen gehen direkt an OpenAI. Offene {agent}-Sitzungen behalten ihr Konto, bis sie neu geöffnet werden.",
"magpie only switches {agent}'s sign-in; its requests go straight to OpenAI": "magpie wechselt nur die Anmeldung von {agent}; seine Anfragen gehen direkt an OpenAI",
"magpie moves {agent}'s own sign-in to the next account with room when one is used up, and keeps it there till that one is used up too. Nothing on these accounts is served through magpie.": "Ist ein Konto aufgebraucht, meldet magpie {agent} mit der eigenen Anmeldung beim nächsten Konto mit Kontingent an und bleibt dort, bis auch dieses aufgebraucht ist. Über diese Konten läuft nichts durch magpie.",
"When an account is used up, magpie signs {agent} in to the next one. Requests on these accounts don't go through magpie.": "Ist ein Konto aufgebraucht, meldet magpie {agent} beim nächsten an. Anfragen dieser Konten laufen nicht über magpie.",
"magpie serves no requests on these accounts": "magpie bearbeitet keine Anfragen über diese Konten",
"magpie serves requests on these accounts again": "magpie bearbeitet wieder Anfragen über diese Konten",
"{agent}'s requests go through magpie to fail over to your other accounts again": "Die Anfragen von {agent} laufen wieder über magpie, um auf deine anderen Konten auszuweichen",
"the first account": "dem ersten Konto",
"Account to stay signed in to": "Konto für die dauerhafte Anmeldung",
"The account {agent} stays signed in to; the first is the one the gateway uses first": "Das Konto, bei dem {agent} angemeldet bleibt; das erste ist jenes, das der Zugangspunkt zuerst verwendet",
"The account {agent} stays signed in to": "Das Konto, bei dem {agent} angemeldet bleibt",
"{agent} stays signed in to {user}": "{agent} bleibt bei {user} angemeldet",
"{agent} is kept signed in to this account; requests through magpie go to the accounts in their order": "{agent} bleibt bei diesem Konto angemeldet; Anfragen über magpie gehen der Reihe nach an die Konten",
"The gateway uses this account first; {agent} stays signed in to {user}": "Der Zugangspunkt verwendet dieses Konto zuerst; {agent} bleibt bei {user} angemeldet",
"Routing picks the account for each request through magpie, in the accounts' order; {agent} on its own stays signed in to {user}, whatever it has left.": "Die Weiterleitung wählt für jede Anfrage über magpie das Konto in der Reihenfolge der Konten; {agent} selbst bleibt bei {user} angemeldet, egal wie viel dort noch übrig ist.",
"magpie won't sign {agent} in to another account when the first runs low; requests through magpie still go to the other ticked accounts as Routing says": "magpie meldet {agent} nicht bei einem anderen Konto an, wenn das erste knapp wird; Anfragen über magpie gehen weiterhin wie unter „Weiterleitung“ festgelegt an die anderen angehakten Konten",
"{agent} stays on this account even when it runs low. Requests through magpie still follow Routing.": "{agent} bleibt bei diesem Konto, auch wenn es knapp wird. Anfragen über magpie folgen weiter der „Weiterleitung“.",
"{agent} stays signed in to the first account": "{agent} bleibt beim ersten Konto angemeldet",
"magpie moves {agent} to an account with room again": "magpie wechselt {agent} wieder zu einem Konto mit freiem Kontingent",
"Smart": "Intelligent",
@@ -56,7 +56,7 @@ const label = {
};
const strings = [
"Only switch {agent}'s sign-in",
"magpie moves {agent}'s own sign-in to the next account with room when one is used up, and keeps it there till that one is used up too. Nothing on these accounts is served through magpie.",
"When an account is used up, magpie signs {agent} in to the next one. Requests on these accounts don't go through magpie.",
"magpie serves no requests on these accounts",
"magpie serves requests on these accounts again",
];
+2 -2
View File
@@ -96,12 +96,12 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",
"Keep {agent} signed in to",
"the first account",
"Account to stay signed in to",
"The account {agent} stays signed in to; the first is the one the gateway uses first",
"The account {agent} stays signed in to",
"{agent} stays signed in to {user}",
"{agent} is kept signed in to this account; requests through magpie go to the accounts in their order",
"The gateway uses this account first; {agent} stays signed in to {user}",
"Routing picks the account for each request through magpie, in the accounts' order; {agent} on its own stays signed in to {user}, whatever it has left.",
"magpie won't sign {agent} in to another account when the first runs low; requests through magpie still go to the other ticked accounts as Routing says",
"{agent} stays on this account even when it runs low. Requests through magpie still follow Routing.",
"{agent} stays signed in to the first account",
"magpie moves {agent} to an account with room again",
"Routing picks the account for each request through magpie; {agent} on its own stays signed in to the first account, whatever it has left.",
+1 -1
View File
@@ -92,7 +92,7 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",
const strings = await page.evaluate(() => [...document.querySelectorAll(".editor .accts .pool-ends label")].map((l) => l.title));
const keys = ["Stop when every account is at its cap", "Check usage again near a cap", "No cap on {users}: used to 100% of each window",
"On: once every account in use is at its cap, requests get 429 instead of going to the fallbacks.",
"On: an account within 5 points of its cap has its usage read again if older than 15s (any account: 5m) before a request, waiting up to 10s; one whose usage can't be read is held."];
"On: an account near its cap has its usage read again before a request. One whose usage can't be read is held."];
assert.deepEqual(strings, keys.slice(3));
const missing = await page.evaluate((ks) => ["zh", "zh-TW", "ja", "de"].flatMap((l) => ks.filter((k) => !I18N[l][k]).map((k) => `${l}: ${k}`)), keys);
assert.deepEqual(missing, [], "every string has its translations");
+1 -1
View File
@@ -59,7 +59,7 @@ const label = {
};
const strings = [
"Only switch {agent}'s sign-in",
"magpie signs {agent} in to the next account with room when the one it is on is used up, and keeps it there till that one is used up too, by writing {agent}'s own sign-in; {agent}'s requests go straight to OpenAI, never through magpie. A {agent} app or session already open stays on its account until it is opened again. Connected to magpie, {agent}'s requests go through it as before.",
"When an account is used up, magpie signs {agent} in to the next one, and requests go straight to OpenAI. Open {agent} sessions keep their account until reopened.",
"magpie only switches {agent}'s sign-in; its requests go straight to OpenAI",
"{agent}'s requests go through magpie to fail over to your other accounts again",
];