feat: add multiple accounts with a sidebar switcher and per-account folders

This commit is contained in:
randogoth 2026-10-14 17:39:35 +03:00
parent 6172df3e00
commit 32e2e2a8f2
6 changed files with 702 additions and 68 deletions

View file

@ -99,11 +99,13 @@ draft-saved-note = Draft saved
## Log out
logged-out-note = Signed out. Create a new identity or restore a seed.
logged-out-switched-note = Signed out. You're now using { $address }.
## Onboarding
identity-created-note = Identity created. Write the seed down. It's the only secret.
seed-restored-note = Seed restored. Bind a username or recall an address.
seed-reused-note = Secret copied. Bind a username or recall an address.
## Signup
@ -350,8 +352,8 @@ advanced-first-contact-description = A recipient who isn't a contact yet, and wh
advanced-strict-pinning-title = Require a pinned server
advanced-strict-pinning-subtitle = Stop that send and offer to pin the server's key first, so you can check it against what the operator published. With this off, the key's taken on trust, and the send is only reported as unverified afterwards.
advanced-logout-title = Sign out
advanced-logout-description = Removes this identity from this app entirely: the secret, pins, contacts, and every cached message. Without a backup of the secret, you can't get back in. Mail already fetched here may have no other copy anywhere, unless "Leave mail on server" was on. Whatever's still on the server comes back on the first fetch after you sign back in.
advanced-logout-button = Sign out and delete all data
advanced-logout-description = Removes this account from this app: the secret, pins, contacts, and every cached message. Other accounts stay as they are. Without a backup of the secret, you can't get back in. Mail already fetched here may have no other copy anywhere, unless "Leave mail on server" was on. Whatever's still on the server comes back on the first fetch after you sign back in.
advanced-logout-button = Sign out and delete this account's data
## Onboarding
##
@ -359,7 +361,7 @@ advanced-logout-button = Sign out and delete all data
## is left as a literal in code — see the extraction report.
onboard-welcome-title = welcome
onboard-welcome-description = Encrypted mail with no account and no password. Your identity is one secret, kept in this browser and nowhere else.
onboard-welcome-description = Encrypted mail with no password. Each identity is one secret, stored only on this device.
onboard-tagline = smolmail: one seed, sealed mail, five operations
onboard-create-button = Create a new identity
onboard-restore-button = Restore an existing identity from a seed
@ -371,6 +373,16 @@ onboard-restore-description = Paste the secret you saved. Your keys come back fr
onboard-seed-entry-title = Seed: 32 bytes, base32 or hex
onboard-restore-go-button = Restore
## Accounts — the switcher on the sidebar identity row, and adding one
accounts-menu-tooltip = Switch account
accounts-add-button = Add account
# Shown when signup is about to bind an address another account in this app already uses.
accounts-duplicate-error = { $address } is already in carrier. Switch to it from the account menu.
accounts-add-cancel-button = Cancel adding account
onboard-reuse-title = Use the secret from another account
onboard-reuse-description = Both addresses will share one public key, so anyone who sees both can tell they belong together.
## Signup
signup-server-title = Set up the server
@ -401,7 +413,7 @@ delete-dialog-body-gone = This removes the only copy, which is sealed and stored
delete-dialog-everywhere-button = Delete everywhere
rotate-dialog-title = Rotate the identity?
rotate-dialog-confirm-button = Rotate
reset-dialog-title = Sign out and delete all data?
reset-dialog-title = Sign out and delete this account's data?
reset-dialog-confirm-button = Sign Out
# `$list` is the sender's own frontmatter rows, already typed by a human
# and reproduced verbatim — not translatable prose itself, just data