aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.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/pt-BR.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/pt-BR.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js27
1 files changed, 15 insertions, 12 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js
index 5a6d1a4..075cc31 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js
@@ -536,18 +536,22 @@ export default {
'settings.role': 'Função',
'settings.groups': 'Notificações de grupo',
'settings.notifications': 'Notificações',
- 'settings.node_key': 'Vincular um node',
- 'settings.node_key_desc': 'Se você opera um node MeshBay, cole aqui a chave pública '
- + 'Ed25519 dele para vinculá-lo à sua conta. Execute `meshbay-node status` na '
- + 'máquina que hospeda o node para ler a chave, ou copie-a em '
- + 'Node → Overview no cliente desktop.',
+ 'settings.node_key': "Nodes vinculados",
+ 'settings.node_key_desc': "Os nodes que você executa, um por máquina. Cada um entra no hub com a própria chave, e o app desktop vincula para você o node da sua máquina. Para vincular um manualmente, leia a chave com `meshbay-node status` nessa máquina, ou copie-a em Node → Overview no app desktop, e cole-a aqui.",
'settings.node_key_placeholder': 'Cole a chave pública Ed25519 do node (base64)',
- 'settings.node_key_submit': 'Vincular o node',
- 'settings.node_key_success': 'Node vinculado com sucesso',
+ 'settings.node_key_submit': "Vincular o node",
+ 'settings.node_key_success': "Node vinculado",
'settings.node_key_unlink': "Desvincular",
- 'settings.node_key_unlink_confirm': "Desvincular o node da sua conta? Ele deixará de servir seus grupos até que um node seja vinculado novamente.",
+ 'settings.node_key_unlink_confirm': "Desvincular o node {key}? Ele deixará de servir seus grupos até que a chave dele seja vinculada novamente. Seus outros nodes não são afetados.",
'settings.node_key_unlinked': "Node desvinculado",
- 'settings.node_key_current': 'Chave do node vinculado',
+ 'settings.node_keys_none': "Nenhum node está vinculado à sua conta ainda.",
+ 'settings.node_keys_this_machine': "Esta máquina",
+ 'settings.node_keys_connected': "Conectado agora",
+ 'settings.node_keys_last_seen': "Visto pela última vez {when}",
+ 'settings.node_keys_never': "Ainda não entrou",
+ 'settings.node_keys_linked_on': "vinculado em {when}",
+ 'settings.node_keys_count': "Vinculados: {n} de {limit}",
+ 'settings.node_keys_at_limit': "{limit} nodes vinculados, o máximo para uma conta. Desvincule um que você não usa mais para vincular outro.",
// Sidebar
'sidebar.create_group': 'Criar um grupo',
@@ -955,9 +959,8 @@ export default {
'node.pair_button': 'Parear este navegador',
'node.pair_success': 'Pareamento realizado com sucesso.',
'node.pair_pending': 'Código de pareamento pronto: ele será usado na próxima vez que você abrir um dos grupos deste Node.',
- 'node.link_other_node': "Sua conta está vinculada ao node de outra máquina, então este node não pode servir seus grupos.",
- 'node.link_here': "Vincular este node no lugar",
- 'node.link_here_confirm': "Vincular este node à sua conta? O node vinculado agora, em outra máquina, deixará de servir seus grupos até ser vinculado novamente.",
+ 'node.link_here': "Vincular este node",
+ 'node.link_not_linked': "A chave deste node não está vinculada à sua conta, então ele não pode servir seus grupos. Vinculá-lo não muda nada nos seus outros nodes.",
'node.link_other_account': "Este node está configurado para {account}, não para você, então não pode servir seus grupos.",
'node.link_take_over': "Usar este node na minha conta",
'node.link_linking': "Vinculando…",