diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-15 02:16:39 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-15 02:21:01 +0200 |
| commit | 73ad8e4eb566fe682107fa7e50ef624591199e99 (patch) | |
| tree | ff0017d014d46d8835487c080dca55c6def7fd6b /packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | |
| parent | bdefcd025604f2c3009fe5e0cc01213c2ba62a6a (diff) | |
| download | meshbay-73ad8e4eb566fe682107fa7e50ef624591199e99.tar.gz | |
feat(hub): session lifetime is an admin setting, and a browser signs out when idle
Browser idle sign-out (media playback counts as activity; not the desktop app),
refresh idle window and maximum session length, in hours. Sign-out now revokes
on the hub, and the profile has "sign out everywhere".
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XuNrwLf5EFWCMHzfoEvnpm
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 | 10 |
1 files changed, 10 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 87257b4..b8ab4ef 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 @@ -398,6 +398,10 @@ export default { 'settings.recovery_partial': '无法连接这些群组。稍后打开它们,或再次运行此操作:', 'settings.recovery_need_relogin': '请先退出登录再重新登录,然后重试。', 'settings.danger': '删除账户', + 'settings.sessions_heading': '会话', + 'settings.sign_out_everywhere': '在所有设备上退出', + 'settings.sign_out_everywhere_hint': '结束您账户的所有会话,包括当前会话:适用于您在他人电脑上忘记退出的情况。桌面应用会使用其设备密钥重新登录,直到您移除该设备。', + 'settings.sign_out_everywhere_confirm': '要退出所有浏览器和应用(包括当前这个)吗?', 'settings.delete_hint': '这会从 hub 上删除您的账户、您的群组成员身份和您的通知,' + '并释放您的用户名。它无法触及存放在各个 node 上的内容:您上传的文件仍留在其运营者' + '保管之处,每个 node 也会保留它为您固定的身份,直到其运营者取消固定。' @@ -488,6 +492,12 @@ export default { 'admin.mail_reset_defaults': "恢复默认值", 'admin.login_heading': "登录", 'admin.login_hint': "同一用户名输错密码短语达到此次数后,将在设定时长内拒绝使用密码短语登录。已打开的会话和已注册的设备不受影响,重置密码短语即可解除锁定。设为 0 则关闭。", + 'admin.session_heading': '会话', + 'admin.session_hint': '浏览器在第一个小时数内没有操作且没有正在播放的内容时会自动退出;桌面应用不会。未使用达到第二个小时数的会话将不再续期,且任何会话都不会超过第三个小时数。', + 'admin.session_browser_idle_hours': '浏览器无操作后退出(小时)', + 'admin.session_refresh_idle_hours': '未使用的会话过期时间(小时)', + 'admin.session_max_hours': '会话最长时长(小时)', + 'admin.session_save': '保存会话设置', 'admin.login_max_failures': "锁定前允许的错误次数", 'admin.login_lockout_minutes': "锁定时长(分钟)", 'admin.login_save': "保存登录限制", |