diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index 6b83c1611..5ab909f77 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -9257,7 +9257,6 @@ function drawEditor(p, presetID) { if (p) h.append(providerSwitch(p)); ed.append(h); if (p?.off) ed.append(el("div", "hint off-note", t("Switched off: agents aren't given its models and no request goes to it. Its keys and settings are kept; switch it on to use it again."))); - // a Remote magpie that is this magpie, which sync brought here (hanslin1666) if (p?.self) { const [keep, cb] = tick(t("Use it anyway"), !!p.keepSelf); cb.onchange = () => accountAction("provider/keepself", { id: p.id, keepSelf: cb.checked }, t(cb.checked ? "{name} is used anyway" : "{name} is left out: it is this magpie", { name: p.name })); @@ -20450,8 +20449,8 @@ function askLANNames(urls, then) { } function selfNote(p) { - return t(p.keepSelf ? "This Remote magpie is this magpie itself. It is used anyway: its models are listed beside this magpie's own, and a request through it passes through this magpie twice." - : "This Remote magpie is this magpie itself: sync brought it from a computer that uses this one. It is left out, so its models aren't listed twice; a request for one of them is served here at once."); + return t(p.keepSelf ? "This is this magpie itself, used anyway: its models are listed twice, and a request through it passes here twice." + : "This is this magpie itself, brought by sync from a computer that uses it. It is left out, so its models aren't listed twice; a request for one is served here."); } function tick(label, on) { diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js index 0edc59b19..9a2021b93 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -1669,8 +1669,8 @@ const I18N = { "{agent} is still on {model}, which magpie no longer serves: {error}": "{agent} 仍在用 magpie 已不再提供的 {model}:{error}", "Switched off: agents aren't given its models and no request goes to it. Its keys and settings are kept; switch it on to use it again.": "已关闭:不向 Agent 提供其模型,也不向它发请求。密钥和设置保留,开启即可恢复使用。", "This magpie": "本机 magpie", - "This Remote magpie is this magpie itself. It is used anyway: its models are listed beside this magpie's own, and a request through it passes through this magpie twice.": "这个远程 magpie 就是本机的 magpie。仍在使用:它的模型与本机自己的模型并列,经它的请求会两次经过本机 magpie。", - "This Remote magpie is this magpie itself: sync brought it from a computer that uses this one. It is left out, so its models aren't listed twice; a request for one of them is served here at once.": "这个远程 magpie 就是本机的 magpie:是同步从使用本机的另一台电脑带过来的。它已被排除,模型不会重复列出;请求它的模型时直接由本机提供。", + "This is this magpie itself, used anyway: its models are listed twice, and a request through it passes here twice.": "这个远程 magpie 就是本机的 magpie。仍在使用:它的模型与本机自己的模型并列,经它的请求会两次经过本机 magpie。", + "This is this magpie itself, brought by sync from a computer that uses it. It is left out, so its models aren't listed twice; a request for one is served here.": "这个远程 magpie 就是本机的 magpie:是同步从使用本机的另一台电脑带过来的。它已被排除,模型不会重复列出;请求它的模型时直接由本机提供。", "Use it anyway": "仍然使用", "{name} is used anyway": "仍在使用 {name}", "{name} is left out: it is this magpie": "已排除 {name}:它就是本机 magpie", @@ -6282,8 +6282,8 @@ const I18N = { "{agent} is still on {model}, which magpie no longer serves: {error}": "{agent} 仍在用 magpie 已不再提供的 {model}:{error}", "Switched off: agents aren't given its models and no request goes to it. Its keys and settings are kept; switch it on to use it again.": "已關閉:不向 Agent 提供其模型,也不向它發請求。金鑰和設定保留,開啟即可恢復使用。", "This magpie": "本機 magpie", - "This Remote magpie is this magpie itself. It is used anyway: its models are listed beside this magpie's own, and a request through it passes through this magpie twice.": "這個遠端 magpie 就是本機的 magpie。仍在使用:它的模型與本機自己的模型並列,經它的請求會兩次經過本機 magpie。", - "This Remote magpie is this magpie itself: sync brought it from a computer that uses this one. It is left out, so its models aren't listed twice; a request for one of them is served here at once.": "這個遠端 magpie 就是本機的 magpie:是同步從使用本機的另一台電腦帶過來的。它已被排除,模型不會重複列出;請求它的模型時直接由本機提供。", + "This is this magpie itself, used anyway: its models are listed twice, and a request through it passes here twice.": "這個遠端 magpie 就是本機的 magpie。仍在使用:它的模型與本機自己的模型並列,經它的請求會兩次經過本機 magpie。", + "This is this magpie itself, brought by sync from a computer that uses it. It is left out, so its models aren't listed twice; a request for one is served here.": "這個遠端 magpie 就是本機的 magpie:是同步從使用本機的另一台電腦帶過來的。它已被排除,模型不會重複列出;請求它的模型時直接由本機提供。", "Use it anyway": "仍然使用", "{name} is used anyway": "仍在使用 {name}", "{name} is left out: it is this magpie": "已排除 {name}:它就是本機 magpie", @@ -10869,8 +10869,8 @@ const I18N = { "{agent} is still on {model}, which magpie no longer serves: {error}": "{agent} はまだ {model} を使っていますが、magpie はもう提供していません:{error}", "Switched off: agents aren't given its models and no request goes to it. Its keys and settings are kept; switch it on to use it again.": "オフ:エージェントにそのモデルは渡されず、リクエストも送られません。キーと設定は保持されます。オンにすると再び使えます。", "This magpie": "この magpie", - "This Remote magpie is this magpie itself. It is used anyway: its models are listed beside this magpie's own, and a request through it passes through this magpie twice.": "このリモート magpie はこの magpie 自身です。それでも使用中:モデルがこの magpie 自身のモデルと並んで表示され、これを通るリクエストはこの magpie を 2 回通ります。", - "This Remote magpie is this magpie itself: sync brought it from a computer that uses this one. It is left out, so its models aren't listed twice; a request for one of them is served here at once.": "このリモート magpie はこの magpie 自身です:この magpie を使う別のコンピューターから同期で届きました。除外されているため、モデルは二重に表示されず、そのモデルへのリクエストはここで直接処理されます。", + "This is this magpie itself, used anyway: its models are listed twice, and a request through it passes here twice.": "このリモート magpie はこの magpie 自身です。それでも使用中:モデルがこの magpie 自身のモデルと並んで表示され、これを通るリクエストはこの magpie を 2 回通ります。", + "This is this magpie itself, brought by sync from a computer that uses it. It is left out, so its models aren't listed twice; a request for one is served here.": "このリモート magpie はこの magpie 自身です:この magpie を使う別のコンピューターから同期で届きました。除外されているため、モデルは二重に表示されず、そのモデルへのリクエストはここで直接処理されます。", "Use it anyway": "それでも使う", "{name} is used anyway": "{name} をそれでも使います", "{name} is left out: it is this magpie": "{name} を除外しました:この magpie 自身です", @@ -15487,8 +15487,8 @@ const I18N = { "{agent} is still on {model}, which magpie no longer serves: {error}": "{agent} nutzt noch {model}, das magpie nicht mehr bereitstellt: {error}", "Switched off: agents aren't given its models and no request goes to it. Its keys and settings are kept; switch it on to use it again.": "Ausgeschaltet: Agenten erhalten seine Modelle nicht, und keine Anfrage geht an ihn. Schlüssel und Einstellungen bleiben erhalten; zum erneuten Verwenden einschalten.", "This magpie": "Dieses magpie", - "This Remote magpie is this magpie itself. It is used anyway: its models are listed beside this magpie's own, and a request through it passes through this magpie twice.": "Dieses Remote-magpie ist dieses magpie selbst. Es wird trotzdem genutzt: Seine Modelle stehen neben den eigenen dieses magpie, und eine Anfrage darüber läuft zweimal durch dieses magpie.", - "This Remote magpie is this magpie itself: sync brought it from a computer that uses this one. It is left out, so its models aren't listed twice; a request for one of them is served here at once.": "Dieses Remote-magpie ist dieses magpie selbst: Die Synchronisierung hat es von einem Computer gebracht, der dieses nutzt. Es bleibt außen vor, damit seine Modelle nicht doppelt erscheinen; eine Anfrage nach einem davon wird gleich hier bedient.", + "This is this magpie itself, used anyway: its models are listed twice, and a request through it passes here twice.": "Dieses Remote-magpie ist dieses magpie selbst. Es wird trotzdem genutzt: Seine Modelle stehen neben den eigenen dieses magpie, und eine Anfrage darüber läuft zweimal durch dieses magpie.", + "This is this magpie itself, brought by sync from a computer that uses it. It is left out, so its models aren't listed twice; a request for one is served here.": "Dieses Remote-magpie ist dieses magpie selbst: Die Synchronisierung hat es von einem Computer gebracht, der dieses nutzt. Es bleibt außen vor, damit seine Modelle nicht doppelt erscheinen; eine Anfrage nach einem davon wird gleich hier bedient.", "Use it anyway": "Trotzdem nutzen", "{name} is used anyway": "{name} wird trotzdem genutzt", "{name} is left out: it is this magpie": "{name} bleibt außen vor: Es ist dieses magpie", diff --git a/internal/gui/tests/remote-self.test.cjs b/internal/gui/tests/remote-self.test.cjs index 04ea1319e..3471f5e79 100644 --- a/internal/gui/tests/remote-self.test.cjs +++ b/internal/gui/tests/remote-self.test.cjs @@ -53,8 +53,8 @@ const said = { }; const strings = [ "This magpie", - "This Remote magpie is this magpie itself. It is used anyway: its models are listed beside this magpie's own, and a request through it passes through this magpie twice.", - "This Remote magpie is this magpie itself: sync brought it from a computer that uses this one. It is left out, so its models aren't listed twice; a request for one of them is served here at once.", + "This is this magpie itself, used anyway: its models are listed twice, and a request through it passes here twice.", + "This is this magpie itself, brought by sync from a computer that uses it. It is left out, so its models aren't listed twice; a request for one is served here.", "Use it anyway", "{name} is used anyway", "{name} is left out: it is this magpie",