aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-15 09:33:28 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-15 09:33:28 +0200
commit1e8eae1f3de765fcd8163716de6e5fe5aab5a034 (patch)
treedfdb004229c8b0f57ea1a64a726ed2752c3d18e5 /packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
parentadda9613fad48a68239e2dbd93321818a835c286 (diff)
downloadmeshbay-1e8eae1f3de765fcd8163716de6e5fe5aab5a034.tar.gz
feat(hub): one account, several linked nodes
An account links up to MAX_NODES_PER_ACCOUNT node keys (node_keys table) instead of the one users.pk_node_ed25519; the migration carries each account's key over and the downgrade keeps the last one linked. /v1/nodes/auth accepts any linked key, and its token names the key that won it (nk). PUT /me/node_key adds a key, idempotently, 409 past the limit; DELETE /me/node_key names the key: a browser session any of its own, a node only its own. Unlinking a key closes that node's socket and refuses its tokens at once, on REST and on the socket; the account's other nodes are untouched. /pubkeys no longer gives a node key to other accounts, and gives the caller its last linked one, which installed desktop apps read. The node reports waiting_for_node_key while its key is unlinked and signs in again as soon as the hub says so, so a key linked again is back within seconds; unlinking itself signs in first to hold a token naming its key. Profile -> Linked nodes lists each node (connected, last seen, IP, linked since, This machine in the desktop app) with Copy and Unlink, and adds a key by hand. The Node page banner, Create group and the desktop app add this machine's key instead of replacing another's. Messages that pointed at Settings -> Link Node point at Profile -> Linked nodes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js27
1 files changed, 15 insertions, 12 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
index c6d93cc..1b2c230 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js
@@ -531,18 +531,22 @@ export default {
'settings.role': '権限',
'settings.groups': 'グループの通知',
'settings.notifications': '通知',
- 'settings.node_key': 'node を連携',
- 'settings.node_key_desc': 'MeshBay の node を運営している場合は、その Ed25519 '
- + '公開鍵をここに貼り付けて、アカウントに連携してください。'
- + 'node を動かしているマシンで `meshbay-node status` を実行するか、'
- + 'デスクトップクライアントの Node → Overview からコピーできます。',
+ 'settings.node_key': "連携中の node",
+ 'settings.node_key_desc': "あなたが動かしている node(マシンごとに 1 台)です。それぞれが自分の鍵で hub にサインインし、デスクトップアプリはそのマシンの node を自動で連携します。手動で連携するには、そのマシンで `meshbay-node status` を実行して鍵を確認するか、デスクトップアプリの Node → Overview からコピーして、ここに貼り付けてください。",
'settings.node_key_placeholder': 'node の Ed25519 公開鍵を貼り付け(base64)',
- 'settings.node_key_submit': 'node を連携',
- 'settings.node_key_success': 'node を連携しました',
+ 'settings.node_key_submit': "node を連携",
+ 'settings.node_key_success': "node を連携しました",
'settings.node_key_unlink': "リンク解除",
- 'settings.node_key_unlink_confirm': "アカウントからノードのリンクを解除しますか?再びノードがリンクされるまで、グループを提供しなくなります。",
+ 'settings.node_key_unlink_confirm': "node {key} の連携を解除しますか?鍵が再び連携されるまで、グループを提供しなくなります。ほかの node には影響しません。",
'settings.node_key_unlinked': "ノードのリンクを解除しました",
- 'settings.node_key_current': '連携済みの node 鍵',
+ 'settings.node_keys_none': "まだアカウントに連携された node はありません。",
+ 'settings.node_keys_this_machine': "このマシン",
+ 'settings.node_keys_connected': "接続中",
+ 'settings.node_keys_last_seen': "最終接続 {when}",
+ 'settings.node_keys_never': "まだサインインしていません",
+ 'settings.node_keys_linked_on': "{when} に連携",
+ 'settings.node_keys_count': "連携数: {n} / {limit}",
+ 'settings.node_keys_at_limit': "{limit} 台の node が連携済みで、1 アカウントの上限です。別の node を連携するには、使っていない node の連携を解除してください。",
// Sidebar
'sidebar.create_group': 'グループを作成',
@@ -944,9 +948,8 @@ 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_here': "この node を連携",
+ 'node.link_not_linked': "この node の鍵はアカウントに連携されていないため、グループを提供できません。連携しても、ほかの node はそのままです。",
'node.link_other_account': "このノードはあなたではなく {account} 用に設定されているため、グループを提供できません。",
'node.link_take_over': "このノードを自分のアカウントで使う",
'node.link_linking': "リンク中…",