diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-21 17:50:08 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-21 17:50:08 +0200 |
| commit | 73490d331179cb640828b8625abb75208cd7ae5f (patch) | |
| tree | 5782835ae06d3f84c4a9c11c8babcec0d8126157 /packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | |
| parent | 8730281d739d9ed1d6f2d366772582eea8ba0294 (diff) | |
| download | meshbay-73490d331179cb640828b8625abb75208cd7ae5f.tar.gz | |
feat: D.6 first-run wizard — detect, start, link, group, gek-init, pair
Desktop client guides new users through the full onboarding sequence
without a terminal: detect local node → start daemon (systemd with
direct-start fallback for dev) → link node key to hub → create group →
attach directories → gek-init → operator pair.
- node:detect returns configured field to distinguish missing vs stopped
- node:start tries systemctl first, checks is-active, falls back to
spawning the binary directly when the unit crashes (dev mode)
- probeNode() extracts the shared config→token→fetch pattern
- SetupWelcome on empty HomePage links to /create-group
- CreateGroupWizard step 0 handles node detection and start
- platform.js exposes node.installed() and node.start()
- 12 setup.* i18n keys added to all 10 locales
- Integration test for node:start fallback logic
Co-Authored-By: Claude Opus 4.6 <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.js | 14 |
1 files changed, 14 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 549b77e..bab41e1 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 @@ -438,4 +438,18 @@ export default { 'group.unmute': 'Unmute notifications', 'profile.title': '个人资料', 'usermenu.profile': '个人资料', + + // First-run setup wizard + 'setup.welcome_title': '欢迎使用 MeshBay', + 'setup.welcome_message': '您的 node 在您自己的机器上加密存储文件。让我们启动它并创建您的第一个群组。', + 'setup.node_detected': '已检测到本地 node,正在运行。', + 'setup.node_not_running': '您的 node 已安装但未运行。', + 'setup.node_start': '启动 node', + 'setup.node_starting': '正在启动 node…', + 'setup.node_started': 'Node 已启动。', + 'setup.node_not_installed': '此机器上未安装 meshbay-node。', + 'setup.node_install_hint': '请使用包管理器安装,然后回到此处。', + 'setup.skip': '跳过 — 不使用本地 node 创建群组', + 'setup.create_group': '创建第一个群组', + 'setup.dismiss': '跳过设置', }; |