aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-10 09:57:17 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-10 09:57:29 +0200
commit876f4a351f859201ca68fbf8d585c86905571686 (patch)
tree7bf029b884ae427352e6c2e7af0cbba887dea824 /packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
parent42b562fcf312ddceb78438b5daea49d4c9b465c8 (diff)
downloadmeshbay-876f4a351f859201ca68fbf8d585c86905571686.tar.gz
fix(client): say when the account's node is elsewhere, and let go of it
Signing in on a desktop links this machine's node to the account, but never over a key already linked (that would cut off the user's other machine) nor a node set up for another account. On a real install both left the node reading "Running" while the hub refused it in a loop, and nothing said why. And the only way to unlink was the linked machine's own Node page, of no use once that machine is gone. - The Node page works out, from the node and the hub each time it looks, whether this node can serve the signed-in account (nodeLinkProblem), and says why not: "Link this node instead" (asked first) puts this node's key on the account; "Use this node for my account" switches a node set up for another account through node:start, which takeOver now lets past a node that answers "running". The first version went through node:start for both, and clicking it on a real install did nothing: a node signed in before the account was linked elsewhere answers "running". - The Profile page unlinks the account's node (DELETE /v1/users/me/node_key), from any machine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
index 232a4ca..8070b5f 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js
@@ -528,6 +528,9 @@ export default {
'settings.node_key_placeholder': '粘贴 node 的 Ed25519 公钥(base64)',
'settings.node_key_submit': '关联 node',
'settings.node_key_success': 'node 关联成功',
+ 'settings.node_key_unlink': "取消关联",
+ 'settings.node_key_unlink_confirm': "要从你的账户取消关联该节点吗?在再次关联节点之前,它将停止为你的群组提供服务。",
+ 'settings.node_key_unlinked': "已取消关联节点",
'settings.node_key_current': '已关联的 node 密钥',
// Sidebar
@@ -923,6 +926,12 @@ export default {
'node.pair_button': '配对此浏览器',
'node.pair_success': '配对成功。',
'node.pair_pending': '配对码已就绪:下次打开此 Node 的任一群组时将自动使用。',
+ 'node.link_other_node': "你的账户已关联到另一台机器的节点,因此此节点无法为你的群组提供服务。",
+ 'node.link_here': "改为关联此节点",
+ 'node.link_here_confirm': "将此节点关联到你的账户?当前关联的另一台机器上的节点将停止为你的群组提供服务,直到再次关联。",
+ 'node.link_other_account': "此节点是为 {account} 而不是为你设置的,因此无法为你的群组提供服务。",
+ 'node.link_take_over': "将此节点用于我的账户",
+ 'node.link_linking': "正在关联…",
'node.reload': '重新加载配置',
'node.reloaded': '配置已重新加载。对现有群组的目录更改现已生效。',
'node.restart_needed': '添加后请初始化群组密钥(meshbay-node gek-init --group <名称>)。',