Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Fix the guest count dropped from the shared-board button title

yachen08f89366f3f0
diff --git a/src/app.js b/src/app.js
index 05a19ca..3ba28dd 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1364,7 +1364,7 @@ function renderNetwork() {
button.replaceChildren(icon("share"), ...(shared ? [tr("Shared")] : []), ...(shared && n != null ? [el("span", { class: "count" }, String(n))] : []));
button.classList.toggle("on", shared);
button.title = hosted ? tr("Shared by {0}{1}", host, computers)
- : shared ? tr("Shared on your network{1}", computers) : tr("Share this board, or join another");
+ : shared ? tr("Shared on your network{0}", computers) : tr("Share this board, or join another");
if (state.menu === "network") renderNetworkMenu();
}
diff --git a/src/zh-cn.js b/src/zh-cn.js
index a0482bc..12627e7 100644
--- a/src/zh-cn.js
+++ b/src/zh-cn.js
@@ -130,7 +130,7 @@ const ZH_CN = {
"Shared": "已共享",
": {0} connected": ":{0}已连接",
"Shared by {0}{1}": "由 {0} 共享{1}",
- "Shared on your network{1}": "已在你的网络中共享{1}",
+ "Shared on your network{0}": "已在你的网络中共享{0}",
"Share this board, or join another": "共享此看板,或加入其他看板",
"Only the computer with the board can change this": "只有存放看板的电脑能更改此项",
"Other computers join it at {0}": "其他电脑可通过{0}加入",