routing: in Chinese, a provider row's "one key" is "一个 Key", and the caption under the map is said again in the new language when the language changes — it was set as text, so one said before Chinese was applied stayed English ("DeepSeek goes first.") while everything round it was Chinese
This commit is contained in:
@@ -537,6 +537,7 @@ const I18N = {
|
||||
"{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": "最近一个请求是怎么路由的",
|
||||
|
||||
@@ -1049,7 +1049,8 @@
|
||||
function words() {
|
||||
for (const s of stats.children) s.lastChild.textContent = t(s.dataset.label);
|
||||
hubText();
|
||||
if (loaded) { if (cur) { sync(true); renderAll(); } else empty(); }
|
||||
// the caption said before, said again in these words: it was set as text
|
||||
if (loaded) { if (cur) { sync(true); renderAll(); capQ = []; say(affWhy(cur, true) || firstWhy(cur)); } else empty(); }
|
||||
renderGroups();
|
||||
}
|
||||
new MutationObserver(words).observe(document.documentElement, { attributes: true, attributeFilter: ["lang"] });
|
||||
|
||||
Reference in New Issue
Block a user