From 156b72ebf32a349ca86e2d0e2bc14461c64b1187 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 2 Oct 2026 05:28:55 +0800 Subject: [PATCH] =?UTF-8?q?gui:=20the=20account=20or=20key=20a=20provider?= =?UTF-8?q?=20is=20on=20reads=20"In=20use"=20(=E4=BD=BF=E7=94=A8=E4=B8=AD)?= =?UTF-8?q?=20again,=20not=20"Current"=20(=E5=9C=A8=E7=94=A8)=20=E2=80=94?= =?UTF-8?q?=203df75514,=20which=20added=20each=20agent's=20model=20list=20?= =?UTF-8?q?and=20its=20=E5=9C=A8=E7=94=A8=20tag=20for=20the=20model=20an?= =?UTF-8?q?=20agent=20is=20set=20to,=20also=20renamed=20the=20badge=20on?= =?UTF-8?q?=20the=20Accounts=20and=20keys=20rows=20from=20"In=20use"=20to?= =?UTF-8?q?=20"Current",=20which=20its=20message=20doesn't=20mention.=20Th?= =?UTF-8?q?e=20rest=20of=20magpie=20calls=20what=20is=20in=20use=20"In=20u?= =?UTF-8?q?se":=20the=20Library's=20active=20set=20reads=20In=20use,=20the?= =?UTF-8?q?=20S3/WebDAV=20sync's=20chosen=20kind=20"=C2=B7=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=B8=AD",=20so=20an=20account=20row=20reading=20?= =?UTF-8?q?=E5=9C=A8=E7=94=A8=20said=20the=20same=20thing=20in=20other=20w?= =?UTF-8?q?ords.=20The=20rows=20say=20"In=20use"=20again;=20the=20model=20?= =?UTF-8?q?list's=20"Current"=20tag=20for=20a=20model=20stays.=20duplicate?= =?UTF-8?q?-pause.test.cjs=20(Chromium,=20WebKit,=20en,=20zh)=20failed=20o?= =?UTF-8?q?n=20main=20for=20it.=20account-arrange,=20account-return,=20api?= =?UTF-8?q?-key-usage,=20agent-models,=20click-scroll,=20old-webkit=20pass?= =?UTF-8?q?;=20go=20vet,=20go=20build=20-tags=20nogui=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/gui/assets/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index dc9e5b00e..2d1be1459 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -6389,7 +6389,7 @@ function renderAccounts(a, p) { } row.append(dot, el("span", "n", l.user), el("span", "plan", accountPlan({ agent: a.agent, builtin: a.builtin, plan: l.plan })), el("span", "grow")); if (l.active) { - const using = el("span", "using", l.paused ? t("Paused") : back ? t("First for now") : several ? t("First") : t("Current")); + const using = el("span", "using", l.paused ? t("Paused") : back ? t("First for now") : several ? t("First") : t("In use")); if (back && !l.paused) using.title = t("{user} was nearly used up, so magpie signed {agent} in to this one; it goes back to {user} once that has room again", { user: back.user, agent: a.agentName }); row.append(using); if (a.agent === "qoder" || a.agent === "qoder-cn" || l.own) { @@ -6853,7 +6853,7 @@ function renderKeyAccounts(p) { rm.onclick = () => accountAction("keys/remove", { id: p.id, ref: k.id }, t("Key removed")); row.append(rm); } - if (k.active) row.append(el("span", "using", several ? t("First") : t("Current"))); + if (k.active) row.append(el("span", "using", several ? t("First") : t("In use"))); else if (k.on) { const first = el("button", "text", t("Make first")); first.onclick = () => { first.classList.add("busy"); accountAction("keys/use", { id: p.id, ref: k.id }, t("{name} tries {key} first", { name: p.name, key: k.name || k.masked })); };