Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

1.0.3: i18n sweep (87 strings × 7 locales), tooltips everywhere, share-export filename suffixes + handle fix, docs sweep

nyblnet2c635661f12f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 67b3fecd..8bee3e21 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,33 @@ below opens files from every earlier version, and unknown fields are preserved.
This project's versions roughly follow semantic-ish `0.MINOR.PATCH` while it is
pre-1.0.
+## [1.0.3] — unreleased
+
+- **Fine-grained collaboration (per-person keys).** New decks mint an OWNER
+ key; "Invite to edit…" saves a copy carrying an owner-signed invite, and
+ every opening device joins with its own key. The People panel shows
+ key-verified names, roles and fingerprints (including your own identity),
+ and the owner can REMOVE one person — cryptographic revocation enforced by
+ the relay, nobody else disturbed. Legacy decks keep working; "Reset access"
+ upgrades them.
+- **The public guestbook is owner-moderated now** (same scheme, public invite);
+ daily auto-roll is off — moderation replaces blanking.
+- **Menus rebuilt around one rule — Save is for you, Share is for others.**
+ A split [Save|▾] button (with the unsaved-changes dot on its corner) holds
+ copy/duplicate/password plus Version history and the JSON round-trip; the
+ Share panel holds invite/view-only/present-only/template with People and
+ session controls. Icons and tooltips everywhere; a language globe in the
+ topbar replaces the About picker.
+- **Slideshow controls**: one split pill beside the zoom control — Slideshow
+ (fullscreen), Present in this tab, Open speaker view.
+- **Share exports name themselves** (-invite / -viewonly / -presentonly /
+ -template) and no longer hijack the ⌘S target — previously a later save
+ could overwrite an exported copy with the full document.
+- **Canvas stability**: element drags can no longer make the slide jump
+ (scrollbar appearance reflow fixed); connector anchor points are visible and
+ snap; freeform and polygon drawing tools join line/curve/connector.
+- All new UI strings translated across the 7 locale catalogs.
+
## [1.0.2] — 2026-07-20
- **Live-collab stability**: WebSocket keepalive (client ping + relay auto-pong,
diff --git a/CLAUDE.md b/CLAUDE.md
index ca0d98a3..b757904f 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -363,6 +363,24 @@ One HTML file = the document + viewer + editor. See `README.md` for the vision.
reconnect-storm against a non-ponging relay.
Undo under collab is snapshot-based and may revert concurrent remote
edits to the same properties (documented LWW compromise).
+ **Fine-grained access v2 (v1.0.3, collab.v=2)**: the room id commits to an
+ OWNER pubkey; `mintCollab` mints owner keys; "Invite to edit…" saves a copy
+ carrying an owner-signed INVITE keypair (`mintInvite`); each device mints its
+ own member key (localStorage `bento-member-<docId>`, never in the file) and
+ joins via the owner→invite→member signature chain, verified PER SOCKET by the
+ relay (wire params + sig texts in docs/collab-design.md "Phase 1 wire
+ format"). Presence carries pub+role → key-bound People panel with per-member
+ Remove (owner-signed `rev.${pub}`; client stands down on seeing its own key
+ revoked). Reader copies strip ownerPriv+invite+writerPriv. Legacy rooms
+ unchanged; deploy the relay BEFORE a client that depends on new verification.
+ **Guestbook is a v2 room now**: public deck carries a PUBLIC writer invite
+ (anyone writes, individually keyed); the OWNER deck lives in gitignored
+ working/guestbook-live/guestbook-owner.bento.html (moderation = open it →
+ People → Remove). Daemon ROLL_HOURS=0 — rolls are manual (re-mint would
+ orphan the held owner file); build-guestbook.mjs emits public + owner decks.
+ **Share exports** (invite/viewonly/presentonly/template) pass a filename
+ suffix and NEVER retain the FSA handle (`writeUpdatedFileAs` opts.keepHandle
+ — retaining it made a later ⌘S overwrite the export with the full doc).
- **Canvas slide nav (v1.0.2)**: with NOTHING selected (and not text/cell/path
editing), arrow keys walk slides and a plain wheel over `.ed-scroll` walks
slides (threshold 40px + 400ms cooldown so a trackpad swipe = one slide; skips
diff --git a/docs/collab-design.md b/docs/collab-design.md
index d96bde09..a4549a8d 100644
--- a/docs/collab-design.md
+++ b/docs/collab-design.md
@@ -372,11 +372,36 @@ documents (ops are data too — no code ever travels the sync channel), and
---
-# Roadmap: fine-grained access control (v1.0.3) and the SSO path
-
-*Design agreed pre-launch. Goal: per-person capability without giving up the
-three core promises — the relay stays blind, there are no accounts, and the
-file remains the read capability.*
+# Fine-grained access control (Phase 1 SHIPPED in v1.0.3) and the SSO path
+
+*Phase 1 below is IMPLEMENTED and live (client + relay). Phases 2–3 remain
+roadmap. Goal: per-person capability without giving up the three core
+promises — the relay stays blind, there are no accounts, and the file remains
+the read capability.*
+
+## Phase 1 wire format (as shipped)
+
+- Room id: `w` + b64url(SHA-256(ownerPubRaw)) — commits to the OWNER key.
+- Writer connect params: `?w=<signingPub>` plus, for members, the chain
+ `&o=<ownerPub>&ivp=<invitePub>&ivr=writer&ive=<expiryMs|0>&ivs=<ownerSigOverInvite>&dg=<inviteSigOverMemberPub>`.
+ Signature texts: invite = `inv.${ivp}.${ivr}.${ive}`, delegation =
+ `dlg.${memberPub}`, revocation = `rev.${pub}`.
+- The relay pins the verified key PER SOCKET and checks every persisted
+ frame's `g` against it. Direct (hash-matching) keys cover the owner and
+ legacy 1.0.2 shared-writer rooms unchanged.
+- Revocation: owner sends `{ctl:'revoke', p, o, g}`; the relay stores `p` in a
+ `rev` set, closes matching sockets, fans out `{ctl:'revoked', p}` (clients
+ seeing their own key stand down permanently), and refuses future connects/
+ writes for revoked member OR invite keys.
+- Member device keys live in localStorage (`bento-member-<docId>`), never in
+ the file. Presence carries `pub` + derived `role` → key-bound names in the
+ People panel; the owner gets per-member Remove.
+- The public guestbook runs this scheme: an owner-signed PUBLIC invite in the
+ served deck (anyone writes, individually keyed), owner deck held privately
+ for moderation; daemon auto-roll disabled (a re-mint would orphan the held
+ owner file).
+- Known Phase-1 gaps (protocol-ready, no UI): expiring invites and
+ invite-LINEAGE revocation (today: remove per-device, or Reset access).
## Today's model (v1.0.2) in one line
diff --git a/docs/security.md b/docs/security.md
index db8dd124..3d818b02 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -139,10 +139,18 @@ silent.
These are deliberate design trade-offs, not oversights. Disclosing them is the
point.
-- **Presence names are claims, not proofs.** Within a shared-key room, the name
- shown next to a cursor is self-asserted. Binding names to identities
- (per-user signing keys + an SSO roster) is designed and on the roadmap; it is
- **not shipped**. Share room keys with people you'd trust with the file.
+- **Names are key-bound in v1.0.3 rooms; identity is per-device.** Each
+ member device signs with its own key, shown as a fingerprint in the People
+ list — so "Ana" is provably the same Ana as yesterday, and the owner can
+ revoke one device without touching anyone else. What this is NOT yet: proof
+ of legal identity (an SSO roster binding keys to directory accounts is
+ roadmap). Legacy shared-key rooms keep the old claim-based names.
+- **The owner's saved file is the admin capability.** `ownerPriv` lives only in
+ the owner's copy: lose that file and the deck keeps working, but nobody can
+ mint invites or revoke members any more (recovery = Reset access from any
+ writer copy of a legacy room, or re-sharing a fresh deck). Keep a backup of
+ your owner file as you would a password. Member keys need no backup — they
+ are disposable by design (rejoin via the invite; the owner re-admits).
- **The room key is a read capability.** Anyone you give the file to can read
the live session and the document. That's the model — the file *is* the
invitation.
diff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.ts
index 09cdb605..bc6f60a1 100644
--- a/slides/src/editor/editor.ts
+++ b/slides/src/editor/editor.ts
@@ -28,16 +28,16 @@ import { disconnectOnline, joinFromDoc, mintCollab, mintInvite, onlineTransport,
const i18nT = t
-const SHAPE_MENU: Array<{ kind: ShapeKind; label: string; icon: string; draw?: 'line' | 'path' | 'connector' | 'free' | 'poly' }> = [
- { kind: 'rect', label: 'Rectangle', icon: ICONS.rect },
- { kind: 'ellipse', label: 'Ellipse', icon: ICONS.ellipse },
- { kind: 'triangle', label: 'Triangle', icon: ICONS.triangle },
- { kind: 'arrow', label: 'Arrow', icon: ICONS.arrow },
- { kind: 'line', label: 'Line', icon: ICONS.line, draw: 'line' },
- { kind: 'path', label: 'Curved line', icon: ICONS.curve, draw: 'path' },
- { kind: 'line', label: 'Connector', icon: ICONS.connector, draw: 'connector' },
- { kind: 'path', label: 'Freeform', icon: ICONS.freeform, draw: 'free' },
- { kind: 'path', label: 'Polygon', icon: ICONS.polygon, draw: 'poly' },
+const SHAPE_MENU: Array<{ kind: ShapeKind; label: string; icon: string; draw?: 'line' | 'path' | 'connector' | 'free' | 'poly'; tip: string }> = [
+ { kind: 'rect', label: 'Rectangle', icon: ICONS.rect, tip: 'A rectangle — rounded corners, fills, gradients and shadows in the panel' },
+ { kind: 'ellipse', label: 'Ellipse', icon: ICONS.ellipse, tip: 'An ellipse or circle' },
+ { kind: 'triangle', label: 'Triangle', icon: ICONS.triangle, tip: 'A triangle' },
+ { kind: 'arrow', label: 'Arrow', icon: ICONS.arrow, tip: 'A solid arrow shape' },
+ { kind: 'line', label: 'Line', icon: ICONS.line, draw: 'line', tip: 'Drag on the slide to draw a straight line — drag its endpoints to adjust' },
+ { kind: 'path', label: 'Curved line', icon: ICONS.curve, draw: 'path', tip: 'Drag to draw a curve — then drag its points; double-click to add or remove one' },
+ { kind: 'line', label: 'Connector', icon: ICONS.connector, draw: 'connector', tip: 'Drag between two elements — the ends snap on and re-route when they move' },
+ { kind: 'path', label: 'Freeform', icon: ICONS.freeform, draw: 'free', tip: 'Draw by hand — the stroke smooths into an editable curve' },
+ { kind: 'path', label: 'Polygon', icon: ICONS.polygon, draw: 'poly', tip: 'Click to place corners; click the first point (or double-click) to close the shape' },
]
export class Editor {
@@ -201,6 +201,7 @@ export class Editor {
logo.addEventListener('click', () => this.openAbout())
const title = document.createElement('input')
title.className = 'ed-title'
+ title.title = t('Deck title — shown in the tab, on {{title}} fields, and as the suggested file name')
title.value = this.store.doc.title
title.spellcheck = false
title.addEventListener('change', () => {
@@ -509,7 +510,7 @@ export class Editor {
clone.readonly = true
delete clone.collab // a sealed package must not join (or leak) the live room
try {
- const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone)
+ const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone, { suffix: 'presentonly' })
if (ok) this.toast(t('Presentation package saved — it opens straight into the show'))
} catch {
this.toast(t('Saving failed'))
@@ -532,7 +533,7 @@ export class Editor {
delete clone.collab.ownerPriv // v2: neither the owner key…
delete clone.collab.invite // …nor any invite (delegation) material
try {
- const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone)
+ const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone, { suffix: 'viewonly' })
if (ok) this.toast(t('Read-only copy saved — it follows the live session, view only'))
} catch {
this.toast(t('Saving failed'))
@@ -558,7 +559,7 @@ export class Editor {
delete clone.collab!.ownerPriv
clone.collab!.on = true
try {
- const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone)
+ const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone, { suffix: 'invite' })
if (ok) this.toast(t('Editor copy saved — recipients join live with edit access'))
} catch {
this.toast(t('Saving failed'))
@@ -683,7 +684,7 @@ export class Editor {
delete clone.collab // instances mint their own credentials
delete (clone as { docId?: string }).docId
try {
- const ok = await writeUpdatedFileAs(serializeFile(clone), clone)
+ const ok = await writeUpdatedFileAs(serializeFile(clone), clone, { suffix: 'template' })
if (ok) this.toast(t('Template saved — every open of it starts a fresh deck'))
} catch (err) {
console.error(err)
@@ -957,7 +958,7 @@ export class Editor {
// (or click to drop a default); other shapes insert straight away.
if (item.draw) { this.canvas.armDraw(item.draw); return }
this.canvas.insert(defaultShape(item.kind))
- })
+ }, t(item.tip))
menu.appendChild(b)
}
wrap.append(trigger, menu)
diff --git a/slides/src/editor/panels.ts b/slides/src/editor/panels.ts
index 9b805d1e..49ddc283 100644
--- a/slides/src/editor/panels.ts
+++ b/slides/src/editor/panels.ts
@@ -1536,6 +1536,9 @@ export class PropsPanel {
row.className = 'ed-row'
const span = document.createElement('span')
span.textContent = label
+ // baseline discoverability: every control answers "what is this?" on hover;
+ // controls with a richer, specific tooltip keep their own
+ if (!input.title) input.title = label
row.append(span, input)
this.host.appendChild(row)
}
diff --git a/slides/src/i18n/de.ts b/slides/src/i18n/de.ts
index 0bd356ec..f497c4cc 100644
--- a/slides/src/i18n/de.ts
+++ b/slides/src/i18n/de.ts
@@ -468,4 +468,92 @@ export const de: Catalog = {
"Audio from a link…": "Audio aus einem Link…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "Video oder Audio hinzufügen — aus einer Datei (eingebettet) oder einem Link (bleibt eine URL)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "Füge die {kind}-URL ein — sie bleibt ein Link, die Datei wird nicht eingebettet:",
+ "A backup of this deck for yourself — same deck, same live session.": "Eine Sicherungskopie für dich — gleiches Deck, gleiche Live-Sitzung.",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "Ein Live-Viewer: folgt jeder Änderung, kann das Deck aber nie verändern — vom Relay erzwungen.",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "Ein Rechteck — runde Ecken, Füllungen, Verläufe und Schatten im Panel",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "Eine wiederverwendbare Vorlage: Jeder, der sie öffnet, erhält ein eigenes, unabhängiges Deck.",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "Eine versiegelte Ausgabedatei, die direkt in die Show startet — ohne Editor, ohne Live-Verbindung.",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "Ein separates Deck für dich — gleicher Inhalt, neue Identität; synchronisiert nie mit diesem.",
+ "A solid arrow shape": "Eine gefüllte Pfeilform",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "Ein Zustand liegt außerhalb des Pfeiltasten-Flusses — erreichbar per Klick auf ein verknüpftes Element. Geteilte IDs morphen zwischen Zuständen.",
+ "A triangle": "Ein Dreieck",
+ "Access reset — only copies saved from now on can join": "Zugriff zurückgesetzt — nur ab jetzt gespeicherte Kopien können beitreten",
+ "All slides (G)": "Alle Folien (G)",
+ "An ellipse or circle": "Eine Ellipse oder ein Kreis",
+ "Author": "Autor",
+ "Black screen (B)": "Schwarzer Bildschirm (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "Klicken, um Ecken zu setzen; Klick auf den ersten Punkt (oder Doppelklick) schließt die Form",
+ "Company": "Firma",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Mit der Live-Sitzung verbinden, ohne eine neue Kopie zu speichern — bereits gesendete Kopien treffen dich hier.",
+ "Connecting…": "Verbinden…",
+ "Connector": "Verbinder",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "Referentenansicht konnte nicht geöffnet werden — Pop-ups für diese Seite erlauben.",
+ "Couldn’t reach the live session": "Live-Sitzung nicht erreichbar",
+ "Curved line": "Kurvenlinie",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "Deck-Titel — erscheint im Tab, in {{title}}-Feldern und als vorgeschlagener Dateiname",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "Trennt dieses Deck von der Live-Sitzung. Kopien behalten ihren letzten Stand und können wieder beitreten.",
+ "Document JSON copied": "Dokument-JSON kopiert",
+ "Document properties": "Dokumenteigenschaften",
+ "Drag between two elements — the ends snap on and re-route when they move": "Zwischen zwei Elementen ziehen — die Enden rasten ein und folgen bei Bewegung",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "Auf der Folie ziehen, um eine Gerade zu zeichnen — Endpunkte zum Anpassen ziehen",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "Ziehen, um eine Kurve zu zeichnen — Punkte verschieben; Doppelklick fügt hinzu oder entfernt",
+ "Draw by hand — the stroke smooths into an editable curve": "Freihand zeichnen — der Strich glättet sich zu einer editierbaren Kurve",
+ "Editor": "Bearbeiter",
+ "Editor copy saved — recipients join live with edit access": "Bearbeiter",
+ "Event": "Veranstaltung",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "Füllt diesen Tab statt Vollbild — praktisch zum Testen oder Fensterteilen",
+ "First slide": "Erste Folie",
+ "Freeform": "Freihand",
+ "Go live": "Live gehen",
+ "Invite to edit…": "Zum Bearbeiten einladen…",
+ "Key-verified identity": "Schlüssel-verifizierte Identität",
+ "Keywords": "Schlagwörter",
+ "Last slide": "Letzte Folie",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Erzeugt brandneue Schlüssel. Jede bereits gesendete Kopie synchronisiert endgültig nicht mehr; teile danach frische Kopien.",
+ "More ways to present": "Weitere Präsentationsarten",
+ "Not live — turns on when you share": "Nicht live — startet beim Teilen",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "Beim Start der Präsentation erscheinen hier Notizen, Steuerung und Folien-Vorschauen. Ziehe dieses Fenster auf deinen zweiten Bildschirm.",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "Beim Start der Präsentation erscheinen hier Notizen, Steuerung und Folien-Vorschauen. Ziehe dieses Fenster auf deinen zweiten Bildschirm.",
+ "On macOS, open the speaker view before going fullscreen.": "Auf macOS die Referentenansicht vor dem Vollbild öffnen.",
+ "Only the deck owner can mint editor invites": "Nur der Deck-Eigentümer kann Bearbeiter-Einladungen ausstellen",
+ "Open speaker view": "Referentenansicht öffnen",
+ "Owner": "Eigentümer",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "Bearbeitetes Dokument-JSON einfügen, um den Inhalt zu ersetzen — ⌘Z macht es rückgängig.",
+ "People": "Personen",
+ "Polygon": "Polygon",
+ "Present in this tab": "In diesem Tab präsentieren",
+ "Present-only file…": "Nur-Präsentationsdatei…",
+ "Presentation ended. Start it again to bring these notes back to life.": "Die Präsentation ist beendet. Starte sie erneut, um die Notizen wiederzubeleben.",
+ "Previous": "Zurück",
+ "Remove {name} from this deck? Their copy drops to read-only.": "{name} aus diesem Deck entfernen? Die Kopie wird schreibgeschützt.",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "{name} entfernen — widerruft den Zugriff dieses Geräts; alle anderen bleiben unberührt",
+ "Replace from JSON": "Aus JSON ersetzen",
+ "Replace from JSON…": "Aus JSON ersetzen…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Zugriff zurücksetzen? Alle gesendeten Kopien synchronisieren nicht mehr; nur danach gespeicherte können beitreten.",
+ "Reset access…": "Zugriff zurücksetzen…",
+ "Save a copy…": "Kopie speichern…",
+ "Save as… — copy, new deck, password": "Speichern unter… — Kopie, neues Deck, Passwort",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "Speichert eine Kopie zum Versenden. Wer sie öffnet, bearbeitet live mit dir (Ende-zu-Ende-verschlüsselt); du bleibst Eigentümer und kannst sie aus der Personenliste entfernen.",
+ "Share a copy": "Kopie teilen",
+ "Share — invite people to edit, send view-only copies, see who’s here": "Teilen — zum Bearbeiten einladen, Nur-Lesen-Kopien senden, sehen wer da ist",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "Erscheint in der Referentenansicht (Diashow-Menü oder S während der Präsentation).",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Erscheint neben deinem Cursor und in der Personenliste — nur in diesem Browser gespeichert.",
+ "Slideshow": "Diashow",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "Startet die Diashow im Vollbild — F wechselt Vollbild, S öffnet die Referentenansicht, Esc beendet",
+ "Subject": "Thema",
+ "Template…": "Vorlage…",
+ "This deck has no live session to follow": "Dieses Deck hat keine Live-Sitzung zum Folgen",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "Dies ist eine Nur-Lesen-Kopie — sie folgt der Live-Sitzung, kann das Deck aber nicht ändern.",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Dieses {kind} ist {mb} MB groß. Einbetten hält es in der .bento.html, macht die Datei aber groß und langsam beim Öffnen und Speichern.\n\nTrotzdem einbetten? (Abbrechen und eine gehostete URL im Panel einfügen hält die Datei klein.)",
+ "Title": "Titel",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "Tippe <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> oder <b>{{event}}</b> in ein Textfeld — der Wert füllt sich von hier aus, überall zugleich. Praktisch für Titelfolien und Fußzeilen.",
+ "Unsaved changes — ⌘S saves this file in place": "Ungespeicherte Änderungen — ⌘S speichert diese Datei direkt",
+ "View-only copy — it holds no signing key.": "Nur-Lesen-Kopie — enthält keinen Signaturschlüssel.",
+ "View-only copy…": "Nur-Lesen-Kopie…",
+ "Viewer": "Betrachter",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "Beim Bearbeiten: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · Markdown wandelt sich automatisch — **fett** *kursiv* `Code` ~~durchgestrichen~~ und „- “-Aufzählungen; eingefügtes Markdown ebenso. Mit \\ escapen oder direkt danach ⌘Z für die Literalzeichen.",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "Dein Schlüssel auf DIESEM Gerät: {fp}. Ein anderes Gerät zählt als neue Person, bis der Eigentümer es entfernt.",
+ "you": "du",
+ "{name} was removed": "{name} wurde entfernt",
+
}
diff --git a/slides/src/i18n/es.ts b/slides/src/i18n/es.ts
index 8d12b3c3..af6da0a5 100644
--- a/slides/src/i18n/es.ts
+++ b/slides/src/i18n/es.ts
@@ -468,4 +468,92 @@ export const es: Catalog = {
"Audio from a link…": "Audio desde un enlace…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "Añadir vídeo o audio — desde un archivo (se incrusta) o un enlace (se queda como URL)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "Pega la URL del {kind} — se queda como enlace, el archivo no se incrusta:",
+ "A backup of this deck for yourself — same deck, same live session.": "Una copia de seguridad para ti — mismo documento, misma sesión en vivo.",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "Un visor en vivo: sigue cada edición al instante pero nunca puede modificar el documento — el relé lo garantiza.",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "Un rectángulo — esquinas redondeadas, rellenos, degradados y sombras en el panel",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "Una plantilla reutilizable: cada persona que la abra obtiene su propio documento independiente.",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "Un archivo sellado que se abre directamente en la presentación — sin editor ni conexión en vivo.",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "Un documento aparte para ti — mismo contenido, identidad nueva; nunca se sincroniza con este.",
+ "A solid arrow shape": "Una flecha sólida",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "Un estado queda fuera del flujo de flechas — se llega haciendo clic en un elemento enlazado. Los ids compartidos se transforman entre estados.",
+ "A triangle": "Un triángulo",
+ "Access reset — only copies saved from now on can join": "Acceso restablecido — solo las copias guardadas a partir de ahora podrán unirse",
+ "All slides (G)": "Todas las diapositivas (G)",
+ "An ellipse or circle": "Una elipse o un círculo",
+ "Author": "Autor",
+ "Black screen (B)": "Pantalla en negro (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "Haz clic para colocar vértices; clic en el primero (o doble clic) para cerrar la forma",
+ "Company": "Empresa",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Conéctate a la sesión en vivo sin guardar una copia nueva — las copias ya enviadas se unirán aquí.",
+ "Connecting…": "Conectando…",
+ "Connector": "Conector",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "No se pudo abrir la vista del presentador — permite las ventanas emergentes para este sitio.",
+ "Couldn’t reach the live session": "No se pudo contactar la sesión en vivo",
+ "Curved line": "Línea curva",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "Título del documento — aparece en la pestaña, en los campos {{title}} y como nombre de archivo sugerido",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "Desconecta este documento de la sesión en vivo. Las copias conservan su último estado y pueden volver si reactivas la sesión.",
+ "Document JSON copied": "JSON del documento copiado",
+ "Document properties": "Propiedades del documento",
+ "Drag between two elements — the ends snap on and re-route when they move": "Arrastra entre dos elementos — los extremos se acoplan y se redirigen cuando se mueven",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "Arrastra en la diapositiva para dibujar una recta — ajusta arrastrando sus extremos",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "Arrastra para dibujar una curva — mueve sus puntos; doble clic para añadir o quitar uno",
+ "Draw by hand — the stroke smooths into an editable curve": "Dibuja a mano — el trazo se suaviza en una curva editable",
+ "Editor": "Editor",
+ "Editor copy saved — recipients join live with edit access": "Editor",
+ "Event": "Evento",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "Llena esta pestaña en vez de pantalla completa — útil para pruebas o compartir la ventana",
+ "First slide": "Primera diapositiva",
+ "Freeform": "Mano alzada",
+ "Go live": "Ir en vivo",
+ "Invite to edit…": "Invitar a editar…",
+ "Key-verified identity": "Identidad verificada por clave",
+ "Keywords": "Palabras clave",
+ "Last slide": "Última diapositiva",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Genera claves totalmente nuevas. Todas las copias enviadas dejan de sincronizarse para siempre; comparte copias nuevas después.",
+ "More ways to present": "Más formas de presentar",
+ "Not live — turns on when you share": "Sin conexión — se activa al compartir",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "Al iniciar la presentación aparecerán aquí las notas, los controles y las miniaturas. Arrastra esta ventana a tu segunda pantalla.",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "Al iniciar la presentación aparecerán aquí las notas, los controles y las miniaturas. Arrastra esta ventana a tu segunda pantalla.",
+ "On macOS, open the speaker view before going fullscreen.": "En macOS, abre la vista del presentador antes de la pantalla completa.",
+ "Only the deck owner can mint editor invites": "Solo el propietario del documento puede emitir invitaciones de edición",
+ "Open speaker view": "Abrir vista del presentador",
+ "Owner": "Propietario",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "Pega el JSON editado para reemplazar el contenido — ⌘Z lo deshace.",
+ "People": "Personas",
+ "Polygon": "Polígono",
+ "Present in this tab": "Presentar en esta pestaña",
+ "Present-only file…": "Archivo solo-presentación…",
+ "Presentation ended. Start it again to bring these notes back to life.": "La presentación terminó. Iníciala de nuevo para revivir estas notas.",
+ "Previous": "Anterior",
+ "Remove {name} from this deck? Their copy drops to read-only.": "¿Quitar a {name} de este documento? Su copia pasará a solo lectura.",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "Quitar a {name} — revoca el acceso de este dispositivo; nadie más se ve afectado",
+ "Replace from JSON": "Reemplazar desde JSON",
+ "Replace from JSON…": "Reemplazar desde JSON…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "¿Restablecer el acceso? Todas las copias enviadas dejarán de sincronizarse; solo podrán unirse las guardadas después.",
+ "Reset access…": "Restablecer acceso…",
+ "Save a copy…": "Guardar una copia…",
+ "Save as… — copy, new deck, password": "Guardar como… — copia, nuevo documento, contraseña",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "Guarda una copia para enviar. Quien la abra editará en vivo contigo (cifrado de extremo a extremo); tú sigues siendo el propietario y puedes quitarlos de la lista de Personas.",
+ "Share a copy": "Compartir una copia",
+ "Share — invite people to edit, send view-only copies, see who’s here": "Compartir — invita a editar, envía copias de solo lectura, mira quién está aquí",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "Se muestra en la vista del presentador (menú Presentación, o S durante la presentación).",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Aparece junto a tu cursor y en la lista de Personas — se guarda solo en este navegador.",
+ "Slideshow": "Presentación",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "Inicia la presentación a pantalla completa — F alterna pantalla completa, S abre la vista del presentador, Esc termina",
+ "Subject": "Asunto",
+ "Template…": "Plantilla…",
+ "This deck has no live session to follow": "Este documento no tiene sesión en vivo que seguir",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "Esta es una copia de solo lectura — sigue la sesión en vivo pero no puede modificar el documento.",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Este {kind} pesa {mb} MB. Incrustarlo lo mantiene dentro del .bento.html pero hace el archivo grande y lento de abrir y guardar.\n\n¿Incrustar igualmente? (Cancela y pega una URL alojada en el panel para mantener el archivo pequeño.)",
+ "Title": "Título",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "Escribe <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> o <b>{{event}}</b> en cualquier cuadro de texto y se rellenará desde aquí — en todas partes a la vez. Ideal para portadas y pies.",
+ "Unsaved changes — ⌘S saves this file in place": "Cambios sin guardar — ⌘S guarda este archivo en su sitio",
+ "View-only copy — it holds no signing key.": "Copia de solo lectura — no contiene clave de firma.",
+ "View-only copy…": "Copia de solo lectura…",
+ "Viewer": "Espectador",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "Al editar: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · el markdown se convierte solo — **negrita** *cursiva* `código` ~~tachado~~ y viñetas con «- »; el markdown pegado también. Escapa con \\ o pulsa ⌘Z justo después para conservar los caracteres.",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "Tu clave en ESTE dispositivo: {fp}. Otro dispositivo cuenta como una persona nueva hasta que el propietario lo quite.",
+ "you": "tú",
+ "{name} was removed": "{name} fue eliminado",
+
}
diff --git a/slides/src/i18n/fr.ts b/slides/src/i18n/fr.ts
index 37a325c2..985d58ab 100644
--- a/slides/src/i18n/fr.ts
+++ b/slides/src/i18n/fr.ts
@@ -468,4 +468,92 @@ export const fr: Catalog = {
"Audio from a link…": "Audio depuis un lien…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "Ajouter une vidéo ou un audio — depuis un fichier (intégré) ou un lien (reste une URL)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "Collez l’URL du {kind} — elle reste un lien, le fichier n’est pas intégré :",
+ "A backup of this deck for yourself — same deck, same live session.": "Une sauvegarde pour vous — même deck, même session live.",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "Un visualiseur en direct : suit chaque modification mais ne peut jamais changer le deck — le relais l’applique.",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "Un rectangle — coins arrondis, remplissages, dégradés et ombres dans le panneau",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "Un modèle réutilisable : chaque personne qui l’ouvre obtient son propre deck indépendant.",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "Un fichier scellé qui s’ouvre directement sur le diaporama — sans éditeur ni connexion live.",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "Un deck séparé pour vous — même contenu, nouvelle identité ; jamais synchronisé avec celui-ci.",
+ "A solid arrow shape": "Une flèche pleine",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "Un état est masqué du flux des flèches — on y accède en cliquant un élément lié. Les ids partagés se morphent entre états.",
+ "A triangle": "Un triangle",
+ "Access reset — only copies saved from now on can join": "Accès réinitialisé — seules les copies enregistrées désormais pourront rejoindre",
+ "All slides (G)": "Toutes les diapositives (G)",
+ "An ellipse or circle": "Une ellipse ou un cercle",
+ "Author": "Auteur",
+ "Black screen (B)": "Écran noir (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "Cliquez pour poser les sommets ; cliquez le premier (ou double-clic) pour fermer la forme",
+ "Company": "Société",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Connectez-vous à la session live sans enregistrer de copie — les copies déjà envoyées vous y rejoindront.",
+ "Connecting…": "Connexion…",
+ "Connector": "Connecteur",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "Impossible d’ouvrir la vue présentateur — autorisez les pop-ups pour ce site.",
+ "Couldn’t reach the live session": "Impossible de joindre la session live",
+ "Curved line": "Ligne courbe",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "Titre du deck — affiché dans l’onglet, les champs {{title}} et le nom de fichier suggéré",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "Déconnecte ce deck de la session live. Les copies gardent leur dernier état et peuvent revenir si vous repassez en direct.",
+ "Document JSON copied": "JSON du document copié",
+ "Document properties": "Propriétés du document",
+ "Drag between two elements — the ends snap on and re-route when they move": "Glissez entre deux éléments — les extrémités s’accrochent et se réacheminent quand ils bougent",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "Glissez sur la diapositive pour tracer une droite — ajustez en glissant ses extrémités",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "Glissez pour tracer une courbe — déplacez ses points ; double-clic pour en ajouter ou retirer",
+ "Draw by hand — the stroke smooths into an editable curve": "Dessinez à main levée — le trait se lisse en courbe éditable",
+ "Editor": "Éditeur",
+ "Editor copy saved — recipients join live with edit access": "Éditeur",
+ "Event": "Événement",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "Remplit cet onglet au lieu du plein écran — pratique pour tester ou partager une fenêtre",
+ "First slide": "Première diapositive",
+ "Freeform": "Main levée",
+ "Go live": "Passer en direct",
+ "Invite to edit…": "Inviter à éditer…",
+ "Key-verified identity": "Identité vérifiée par clé",
+ "Keywords": "Mots-clés",
+ "Last slide": "Dernière diapositive",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Génère des clés toutes neuves. Chaque copie déjà envoyée cesse définitivement de se synchroniser ; partagez ensuite de nouvelles copies.",
+ "More ways to present": "Autres façons de présenter",
+ "Not live — turns on when you share": "Hors ligne — s’active quand vous partagez",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "Au lancement du diaporama, les notes, commandes et vignettes apparaîtront ici. Glissez cette fenêtre sur votre second écran.",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "Au lancement du diaporama, les notes, commandes et vignettes apparaîtront ici. Glissez cette fenêtre sur votre second écran.",
+ "On macOS, open the speaker view before going fullscreen.": "Sur macOS, ouvrez la vue présentateur avant le plein écran.",
+ "Only the deck owner can mint editor invites": "Seul le propriétaire du deck peut émettre des invitations d’édition",
+ "Open speaker view": "Ouvrir la vue présentateur",
+ "Owner": "Propriétaire",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "Collez le JSON modifié pour remplacer le contenu — ⌘Z annule.",
+ "People": "Personnes",
+ "Polygon": "Polygone",
+ "Present in this tab": "Présenter dans cet onglet",
+ "Present-only file…": "Fichier présentation seule…",
+ "Presentation ended. Start it again to bring these notes back to life.": "La présentation est terminée. Relancez-la pour raviver ces notes.",
+ "Previous": "Précédent",
+ "Remove {name} from this deck? Their copy drops to read-only.": "Retirer {name} de ce deck ? Sa copie passera en lecture seule.",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "Retirer {name} — révoque l’accès de cet appareil ; personne d’autre n’est affecté",
+ "Replace from JSON": "Remplacer depuis JSON",
+ "Replace from JSON…": "Remplacer depuis JSON…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Réinitialiser l’accès ? Toutes les copies envoyées cesseront de se synchroniser ; seules celles enregistrées ensuite pourront rejoindre.",
+ "Reset access…": "Réinitialiser l’accès…",
+ "Save a copy…": "Enregistrer une copie…",
+ "Save as… — copy, new deck, password": "Enregistrer sous… — copie, nouveau deck, mot de passe",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "Enregistre une copie à envoyer. Qui l’ouvre édite en direct avec vous (chiffré de bout en bout) ; vous restez propriétaire et pouvez les retirer de la liste Personnes.",
+ "Share a copy": "Partager une copie",
+ "Share — invite people to edit, send view-only copies, see who’s here": "Partager — inviter à éditer, envoyer des copies en lecture seule, voir qui est là",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "Affiché dans la vue présentateur (menu Diaporama, ou S pendant la présentation).",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Affiché près de votre curseur et dans la liste Personnes — stocké uniquement dans ce navigateur.",
+ "Slideshow": "Diaporama",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "Lance le diaporama en plein écran — F bascule le plein écran, S ouvre la vue présentateur, Échap termine",
+ "Subject": "Sujet",
+ "Template…": "Modèle…",
+ "This deck has no live session to follow": "Ce deck n’a pas de session live à suivre",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "Ceci est une copie en lecture seule — elle suit la session live mais ne peut pas modifier le deck.",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Ce {kind} fait {mb} Mo. L’incorporer le garde dans le .bento.html mais alourdit le fichier et ralentit l’ouverture et l’enregistrement.\n\nIncorporer quand même ? (Annulez puis collez une URL hébergée dans le panneau pour garder le fichier léger.)",
+ "Title": "Titre",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "Tapez <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> ou <b>{{event}}</b> dans un bloc de texte : la valeur se remplit d’ici — partout à la fois. Idéal pour pages de titre et pieds de page.",
+ "Unsaved changes — ⌘S saves this file in place": "Modifications non enregistrées — ⌘S enregistre ce fichier sur place",
+ "View-only copy — it holds no signing key.": "Copie en lecture seule — elle ne détient aucune clé de signature.",
+ "View-only copy…": "Copie en lecture seule…",
+ "Viewer": "Spectateur",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "En édition : <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · le markdown se convertit seul — **gras** *italique* `code` ~~barré~~ et puces « - » ; le markdown collé aussi. Échappez avec \\ ou ⌘Z juste après pour garder les caractères.",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "Votre clé sur CET appareil : {fp}. Un autre appareil compte comme une nouvelle personne jusqu’à son retrait par le propriétaire.",
+ "you": "vous",
+ "{name} was removed": "{name} a été retiré",
+
}
diff --git a/slides/src/i18n/it.ts b/slides/src/i18n/it.ts
index bfb51c2d..4939e0df 100644
--- a/slides/src/i18n/it.ts
+++ b/slides/src/i18n/it.ts
@@ -468,4 +468,92 @@ export const it: Catalog = {
"Audio from a link…": "Audio da un link…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "Aggiungi video o audio — da un file (incorporato) o un link (resta un URL)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "Incolla l’URL del {kind} — resta un link, il file non viene incorporato:",
+ "A backup of this deck for yourself — same deck, same live session.": "Una copia di riserva per te — stesso deck, stessa sessione live.",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "Un visualizzatore live: segue ogni modifica ma non può mai cambiare il deck — imposto dal relay.",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "Un rettangolo — angoli arrotondati, riempimenti, gradienti e ombre nel pannello",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "Un modello riutilizzabile: chi lo apre ottiene un proprio deck indipendente.",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "Un file sigillato che si apre direttamente nella presentazione — senza editor né connessione live.",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "Un deck separato per te — stesso contenuto, nuova identità; non si sincronizza mai con questo.",
+ "A solid arrow shape": "Una freccia piena",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "Uno stato è nascosto dal flusso delle frecce — si raggiunge cliccando un elemento collegato. Gli id condivisi si morfano tra stati.",
+ "A triangle": "Un triangolo",
+ "Access reset — only copies saved from now on can join": "Accesso reimpostato — solo le copie salvate d’ora in poi potranno unirsi",
+ "All slides (G)": "Tutte le diapositive (G)",
+ "An ellipse or circle": "Un’ellisse o un cerchio",
+ "Author": "Autore",
+ "Black screen (B)": "Schermo nero (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "Clic per posare i vertici; clic sul primo (o doppio clic) per chiudere la forma",
+ "Company": "Azienda",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Connettiti alla sessione live senza salvare una nuova copia — le copie già inviate ti raggiungeranno qui.",
+ "Connecting…": "Connessione…",
+ "Connector": "Connettore",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "Impossibile aprire la vista relatore — consenti i pop-up per questo sito.",
+ "Couldn’t reach the live session": "Impossibile raggiungere la sessione live",
+ "Curved line": "Linea curva",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "Titolo del deck — mostrato nella scheda, nei campi {{title}} e come nome file suggerito",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "Disconnette questo deck dalla sessione live. Le copie mantengono l’ultimo stato e possono riunirsi se torni live.",
+ "Document JSON copied": "JSON del documento copiato",
+ "Document properties": "Proprietà del documento",
+ "Drag between two elements — the ends snap on and re-route when they move": "Trascina tra due elementi — le estremità si agganciano e si reindirizzano quando si muovono",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "Trascina sulla diapositiva per una retta — regola trascinando gli estremi",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "Trascina per una curva — sposta i punti; doppio clic per aggiungerne o toglierne",
+ "Draw by hand — the stroke smooths into an editable curve": "Disegna a mano — il tratto si leviga in una curva modificabile",
+ "Editor": "Editor",
+ "Editor copy saved — recipients join live with edit access": "Editor",
+ "Event": "Evento",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "Riempie questa scheda invece dello schermo intero — utile per test o condivisione finestra",
+ "First slide": "Prima diapositiva",
+ "Freeform": "Mano libera",
+ "Go live": "Vai live",
+ "Invite to edit…": "Invita a modificare…",
+ "Key-verified identity": "Identità verificata da chiave",
+ "Keywords": "Parole chiave",
+ "Last slide": "Ultima diapositiva",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Genera chiavi nuove di zecca. Ogni copia già inviata smette per sempre di sincronizzarsi; condividi poi copie nuove.",
+ "More ways to present": "Altri modi di presentare",
+ "Not live — turns on when you share": "Non live — si attiva quando condividi",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "All’avvio della presentazione qui appariranno note, controlli e miniature. Trascina questa finestra sul secondo schermo.",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "All’avvio della presentazione qui appariranno note, controlli e miniature. Trascina questa finestra sul secondo schermo.",
+ "On macOS, open the speaker view before going fullscreen.": "Su macOS, apri la vista relatore prima dello schermo intero.",
+ "Only the deck owner can mint editor invites": "Solo il proprietario del deck può emettere inviti di modifica",
+ "Open speaker view": "Apri vista relatore",
+ "Owner": "Proprietario",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "Incolla il JSON modificato per sostituire il contenuto — ⌘Z annulla.",
+ "People": "Persone",
+ "Polygon": "Poligono",
+ "Present in this tab": "Presenta in questa scheda",
+ "Present-only file…": "File solo presentazione…",
+ "Presentation ended. Start it again to bring these notes back to life.": "La presentazione è terminata. Riavviala per riportare in vita queste note.",
+ "Previous": "Precedente",
+ "Remove {name} from this deck? Their copy drops to read-only.": "Rimuovere {name} da questo deck? La sua copia diventerà di sola lettura.",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "Rimuovi {name} — revoca l’accesso di questo dispositivo; nessun altro è toccato",
+ "Replace from JSON": "Sostituisci da JSON",
+ "Replace from JSON…": "Sostituisci da JSON…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Reimpostare l’accesso? Tutte le copie inviate smetteranno di sincronizzarsi; solo quelle salvate dopo potranno unirsi.",
+ "Reset access…": "Reimposta accesso…",
+ "Save a copy…": "Salva una copia…",
+ "Save as… — copy, new deck, password": "Salva come… — copia, nuovo deck, password",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "Salva una copia da inviare. Chi la apre modifica live con te (crittografia end-to-end); resti il proprietario e puoi rimuoverli dall’elenco Persone.",
+ "Share a copy": "Condividi una copia",
+ "Share — invite people to edit, send view-only copies, see who’s here": "Condividi — invita a modificare, invia copie sola-lettura, vedi chi c’è",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "Mostrato nella vista relatore (menu Presentazione, o S durante la presentazione).",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Appare accanto al tuo cursore e nell’elenco Persone — salvato solo in questo browser.",
+ "Slideshow": "Presentazione",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "Avvia la presentazione a schermo intero — F alterna lo schermo intero, S apre la vista relatore, Esc termina",
+ "Subject": "Oggetto",
+ "Template…": "Modello…",
+ "This deck has no live session to follow": "Questo deck non ha una sessione live da seguire",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "Questa è una copia di sola lettura — segue la sessione live ma non può modificare il deck.",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Questo {kind} pesa {mb} MB. Incorporarlo lo tiene dentro il .bento.html ma rende il file grande e lento da aprire e salvare.\n\nIncorporare comunque? (Annulla e incolla un URL ospitato nel pannello per mantenere il file piccolo.)",
+ "Title": "Titolo",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "Digita <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> o <b>{{event}}</b> in una casella di testo e si riempirà da qui — ovunque in una volta. Utile per copertine e piè di pagina.",
+ "Unsaved changes — ⌘S saves this file in place": "Modifiche non salvate — ⌘S salva questo file al suo posto",
+ "View-only copy — it holds no signing key.": "Copia di sola lettura — non contiene chiavi di firma.",
+ "View-only copy…": "Copia di sola lettura…",
+ "Viewer": "Osservatore",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "In modifica: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · il markdown si converte da sé — **grassetto** *corsivo* `codice` ~~barrato~~ e elenchi con «- »; anche il markdown incollato. Esci con \\ o premi ⌘Z subito dopo per i caratteri letterali.",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "La tua chiave su QUESTO dispositivo: {fp}. Un altro dispositivo conta come nuova persona finché il proprietario non lo rimuove.",
+ "you": "tu",
+ "{name} was removed": "{name} è stato rimosso",
+
}
diff --git a/slides/src/i18n/ja.ts b/slides/src/i18n/ja.ts
index ab14aeea..7d5d3728 100644
--- a/slides/src/i18n/ja.ts
+++ b/slides/src/i18n/ja.ts
@@ -468,4 +468,92 @@ export const ja: Catalog = {
"Audio from a link…": "リンクから音声…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "動画または音声を追加 — ファイルから(埋め込み)またはリンクから(URL のまま)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "{kind} の URL を貼り付け — リンクのままで、ファイルは埋め込まれません:",
+ "A backup of this deck for yourself — same deck, same live session.": "自分用のバックアップ — 同じデッキ・同じライブセッションです。",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "ライブビューア:編集をリアルタイムで追いますが、デッキを変更することはできません — リレーが強制します。",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "長方形 — 角丸・塗り・グラデーション・影はパネルで設定",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "再利用できるひな形:開いた人それぞれが独立した新しいデッキを手に入れます。",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "封印された配布用ファイル:開くとそのままショーが始まります — エディタなし、ライブ接続なし。",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "あなた用の別デッキ — 内容は同じで新しいアイデンティティ。元のデッキとは同期しません。",
+ "A solid arrow shape": "塗りつぶしの矢印",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "ステートは矢印キーの流れに現れません — リンクされた要素のクリックで到達します。共有 id の要素はステート間でモーフします。",
+ "A triangle": "三角形",
+ "Access reset — only copies saved from now on can join": "アクセスをリセットしました — 今後保存したコピーだけが参加できます",
+ "All slides (G)": "すべてのスライド (G)",
+ "An ellipse or circle": "楕円または円",
+ "Author": "作成者",
+ "Black screen (B)": "ブラックスクリーン (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "クリックで頂点を配置 — 最初の点をクリック(またはダブルクリック)で図形を閉じます",
+ "Company": "会社",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "新しいコピーを保存せずにライブセッションへ接続します — 以前送ったコピーがここで合流します。",
+ "Connecting…": "接続中…",
+ "Connector": "コネクタ",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "スピーカービューを開けませんでした — このサイトのポップアップを許可してください。",
+ "Couldn’t reach the live session": "ライブセッションに接続できませんでした",
+ "Curved line": "曲線",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "デッキのタイトル — タブや {{title}} フィールド、保存時のファイル名候補に表示されます",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "このデッキをライブセッションから切断します。コピーは最後の状態を保持し、再度ライブにすれば再参加できます。",
+ "Document JSON copied": "ドキュメント JSON をコピーしました",
+ "Document properties": "ドキュメントのプロパティ",
+ "Drag between two elements — the ends snap on and re-route when they move": "2つの要素の間をドラッグ — 両端が吸着し、要素が動くと自動で追従します",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "スライド上をドラッグして直線を描画 — 端点をドラッグして調整",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "ドラッグして曲線を描画 — 点をドラッグして調整、ダブルクリックで点を追加/削除",
+ "Draw by hand — the stroke smooths into an editable curve": "手描きで描画 — ストロークは編集可能な滑らかな曲線になります",
+ "Editor": "編集者",
+ "Editor copy saved — recipients join live with edit access": "編集者",
+ "Event": "イベント",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "フルスクリーンではなくこのタブいっぱいに表示します — テストやウィンドウ共有に便利です",
+ "First slide": "最初のスライド",
+ "Freeform": "フリーハンド",
+ "Go live": "ライブ開始",
+ "Invite to edit…": "編集に招待…",
+ "Key-verified identity": "鍵で検証済みのアイデンティティ",
+ "Keywords": "キーワード",
+ "Last slide": "最後のスライド",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "まったく新しい鍵を発行します。これまでに送ったコピーは永久に同期しなくなります。以後は新しいコピーを共有してください。",
+ "More ways to present": "その他のプレゼン方法",
+ "Not live — turns on when you share": "未接続 — 共有すると自動的にライブになります",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "プレゼンを開始すると、ここにノート・操作・スライドのサムネイルが表示されます。このウィンドウを2台目のディスプレイへ移動してください。",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "プレゼンを開始すると、ここにノート・操作・スライドのサムネイルが表示されます。このウィンドウを2台目のディスプレイへ移動してください。",
+ "On macOS, open the speaker view before going fullscreen.": "macOS ではフルスクリーンにする前にスピーカービューを開いてください。",
+ "Only the deck owner can mint editor invites": "編集招待を発行できるのはデッキのオーナーだけです",
+ "Open speaker view": "スピーカービューを開く",
+ "Owner": "オーナー",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "編集済みのドキュメント JSON を貼り付けて内容を置き換えます — ⌘Z で元に戻せます。",
+ "People": "メンバー",
+ "Polygon": "多角形",
+ "Present in this tab": "このタブでプレゼン",
+ "Present-only file…": "プレゼン専用ファイル…",
+ "Presentation ended. Start it again to bring these notes back to life.": "プレゼンテーションは終了しました。再開するとノートが再び表示されます。",
+ "Previous": "前へ",
+ "Remove {name} from this deck? Their copy drops to read-only.": "{name} をこのデッキから削除しますか?相手のコピーは読み取り専用になります。",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "{name} を削除 — このデバイスのアクセスを取り消します。他の人には影響しません",
+ "Replace from JSON": "JSON から置き換え",
+ "Replace from JSON…": "JSON から置き換え…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "アクセスをリセットしますか?送信済みのすべてのコピーが同期を停止し、以後保存したコピーだけが参加できます。",
+ "Reset access…": "アクセスをリセット…",
+ "Save a copy…": "コピーを保存…",
+ "Save as… — copy, new deck, password": "別名で保存… — コピー・新しいデッキ・パスワード",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "送るためのコピーを保存します。開いた人はあなたと一緒にライブ編集できます(エンドツーエンド暗号化)。あなたはオーナーのままで、メンバーリストからいつでも削除できます。",
+ "Share a copy": "コピーを共有",
+ "Share — invite people to edit, send view-only copies, see who’s here": "共有 — 編集に招待、閲覧専用コピーの送付、参加者の確認",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "スピーカービューに表示されます(スライドショーメニュー、またはプレゼン中に S)。",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "カーソルの横とメンバーリストに表示されます — このブラウザにのみ保存されます。",
+ "Slideshow": "スライドショー",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "スライドショーをフルスクリーンで開始 — F でフルスクリーン切替、S でスピーカービュー、Esc で終了",
+ "Subject": "件名",
+ "Template…": "テンプレート…",
+ "This deck has no live session to follow": "このデッキには追従できるライブセッションがありません",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "これは閲覧専用コピーです — ライブセッションに追従しますが、デッキは変更できません。",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "この{kind}は {mb} MB あります。埋め込むと .bento.html 内に収まりますが、ファイルが大きくなり開閉が遅くなります。\n\nそれでも埋め込みますか?(キャンセルして、パネルにホスト済み URL を貼ればファイルは小さいままです。)",
+ "Title": "タイトル",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "テキストボックスに <b>{{author}}</b>・<b>{{company}}</b>・<b>{{subject}}</b>・<b>{{event}}</b> と入力すると、ここの値が全スライドに一括反映されます。タイトルスライドやフッターに便利です。",
+ "Unsaved changes — ⌘S saves this file in place": "未保存の変更があります — ⌘S でこのファイルに上書き保存します",
+ "View-only copy — it holds no signing key.": "閲覧専用コピー — 署名鍵を保持していません。",
+ "View-only copy…": "閲覧専用コピー…",
+ "Viewer": "閲覧者",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "編集中:<b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · マークダウンは自動変換 — **太字** *斜体* `コード` ~~取り消し~~ と「- 」の箇条書き。貼り付けたマークダウンも変換されます。\\ でエスケープ、変換直後の ⌘Z で文字をそのまま残せます。",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "このデバイスでのあなたの鍵:{fp}。別のデバイスはオーナーが削除するまで別人として扱われます。",
+ "you": "あなた",
+ "{name} was removed": "{name} を削除しました",
+
}
diff --git a/slides/src/i18n/zh-Hans.ts b/slides/src/i18n/zh-Hans.ts
index 2191155c..558adde5 100644
--- a/slides/src/i18n/zh-Hans.ts
+++ b/slides/src/i18n/zh-Hans.ts
@@ -468,4 +468,92 @@ export const zhHans: Catalog = {
"Audio from a link…": "从链接添加音频…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "添加视频或音频 — 从文件(嵌入)或链接(保留为 URL)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "粘贴 {kind} URL — 它保留为链接,文件不会被嵌入:",
+ "A backup of this deck for yourself — same deck, same live session.": "自己留存的备份 — 同一个文稿、同一个实时会话。",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "实时查看副本:实时跟随每次编辑,但永远无法修改文稿 — 由中继强制执行。",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "矩形 — 圆角、填充、渐变和阴影在面板中设置",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "可复用的模板:每个打开的人都会获得自己独立的新文稿。",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "密封的分发文件:打开即直接播放 — 无编辑器、无实时连接。",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "属于你的独立文稿 — 内容相同但身份全新,永不与原稿同步。",
+ "A solid arrow shape": "实心箭头形状",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "状态不出现在方向键流程中 — 观众通过点击链接元素到达。共享 id 的元素会在状态间变形过渡。",
+ "A triangle": "三角形",
+ "Access reset — only copies saved from now on can join": "访问已重置 — 只有此后保存的副本才能加入",
+ "All slides (G)": "所有幻灯片 (G)",
+ "An ellipse or circle": "椭圆或圆形",
+ "Author": "作者",
+ "Black screen (B)": "黑屏 (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "点击放置顶点;点击第一个点(或双击)闭合图形",
+ "Company": "公司",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "无需保存新副本即可连接实时会话 — 之前发送的副本会在这里与你会合。",
+ "Connecting…": "连接中…",
+ "Connector": "连接线",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "无法打开演讲者视图 — 请允许此站点的弹出窗口。",
+ "Couldn’t reach the live session": "无法连接实时会话",
+ "Curved line": "曲线",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "文稿标题 — 显示在标签页、{{title}} 字段和建议的文件名中",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "断开此文稿与实时会话的连接。副本保留最后状态,重新上线后可再次加入。",
+ "Document JSON copied": "已复制文档 JSON",
+ "Document properties": "文档属性",
+ "Drag between two elements — the ends snap on and re-route when they move": "在两个元素之间拖动 — 两端会吸附,元素移动时自动改道",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "在幻灯片上拖动以绘制直线 — 拖动端点即可调整",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "拖动绘制曲线 — 拖动控制点调整;双击添加或删除点",
+ "Draw by hand — the stroke smooths into an editable curve": "手绘 — 笔迹会平滑为可编辑的曲线",
+ "Editor": "编辑者",
+ "Editor copy saved — recipients join live with edit access": "编辑者",
+ "Event": "活动",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "以填满标签页代替全屏 — 便于测试或共享窗口",
+ "First slide": "第一张幻灯片",
+ "Freeform": "自由绘制",
+ "Go live": "开始直播",
+ "Invite to edit…": "邀请编辑…",
+ "Key-verified identity": "密钥验证的身份",
+ "Keywords": "关键词",
+ "Last slide": "最后一张幻灯片",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "铸造全新密钥。之前发送的所有副本将永久停止同步;此后请分享新副本。",
+ "More ways to present": "更多演示方式",
+ "Not live — turns on when you share": "未上线 — 分享时自动开启",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "开始演示后,这里会显示备注、控制和幻灯片缩略图。请将此窗口拖到第二台显示器。",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "开始演示后,这里会显示备注、控制和幻灯片缩略图。请将此窗口拖到第二台显示器。",
+ "On macOS, open the speaker view before going fullscreen.": "macOS 上请在进入全屏前打开演讲者视图。",
+ "Only the deck owner can mint editor invites": "只有文稿所有者才能签发编辑邀请",
+ "Open speaker view": "打开演讲者视图",
+ "Owner": "所有者",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "粘贴编辑后的文档 JSON 以替换内容 — ⌘Z 可撤销。",
+ "People": "成员",
+ "Polygon": "多边形",
+ "Present in this tab": "在此标签页中演示",
+ "Present-only file…": "仅演示文件…",
+ "Presentation ended. Start it again to bring these notes back to life.": "演示已结束。再次开始即可恢复这些备注。",
+ "Previous": "上一张",
+ "Remove {name} from this deck? Their copy drops to read-only.": "要将 {name} 从此文稿移除吗?对方的副本将变为只读。",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "移除 {name} — 撤销该设备的访问权限;其他人不受影响",
+ "Replace from JSON": "从 JSON 替换",
+ "Replace from JSON…": "从 JSON 替换…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "重置访问权限?已发送的所有副本将停止同步;只有此后保存的副本才能加入。",
+ "Reset access…": "重置访问权限…",
+ "Save a copy…": "保存副本…",
+ "Save as… — copy, new deck, password": "另存为… — 副本、新文稿、密码",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "保存一份用于发送的副本。打开的人可与你实时共同编辑(端到端加密);你仍是所有者,可随时从成员列表中移除他们。",
+ "Share a copy": "分享副本",
+ "Share — invite people to edit, send view-only copies, see who’s here": "分享 — 邀请编辑、发送只读副本、查看在线成员",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "显示在演讲者视图中(幻灯片菜单,或演示时按 S)。",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "显示在你的光标旁和成员列表中 — 仅保存在此浏览器。",
+ "Slideshow": "幻灯片放映",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "全屏开始放映 — F 切换全屏,S 打开演讲者视图,Esc 结束",
+ "Subject": "主题",
+ "Template…": "模板…",
+ "This deck has no live session to follow": "此文稿没有可跟随的实时会话",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "这是只读副本 — 会跟随实时会话,但无法修改文稿。",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "此{kind}大小为 {mb} MB。嵌入后会包含在 .bento.html 中,但文件会变大、打开和保存变慢。\n\n仍要嵌入吗?(取消后在面板中粘贴托管 URL 可保持文件小巧。)",
+ "Title": "标题",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "在任意文本框中输入 <b>{{author}}</b>、<b>{{company}}</b>、<b>{{subject}}</b> 或 <b>{{event}}</b>,即可从这里统一填充 — 一处修改处处生效。适合标题页和页脚。",
+ "Unsaved changes — ⌘S saves this file in place": "有未保存的更改 — ⌘S 就地保存此文件",
+ "View-only copy — it holds no signing key.": "只读副本 — 不持有签名密钥。",
+ "View-only copy…": "只读副本…",
+ "Viewer": "查看者",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "编辑时:<b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · Markdown 自动转换 — **粗体** *斜体* `代码` ~~删除线~~ 及「- 」项目符号;粘贴的 Markdown 同样转换。用 \\ 转义,或在转换后立即按 ⌘Z 保留原字符。",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "你在此设备上的密钥:{fp}。其他设备会被视为新成员,直到所有者将其移除。",
+ "you": "你",
+ "{name} was removed": "已移除 {name}",
+
}
diff --git a/slides/src/i18n/zh-Hant.ts b/slides/src/i18n/zh-Hant.ts
index 151d3942..db7a13ff 100644
--- a/slides/src/i18n/zh-Hant.ts
+++ b/slides/src/i18n/zh-Hant.ts
@@ -468,4 +468,92 @@ export const zhHant: Catalog = {
"Audio from a link…": "從連結新增音訊…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "新增影片或音訊 — 從檔案(嵌入)或連結(保留為 URL)",
"Paste the {kind} URL — it stays a link, the file is not embedded:": "貼上 {kind} URL — 它保留為連結,檔案不會被嵌入:",
+ "A backup of this deck for yourself — same deck, same live session.": "自己留存的備份 — 同一個文稿、同一個即時會話。",
+ "A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "即時檢視副本:即時跟隨每次編輯,但永遠無法修改文稿 — 由中繼強制執行。",
+ "A rectangle — rounded corners, fills, gradients and shadows in the panel": "矩形 — 圓角、填色、漸層和陰影在面板中設定",
+ "A reusable starter: everyone who opens it gets their own fresh, independent deck.": "可重複使用的範本:每個開啟的人都會獲得自己獨立的新文稿。",
+ "A sealed hand-out that opens straight into the show — no editor, no live connection.": "密封的發佈檔案:開啟即直接播放 — 無編輯器、無即時連線。",
+ "A separate deck for you — same content, new identity; it never syncs with this one.": "屬於你的獨立文稿 — 內容相同但身份全新,永不與原稿同步。",
+ "A solid arrow shape": "實心箭頭形狀",
+ "A state is hidden from arrow-key flow — viewers reach it by clicking a linked element. Shared element ids morph between states.": "狀態不出現在方向鍵流程中 — 觀眾透過點按連結元素到達。共享 id 的元素會在狀態間變形過渡。",
+ "A triangle": "三角形",
+ "Access reset — only copies saved from now on can join": "存取已重設 — 只有此後儲存的副本才能加入",
+ "All slides (G)": "所有投影片 (G)",
+ "An ellipse or circle": "橢圓或圓形",
+ "Author": "作者",
+ "Black screen (B)": "黑幕 (B)",
+ "Click to place corners; click the first point (or double-click) to close the shape": "點按放置頂點;點按第一個點(或連按兩下)閉合圖形",
+ "Company": "公司",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "無需儲存新副本即可連線即時會話 — 之前傳送的副本會在這裡與你會合。",
+ "Connecting…": "連線中…",
+ "Connector": "連接線",
+ "Couldn’t open the speaker view — allow pop-ups for this site.": "無法開啟演講者檢視 — 請允許此網站的彈出視窗。",
+ "Couldn’t reach the live session": "無法連線即時會話",
+ "Curved line": "曲線",
+ "Deck title — shown in the tab, on {{title}} fields, and as the suggested file name": "文稿標題 — 顯示在分頁、{{title}} 欄位和建議的檔案名稱中",
+ "Disconnect this deck from the live session. Copies keep their last state and can rejoin if you go live again.": "斷開此文稿與即時會話的連線。副本保留最後狀態,重新上線後可再次加入。",
+ "Document JSON copied": "已複製文件 JSON",
+ "Document properties": "文件屬性",
+ "Drag between two elements — the ends snap on and re-route when they move": "在兩個元素之間拖曳 — 兩端會吸附,元素移動時自動改道",
+ "Drag on the slide to draw a straight line — drag its endpoints to adjust": "在投影片上拖曳以繪製直線 — 拖曳端點即可調整",
+ "Drag to draw a curve — then drag its points; double-click to add or remove one": "拖曳繪製曲線 — 拖曳控制點調整;連按兩下新增或刪除點",
+ "Draw by hand — the stroke smooths into an editable curve": "手繪 — 筆跡會平滑為可編輯的曲線",
+ "Editor": "編輯者",
+ "Editor copy saved — recipients join live with edit access": "編輯者",
+ "Event": "活動",
+ "Fills this tab instead of going fullscreen — handy for testing or sharing a window": "以填滿分頁代替全螢幕 — 便於測試或分享視窗",
+ "First slide": "第一張投影片",
+ "Freeform": "自由繪製",
+ "Go live": "開始直播",
+ "Invite to edit…": "邀請編輯…",
+ "Key-verified identity": "金鑰驗證的身份",
+ "Keywords": "關鍵詞",
+ "Last slide": "最後一張投影片",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "鑄造全新金鑰。之前傳送的所有副本將永久停止同步;此後請分享新副本。",
+ "More ways to present": "更多簡報方式",
+ "Not live — turns on when you share": "未上線 — 分享時自動開啟",
+ "Notes, controls and slide thumbnails appear here when you start presenting. Drag this window to your second display.": "開始簡報後,這裡會顯示備註、控制和投影片縮圖。請將此視窗拖到第二台顯示器。",
+ "Notes, controls and slide thumbnails in a separate window — drag it to a second screen. On macOS, open it before going fullscreen.": "開始簡報後,這裡會顯示備註、控制和投影片縮圖。請將此視窗拖到第二台顯示器。",
+ "On macOS, open the speaker view before going fullscreen.": "macOS 上請在進入全螢幕前開啟演講者檢視。",
+ "Only the deck owner can mint editor invites": "只有文稿擁有者才能簽發編輯邀請",
+ "Open speaker view": "開啟演講者檢視",
+ "Owner": "擁有者",
+ "Paste edited document JSON to replace this deck’s content — ⌘Z undoes.": "貼上編輯後的文件 JSON 以取代內容 — ⌘Z 可復原。",
+ "People": "成員",
+ "Polygon": "多邊形",
+ "Present in this tab": "在此分頁中簡報",
+ "Present-only file…": "僅簡報檔案…",
+ "Presentation ended. Start it again to bring these notes back to life.": "簡報已結束。再次開始即可恢復這些備註。",
+ "Previous": "上一張",
+ "Remove {name} from this deck? Their copy drops to read-only.": "要將 {name} 從此文稿移除嗎?對方的副本將變為唯讀。",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "移除 {name} — 撤銷該裝置的存取權限;其他人不受影響",
+ "Replace from JSON": "從 JSON 取代",
+ "Replace from JSON…": "從 JSON 取代…",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "重設存取權限?已傳送的所有副本將停止同步;只有此後儲存的副本才能加入。",
+ "Reset access…": "重設存取權限…",
+ "Save a copy…": "儲存副本…",
+ "Save as… — copy, new deck, password": "另存為… — 副本、新文稿、密碼",
+ "Saves a copy to send. Whoever opens it edits this deck live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "儲存一份用於傳送的副本。開啟的人可與你即時共同編輯(端對端加密);你仍是擁有者,可隨時從成員列表中移除他們。",
+ "Share a copy": "分享副本",
+ "Share — invite people to edit, send view-only copies, see who’s here": "分享 — 邀請編輯、傳送唯讀副本、檢視線上成員",
+ "Shown in the speaker view (Slideshow menu, or S while presenting).": "顯示在演講者檢視中(投影片放映選單,或簡報時按 S)。",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "顯示在你的游標旁和成員列表中 — 僅儲存在此瀏覽器。",
+ "Slideshow": "投影片放映",
+ "Start the slideshow fullscreen — F toggles fullscreen, S opens speaker view, Esc ends": "全螢幕開始放映 — F 切換全螢幕,S 開啟演講者檢視,Esc 結束",
+ "Subject": "主旨",
+ "Template…": "範本…",
+ "This deck has no live session to follow": "此文稿沒有可跟隨的即時會話",
+ "This is a view-only copy — it follows the live session but can’t change the deck.": "這是唯讀副本 — 會跟隨即時會話,但無法修改文稿。",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "此{kind}大小為 {mb} MB。嵌入後會包含在 .bento.html 中,但檔案會變大、開啟和儲存變慢。\n\n仍要嵌入嗎?(取消後在面板中貼上託管 URL 可保持檔案小巧。)",
+ "Title": "標題",
+ "Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "在任意文字框中輸入 <b>{{author}}</b>、<b>{{company}}</b>、<b>{{subject}}</b> 或 <b>{{event}}</b>,即可從這裡統一填充 — 一處修改處處生效。適合標題頁和頁尾。",
+ "Unsaved changes — ⌘S saves this file in place": "有未儲存的變更 — ⌘S 就地儲存此檔案",
+ "View-only copy — it holds no signing key.": "唯讀副本 — 不持有簽署金鑰。",
+ "View-only copy…": "唯讀副本…",
+ "Viewer": "檢視者",
+ "While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*&#8203;* *italic*&#8203; `code` ~~strike~~ and \"- \" bullets; pasting markdown converts too. Escape with \\\\ or press ⌘Z right after to keep the literal characters.": "編輯時:<b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · Markdown 自動轉換 — **粗體** *斜體* `程式碼` ~~刪除線~~ 及「- 」項目符號;貼上的 Markdown 同樣轉換。用 \\ 跳脫,或在轉換後立即按 ⌘Z 保留原字元。",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "你在此裝置上的金鑰:{fp}。其他裝置會被視為新成員,直到擁有者將其移除。",
+ "you": "你",
+ "{name} was removed": "已移除 {name}",
+
}
diff --git a/slides/src/save.ts b/slides/src/save.ts
index e4b10976..4fd1f860 100644
--- a/slides/src/save.ts
+++ b/slides/src/save.ts
@@ -176,9 +176,9 @@ export async function serializeAuto(doc: BentoDoc): Promise<string> {
return serializeDocInto(pristine, doc)
}
-export function suggestedFileName(doc: BentoDoc): string {
+export function suggestedFileName(doc: BentoDoc, suffix = ''): string {
const base = doc.title.replace(/[^\w\d-]+/g, '_').replace(/^_+|_+$/g, '') || 'Untitled'
- return `${base}.bento.html`
+ return `${base}${suffix ? `-${suffix}` : ''}.bento.html`
}
// --- writing to disk --------------------------------------------------------
@@ -194,10 +194,10 @@ let fileHandle: FsFileHandle | null = null
const hasFsAccess = () => typeof (window as any).showSaveFilePicker === 'function'
-async function pickHandle(doc: BentoDoc): Promise<FsFileHandle | null> {
+async function pickHandle(doc: BentoDoc, suffix = ''): Promise<FsFileHandle | null> {
try {
return await (window as any).showSaveFilePicker({
- suggestedName: suggestedFileName(doc),
+ suggestedName: suggestedFileName(doc, suffix),
types: [{ description: 'Bento Slides', accept: { 'text/html': ['.html'] } }],
})
} catch (err: any) {
@@ -260,14 +260,21 @@ export async function writeUpdatedFile(html: string): Promise<void> {
* or anywhere else). Returns false if cancelled. Keeps the picked handle so
* subsequent ⌘S saves go to the same place.
*/
-export async function writeUpdatedFileAs(html: string, doc: BentoDoc): Promise<boolean> {
+export async function writeUpdatedFileAs(
+ html: string,
+ doc: BentoDoc,
+ opts: { suffix?: string; keepHandle?: boolean } = {},
+): Promise<boolean> {
if (!hasFsAccess()) {
- downloadFile(html, suggestedFileName(doc))
+ downloadFile(html, suggestedFileName(doc, opts.suffix))
return true
}
- const handle = await pickHandle(doc)
+ const handle = await pickHandle(doc, opts.suffix)
if (!handle) return false
- fileHandle = handle
+ // Share/export artifacts must NOT become the ⌘S target — otherwise the next
+ // save would overwrite e.g. a view-only copy with the FULL document (owner
+ // keys included). Only an explicit keepHandle retargets in-place saving.
+ if (opts.keepHandle) fileHandle = handle
await writeHandle(handle, html)
return true
}