Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

dash: the shell takes slides' chrome — Share popover, one-line Save menu, measured bar, live language (#820)

nyblnet81ac8adc507c
diff --git a/.github/actions/validate-dash/action.yml b/.github/actions/validate-dash/action.yml
index ebac5aed..110d2ce2 100644
--- a/.github/actions/validate-dash/action.yml
+++ b/.github/actions/validate-dash/action.yml
@@ -638,18 +638,12 @@ runs:
run: node scripts/test-dash-starter.ts
- name: dash — the off switch for a live session
- # A polish sweep drove the app at 880px with a session running:
- # collab.on true, the room live on the relay, and the string "Stop
- # sharing" NOWHERE in the document — sync.css hid the toggle outright
- # below 900px to buy width in the top bar, and that toggle is the only
- # control that stops sharing. The nearest thing left was About's
- # "Offline mode", which also kills the signed update check: to stop one
- # workbook being shared you had to switch off the app's networking.
- # The rule is narrow: a control that REPORTS nothing may stand down at a
- # narrow width (the 390px measurement behind those rules is real and
- # still honoured), a control that STOPS something already happening may
- # not. Checked as CSS text because dash-dom.ts is a parser, not a layout
- # engine, and cannot say what a viewport width does to a declaration.
+ # Sharing is a labelled Share popover now (spaces'): "Stop sharing" is
+ # inside it whenever a session runs, the button says "Share" or "Live"
+ # at every width, and no stylesheet rule hides it or its word. It
+ # replaced a one-click "Start live session" chip that collapsed to a
+ # bare dot below 900px and vanished on a phone. Widths are measured in
+ # the browser by test-dash-chrome-browser.mjs.
shell: bento-step {0}
run: node scripts/test-dash-stopsharing.ts
@@ -727,3 +721,13 @@ runs:
# x-pseudo or malformed language tag never reaches Intl.
shell: bento-step {0}
run: node scripts/test-dash-formula-dialog.ts
+
+ - name: dash — what each Share copy may carry
+ # The reading copy has no collab block; the invite carries an
+ # owner-signed invite and never ownerPriv or a legacy writerPriv; the
+ # view-only copy is role reader, read-only, with no private half. A
+ # field this build does not declare is dropped from all three. The
+ # same fixture through the owner's own 'file' tier keeps them all —
+ # the positive control.
+ shell: bento-step {0}
+ run: node scripts/test-dash-share.ts
diff --git a/.github/workflows/ci-dash.yml b/.github/workflows/ci-dash.yml
index b6dad700..dbf0e60a 100644
--- a/.github/workflows/ci-dash.yml
+++ b/.github/workflows/ci-dash.yml
@@ -121,3 +121,33 @@ jobs:
# all ask isBodySealed(); neutral title while sealed, matching the saved
# file's title. Each row has an unsealed control that shows the leak.
run: node scripts/test-dash-sealed-browser.mjs
+
+ dash-chrome-browser:
+ runs-on: ubuntu-latest
+ timeout-minutes: 15
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 24
+ - name: Install browser test runtime
+ # Pinned outside app packages: browser automation is not shipped in documents.
+ run: |
+ npm install --prefix "$RUNNER_TEMP/bento-browser" --no-package-lock --ignore-scripts [email protected]
+ "$RUNNER_TEMP/bento-browser/node_modules/.bin/playwright" install --with-deps chromium
+ echo "PLAYWRIGHT_MODULE=$RUNNER_TEMP/bento-browser/node_modules/playwright/index.mjs" >> "$GITHUB_ENV"
+ - name: Build the tested standalone document
+ run: |
+ npm ci --prefix dash
+ npm run build:single --prefix dash
+ - name: dash's shell matches slides' and spaces'
+ # The bar's house order (mark · title · undo/redo · tools · Comment ·
+ # Share · Save · 🌐 · ?), no version text or settings button, an
+ # ink-filled Save; one-line Save ▾ rows with Version history, the JSON
+ # round trip and Start from scratch; a Share popover that connects
+ # NOTHING until Go live (every WebSocket is recorded — none at boot or
+ # on an edit, one on Go live, one when a saved shared file reopens);
+ # 🌐 switching language without a reload; and at 320/360/390px the
+ # document never scrolls sideways while ⋯ carries About, Settings,
+ # Language, Help and Share.
+ run: node scripts/test-dash-chrome-browser.mjs
diff --git a/dash/CHANGELOG.md b/dash/CHANGELOG.md
index 7ad04cff..c7a056b1 100644
--- a/dash/CHANGELOG.md
+++ b/dash/CHANGELOG.md
@@ -273,6 +273,39 @@ The version that came out of watching somebody use 0.2.0.
two independent measures, it opens as 3D bars over two categories instead,
which is both true to the data and the view a spreadsheet cannot draw.
+- **The top bar is laid out like slides' and spaces'.** Undo and redo sit
+ beside the title, then the tools, then Share, Save, 🌐 and ?. Save is the
+ dark primary button. The version number and the settings button left the
+ bar: click the bento/dash mark for About, and Settings is in About.
+
+- **Sharing has a Share button with a panel, as in spaces.** It shows your
+ name, who is here, and three copies to send: a reading copy, an invite to
+ edit, and a view-only copy that follows along live. Nothing connects until
+ you press Go live, or send a live copy. The button says "Share", or "Live"
+ while you are connected, at every window width. Before, one click on "Start
+ live session" went live with no panel, and on a narrow window the control was
+ an unlabelled dot. A workbook that was saved while shared now reconnects when
+ it is opened, so an invite or view-only copy works for the person you send it
+ to.
+
+- **The Save ▾ menu is one line per item**, with an icon; the explanation is
+ the tooltip. Version history, Copy document JSON and Replace from JSON moved
+ here from About, and **Start from scratch…** replaces every sheet with one
+ blank sheet (⌘Z brings the workbook back). "Save read-only copy…" is now
+ "Save a reading copy…" in the Share panel.
+
+- **🌐 changes the language at once**, without reopening the file.
+ Portuguese is now offered in the list.
+
+- **Comment is a button in the bar**, beside the other tools (⌘⌥M still
+ works). Comments use the app's one accent colour instead of purple.
+
+- **Phones get a bar that fits.** The bar measures itself and folds the tools
+ under + and the rest under ⋯, which holds About, Settings, the language,
+ help, Share and the Save list. On the narrowest phones the bar scrolls, never
+ the page. The properties panel opens from a Format button and has a close
+ button, and a tap outside it closes it too.
+
- **A stored language setting can no longer stop a workbook opening.** The
language choice is shared by every Bento file in the browser, and an odd value
in it — including the `x-pseudo` translation-check language — made dash fail
diff --git a/dash/src/about.ts b/dash/src/about.ts
index 56f7c62c..53672a42 100644
--- a/dash/src/about.ts
+++ b/dash/src/about.ts
@@ -298,7 +298,37 @@ export function openAbout(hooks: AboutHooks): void {
// race silently overwrites the winner.
card.append(note(t('Properties travel in the file. The title is edited in the top bar.')))
- // --- version history ------------------------------------------------------
+ // VERSION HISTORY AND THE JSON ROUND TRIP MOVED TO THE SAVE MENU, as slides
+ // moved them: they are operations on the document as a FILE, and slides'
+ // Save ▾ is where both apps keep those. About keeps what the workbook IS.
+ card.append(note(t('Copies, version history and the document as JSON: the ▾ beside Save.')))
+
+ // --- the footer -----------------------------------------------------------
+ // The way ACROSS, beside the way out. About and Settings are two halves of
+ // one question people ask in one breath ("what is this thing / how do I make
+ // it speak French"), and a reader who guessed wrong should be one click from
+ // right rather than back in the top bar hunting.
+ const toSettings = d.button(t('Settings'), () => openSettings(hooks))
+ toSettings.title = t('Settings — language, appearance and updates')
+ // …and it carries the update dot, because the badge that brought the reader
+ // to ⓘ has to lead somewhere. The release itself is offered in Settings.
+ if (updateWaiting()) toSettings.classList.add('dx-update-badge')
+ const foot = d.actions(toSettings, d.button(t('Close'), close))
+ foot.classList.add('dx-about-foot')
+ card.append(foot)
+ d.mount()
+}
+
+// --- version history and the document as JSON ----------------------------------
+//
+// Opened from the Save ▾ menu (saveui.ts), where slides keeps the same three
+// commands. Each is its own small dialog rather than a section of About.
+
+/** The local timeline: restore an earlier auto-saved version. */
+export function openVersionHistory(hooks: AboutHooks): void {
+ const { store } = hooks
+ const d = openDialog(t('Version history'))
+ const { card, note, close } = d
card.append(d.h(t('Version history')))
const versions = document.createElement('div')
versions.className = 'dx-about-vers'
@@ -337,131 +367,102 @@ export function openAbout(hooks: AboutHooks): void {
return
}
close()
- // THE SAME OFFER THE RECOVERY BANNER MAKES, from the same function.
- // This was a `confirm()` reading "this cannot be undone" — which was a
- // second answer to a question the app had already answered one way, and
- // the weaker one: it asks BEFORE, when the reader cannot yet see what
- // they would be agreeing to, instead of handing them a way back AFTER,
- // when they can.
+ // THE SAME OFFER THE RECOVERY BANNER MAKES, from the same function —
+ // a way back AFTER, when the reader can see what they agreed to.
offerUndoRestore(hooks, before, t('Restored the version from {when}.', { when: stamp }))
})
return b
}))
})
+ const foot = d.actions(d.button(t('Close'), close))
+ foot.classList.add('dx-about-foot')
+ card.append(foot)
+ d.mount()
+}
- // --- ways out -------------------------------------------------------------
- //
- // TWO BUTTONS NOW, not five. This section used to carry "Save a copy…" and
- // "Duplicate as new workbook…" as well, both of which the Save menu already
- // offers — "Save a copy…" under the identical label, and the fork as "Save as
- // new workbook…". Two doors to one action in one app is how they drift, and
- // these two had: the menu's fork kept `template: true` and About's did not.
- // The Save menu keeps them (it is where a reader looks for a file to come out
- // of the app, and it handles the released file handle and the size
- // confirmation properly); what stayed here is the thing that is NOT a save at
- // all — the document as text, for an AI or another tool.
- card.append(d.h(t('Take it elsewhere')))
+/**
+ * "Copy document JSON": the workbook as text, for an AI or another tool.
+ * STRIPPED (`docForExport`) — this lands on a clipboard and then, often, in a
+ * chat window, so no collaboration key rides along. Resolves to the size
+ * copied, or null when the browser refused the clipboard.
+ */
+export async function copyDocJson(doc: DashDoc): Promise<string | null> {
+ const text = JSON.stringify(docForExport(doc), null, 2)
+ try {
+ if (!navigator.clipboard) return null
+ await navigator.clipboard.writeText(text)
+ return bytes(text.length)
+ } catch {
+ return null
+ }
+}
+
+/** "Replace from JSON…": paste a whole workbook back in. */
+export function openReplaceJson(hooks: AboutHooks): void {
+ const { store } = hooks
+ const d = openDialog(t('Replace from JSON…'))
+ const { card, note, close } = d
+ card.append(d.h(t('Replace from JSON…')))
const outNote = note(t('The whole workbook is plain JSON inside this file — copy it into any tool or AI, and bring the edited JSON back.'))
- const replaceBtn = d.button(t('Replace from JSON…'), () => openPaste())
- // Loads a document into the running app, which is the one thing a frozen
- // workbook must not do — see replaceWorkbook. Disabled rather than silently
- // refused; the read-only note at the top of the dialog says why.
- replaceBtn.disabled = store.readOnly
- card.append(d.actions(
- d.button(t('Copy document JSON'), () => {
- // stripped — this lands on a clipboard and then, often, in a chat window
- void navigator.clipboard?.writeText(JSON.stringify(docForExport(store.doc), null, 2))
- .then(() => { outNote.textContent = t('Copied — {size} of JSON.', { size: bytes(stats.bytes) }) })
- .catch(() => { outNote.textContent = t('This browser refused clipboard access.') })
- }),
- replaceBtn,
- ))
card.append(outNote)
- card.append(note(t('A copy, a template or a read-only copy: the ▾ beside Save.')))
-
- /** The paste panel. A textarea, not `prompt()`: this is a whole workbook. */
- function openPaste(): void {
+ const ta = document.createElement('textarea')
+ ta.className = 'dx-about-paste'
+ ta.spellcheck = false
+ ta.placeholder = t('Paste bento/dash document JSON here')
+ ta.disabled = store.readOnly
+ card.append(ta)
+ // SAY WHAT IT KEEPS: the paste replaces the content and not the room.
+ if ((store.doc as { collab?: { on?: boolean } }).collab?.on) {
+ card.append(note(t('Sharing stays with this workbook: the pasted JSON replaces the content, not the live session or its keys.')))
+ }
+ if (store.readOnly) card.append(note(t('This workbook is open read-only.')))
+ const go = d.button(t('Replace workbook'), () => {
+ // Loads a document into the running app, which is the one thing a frozen
+ // workbook must not do — see replaceWorkbook.
if (store.readOnly) { outNote.textContent = t('This workbook is open read-only.'); return }
- if (card.querySelector('.dx-about-paste')) return
- const ta = document.createElement('textarea')
- ta.className = 'dx-about-paste'
- ta.spellcheck = false
- ta.placeholder = t('Paste bento/dash document JSON here')
- const go = d.button(t('Replace workbook'), () => {
- if (!ta.value.trim()) { ta.focus(); return }
- const res = parseDoc(ta.value)
- if (!res.ok) {
- outNote.textContent = t('That is not a bento/dash workbook: {why}',
- { why: 'detail' in res ? res.detail : res.err })
- return
- }
- // Undo does NOT reach across this. Store.replaceDoc empties both stacks,
- // so unlike slides there is no ⌘Z back — say so before, not after.
- if (!confirm(t('Replace this workbook with the pasted JSON? This cannot be undone.'))) return
- // THE ROOM BELONGS TO THIS FILE, NOT TO THE PASTED TEXT. Content is
- // replaced; the collaboration credentials are this workbook's and stay.
- //
- // Both directions were wrong, and #338 turned the first from rare into
- // routine by stripping `collab` out of "Copy document JSON":
- //
- // · a STRIPPED paste — now the ordinary AI round trip — carried no
- // credentials, so replacing silently ENDED the live session. Measured:
- // sharing on / room `w-abc` before, sharing off / room gone after,
- // with nothing on screen saying so while peers kept editing.
- // · a paste carrying SOMEBODY ELSE'S credentials silently JOINED their
- // room. Measured: my room became `w-THEIRS` and my next edit went out
- // under their key, with them holding the owner key that can revoke.
- //
- // The line is the one #338 draws itself — a saved FILE carrying its own
- // capability is the design, and pasted text is not a file. So a dropped
- // or opened workbook still adopts its own room; this does not.
- //
- // Not folded into `replaceWorkbook`: the Save menu's fork goes through it
- // too and mints fresh credentials ON PURPOSE.
- const keep = (store.doc as { collab?: unknown }).collab
- const merged = keep === undefined
- ? res.doc
- : { ...res.doc, collab: keep } as DashDoc
- if (!replaceWorkbook(hooks, merged)) {
- outNote.textContent = t('That workbook has no table sheet to show.')
- return
- }
- close()
- })
- const bar = d.actions(go, d.button(t('Cancel'), () => { ta.remove(); bar.remove() }))
- // BEFORE the footer, not appended to the card: `append` puts it after the
- // Close button, which means the panel opens below everything and the click
- // reads as "nothing happened".
- card.insertBefore(ta, foot)
- // SAY WHAT IT KEEPS. The paste replaces the content and not the room, which
- // is the right answer in both directions but is invisible either way — and
- // a live session quietly ending or quietly moving is exactly the class of
- // thing this app states rather than leaves to be discovered.
- if ((store.doc as { collab?: { on?: boolean } }).collab?.on) {
- card.insertBefore(
- note(t('Sharing stays with this workbook: the pasted JSON replaces the content, not the live session or its keys.')),
- foot,
- )
+ if (!ta.value.trim()) { ta.focus(); return }
+ const res = parseDoc(ta.value)
+ if (!res.ok) {
+ outNote.textContent = t('That is not a bento/dash workbook: {why}',
+ { why: 'detail' in res ? res.detail : res.err })
+ return
}
- card.insertBefore(bar, foot)
- ta.focus()
- ta.scrollIntoView({ block: 'nearest' })
- }
-
- // --- the footer -----------------------------------------------------------
- // The way ACROSS, beside the way out. About and Settings are two halves of
- // one question people ask in one breath ("what is this thing / how do I make
- // it speak French"), and a reader who guessed wrong should be one click from
- // right rather than back in the top bar hunting.
- const toSettings = d.button(t('Settings'), () => openSettings(hooks))
- toSettings.title = t('Settings — language, appearance and updates')
- // …and it carries the update dot, because the badge that brought the reader
- // to ⓘ has to lead somewhere. The release itself is offered in Settings.
- if (updateWaiting()) toSettings.classList.add('dx-update-badge')
- const foot = d.actions(toSettings, d.button(t('Close'), close))
+ // Undo does NOT reach across this. Store.replaceDoc empties both stacks,
+ // so unlike slides there is no ⌘Z back — say so before, not after.
+ if (!confirm(t('Replace this workbook with the pasted JSON? This cannot be undone.'))) return
+ // THE ROOM BELONGS TO THIS FILE, NOT TO THE PASTED TEXT. Content is
+ // replaced; the collaboration credentials are this workbook's and stay.
+ //
+ // Both directions were wrong, and #338 turned the first from rare into
+ // routine by stripping `collab` out of "Copy document JSON":
+ //
+ // · a STRIPPED paste — now the ordinary AI round trip — carried no
+ // credentials, so replacing silently ENDED the live session.
+ // · a paste carrying SOMEBODY ELSE'S credentials silently JOINED their
+ // room, with them holding the owner key that can revoke.
+ //
+ // The line is the one #338 draws itself — a saved FILE carrying its own
+ // capability is the design, and pasted text is not a file. So a dropped
+ // or opened workbook still adopts its own room; this does not.
+ //
+ // Not folded into `replaceWorkbook`: the Save menu's fork goes through it
+ // too and mints fresh credentials ON PURPOSE.
+ const keep = (store.doc as { collab?: unknown }).collab
+ const merged = keep === undefined
+ ? res.doc
+ : { ...res.doc, collab: keep } as DashDoc
+ if (!replaceWorkbook(hooks, merged)) {
+ outNote.textContent = t('That workbook has no table sheet to show.')
+ return
+ }
+ close()
+ })
+ go.disabled = store.readOnly
+ const foot = d.actions(go, d.button(t('Cancel'), close))
foot.classList.add('dx-about-foot')
card.append(foot)
d.mount()
+ if (!store.readOnly) ta.focus()
}
/**
diff --git a/dash/src/ask.css b/dash/src/ask.css
index 81cbf1de..04afb294 100644
--- a/dash/src/ask.css
+++ b/dash/src/ask.css
@@ -49,8 +49,10 @@
boxed rule, which is two classes and would otherwise repaint the primary as
an ordinary outlined button — the same specificity trap the .dx-dirty and
.dx-people-me notes in styles.css describe. */
-.dx-ask-foot .dx-ask-go { background: var(--accent); color: #1e2a3a; border-color: transparent; }
-.dx-ask-foot .dx-ask-go:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
+.dx-ask-foot .dx-ask-go { background: var(--ink); color: var(--surface); border-color: var(--ink); }
+/* ink-filled, as slides' .ed-btn-primary and the Save button: ONE accent in
+ the chrome, and it is not the primary button's colour */
+.dx-ask-foot .dx-ask-go:hover { background: var(--ink-2); border-color: var(--ink-2); }
.dx-ask-go:disabled { opacity: 0.35; cursor: not-allowed; }
/* --- the formula dialog's reference (fnpicker.ts) ------------------------- */
diff --git a/dash/src/comments.css b/dash/src/comments.css
index 2d9dbfec..adfa2e79 100644
--- a/dash/src/comments.css
+++ b/dash/src/comments.css
@@ -13,22 +13,7 @@
palette header states the rule: reach for a token, and if none fits add one
THERE with both of its values rather than writing a hex where it is used. */
-:root {
- /* THE ONE NEW PAIR, AND IT WANTS MOVING. A comment marker cannot be
- `--accent`: amber already means "the app did something here" — a filtered
- header, a formula chip, `dg-noted`'s override bar — and a comment means
- "a person said something here", which is a different claim about the same
- cell. Violet is the only hue in dash that is not already spoken for.
- These two lines belong in styles.css :root beside --err-ink; they are here
- only because this file may not edit that one. */
- --cmt: #7c3aed;
- --cmt-wash: #f5f0ff;
-}
-
-:root[data-theme="dark"] {
- --cmt: #a78bfa;
- --cmt-wash: #2a2140;
-}
+/* --cmt / --cmt-ink / --cmt-wash are the ACCENT now — see styles.css. */
/* ————— the marker —————
A corner triangle: Excel's placement, Sheets' placement, and the one shape
@@ -120,7 +105,7 @@
font-variant-numeric: tabular-nums;
}
.dxc-pill:hover { color: var(--ink); border-color: var(--cmt); }
-.dxc-pill.dxc-pill-on { color: var(--cmt); border-color: var(--cmt); background: var(--cmt-wash); }
+.dxc-pill.dxc-pill-on { color: var(--cmt-ink); border-color: var(--cmt); background: var(--cmt-wash); }
/* ————— the popover ————— */
@@ -227,8 +212,9 @@
cursor: pointer;
}
.dxc-pop .dxc-btn:hover { background: var(--hover); border-color: var(--muted); }
-.dxc-pop .dxc-primary { border-color: var(--cmt); color: var(--cmt); }
-.dxc-pop .dxc-primary:hover { background: var(--cmt-wash); }
+/* the primary is slides' ink-filled one, not a second accent */
+.dxc-pop .dxc-primary { border-color: var(--ink); background: var(--ink); color: var(--surface); }
+.dxc-pop .dxc-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.dxc-pop .dxc-danger:hover { color: var(--err-ink); border-color: var(--err-ink); }
/* ————— the list ————— */
@@ -255,7 +241,7 @@
color: inherit;
}
.dxc-pop .dxc-item:hover { background: var(--hover); }
-.dxc-where { font-size: 11px; color: var(--cmt); }
+.dxc-where { font-size: 11px; color: var(--cmt-ink); }
.dxc-item.dxc-done .dxc-where { color: var(--muted); }
.dxc-line {
font-size: 12.5px;
@@ -265,3 +251,4 @@
white-space: nowrap;
}
.dxc-item.dxc-done .dxc-line { color: var(--muted); text-decoration: line-through; }
+.dxc-pill[hidden] { display: none; }
diff --git a/dash/src/comments.ts b/dash/src/comments.ts
index dd96403b..fa243398 100644
--- a/dash/src/comments.ts
+++ b/dash/src/comments.ts
@@ -605,6 +605,10 @@ export class CommentsUI {
const sheet = this.sheet()
const open = unresolvedCount(sheet)
const all = sheetComments(sheet).length
+ // THE PILL IS A LIST NOW, not the way in: adding a comment is the toolbar's
+ // Comment tool (⌘⌥M), as in slides and spaces. With nothing to list it
+ // stands down instead of floating over the grid as a second entry point.
+ this.pill.hidden = all === 0
this.pill.classList.toggle('dxc-pill-on', open > 0)
this.pill.textContent = open ? `💬 ${open}` : '💬'
this.pill.title = all
diff --git a/dash/src/docclass.ts b/dash/src/docclass.ts
new file mode 100644
index 00000000..93d50a5f
--- /dev/null
+++ b/dash/src/docclass.ts
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// How each TOP-LEVEL field of a bento/dash workbook is classed — the
+// workbook's row in the kernel's field classification
+// (kernel/src/docfields.ts). share.ts builds every copy that goes to SOMEONE
+// ELSE (a reading copy, an invite, a view-only follower) through the kernel's
+// copy table with this map, so what a copy carries is decided by one table and
+// not by a hand-written list of deletes in each builder.
+//
+// THE MAP IS EXHAUSTIVE, and the compiler holds it to that: `satisfies` over
+// DashDoc's declared keys fails tsc on a key missing here and on one that is
+// not a field. A key that is not in this map at all — a newer build's field —
+// follows the kernel's fail-closed default: kept by the file itself, dropped
+// from every copy made for another person.
+//
+// Not a format change: nothing here is written into a file. It only answers
+// "which fields survive which copy".
+
+import type { FieldClass, ModeFieldsOk } from '../../kernel/src/docfields.ts'
+import type { DashDoc } from './model.ts'
+
+/** DashDoc's declared keys, without its `[extra: string]` index signature —
+ * which would otherwise make `keyof` plain `string`. */
+type DeclaredKeys<T> = keyof {
+ [K in keyof T as string extends K ? never : number extends K ? never : K]: T[K]
+}
+
+export const DASH_FIELDS = {
+ // identity — re-minted on a duplicate, never on any other copy
+ docId: 'identity',
+ // mode — SET per copy by the kernel's MODE_FIELD_RULES (a reader copy is
+ // read-only, a template copy is a template), never simply stripped
+ readonly: 'mode',
+ template: 'mode',
+ // capability — every field under it is a bearer key; projected through the
+ // kernel's allowlists (collabForReader / collabForInvite)
+ collab: 'capability',
+ // content — the workbook itself. Comments live inside their sheets.
+ format: 'content',
+ version: 'content',
+ policy: 'content',
+ title: 'content',
+ modified: 'content',
+ meta: 'content',
+ sheets: 'content',
+ measures: 'content',
+ story: 'content',
+ chart: 'content',
+ names: 'content',
+ views: 'content',
+ theme: 'content',
+ assets: 'content',
+ // the relay's offload map — content, exactly as slides classes it
+ blobs: 'content',
+} satisfies Record<DeclaredKeys<DashDoc>, FieldClass>
+
+/** tsc fails here if the fields classed 'mode' stop being exactly the
+ * kernel's two (readonly, template). */
+const _modeOk: ModeFieldsOk<typeof DASH_FIELDS> = true
+void _modeOk
diff --git a/dash/src/i18n.ts b/dash/src/i18n.ts
index 4ec27e80..68e6729b 100644
--- a/dash/src/i18n.ts
+++ b/dash/src/i18n.ts
@@ -39,6 +39,8 @@ const CHOICES: LocaleChoice[] = [
{ code: 'fr', label: 'Français' },
{ code: 'it', label: 'Italiano' },
{ code: 'de', label: 'Deutsch' },
+ // the pt catalog shipped (#416) and the picker never offered it
+ { code: 'pt', label: 'Português' },
]
registerI18n({
diff --git a/dash/src/i18n/de.ts b/dash/src/i18n/de.ts
index 69556b67..4745c2a5 100644
--- a/dash/src/i18n/de.ts
+++ b/dash/src/i18n/de.ts
@@ -22,13 +22,11 @@ export const de: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "Eine Zelle, die mit „?“ beginnt, muss so eingegeben werden: zuerst F2 drücken, denn ein bloßes „?“ öffnet diese Karte.",
"A computed column is defined by its formula; there is nothing stored in it to split.": "Eine berechnete Spalte ist durch ihre Formel definiert; darin ist nichts gespeichert, was sich teilen ließe.",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "Ein Datensatz wird pro Spalte typisiert: Jede Spalte hat einen Namen und einen Typ. Fügen Sie die erste mit dem + am Ende der Kopfzeile hinzu.",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "Eine Kopie, eine Vorlage oder eine schreibgeschützte Kopie: das ▾ neben Speichern.",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "Jede Spalte eines Datensatzes hat genau einen Typ, eine transponierte Zeile mit gemischten Typen könnte also nur als Text landen. Transponieren funktioniert auf einem Tabellenblatt; in einem Datensatz nutzen Sie Pivot oder Unpivot.",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "Eine flache Kopie, Zelle für Zelle, für die eine Berechnung, die eine Spalte nicht ausdrücken kann. Der Datensatz bleibt der lebende.",
"A formula column fills every row of a dataset, and this sheet is not one.": "Eine Formelspalte füllt jede Zeile eines Datensatzes, und dieses Blatt ist keiner.",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "Eine Formelspalte füllt jede Zeile eines Datensatzes. Dies ist ein Tabellenblatt — tippen Sie stattdessen = in eine Zelle.",
"A formula column needs a formula.": "Eine Formelspalte braucht eine Formel.",
- "A locked copy for handing out: it opens, it does not edit.": "Eine gesperrte Kopie zum Weitergeben: sie lässt sich öffnen, aber nicht bearbeiten.",
"A pie shows one series; the rest are in the legend of the bar view.": "Ein Kreisdiagramm zeigt eine Datenreihe; die übrigen stehen in der Legende der Balkenansicht.",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "Eine Pivot fasst die Spalten eines Datensatzes zusammen — dies ist ein Tabellenblatt.",
"A pivot summarises a dataset’s columns, and this sheet has none.": "Eine Pivot fasst Spalten eines Datensatzes zusammen, und dieses Blatt hat keine.",
@@ -40,7 +38,6 @@ export const de: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "Ein Story-Schritt speichert die Ansicht eines Datensatzes — Filter, Sortierungen und Diagramm. Dieses Blatt hat davon nichts.",
"A value to compare against.": "Ein Wert zum Vergleichen.",
"A workbook needs at least one sheet.": "Eine Arbeitsmappe braucht mindestens ein Blatt.",
- "About": "Über",
"About this workbook": "Über diese Arbeitsmappe",
"Add a column": "Spalte hinzufügen",
"Add a formula column": "Formelspalte hinzufügen",
@@ -155,7 +152,6 @@ export const de: Catalog = {
"Delete row": "Zeile löschen",
"Delete {n}": "{n} löschen",
"Discard": "Verwerfen",
- "Disconnect from the relay — collaborators stop seeing your edits": "Vom Relay trennen — Mitarbeitende sehen Ihre Änderungen nicht mehr",
"Dismiss — keep the restored workbook": "Schließen — die wiederhergestellte Arbeitsmappe behalten",
"Dismiss — the changes stay in this browser": "Ausblenden — die Änderungen bleiben in diesem Browser",
"Distinct": "Eindeutig",
@@ -382,10 +378,8 @@ export const de: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "Die Ansicht drucken oder als PDF sichern (⌘P)",
"Print…": "Drucken…",
"Properties travel in the file. The title is edited in the top bar.": "Die Eigenschaften reisen in der Datei mit. Der Titel wird in der oberen Leiste bearbeitet.",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "Diese Arbeitsmappe auf das Relay legen, damit Empfänger einer Kopie live mit Ihnen bearbeiten",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "Felder in Anführungszeichen bleiben ganz. Das erste Feld ersetzt die geteilte Zelle, der Rest reicht nach rechts.",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "Felder in Anführungszeichen bleiben ganz. Die ganze Spalte wird geteilt, und die geteilte Spalte bleibt erhalten.",
- "Read-only copy saved — it opens locked": "Schreibgeschützte Kopie gespeichert — sie öffnet sich gesperrt",
"Redo": "Wiederholen",
"Redo (⇧⌘Z)": "Wiederholen (⇧⌘Z)",
"Reduced motion (M)": "Reduzierte Bewegung (M)",
@@ -395,7 +389,6 @@ export const de: Catalog = {
"Remove password…": "Passwort entfernen…",
"Remove step": "Schritt entfernen",
"Remove the password? The next save writes the workbook in the clear.": "Das Passwort entfernen? Beim nächsten Speichern wird die Arbeitsmappe unverschlüsselt geschrieben.",
- "Remove this device from the session": "Dieses Gerät aus der Sitzung entfernen",
"Remove this filter": "Diesen Filter entfernen",
"Rename": "Umbenennen",
"Reopen": "Wieder öffnen",
@@ -421,7 +414,6 @@ export const de: Catalog = {
"Save": "Speichern",
"Save a copy…": "Kopie speichern…",
"Save an untouched copy": "Eine unveränderte Kopie speichern",
- "Save as… — copy, new workbook, template, read-only, password": "Speichern unter… — Kopie, neue Arbeitsmappe, Vorlage, schreibgeschützt, Passwort",
"Settings": "Einstellungen",
"Settings — language, appearance and updates": "Einstellungen — Sprache, Erscheinungsbild und Updates",
"The next save writes the workbook in the clear.": "Beim nächsten Speichern wird die Arbeitsmappe unverschlüsselt geschrieben.",
@@ -435,7 +427,6 @@ export const de: Catalog = {
"Save failed — see console": "Speichern fehlgeschlagen — siehe Konsole",
"Save failed — {why}": "Speichern fehlgeschlagen — {why}",
"Save formula": "Formel speichern",
- "Save read-only copy…": "Schreibgeschützte Kopie speichern…",
"Save this workbook": "Diese Arbeitsmappe speichern",
"Save this workbook (⌘S)": "Diese Arbeitsmappe speichern (⌘S)",
"Saved": "Gespeichert",
@@ -480,14 +471,12 @@ export const de: Catalog = {
"Split on": "Teilen an",
"Split the selected column into several, on a delimiter or at fixed widths": "Die gewählte Spalte an einem Trennzeichen oder in festen Breiten in mehrere teilen",
"Spreadsheet": "Tabellenblatt",
- "Start live session": "Live-Sitzung starten",
"Stop sharing": "Freigabe beenden",
"Story": "Datenstory",
"Subject": "Thema",
"Sum": "Summe",
"Summarise this sheet as a pivot table": "Dieses Blatt als PivotTable zusammenfassen",
"Symbol": "Symbol",
- "Take it elsewhere": "Woanders weitermachen",
"Template saved — every open of it starts a fresh workbook": "Vorlage gespeichert — jedes Öffnen startet eine neue Arbeitsmappe",
"Text": "Text",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "Textzellen behalten genau das Eingetippte — führende Nullen, Schrägstriche und ein =, das keine Formel ist.",
@@ -620,7 +609,6 @@ export const de: Catalog = {
"Workbook": "Arbeitsmappe",
"Wrap text": "Zeilenumbruch",
"Write the column names into row 1": "Die Spaltennamen in Zeile 1 schreiben",
- "Write this workbook back to its own file.": "Diese Arbeitsmappe in ihre eigene Datei zurückschreiben.",
"Wrong password — try again": "Falsches Passwort — bitte erneut versuchen",
"Yes/No": "Ja/Nein",
"You have the newest version ({v}).": "Du hast die neueste Version ({v}).",
@@ -647,7 +635,6 @@ export const de: Catalog = {
"e.g. , or ; or a space": "z. B. , oder ; oder ein Leerzeichen",
"e.g. 3, 8, 12": "z. B. 3, 8, 12",
"e.g. Price * Quantity": "z. B. Preis * Menge",
- "editor": "Bearbeiter",
"ends with": "endet mit",
"equal to": "gleich",
"from the data": "aus den Daten",
@@ -673,7 +660,6 @@ export const de: Catalog = {
"of": "von",
"of all rows": "aller Zeilen",
"orphaned": "verwaist",
- "owner": "Eigentümer",
"pivot": "Pivottabelle",
"reads {value}": "enthält {value}",
"row": "Zeile",
@@ -688,7 +674,6 @@ export const de: Catalog = {
"this sheet": "dieses Blatt",
"unknown anchor": "unbekannter Anker",
"value or = formula": "Wert oder = Formel",
- "view only": "nur Ansicht",
"vs": "gegenüber",
"your name": "Ihr Name",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} enthält Formeln in einzelnen Zellen, die sich in der Spalte nicht wiederholen, daher bleibt die neue Zeile dort leer. Eine importierte Formel bleibt in der Zelle, in der sie angekommen ist; geben Sie der Spalte eine Formel, und jede neue Zeile füllt sich von selbst.",
@@ -752,6 +737,73 @@ export const de: Catalog = {
"Copy saved — you are still editing the original": "Kopie gespeichert — Sie bearbeiten weiterhin das Original",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "Die Absturzwiederherstellung ist für diese Arbeitsmappe deaktiviert – sie ist zu groß für eine Sicherungskopie. Speichern Sie häufig.",
"A backup of this workbook for yourself — same workbook, same live session.": "Eine Sicherungskopie für Sie — gleiche Arbeitsmappe, gleiche Live-Sitzung.",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "Ein Kommentar hängt an der Zelle eines Datensatzes, und dieses Blatt hat keine.",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "Ein Kommentar hängt an der Zelle eines Datensatzes und bleibt beim Sortieren erhalten – dies ist ein Tabellenblatt.",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "Ein Live-Betrachter: folgt jeder Bearbeitung sofort, kann diese Arbeitsmappe aber nie ändern – das Relay setzt das durch.",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "Eine gesperrte Kopie zum Weitergeben: Sie öffnet schreibgeschützt, enthält keinen Schlüssel dieser Arbeitsmappe und tritt nie der Live-Sitzung bei.",
+ "Access reset — only copies saved from now on can join": "Zugriff zurückgesetzt — nur ab jetzt gespeicherte Kopien können beitreten",
+ "Also open in another window on this computer — not shared online": "Auch in einem anderen Fenster auf diesem Computer geöffnet — nicht online geteilt",
+ "Comment on the selected cell (⌘⌥M)": "Ausgewählte Zelle kommentieren (⌘⌥M)",
+ "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…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "Kopiert diese Arbeitsmappe als reines JSON – nur Inhalt, keine Schlüssel der Live-Sitzung. In einem anderen Werkzeug bearbeiten und mit „Aus JSON ersetzen“ zurückholen.",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "Kopien, Versionsverlauf und das Dokument als JSON: das ▾ neben Speichern.",
+ "Couldn’t reach the live session": "Live-Sitzung nicht erreichbar",
+ "Editor": "Bearbeiter",
+ "Editor copy saved — recipients join live with edit access": "Bearbeiter-Kopie gespeichert — Empfänger treten live mit Schreibzugriff bei",
+ "Following — view only": "Folgt mit — nur Ansicht",
+ "Go live": "Live gehen",
+ "Guest": "Gast",
+ "Invite to edit…": "Zum Bearbeiten einladen…",
+ "Key-verified identity": "Schlüssel-verifizierte Identität",
+ "Live": "Live",
+ "Live — nobody else is here yet": "Live — noch niemand sonst da",
+ "Live — send someone the file to bring them in": "Live — schick jemandem die Datei, dann ist er dabei",
+ "Live — {n} other people are here": "Live — {n} weitere Personen sind da",
+ "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 actions": "Weitere Aktionen",
+ "Not live — turns on when you share": "Nicht live — startet beim Teilen",
+ "Nothing leaves this file until you start a session.": "Nichts verlässt diese Datei, bis du eine Sitzung startest.",
+ "Offline mode is on — nothing leaves this computer.": "Der Offline-Modus ist aktiv — nichts verlässt diesen Computer.",
+ "Only the owner of this workbook can invite people": "Nur der Eigentümer dieser Arbeitsmappe kann Personen einladen",
+ "Owner": "Eigentümer",
+ "Paste edited document JSON to replace this workbook’s content.": "Bearbeitetes Dokument-JSON einfügen, um den Inhalt dieser Arbeitsmappe zu ersetzen.",
+ "People": "Personen",
+ "Read-only copy saved — it follows the live session, view only": "Nur-Lese-Kopie gespeichert — sie folgt der Live-Sitzung, nur zum Ansehen",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "Lesekopie gespeichert – sie öffnet schreibgeschützt und enthält keinen Schlüssel dieser Arbeitsmappe",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "{name} aus dieser Arbeitsmappe entfernen? Die Kopie dieser Person 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 all {n} sheets with one blank sheet? ⌘Z undoes this.": "Alle {n} Blätter durch ein leeres Blatt ersetzen? ⌘Z macht das rückgängig.",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "Ersetzt alle Blätter durch ein leeres Blatt. Name, Design und Live-Sitzung der Arbeitsmappe bleiben – ⌘Z macht es rückgängig.",
+ "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…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "Eine frühere, automatisch gespeicherte Version dieser Arbeitsmappe wiederherstellen (nur lokal in diesem Browser).",
+ "Save a reading copy…": "Lesekopie speichern…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "Speichern unter … – Kopie, neue Arbeitsmappe, Vorlage, Passwort, Verlauf, JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook 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 diese Arbeitsmappe live mit dir (Ende-zu-Ende-verschlüsselt); du bleibst Eigentümer und kannst die Person aus der Personenliste entfernen.",
+ "Share": "Teilen",
+ "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 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.",
+ "Start from scratch…": "Von vorne beginnen…",
+ "Stopped sharing": "Teilen beendet",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "Diese Fenster sind auf diesem Computer. Starte eine Sitzung, um mit jemand anderem zu arbeiten.",
+ "This copy goes offline; the others carry on": "Diese Kopie geht offline; die anderen machen weiter",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "Dies ist eine Nur-Lese-Kopie – sie folgt der Live-Sitzung, kann diese Arbeitsmappe aber nicht ändern.",
+ "This workbook has no live session to follow": "Diese Arbeitsmappe hat keine Live-Sitzung, der man folgen könnte",
+ "Version history…": "Versionsverlauf…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "Nur-Lese-Kopie – sie folgt der Live-Sitzung, kann diese Arbeitsmappe aber nicht ändern.",
+ "View-only copy — it holds no signing key.": "Nur-Lesen-Kopie — enthält keinen Signaturschlüssel.",
+ "View-only copy…": "Nur-Lesen-Kopie…",
+ "Viewer": "Betrachter",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "Fenster auf diesem Computer synchronisieren weiter; schalte den Offline-Modus in den Einstellungen aus, um mit jemandem anderswo zu arbeiten.",
+ "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.",
+ "Your name": "Dein Name",
+ "you": "du",
+ "{name} joined": "{name} ist beigetreten",
+ "{name} left": "{name} hat verlassen",
+ "{name} was removed": "{name} wurde entfernt",
+ "{n} connected": "{n} verbunden",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "1 Formel in „{sheet}“ konnte nicht live gemacht werden ({why}). Sie zeigt den zuletzt von Excel berechneten Wert, und ihr Formeltext bleibt erhalten.",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "1 Zeile hatte eine andere Anzahl Felder als die Kopfzeile; kurze Zeilen wurden mit Leerwerten aufgefüllt, nichts wurde verworfen.",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "1 Wert in „{column}“ konnte nicht als {type} gelesen werden und blieb leer.",
diff --git a/dash/src/i18n/es.ts b/dash/src/i18n/es.ts
index bb3b46d9..a06e88db 100644
--- a/dash/src/i18n/es.ts
+++ b/dash/src/i18n/es.ts
@@ -22,13 +22,11 @@ export const es: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "Una celda que empieza por “?” hay que escribirla así: pulsa primero F2, porque un “?” suelto abre esta ficha.",
"A computed column is defined by its formula; there is nothing stored in it to split.": "Una columna calculada se define por su fórmula; no hay nada almacenado en ella que dividir.",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "Un conjunto de datos se tipa por columna: cada una tiene un nombre y un tipo. Añade la primera con el + al final de la fila de encabezados.",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "Una copia, una plantilla o una copia de solo lectura: el ▾ junto a Guardar.",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "Cada columna de un conjunto de datos tiene un solo tipo, así que una fila de tipos mezclados solo podría transponerse como texto. Transponer funciona en una hoja de cálculo; en un conjunto de datos, usa Tabla dinámica o Anular dinamización.",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "Una copia plana, celda a celda, para ese cálculo que una columna no puede expresar. El conjunto de datos sigue siendo el vivo.",
"A formula column fills every row of a dataset, and this sheet is not one.": "Una columna de fórmula rellena todas las filas de un conjunto de datos, y esta hoja no lo es.",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "Una columna de fórmula rellena todas las filas de un conjunto de datos. Esto es una hoja de cálculo: escribe = en una celda.",
"A formula column needs a formula.": "Una columna de fórmula necesita una fórmula.",
- "A locked copy for handing out: it opens, it does not edit.": "Una copia bloqueada para repartir: se abre, pero no se edita.",
"A pie shows one series; the rest are in the legend of the bar view.": "Un gráfico circular muestra una serie; el resto están en la leyenda de la vista de barras.",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "Una tabla dinámica resume las columnas de un conjunto de datos: esto es una hoja de cálculo.",
"A pivot summarises a dataset’s columns, and this sheet has none.": "Una tabla dinámica resume columnas de un conjunto de datos, y esta hoja no tiene ninguna.",
@@ -40,7 +38,6 @@ export const es: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "Un paso de la historia guarda la vista de un conjunto de datos: filtros, ordenaciones y gráfico. Esta hoja no tiene ninguno.",
"A value to compare against.": "Un valor con el que comparar.",
"A workbook needs at least one sheet.": "Un libro necesita al menos una hoja.",
- "About": "Acerca de",
"About this workbook": "Acerca de este libro",
"Add a column": "Añadir una columna",
"Add a formula column": "Añadir una columna de fórmula",
@@ -155,7 +152,6 @@ export const es: Catalog = {
"Delete row": "Eliminar fila",
"Delete {n}": "Eliminar {n}",
"Discard": "Descartar",
- "Disconnect from the relay — collaborators stop seeing your edits": "Desconectar del relé: los colaboradores dejan de ver tus cambios",
"Dismiss — keep the restored workbook": "Descartar — conservar el libro restaurado",
"Dismiss — the changes stay in this browser": "Descartar: los cambios se quedan en este navegador",
"Distinct": "Distintos",
@@ -382,10 +378,8 @@ export const es: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "Imprime la vista o guárdala como PDF (⌘P)",
"Print…": "Imprimir…",
"Properties travel in the file. The title is edited in the top bar.": "Las propiedades viajan en el archivo. El título se edita en la barra superior.",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "Pon este libro en el relé para que quienes reciban una copia lo editen contigo en directo",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "Los campos entre comillas se mantienen enteros. El primer campo sustituye la celda que divides; el resto se extiende a la derecha.",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "Los campos entre comillas se mantienen enteros. Se divide la columna entera y la columna que divides se conserva.",
- "Read-only copy saved — it opens locked": "Copia de solo lectura guardada: se abre bloqueada",
"Redo": "Rehacer",
"Redo (⇧⌘Z)": "Rehacer (⇧⌘Z)",
"Reduced motion (M)": "Movimiento reducido (M)",
@@ -395,7 +389,6 @@ export const es: Catalog = {
"Remove password…": "Quitar contraseña…",
"Remove step": "Quitar paso",
"Remove the password? The next save writes the workbook in the clear.": "¿Quitar la contraseña? El próximo guardado escribirá el libro sin cifrar.",
- "Remove this device from the session": "Quitar este dispositivo de la sesión",
"Remove this filter": "Quitar este filtro",
"Rename": "Cambiar nombre",
"Reopen": "Reabrir",
@@ -421,7 +414,6 @@ export const es: Catalog = {
"Save": "Guardar",
"Save a copy…": "Guardar una copia…",
"Save an untouched copy": "Guardar una copia intacta",
- "Save as… — copy, new workbook, template, read-only, password": "Guardar como… — copia, libro nuevo, plantilla, solo lectura, contraseña",
"Settings": "Ajustes",
"Settings — language, appearance and updates": "Ajustes: idioma, apariencia y actualizaciones",
"The next save writes the workbook in the clear.": "El próximo guardado escribirá el libro sin cifrar.",
@@ -435,7 +427,6 @@ export const es: Catalog = {
"Save failed — see console": "Error al guardar — mira la consola",
"Save failed — {why}": "No se pudo guardar: {why}",
"Save formula": "Guardar fórmula",
- "Save read-only copy…": "Guardar copia de solo lectura…",
"Save this workbook": "Guardar este libro",
"Save this workbook (⌘S)": "Guardar este libro (⌘S)",
"Saved": "Guardado",
@@ -480,14 +471,12 @@ export const es: Catalog = {
"Split on": "Dividir por",
"Split the selected column into several, on a delimiter or at fixed widths": "Dividir la columna seleccionada en varias, por un delimitador o a anchos fijos",
"Spreadsheet": "Hoja de cálculo",
- "Start live session": "Iniciar sesión en directo",
"Stop sharing": "Dejar de compartir",
"Story": "Historia",
"Subject": "Asunto",
"Sum": "Suma",
"Summarise this sheet as a pivot table": "Resumir esta hoja como tabla dinámica",
"Symbol": "Símbolo",
- "Take it elsewhere": "Llévatelo a otra parte",
"Template saved — every open of it starts a fresh workbook": "Plantilla guardada: cada vez que se abre empieza un libro nuevo",
"Text": "Texto",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "Las celdas de texto conservan exactamente lo que se escribe: ceros a la izquierda, barras y un = que no es una fórmula.",
@@ -620,7 +609,6 @@ export const es: Catalog = {
"Workbook": "Libro",
"Wrap text": "Ajustar texto",
"Write the column names into row 1": "Escribir los nombres de las columnas en la fila 1",
- "Write this workbook back to its own file.": "Escribir este libro de vuelta en su propio archivo.",
"Wrong password — try again": "Contraseña incorrecta: inténtalo de nuevo",
"Yes/No": "Sí/No",
"You have the newest version ({v}).": "Tienes la versión más reciente ({v}).",
@@ -647,7 +635,6 @@ export const es: Catalog = {
"e.g. , or ; or a space": "p. ej. , o ; o un espacio",
"e.g. 3, 8, 12": "p. ej. 3, 8, 12",
"e.g. Price * Quantity": "p. ej. Precio * Cantidad",
- "editor": "editor",
"ends with": "termina por",
"equal to": "igual a",
"from the data": "de los datos",
@@ -673,7 +660,6 @@ export const es: Catalog = {
"of": "de",
"of all rows": "de todas las filas",
"orphaned": "huérfano",
- "owner": "propietario",
"pivot": "tabla dinámica",
"reads {value}": "pone {value}",
"row": "fila",
@@ -688,7 +674,6 @@ export const es: Catalog = {
"this sheet": "esta hoja",
"unknown anchor": "anclaje desconocido",
"value or = formula": "valor o = fórmula",
- "view only": "solo lectura",
"vs": "frente a",
"your name": "tu nombre",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} tiene fórmulas en celdas sueltas que no se repiten a lo largo de la columna, así que la fila nueva está vacía ahí. Una fórmula importada se queda en la celda a la que llegó; dele una fórmula a la columna y cada fila nueva se rellenará sola.",
@@ -752,6 +737,73 @@ export const es: Catalog = {
"Copy saved — you are still editing the original": "Copia guardada: sigues editando el original",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "La recuperación tras fallos está desactivada para este libro: es demasiado grande para guardar una copia de seguridad. Guarda a menudo.",
"A backup of this workbook for yourself — same workbook, same live session.": "Una copia de seguridad para ti — mismo libro, misma sesión en vivo.",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "Un comentario se ancla a una celda de un conjunto de datos, y esta hoja no tiene ninguna.",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "Un comentario se ancla a una celda de un conjunto de datos, que lo conserva al ordenar; esto es una hoja de cálculo.",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "Un visor en vivo: sigue cada edición al instante, pero nunca puede cambiar este libro; el relé lo impone.",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "Una copia bloqueada para repartir: se abre en solo lectura, no lleva ninguna clave de este libro y nunca se une a la sesión en vivo.",
+ "Access reset — only copies saved from now on can join": "Acceso restablecido — solo las copias guardadas a partir de ahora podrán unirse",
+ "Also open in another window on this computer — not shared online": "También abierto en otra ventana de este ordenador — no compartido en línea",
+ "Comment on the selected cell (⌘⌥M)": "Comentar la celda seleccionada (⌘⌥M)",
+ "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…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "Copia este libro como JSON plano: solo el contenido, sin claves de la sesión en vivo. Edítalo en otra herramienta y tráelo de vuelta con Reemplazar desde JSON.",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "Copias, historial de versiones y el documento como JSON: el ▾ junto a Guardar.",
+ "Couldn’t reach the live session": "No se pudo contactar la sesión en vivo",
+ "Editor": "Editor",
+ "Editor copy saved — recipients join live with edit access": "Copia de editor guardada — quien la reciba se une en vivo con acceso de edición",
+ "Following — view only": "Siguiendo — solo lectura",
+ "Go live": "Ir en vivo",
+ "Guest": "Invitado",
+ "Invite to edit…": "Invitar a editar…",
+ "Key-verified identity": "Identidad verificada por clave",
+ "Live": "En vivo",
+ "Live — nobody else is here yet": "En directo — todavía no hay nadie más",
+ "Live — send someone the file to bring them in": "En directo — envía el archivo a alguien para que entre",
+ "Live — {n} other people are here": "En directo — hay {n} personas más",
+ "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 actions": "Más acciones",
+ "Not live — turns on when you share": "Sin conexión — se activa al compartir",
+ "Nothing leaves this file until you start a session.": "Nada sale de este archivo hasta que inicies una sesión.",
+ "Offline mode is on — nothing leaves this computer.": "El modo sin conexión está activo: nada sale de este equipo.",
+ "Only the owner of this workbook can invite people": "Solo el propietario de este libro puede invitar a otras personas",
+ "Owner": "Propietario",
+ "Paste edited document JSON to replace this workbook’s content.": "Pega el JSON del documento editado para reemplazar el contenido de este libro.",
+ "People": "Personas",
+ "Read-only copy saved — it follows the live session, view only": "Copia de solo lectura guardada — sigue la sesión en vivo, solo para ver",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "Copia de lectura guardada: se abre en solo lectura, sin ninguna de las claves de este libro",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "¿Quitar a {name} de este libro? Su copia pasa a ser de 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 all {n} sheets with one blank sheet? ⌘Z undoes this.": "¿Reemplazar las {n} hojas por una hoja en blanco? ⌘Z lo deshace.",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "Reemplaza todas las hojas por una hoja en blanco. Conserva el nombre, el tema y la sesión en vivo del libro; ⌘Z lo deshace.",
+ "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…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "Restaurar una versión guardada automáticamente de este libro (se guarda solo en este navegador).",
+ "Save a reading copy…": "Guardar una copia de lectura…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "Guardar como… — copia, libro nuevo, plantilla, contraseña, historial, JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook 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 edita este libro en vivo contigo (cifrado de extremo a extremo); tú sigues siendo el propietario y puedes quitarlo de la lista de Personas.",
+ "Share": "Compartir",
+ "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 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.",
+ "Start from scratch…": "Empezar de cero…",
+ "Stopped sharing": "Has dejado de compartir",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "Estas ventanas están en este ordenador. Inicia una sesión para trabajar con alguien en otro sitio.",
+ "This copy goes offline; the others carry on": "Esta copia se desconecta; las demás siguen",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "Esta es una copia de solo lectura: sigue la sesión en vivo, pero no puede cambiar este libro.",
+ "This workbook has no live session to follow": "Este libro no tiene una sesión en vivo que seguir",
+ "Version history…": "Historial de versiones…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "Copia de solo lectura: sigue la sesión en vivo, pero no puede cambiar este libro.",
+ "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",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "Las ventanas de este equipo siguen sincronizándose; desactiva el modo sin conexión en Ajustes para trabajar con alguien en otro lugar.",
+ "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.",
+ "Your name": "Tu nombre",
+ "you": "tú",
+ "{name} joined": "{name} se ha unido",
+ "{name} left": "{name} se ha ido",
+ "{name} was removed": "{name} fue eliminado",
+ "{n} connected": "{n} conectados",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "1 fórmula de «{sheet}» no se pudo hacer dinámica ({why}). Muestra el último valor que calculó Excel, y se conserva el texto de la fórmula.",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "1 fila tenía un número de campos distinto al del encabezado; las filas cortas se completaron con celdas vacías y no se descartó nada.",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "1 valor de «{column}» no se pudo leer como {type} y se dejó vacío.",
diff --git a/dash/src/i18n/fr.ts b/dash/src/i18n/fr.ts
index 5d1572c8..278f1d8f 100644
--- a/dash/src/i18n/fr.ts
+++ b/dash/src/i18n/fr.ts
@@ -22,13 +22,11 @@ export const fr: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "Une cellule qui commence par « ? » doit être saisie ainsi : appuyez d’abord sur F2, car un « ? » seul ouvre cette fiche.",
"A computed column is defined by its formula; there is nothing stored in it to split.": "Une colonne calculée est définie par sa formule ; elle ne contient rien de stocké à diviser.",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "Un jeu de données est typé par colonne : chacune a un nom et un type. Ajoutez la première avec le + au bout de la ligne d’en-tête.",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "Une copie, un modèle ou une copie en lecture seule : le ▾ à côté d’Enregistrer.",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "Chaque colonne d’un jeu de données a un seul type : une ligne de types mélangés ne pourrait être transposée qu’en texte. La transposition fonctionne sur une feuille de calcul ; dans un jeu de données, utilisez Tableau croisé ou Dépivoter.",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "Une copie plate, cellule par cellule, pour le calcul qu’une colonne ne peut pas exprimer. Le jeu de données reste le vivant.",
"A formula column fills every row of a dataset, and this sheet is not one.": "Une colonne de formule remplit chaque ligne d’un jeu de données, et cette feuille n’en est pas un.",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "Une colonne de formule remplit chaque ligne d’un jeu de données. Ceci est une feuille de calcul — saisissez = dans une cellule.",
"A formula column needs a formula.": "Une colonne de formule a besoin d’une formule.",
- "A locked copy for handing out: it opens, it does not edit.": "Une copie verrouillée à distribuer : elle s’ouvre, elle ne se modifie pas.",
"A pie shows one series; the rest are in the legend of the bar view.": "Un graphique en secteurs n’affiche qu’une série ; les autres figurent dans la légende de la vue en barres.",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "Un tableau croisé résume les colonnes d’un jeu de données — ceci est une feuille de calcul.",
"A pivot summarises a dataset’s columns, and this sheet has none.": "Un tableau croisé résume les colonnes d’un jeu de données, et cette feuille n’en a aucune.",
@@ -40,7 +38,6 @@ export const fr: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "Une étape d’histoire enregistre la vue d’un jeu de données — filtres, tris et graphique. Cette feuille n’en a aucun.",
"A value to compare against.": "Une valeur à laquelle comparer.",
"A workbook needs at least one sheet.": "Un classeur doit contenir au moins une feuille.",
- "About": "À propos",
"About this workbook": "À propos de ce classeur",
"Add a column": "Ajouter une colonne",
"Add a formula column": "Ajouter une colonne de formule",
@@ -155,7 +152,6 @@ export const fr: Catalog = {
"Delete row": "Supprimer la ligne",
"Delete {n}": "Supprimer {n}",
"Discard": "Ignorer",
- "Disconnect from the relay — collaborators stop seeing your edits": "Se déconnecter du relais — les collaborateurs cessent de voir vos modifications",
"Dismiss — keep the restored workbook": "Ignorer — conserver le classeur restauré",
"Dismiss — the changes stay in this browser": "Ignorer — les modifications restent dans ce navigateur",
"Distinct": "Distincts",
@@ -382,10 +378,8 @@ export const fr: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "Imprimer la vue, ou l’enregistrer en PDF (⌘P)",
"Print…": "Imprimer…",
"Properties travel in the file. The title is edited in the top bar.": "Les propriétés voyagent avec le fichier. Le titre se modifie dans la barre supérieure.",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "Placer ce classeur sur le relais pour que les destinataires d’une copie le modifient en direct avec vous",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "Les champs entre guillemets restent entiers. Le premier champ remplace la cellule divisée ; les autres s’étendent vers la droite.",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "Les champs entre guillemets restent entiers. Toute la colonne est divisée, et la colonne divisée est conservée.",
- "Read-only copy saved — it opens locked": "Copie en lecture seule enregistrée — elle s’ouvre verrouillée",
"Redo": "Rétablir",
"Redo (⇧⌘Z)": "Rétablir (⇧⌘Z)",
"Reduced motion (M)": "Animations réduites (M)",
@@ -395,7 +389,6 @@ export const fr: Catalog = {
"Remove password…": "Supprimer le mot de passe…",
"Remove step": "Supprimer l’étape",
"Remove the password? The next save writes the workbook in the clear.": "Supprimer le mot de passe ? Le prochain enregistrement écrira le classeur en clair.",
- "Remove this device from the session": "Retirer cet appareil de la session",
"Remove this filter": "Supprimer ce filtre",
"Rename": "Renommer",
"Reopen": "Rouvrir",
@@ -421,7 +414,6 @@ export const fr: Catalog = {
"Save": "Enregistrer",
"Save a copy…": "Enregistrer une copie…",
"Save an untouched copy": "Enregistrer une copie intacte",
- "Save as… — copy, new workbook, template, read-only, password": "Enregistrer sous… — copie, nouveau classeur, modèle, lecture seule, mot de passe",
"Settings": "Réglages",
"Settings — language, appearance and updates": "Réglages — langue, apparence et mises à jour",
"The next save writes the workbook in the clear.": "Le prochain enregistrement écrira le classeur en clair.",
@@ -435,7 +427,6 @@ export const fr: Catalog = {
"Save failed — see console": "Échec de l'enregistrement — voir la console",
"Save failed — {why}": "Échec de l’enregistrement — {why}",
"Save formula": "Enregistrer la formule",
- "Save read-only copy…": "Enregistrer une copie en lecture seule…",
"Save this workbook": "Enregistrer ce classeur",
"Save this workbook (⌘S)": "Enregistrer ce classeur (⌘S)",
"Saved": "Enregistré",
@@ -480,14 +471,12 @@ export const fr: Catalog = {
"Split on": "Diviser sur",
"Split the selected column into several, on a delimiter or at fixed widths": "Diviser la colonne sélectionnée en plusieurs, sur un délimiteur ou à largeurs fixes",
"Spreadsheet": "Feuille de calcul",
- "Start live session": "Démarrer une session en direct",
"Stop sharing": "Arrêter le partage",
"Story": "Récit",
"Subject": "Sujet",
"Sum": "Somme",
"Summarise this sheet as a pivot table": "Synthétiser cette feuille en tableau croisé dynamique",
"Symbol": "Symbole",
- "Take it elsewhere": "Emportez-le ailleurs",
"Template saved — every open of it starts a fresh workbook": "Modèle enregistré — chaque ouverture démarre un nouveau classeur",
"Text": "Texte",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "Les cellules texte conservent exactement ce qui est saisi — zéros initiaux, barres obliques, et un = qui n’est pas une formule.",
@@ -620,7 +609,6 @@ export const fr: Catalog = {
"Workbook": "Classeur",
"Wrap text": "Renvoi à la ligne",
"Write the column names into row 1": "Écrire les noms de colonnes dans la ligne 1",
- "Write this workbook back to its own file.": "Réécrire ce classeur dans son propre fichier.",
"Wrong password — try again": "Mot de passe incorrect — réessayez",
"Yes/No": "Oui/Non",
"You have the newest version ({v}).": "Vous avez la dernière version ({v}).",
@@ -647,7 +635,6 @@ export const fr: Catalog = {
"e.g. , or ; or a space": "p. ex. , ou ; ou une espace",
"e.g. 3, 8, 12": "p. ex. 3, 8, 12",
"e.g. Price * Quantity": "ex. Prix * Quantité",
- "editor": "éditeur",
"ends with": "se termine par",
"equal to": "égal à",
"from the data": "d’après les données",
@@ -673,7 +660,6 @@ export const fr: Catalog = {
"of": "de",
"of all rows": "de toutes les lignes",
"orphaned": "orphelin",
- "owner": "propriétaire",
"pivot": "tableau croisé",
"reads {value}": "contient {value}",
"row": "ligne",
@@ -688,7 +674,6 @@ export const fr: Catalog = {
"this sheet": "cette feuille",
"unknown anchor": "ancrage inconnu",
"value or = formula": "valeur ou = formule",
- "view only": "lecture seule",
"vs": "en fonction de",
"your name": "votre nom",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} contient des formules sur des cellules isolées qui ne se répètent pas le long de la colonne : la nouvelle ligne y est donc vide. Une formule importée reste sur la cellule où elle est arrivée ; donnez une formule à la colonne et chaque nouvelle ligne se remplira d’elle-même.",
@@ -752,6 +737,73 @@ export const fr: Catalog = {
"Copy saved — you are still editing the original": "Copie enregistrée — vous modifiez toujours l'original",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "La récupération après plantage est désactivée pour ce classeur : il est trop volumineux pour en garder une copie de secours. Enregistrez souvent.",
"A backup of this workbook for yourself — same workbook, same live session.": "Une sauvegarde pour vous — même classeur, même session live.",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "Un commentaire s’ancre à une cellule d’un jeu de données, et cette feuille n’en a pas.",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "Un commentaire s’ancre à une cellule d’un jeu de données, qui le garde lors d’un tri — ceci est une feuille de calcul.",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "Un lecteur en direct : il suit chaque modification en temps réel mais ne peut jamais modifier ce classeur — le relais l’impose.",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "Une copie verrouillée à distribuer : elle s’ouvre en lecture seule, ne contient aucune clé de ce classeur et ne rejoint jamais la session en direct.",
+ "Access reset — only copies saved from now on can join": "Accès réinitialisé — seules les copies enregistrées désormais pourront rejoindre",
+ "Also open in another window on this computer — not shared online": "Également ouvert dans une autre fenêtre de cet ordinateur — pas partagé en ligne",
+ "Comment on the selected cell (⌘⌥M)": "Commenter la cellule sélectionnée (⌘⌥M)",
+ "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…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "Copie ce classeur en JSON brut — le contenu seul, sans clés de session en direct. Modifiez-le dans un autre outil, puis ramenez-le avec Remplacer depuis le JSON.",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "Copies, historique des versions et le document en JSON : le ▾ à côté d’Enregistrer.",
+ "Couldn’t reach the live session": "Impossible de joindre la session live",
+ "Editor": "Éditeur",
+ "Editor copy saved — recipients join live with edit access": "Copie éditeur enregistrée — les destinataires rejoignent la session en direct avec accès en écriture",
+ "Following — view only": "Suivi en cours — lecture seule",
+ "Go live": "Passer en direct",
+ "Guest": "Invité",
+ "Invite to edit…": "Inviter à éditer…",
+ "Key-verified identity": "Identité vérifiée par clé",
+ "Live": "En direct",
+ "Live — nobody else is here yet": "En direct — personne d’autre pour l’instant",
+ "Live — send someone the file to bring them in": "En direct — envoyez le fichier à quelqu’un pour qu’il rejoigne",
+ "Live — {n} other people are here": "En direct — {n} autres personnes sont là",
+ "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 actions": "Plus d’actions",
+ "Not live — turns on when you share": "Hors ligne — s’active quand vous partagez",
+ "Nothing leaves this file until you start a session.": "Rien ne quitte ce fichier tant que vous n’avez pas démarré de session.",
+ "Offline mode is on — nothing leaves this computer.": "Le mode hors ligne est activé — rien ne quitte cet ordinateur.",
+ "Only the owner of this workbook can invite people": "Seul le propriétaire de ce classeur peut inviter des personnes",
+ "Owner": "Propriétaire",
+ "Paste edited document JSON to replace this workbook’s content.": "Collez le JSON du document modifié pour remplacer le contenu de ce classeur.",
+ "People": "Personnes",
+ "Read-only copy saved — it follows the live session, view only": "Copie en lecture seule enregistrée — elle suit la session en direct, en lecture seule",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "Copie de lecture enregistrée — elle s’ouvre en lecture seule, sans aucune des clés de ce classeur",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "Retirer {name} de ce classeur ? Sa copie passe 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 all {n} sheets with one blank sheet? ⌘Z undoes this.": "Remplacer les {n} feuilles par une seule feuille vierge ? ⌘Z annule.",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "Remplace toutes les feuilles par une seule feuille vierge. Conserve le nom, le thème et la session en direct du classeur — ⌘Z annule.",
+ "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…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "Restaurer une version enregistrée automatiquement de ce classeur (conservée localement dans ce navigateur).",
+ "Save a reading copy…": "Enregistrer une copie de lecture…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "Enregistrer sous… — copie, nouveau classeur, modèle, mot de passe, historique, JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "Enregistre une copie à envoyer. Quiconque l’ouvre modifie ce classeur en direct avec vous (chiffré de bout en bout) ; vous restez propriétaire et pouvez le retirer de la liste Personnes.",
+ "Share": "Partager",
+ "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 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.",
+ "Start from scratch…": "Repartir de zéro…",
+ "Stopped sharing": "Partage arrêté",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "Ces fenêtres sont sur cet ordinateur. Démarrez une session pour travailler avec quelqu’un ailleurs.",
+ "This copy goes offline; the others carry on": "Cette copie passe hors ligne ; les autres continuent",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "Ceci est une copie en lecture seule — elle suit la session en direct mais ne peut pas modifier ce classeur.",
+ "This workbook has no live session to follow": "Ce classeur n’a pas de session en direct à suivre",
+ "Version history…": "Historique des versions…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "Copie en lecture seule — elle suit la session en direct mais ne peut pas modifier ce classeur.",
+ "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",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "Les fenêtres de cet ordinateur restent synchronisées ; désactivez le mode hors ligne dans Réglages pour travailler avec quelqu’un ailleurs.",
+ "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.",
+ "Your name": "Votre nom",
+ "you": "vous",
+ "{name} joined": "{name} a rejoint",
+ "{name} left": "{name} est parti",
+ "{name} was removed": "{name} a été retiré",
+ "{n} connected": "{n} connectés",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "1 formule de « {sheet} » n’a pas pu être rendue dynamique ({why}). Elle affiche la dernière valeur calculée par Excel, et son texte est conservé.",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "1 ligne avait un nombre de champs différent de l’en-tête ; les lignes courtes ont été complétées par des vides et rien n’a été supprimé.",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "1 valeur de « {column} » n’a pas pu être lue comme {type} et a été laissée vide.",
diff --git a/dash/src/i18n/it.ts b/dash/src/i18n/it.ts
index e075c37b..7b73dac2 100644
--- a/dash/src/i18n/it.ts
+++ b/dash/src/i18n/it.ts
@@ -22,13 +22,11 @@ export const it: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "Una cella che inizia con “?” va digitata così: premi prima F2, perché un “?” da solo apre questa scheda.",
"A computed column is defined by its formula; there is nothing stored in it to split.": "Una colonna calcolata è definita dalla sua formula; non contiene nulla di memorizzato da dividere.",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "Un set di dati è tipizzato per colonna: ognuna ha un nome e un tipo. Aggiungi la prima con il + alla fine della riga di intestazione.",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "Una copia, un modello o una copia di sola lettura: il ▾ accanto a Salva.",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "Ogni colonna di un dataset ha un solo tipo, quindi una riga di tipi misti potrebbe essere trasposta solo come testo. La trasposizione funziona su un foglio di calcolo; in un dataset usa Pivot o Unpivot.",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "Una copia piatta, cella per cella, per quell’unico calcolo che una colonna non sa esprimere. Il set di dati resta quello vivo.",
"A formula column fills every row of a dataset, and this sheet is not one.": "Una colonna di formula riempie ogni riga di un set di dati, e questo foglio non lo è.",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "Una colonna di formula riempie ogni riga di un set di dati. Questo è un foglio di calcolo: digita = in una cella.",
"A formula column needs a formula.": "Una colonna di formula ha bisogno di una formula.",
- "A locked copy for handing out: it opens, it does not edit.": "Una copia bloccata da distribuire: si apre, non si modifica.",
"A pie shows one series; the rest are in the legend of the bar view.": "Un grafico a torta mostra una sola serie; le altre sono nella legenda della vista a barre.",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "Una tabella pivot riassume le colonne di un set di dati: questo è un foglio di calcolo.",
"A pivot summarises a dataset’s columns, and this sheet has none.": "Una tabella pivot riassume le colonne di un set di dati, e questo foglio non ne ha.",
@@ -40,7 +38,6 @@ export const it: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "Un passaggio della storia salva la vista di un set di dati: filtri, ordinamenti e grafico. Questo foglio non ne ha.",
"A value to compare against.": "Un valore con cui confrontare.",
"A workbook needs at least one sheet.": "Una cartella di lavoro deve avere almeno un foglio.",
- "About": "Informazioni",
"About this workbook": "Informazioni su questa cartella di lavoro",
"Add a column": "Aggiungi una colonna",
"Add a formula column": "Aggiungi una colonna formula",
@@ -155,7 +152,6 @@ export const it: Catalog = {
"Delete row": "Elimina riga",
"Delete {n}": "Elimina {n}",
"Discard": "Ignora",
- "Disconnect from the relay — collaborators stop seeing your edits": "Disconnetti dal relay: i collaboratori smettono di vedere le tue modifiche",
"Dismiss — keep the restored workbook": "Ignora — mantieni la cartella di lavoro ripristinata",
"Dismiss — the changes stay in this browser": "Ignora — le modifiche restano in questo browser",
"Distinct": "Distinti",
@@ -382,10 +378,8 @@ export const it: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "Stampa la vista o salvala come PDF (⌘P)",
"Print…": "Stampa…",
"Properties travel in the file. The title is edited in the top bar.": "Le proprietà viaggiano nel file. Il titolo si modifica nella barra in alto.",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "Metti questa cartella di lavoro sul relay perché chi riceve una copia la modifichi in diretta con te",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "I campi tra virgolette restano interi. Il primo campo sostituisce la cella divisa; gli altri si estendono a destra.",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "I campi tra virgolette restano interi. Viene divisa l’intera colonna, e la colonna divisa viene conservata.",
- "Read-only copy saved — it opens locked": "Copia di sola lettura salvata — si apre bloccata",
"Redo": "Ripeti",
"Redo (⇧⌘Z)": "Ripristina (⇧⌘Z)",
"Reduced motion (M)": "Animazioni ridotte (M)",
@@ -395,7 +389,6 @@ export const it: Catalog = {
"Remove password…": "Rimuovi password…",
"Remove step": "Rimuovi passaggio",
"Remove the password? The next save writes the workbook in the clear.": "Rimuovere la password? Il prossimo salvataggio scriverà la cartella di lavoro in chiaro.",
- "Remove this device from the session": "Rimuovi questo dispositivo dalla sessione",
"Remove this filter": "Rimuovi questo filtro",
"Rename": "Rinomina",
"Reopen": "Riapri",
@@ -421,7 +414,6 @@ export const it: Catalog = {
"Save": "Salva",
"Save a copy…": "Salva una copia…",
"Save an untouched copy": "Salva una copia intatta",
- "Save as… — copy, new workbook, template, read-only, password": "Salva con nome… — copia, nuova cartella di lavoro, modello, sola lettura, password",
"Settings": "Impostazioni",
"Settings — language, appearance and updates": "Impostazioni — lingua, aspetto e aggiornamenti",
"The next save writes the workbook in the clear.": "Il prossimo salvataggio scriverà la cartella di lavoro in chiaro.",
@@ -435,7 +427,6 @@ export const it: Catalog = {
"Save failed — see console": "Salvataggio non riuscito — vedi console",
"Save failed — {why}": "Salvataggio non riuscito — {why}",
"Save formula": "Salva formula",
- "Save read-only copy…": "Salva copia di sola lettura…",
"Save this workbook": "Salva questa cartella di lavoro",
"Save this workbook (⌘S)": "Salva questa cartella di lavoro (⌘S)",
"Saved": "Salvato",
@@ -480,14 +471,12 @@ export const it: Catalog = {
"Split on": "Dividi su",
"Split the selected column into several, on a delimiter or at fixed widths": "Dividi la colonna selezionata in più colonne, con un delimitatore o a larghezze fisse",
"Spreadsheet": "Foglio di calcolo",
- "Start live session": "Avvia sessione dal vivo",
"Stop sharing": "Interrompi condivisione",
"Story": "Storia",
"Subject": "Oggetto",
"Sum": "Somma",
"Summarise this sheet as a pivot table": "Riepiloga questo foglio come tabella pivot",
"Symbol": "Simbolo",
- "Take it elsewhere": "Portalo altrove",
"Template saved — every open of it starts a fresh workbook": "Modello salvato — ogni sua apertura avvia una nuova cartella di lavoro",
"Text": "Testo",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "Le celle di testo mantengono esattamente ciò che si digita: zeri iniziali, barre e un = che non è una formula.",
@@ -620,7 +609,6 @@ export const it: Catalog = {
"Workbook": "Cartella di lavoro",
"Wrap text": "Testo a capo",
"Write the column names into row 1": "Scrivi i nomi delle colonne nella riga 1",
- "Write this workbook back to its own file.": "Riscrivi questa cartella di lavoro nel suo stesso file.",
"Wrong password — try again": "Password errata — riprova",
"Yes/No": "Sì/No",
"You have the newest version ({v}).": "Hai la versione più recente ({v}).",
@@ -647,7 +635,6 @@ export const it: Catalog = {
"e.g. , or ; or a space": "es. , oppure ; oppure uno spazio",
"e.g. 3, 8, 12": "es. 3, 8, 12",
"e.g. Price * Quantity": "es. Prezzo * Quantità",
- "editor": "editor",
"ends with": "finisce con",
"equal to": "uguale a",
"from the data": "dai dati",
@@ -673,7 +660,6 @@ export const it: Catalog = {
"of": "di",
"of all rows": "di tutte le righe",
"orphaned": "orfano",
- "owner": "proprietario",
"pivot": "tabella pivot",
"reads {value}": "dice {value}",
"row": "riga",
@@ -688,7 +674,6 @@ export const it: Catalog = {
"this sheet": "questo foglio",
"unknown anchor": "ancoraggio sconosciuto",
"value or = formula": "valore o = formula",
- "view only": "sola lettura",
"vs": "vs",
"your name": "il tuo nome",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} contiene formule su singole celle che non si ripetono lungo la colonna, quindi la nuova riga lì è vuota. Una formula importata resta sulla cella su cui è arrivata; dai una formula alla colonna e ogni nuova riga si riempirà da sola.",
@@ -752,6 +737,73 @@ export const it: Catalog = {
"Copy saved — you are still editing the original": "Copia salvata: stai ancora modificando l'originale",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "Il ripristino dopo un arresto anomalo è disattivato per questa cartella di lavoro: è troppo grande per conservarne una copia di backup. Salva spesso.",
"A backup of this workbook for yourself — same workbook, same live session.": "Una copia di riserva per te — stessa cartella di lavoro, stessa sessione live.",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "Un commento si àncora a una cella di un set di dati, e questo foglio non ne ha.",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "Un commento si àncora a una cella di un set di dati, che lo conserva durante l’ordinamento — questo è un foglio di calcolo.",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "Un visualizzatore dal vivo: segue ogni modifica in tempo reale ma non può mai cambiare questa cartella di lavoro — lo impone il relay.",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "Una copia bloccata da distribuire: si apre in sola lettura, non contiene nessuna chiave di questa cartella di lavoro e non entra mai nella sessione dal vivo.",
+ "Access reset — only copies saved from now on can join": "Accesso reimpostato — solo le copie salvate d’ora in poi potranno unirsi",
+ "Also open in another window on this computer — not shared online": "Aperto anche in un’altra finestra di questo computer — non condiviso online",
+ "Comment on the selected cell (⌘⌥M)": "Commenta la cella selezionata (⌘⌥M)",
+ "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…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "Copia questa cartella di lavoro come JSON semplice: solo contenuto, senza chiavi della sessione dal vivo. Modificala in un altro strumento, poi riportala con Sostituisci da JSON.",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "Copie, cronologia delle versioni e il documento come JSON: il ▾ accanto a Salva.",
+ "Couldn’t reach the live session": "Impossibile raggiungere la sessione live",
+ "Editor": "Editor",
+ "Editor copy saved — recipients join live with edit access": "Copia editor salvata — chi la riceve entra live con accesso in modifica",
+ "Following — view only": "In ascolto — sola lettura",
+ "Go live": "Vai live",
+ "Guest": "Ospite",
+ "Invite to edit…": "Invita a modificare…",
+ "Key-verified identity": "Identità verificata da chiave",
+ "Live": "Dal vivo",
+ "Live — nobody else is here yet": "In diretta — non c’è ancora nessun altro",
+ "Live — send someone the file to bring them in": "In diretta — manda il file a qualcuno per farlo entrare",
+ "Live — {n} other people are here": "In diretta — ci sono altre {n} persone",
+ "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 actions": "Altre azioni",
+ "Not live — turns on when you share": "Non live — si attiva quando condividi",
+ "Nothing leaves this file until you start a session.": "Niente esce da questo file finché non avvii una sessione.",
+ "Offline mode is on — nothing leaves this computer.": "La modalità offline è attiva: nulla lascia questo computer.",
+ "Only the owner of this workbook can invite people": "Solo il proprietario di questa cartella di lavoro può invitare persone",
+ "Owner": "Proprietario",
+ "Paste edited document JSON to replace this workbook’s content.": "Incolla il JSON del documento modificato per sostituire il contenuto di questa cartella di lavoro.",
+ "People": "Persone",
+ "Read-only copy saved — it follows the live session, view only": "Copia in sola lettura salvata — segue la sessione live, solo visualizzazione",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "Copia di lettura salvata: si apre in sola lettura, senza nessuna chiave di questa cartella di lavoro",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "Rimuovere {name} da questa cartella di lavoro? La sua copia diventa 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 all {n} sheets with one blank sheet? ⌘Z undoes this.": "Sostituire tutti i {n} fogli con un solo foglio vuoto? ⌘Z annulla.",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "Sostituisce ogni foglio con un solo foglio vuoto. Mantiene nome, tema e sessione dal vivo della cartella di lavoro — ⌘Z annulla.",
+ "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…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "Ripristina una versione salvata automaticamente di questa cartella di lavoro (conservata solo in questo browser).",
+ "Save a reading copy…": "Salva una copia di lettura…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "Salva come… — copia, nuova cartella di lavoro, modello, password, cronologia, JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook 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 questa cartella di lavoro dal vivo con te (crittografia end-to-end); resti il proprietario e puoi rimuoverlo dall’elenco Persone.",
+ "Share": "Condividi",
+ "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 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.",
+ "Start from scratch…": "Ricomincia da capo…",
+ "Stopped sharing": "Condivisione interrotta",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "Queste finestre sono su questo computer. Avvia una sessione per lavorare con qualcuno altrove.",
+ "This copy goes offline; the others carry on": "Questa copia va offline; le altre continuano",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "Questa è una copia di sola lettura: segue la sessione dal vivo ma non può modificare questa cartella di lavoro.",
+ "This workbook has no live session to follow": "Questa cartella di lavoro non ha una sessione dal vivo da seguire",
+ "Version history…": "Cronologia versioni…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "Copia di sola lettura: segue la sessione dal vivo ma non può modificare questa cartella di lavoro.",
+ "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",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "Le finestre su questo computer restano sincronizzate; disattiva la modalità offline in Impostazioni per lavorare con qualcuno altrove.",
+ "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.",
+ "Your name": "Il tuo nome",
+ "you": "tu",
+ "{name} joined": "{name} si è unito",
+ "{name} left": "{name} se n'è andato",
+ "{name} was removed": "{name} è stato rimosso",
+ "{n} connected": "{n} connessi",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "1 formula in “{sheet}” non è stata resa dinamica ({why}). Mostra l’ultimo valore calcolato da Excel, e il testo della formula è conservato.",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "1 riga aveva un numero di campi diverso dall’intestazione; le righe corte sono state completate con celle vuote e non è stato scartato nulla.",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "1 valore in “{column}” non è stato letto come {type} ed è rimasto vuoto.",
diff --git a/dash/src/i18n/ja.ts b/dash/src/i18n/ja.ts
index 93d0ba8d..3c4709d4 100644
--- a/dash/src/i18n/ja.ts
+++ b/dash/src/i18n/ja.ts
@@ -22,13 +22,11 @@ export const ja: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "「?」で始まるセルは、そのままでは入力できません。まず F2 を押してください。単独の「?」はこのカードを開いてしまいます。",
"A computed column is defined by its formula; there is nothing stored in it to split.": "計算列は数式で定義されています。分割できる値は保存されていません。",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "データセットは列で型が決まります。各列には名前と型があります。見出し行の右端にある + から最初の列を追加してください。",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "コピー、テンプレート、読み取り専用のコピーは、「保存」の隣の ▾ から。",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "データセットの各列は 1 つの型を持つため、型の混在した行を転置すると文字列としてしか格納できません。転置はスプレッドシートのシートで行ってください。データセットではピボットまたはアンピボットを使います。",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "1 列の式では表せない計算のための、セル単位のフラットなコピーです。実データはデータセットのままです。",
"A formula column fills every row of a dataset, and this sheet is not one.": "数式列はデータセットの全行を埋めますが、このシートはデータセットではありません。",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "数式列はデータセットの全行を埋めます。これはスプレッドシートなので、セルに = を入力してください。",
"A formula column needs a formula.": "数式列には数式が必要です。",
- "A locked copy for handing out: it opens, it does not edit.": "配布用のロックされたコピー。開けますが、編集はできません。",
"A pie shows one series; the rest are in the legend of the bar view.": "円グラフは 1 つの系列だけを表示します。残りは棒グラフ表示の凡例にあります。",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "ピボットはデータセットの列を集計します — これはスプレッドシートです。",
"A pivot summarises a dataset’s columns, and this sheet has none.": "ピボットはデータセットの列を集計しますが、このシートには列がありません。",
@@ -40,7 +38,6 @@ export const ja: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "ストーリーのステップはデータセットのビュー(フィルター、並べ替え、グラフ)を保存します。このシートにはそれがありません。",
"A value to compare against.": "比較する値を入力してください。",
"A workbook needs at least one sheet.": "ブックには少なくとも 1 つのシートが必要です。",
- "About": "情報",
"About this workbook": "このブックについて",
"Add a column": "列を追加",
"Add a formula column": "数式列を追加",
@@ -155,7 +152,6 @@ export const ja: Catalog = {
"Delete row": "行を削除",
"Delete {n}": "{n}を削除",
"Discard": "破棄",
- "Disconnect from the relay — collaborators stop seeing your edits": "リレーから切断します — 共同編集者にはあなたの編集が見えなくなります",
"Dismiss — keep the restored workbook": "閉じる — 復元したブックをそのまま使う",
"Dismiss — the changes stay in this browser": "閉じる — 変更はこのブラウザに残ります",
"Distinct": "一意の数",
@@ -382,10 +378,8 @@ export const ja: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "表示中のビューを印刷、または PDF として保存します(⌘P)",
"Print…": "印刷…",
"Properties travel in the file. The title is edited in the top bar.": "プロパティはファイルと一緒に持ち運ばれます。タイトルは上部バーで編集します。",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "このブックをリレーに接続し、コピーを渡した相手とリアルタイムで共同編集します",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "引用符で囲まれた項目はそのまま残ります。最初の項目は分割元のセルを置き換え、残りは右へ広がります。",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "引用符で囲まれた項目はそのまま残ります。列全体が分割され、分割元の列はそのまま残ります。",
- "Read-only copy saved — it opens locked": "読み取り専用コピーを保存しました — 開くとロックされています",
"Redo": "やり直し",
"Redo (⇧⌘Z)": "やり直す (⇧⌘Z)",
"Reduced motion (M)": "動きを減らす (M)",
@@ -395,7 +389,6 @@ export const ja: Catalog = {
"Remove password…": "パスワードを削除…",
"Remove step": "ステップを削除",
"Remove the password? The next save writes the workbook in the clear.": "パスワードを削除しますか?次回の保存で、ブックは暗号化されずに書き込まれます。",
- "Remove this device from the session": "このデバイスをセッションから削除",
"Remove this filter": "このフィルターを削除",
"Rename": "名前を変更",
"Reopen": "再オープン",
@@ -421,7 +414,6 @@ export const ja: Catalog = {
"Save": "保存",
"Save a copy…": "コピーを保存…",
"Save an untouched copy": "手を加えていないコピーを保存",
- "Save as… — copy, new workbook, template, read-only, password": "名前を付けて保存… — コピー、新しいブック、テンプレート、読み取り専用、パスワード",
"Settings": "設定",
"Settings — language, appearance and updates": "設定 — 言語、外観、アップデート",
"The next save writes the workbook in the clear.": "次回の保存で、ブックは暗号化されずに書き込まれます。",
@@ -435,7 +427,6 @@ export const ja: Catalog = {
"Save failed — see console": "保存に失敗 — コンソールを確認",
"Save failed — {why}": "保存できませんでした — {why}",
"Save formula": "数式を保存",
- "Save read-only copy…": "読み取り専用コピーを保存…",
"Save this workbook": "このブックを保存",
"Save this workbook (⌘S)": "このブックを保存 (⌘S)",
"Saved": "保存しました",
@@ -480,14 +471,12 @@ export const ja: Catalog = {
"Split on": "区切り文字",
"Split the selected column into several, on a delimiter or at fixed widths": "選択した列を、区切り文字または固定幅で複数の列に分割します",
"Spreadsheet": "スプレッドシート",
- "Start live session": "ライブセッションを開始",
"Stop sharing": "共有を停止",
"Story": "ストーリー",
"Subject": "件名",
"Sum": "合計",
"Summarise this sheet as a pivot table": "このシートをピボットテーブルで集計する",
"Symbol": "記号",
- "Take it elsewhere": "外に持ち出す",
"Template saved — every open of it starts a fresh workbook": "テンプレートを保存しました — 開くたびに新しいブックが始まります",
"Text": "テキスト",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "テキストのセルは入力したままを保持します — 先頭のゼロ、スラッシュ、数式ではない = も含めて。",
@@ -620,7 +609,6 @@ export const ja: Catalog = {
"Workbook": "ブック",
"Wrap text": "折り返して表示",
"Write the column names into row 1": "列名を 1 行目に書き出す",
- "Write this workbook back to its own file.": "このブックを元のファイルに書き戻します。",
"Wrong password — try again": "パスワードが違います — もう一度お試しください",
"Yes/No": "はい/いいえ",
"You have the newest version ({v}).": "最新バージョンです ({v})。",
@@ -647,7 +635,6 @@ export const ja: Catalog = {
"e.g. , or ; or a space": "例: , または ; または空白",
"e.g. 3, 8, 12": "例: 3, 8, 12",
"e.g. Price * Quantity": "例: 単価 * 数量",
- "editor": "編集者",
"ends with": "次で終わる",
"equal to": "次の値に等しい",
"from the data": "データから",
@@ -673,7 +660,6 @@ export const ja: Catalog = {
"of": "の",
"of all rows": "全行のうち",
"orphaned": "孤立",
- "owner": "オーナー",
"pivot": "ピボット",
"reads {value}": "内容は {value}",
"row": "行",
@@ -688,7 +674,6 @@ export const ja: Catalog = {
"this sheet": "このシート",
"unknown anchor": "不明なアンカー",
"value or = formula": "値または = 数式",
- "view only": "閲覧のみ",
"vs": "対",
"your name": "あなたの名前",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} には列全体で繰り返されない単一セルの数式があるため、新しい行はそこが空です。読み込まれた数式は届いたセルにとどまります。列に数式を設定すれば、すべての新しい行が自動的に埋まります。",
@@ -752,6 +737,73 @@ export const ja: Catalog = {
"Copy saved — you are still editing the original": "コピーを保存しました — 編集中なのは引き続き元のファイルです",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "このブックのクラッシュ復旧はオフです — 大きすぎてバックアップを保存できません。こまめに保存してください。",
"A backup of this workbook for yourself — same workbook, same live session.": "自分用のバックアップ — 同じブック・同じライブセッションです。",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "コメントはデータセットのセルに付きますが、このシートにはセルがありません。",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "コメントはデータセットのセルに付き、並べ替えても保たれます — これはスプレッドシートです。",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "ライブビューアー: すべての編集をリアルタイムで追いますが、このブックは決して変更できません — リレーがそれを強制します。",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "配布用のロックされたコピー: 読み取り専用で開き、このブックの鍵は一切含まず、ライブセッションには参加しません。",
+ "Access reset — only copies saved from now on can join": "アクセスをリセットしました — 今後保存したコピーだけが参加できます",
+ "Also open in another window on this computer — not shared online": "このパソコンの別のウィンドウでも開いています — オンライン共有はしていません",
+ "Comment on the selected cell (⌘⌥M)": "選択したセルにコメント (⌘⌥M)",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "新しいコピーを保存せずにライブセッションへ接続します — 以前送ったコピーがここで合流します。",
+ "Connecting…": "接続中…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "このブックをプレーンな JSON としてコピーします — 内容のみで、ライブセッションの鍵は含みません。別のツールで編集し、「JSON から置き換え」で戻せます。",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "コピー、バージョン履歴、JSON としてのドキュメントは「保存」横の ▾ にあります。",
+ "Couldn’t reach the live session": "ライブセッションに接続できませんでした",
+ "Editor": "編集者",
+ "Editor copy saved — recipients join live with edit access": "編集者コピーを保存しました — 受け取った人は編集権限つきでライブに参加します",
+ "Following — view only": "追従中 — 閲覧のみ",
+ "Go live": "ライブ開始",
+ "Guest": "ゲスト",
+ "Invite to edit…": "編集に招待…",
+ "Key-verified identity": "鍵で検証済みのアイデンティティ",
+ "Live": "ライブ",
+ "Live — nobody else is here yet": "ライブ中 — まだほかに誰もいません",
+ "Live — send someone the file to bring them in": "ライブ中 — ファイルを送れば参加できます",
+ "Live — {n} other people are here": "ライブ中 — ほかに{n}人がいます",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "まったく新しい鍵を発行します。これまでに送ったコピーは永久に同期しなくなります。以後は新しいコピーを共有してください。",
+ "More actions": "その他の操作",
+ "Not live — turns on when you share": "未接続 — 共有すると自動的にライブになります",
+ "Nothing leaves this file until you start a session.": "セッションを開始するまで、このファイルから外に出るものはありません。",
+ "Offline mode is on — nothing leaves this computer.": "オフラインモードがオンです — このコンピュータから何も送信されません。",
+ "Only the owner of this workbook can invite people": "人を招待できるのはこのブックの所有者だけです",
+ "Owner": "オーナー",
+ "Paste edited document JSON to replace this workbook’s content.": "編集したドキュメントの JSON を貼り付けて、このブックの内容を置き換えます。",
+ "People": "メンバー",
+ "Read-only copy saved — it follows the live session, view only": "読み取り専用コピーを保存しました — ライブセッションに追従し、閲覧のみです",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "閲覧用コピーを保存しました — 読み取り専用で開き、このブックの鍵は一切含みません",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "{name} をこのブックから削除しますか? その人のコピーは読み取り専用になります。",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "{name} を削除 — このデバイスのアクセスを取り消します。他の人には影響しません",
+ "Replace all {n} sheets with one blank sheet? ⌘Z undoes this.": "{n} 枚のシートをすべて空のシート 1 枚に置き換えますか? ⌘Z で元に戻せます。",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "すべてのシートを空のシート 1 枚に置き換えます。ブックの名前、テーマ、ライブセッションはそのまま — ⌘Z で元に戻せます。",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "アクセスをリセットしますか?送信済みのすべてのコピーが同期を停止し、以後保存したコピーだけが参加できます。",
+ "Reset access…": "アクセスをリセット…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "このブックの以前の自動保存バージョンを復元します (このブラウザー内にのみ保持)。",
+ "Save a reading copy…": "読むためのコピーを保存…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "名前を付けて保存… — コピー、新しいブック、テンプレート、パスワード、履歴、JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "送るためのコピーを保存します。開いた人はこのブックをあなたとライブで編集します (エンドツーエンド暗号化)。所有者はあなたのままで、「参加者」リストから削除できます。",
+ "Share": "共有",
+ "Share a copy": "コピーを共有",
+ "Share — invite people to edit, send view-only copies, see who’s here": "共有 — 編集に招待、閲覧専用コピーの送付、参加者の確認",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "カーソルの横とメンバーリストに表示されます — このブラウザにのみ保存されます。",
+ "Start from scratch…": "最初から始める…",
+ "Stopped sharing": "共有を停止しました",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "これらのウィンドウはこのパソコン内のものです。別の場所にいる人と作業するにはセッションを開始してください。",
+ "This copy goes offline; the others carry on": "このコピーはオフラインになります。ほかの人はそのまま続けられます",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "これは閲覧専用コピーです — ライブセッションに追従しますが、このブックは変更できません。",
+ "This workbook has no live session to follow": "このブックには追従できるライブセッションがありません",
+ "Version history…": "バージョン履歴…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "閲覧専用コピー — ライブセッションに追従しますが、このブックは変更できません。",
+ "View-only copy — it holds no signing key.": "閲覧専用コピー — 署名鍵を保持していません。",
+ "View-only copy…": "閲覧専用コピー…",
+ "Viewer": "閲覧者",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "このコンピューター上のウィンドウは引き続き同期します。別の場所の人と作業するには、設定でオフラインモードをオフにしてください。",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "このデバイスでのあなたの鍵:{fp}。別のデバイスはオーナーが削除するまで別人として扱われます。",
+ "Your name": "あなたの名前",
+ "you": "あなた",
+ "{name} joined": "{name} が参加しました",
+ "{name} left": "{name} が退出しました",
+ "{name} was removed": "{name} を削除しました",
+ "{n} connected": "{n} 人が接続中",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "「{sheet}」の数式 1 件をライブにできませんでした({why})。Excel が最後に計算した値を表示し、数式のテキストは保持しています。",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "1 行の項目数が見出しと異なりました。短い行は空欄で埋め、何も削除していません。",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "「{column}」の値 1 件を{type}として読み取れなかったため、空欄にしました。",
diff --git a/dash/src/i18n/packed.ts b/dash/src/i18n/packed.ts
index 7ec1f1e2..e3ee1390 100644
--- a/dash/src/i18n/packed.ts
+++ b/dash/src/i18n/packed.ts
@@ -41,8 +41,9 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"A [column name] is missing its closing ].": ["[列名] の閉じる ] がありません。","[列名] 缺少右侧的 ]。","[欄名] 缺少右側的 ]。","A un [nombre de columna] le falta el ] de cierre.","Il manque le ] fermant d’un [nom de colonne].","Bei einem [Spaltennamen] fehlt die schließende ].","A un [nome di colonna] manca la ] di chiusura.","Falta o ] de fechamento em um [nome de coluna]."],
"A backup of this workbook for yourself — same workbook, same live session.": ["自分用のバックアップ — 同じブック・同じライブセッションです。","自己留存的备份 — 同一个工作簿、同一个实时会话。","自己留存的備份 — 同一個活頁簿、同一個即時會話。","Una copia de seguridad para ti — mismo libro, misma sesión en vivo.","Une sauvegarde pour vous — même classeur, même session live.","Eine Sicherungskopie für Sie — gleiche Arbeitsmappe, gleiche Live-Sitzung.","Una copia di riserva per te — stessa cartella di lavoro, stessa sessione live.","Um backup desta pasta de trabalho para você — mesma pasta de trabalho, mesma sessão ao vivo."],
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": ["「?」で始まるセルは、そのままでは入力できません。まず F2 を押してください。単独の「?」はこのカードを開いてしまいます。","以“?”开头的单元格必须这样输入:先按 F2,因为单独键入“?”会打开这张卡片。","要在儲存格開頭輸入「?」,必須先按 F2,因為單獨輸入「?」會開啟這張卡片。","Una celda que empieza por “?” hay que escribirla así: pulsa primero F2, porque un “?” suelto abre esta ficha.","Une cellule qui commence par « ? » doit être saisie ainsi : appuyez d’abord sur F2, car un « ? » seul ouvre cette fiche.","Eine Zelle, die mit „?“ beginnt, muss so eingegeben werden: zuerst F2 drücken, denn ein bloßes „?“ öffnet diese Karte.","Una cella che inizia con “?” va digitata così: premi prima F2, perché un “?” da solo apre questa scheda.","Uma célula que começa com “?” precisa ser digitada assim: pressione F2 antes, porque um “?” sozinho abre este cartão."],
+ "A comment anchors to a dataset’s cell, and this sheet has none.": ["コメントはデータセットのセルに付きますが、このシートにはセルがありません。","评论锚定在数据集的单元格上,而此工作表没有。","評論錨定在資料集的儲存格上,而此工作表沒有。","Un comentario se ancla a una celda de un conjunto de datos, y esta hoja no tiene ninguna.","Un commentaire s’ancre à une cellule d’un jeu de données, et cette feuille n’en a pas.","Ein Kommentar hängt an der Zelle eines Datensatzes, und dieses Blatt hat keine.","Un commento si àncora a una cella di un set di dati, e questo foglio non ne ha.","Um comentário se prende a uma célula de um conjunto de dados, e esta planilha não tem nenhuma."],
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": ["コメントはデータセットのセルに付き、並べ替えても保たれます — これはスプレッドシートです。","评论锚定在数据集的单元格上,排序后依然保留 — 这是电子表格。","評論錨定在資料集的儲存格上,排序後依然保留 — 這是試算表。","Un comentario se ancla a una celda de un conjunto de datos, que lo conserva al ordenar; esto es una hoja de cálculo.","Un commentaire s’ancre à une cellule d’un jeu de données, qui le garde lors d’un tri — ceci est une feuille de calcul.","Ein Kommentar hängt an der Zelle eines Datensatzes und bleibt beim Sortieren erhalten – dies ist ein Tabellenblatt.","Un commento si àncora a una cella di un set di dati, che lo conserva durante l’ordinamento — questo è un foglio di calcolo.","Um comentário se prende a uma célula de um conjunto de dados, que o mantém ao ordenar — isto é uma planilha."],
"A computed column is defined by its formula; there is nothing stored in it to split.": ["計算列は数式で定義されています。分割できる値は保存されていません。","计算列由其公式定义,其中没有可供拆分的存储内容。","計算欄由其公式定義,其中沒有可供拆分的儲存內容。","Una columna calculada se define por su fórmula; no hay nada almacenado en ella que dividir.","Une colonne calculée est définie par sa formule ; elle ne contient rien de stocké à diviser.","Eine berechnete Spalte ist durch ihre Formel definiert; darin ist nichts gespeichert, was sich teilen ließe.","Una colonna calcolata è definita dalla sua formula; non contiene nulla di memorizzato da dividere.","Uma coluna calculada é definida pela sua fórmula; não há nada armazenado nela para dividir."],
- "A copy, a template or a read-only copy: the ▾ beside Save.": ["コピー、テンプレート、読み取り専用のコピーは、「保存」の隣の ▾ から。","副本、模板或只读副本:用“保存”旁边的 ▾。","副本、範本或唯讀副本:用「儲存」旁邊的 ▾。","Una copia, una plantilla o una copia de solo lectura: el ▾ junto a Guardar.","Une copie, un modèle ou une copie en lecture seule : le ▾ à côté d’Enregistrer.","Eine Kopie, eine Vorlage oder eine schreibgeschützte Kopie: das ▾ neben Speichern.","Una copia, un modello o una copia di sola lettura: il ▾ accanto a Salva.","Uma cópia, um modelo ou uma cópia somente leitura: o ▾ ao lado de Salvar."],
"A data validation rule on {range} of “{sheet}” was not imported: {why}. The cells keep their values, but nothing checks them.": ["「{sheet}」の {range} のデータの入力規則は読み込まれませんでした: {why}。セルの値はそのままですが、チェックはされません。","“{sheet}”中 {range} 上的数据验证规则未导入:{why}。单元格保留其值,但不再检查。","「{sheet}」中 {range} 上的資料驗證規則未匯入:{why}。儲存格保留其值,但不再檢查。","No se importó una regla de validación de datos en {range} de «{sheet}»: {why}. Las celdas conservan sus valores, pero nada los comprueba.","Une règle de validation des données sur {range} de « {sheet} » n’a pas été importée : {why}. Les cellules gardent leurs valeurs, mais rien ne les vérifie.","Eine Datenüberprüfungsregel für {range} in „{sheet}“ wurde nicht importiert: {why}. Die Zellen behalten ihre Werte, aber nichts prüft sie.","Una regola di convalida dati su {range} di “{sheet}” non è stata importata: {why}. Le celle mantengono i loro valori, ma nessuno li controlla.","Uma regra de validação de dados em {range} de “{sheet}” não foi importada: {why}. As células mantêm seus valores, mas nada os verifica."],
"A data validation rule on “{sheet}” changed on the way in: {why}.": ["「{sheet}」のデータの入力規則が読み込み時に変更されました: {why}。","“{sheet}”上的数据验证规则在导入时有所改变:{why}。","「{sheet}」上的資料驗證規則在匯入時有所改變:{why}。","Una regla de validación de datos de «{sheet}» cambió al importarse: {why}.","Une règle de validation des données de « {sheet} » a changé à l’import : {why}.","Eine Datenüberprüfungsregel in „{sheet}“ hat sich beim Import geändert: {why}.","Una regola di convalida dati di “{sheet}” è cambiata durante l’importazione: {why}.","Uma regra de validação de dados de “{sheet}” mudou na importação: {why}."],
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": ["データセットは列で型が決まります。各列には名前と型があります。見出し行の右端にある + から最初の列を追加してください。","数据集按列定型:每一列都有名称和类型。用标题行末尾的 + 添加第一列。","資料集依欄定型:每一欄都有名稱和型別。用標題列末端的 + 新增第一欄。","Un conjunto de datos se tipa por columna: cada una tiene un nombre y un tipo. Añade la primera con el + al final de la fila de encabezados.","Un jeu de données est typé par colonne : chacune a un nom et un type. Ajoutez la première avec le + au bout de la ligne d’en-tête.","Ein Datensatz wird pro Spalte typisiert: Jede Spalte hat einen Namen und einen Typ. Fügen Sie die erste mit dem + am Ende der Kopfzeile hinzu.","Un set di dati è tipizzato per colonna: ognuna ha un nome e un tipo. Aggiungi la prima con il + alla fine della riga di intestazione.","Um conjunto de dados é tipado por coluna: cada uma tem nome e tipo. Adicione a primeira com o + no fim da linha de cabeçalho."],
@@ -51,7 +52,8 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"A formula column fills every row of a dataset, and this sheet is not one.": ["数式列はデータセットの全行を埋めますが、このシートはデータセットではありません。","公式列会填充数据集的每一行,而此工作表不是数据集。","公式欄會填滿資料集的每一列,而此工作表不是資料集。","Una columna de fórmula rellena todas las filas de un conjunto de datos, y esta hoja no lo es.","Une colonne de formule remplit chaque ligne d’un jeu de données, et cette feuille n’en est pas un.","Eine Formelspalte füllt jede Zeile eines Datensatzes, und dieses Blatt ist keiner.","Una colonna di formula riempie ogni riga di un set di dati, e questo foglio non lo è.","Uma coluna de fórmula preenche todas as linhas de um conjunto de dados, e esta planilha não é um."],
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": ["数式列はデータセットの全行を埋めます。これはスプレッドシートなので、セルに = を入力してください。","公式列会填充数据集的每一行。这是电子表格 — 请在单元格中输入 =。","公式欄會填滿資料集的每一列。這是試算表 — 請在儲存格中輸入 =。","Una columna de fórmula rellena todas las filas de un conjunto de datos. Esto es una hoja de cálculo: escribe = en una celda.","Une colonne de formule remplit chaque ligne d’un jeu de données. Ceci est une feuille de calcul — saisissez = dans une cellule.","Eine Formelspalte füllt jede Zeile eines Datensatzes. Dies ist ein Tabellenblatt — tippen Sie stattdessen = in eine Zelle.","Una colonna di formula riempie ogni riga di un set di dati. Questo è un foglio di calcolo: digita = in una cella.","Uma coluna de fórmula preenche todas as linhas de um conjunto de dados. Isto é uma planilha — digite = em uma célula."],
"A formula column needs a formula.": ["数式列には数式が必要です。","公式列需要一个公式。","公式欄需要一個公式。","Una columna de fórmula necesita una fórmula.","Une colonne de formule a besoin d’une formule.","Eine Formelspalte braucht eine Formel.","Una colonna di formula ha bisogno di una formula.","Uma coluna de fórmula precisa de uma fórmula."],
- "A locked copy for handing out: it opens, it does not edit.": ["配布用のロックされたコピー。開けますが、編集はできません。","用于分发的锁定副本:只能打开,不能编辑。","可分送出去的鎖定副本:只能開啟,不能編輯。","Una copia bloqueada para repartir: se abre, pero no se edita.","Une copie verrouillée à distribuer : elle s’ouvre, elle ne se modifie pas.","Eine gesperrte Kopie zum Weitergeben: sie lässt sich öffnen, aber nicht bearbeiten.","Una copia bloccata da distribuire: si apre, non si modifica.","Uma cópia bloqueada para distribuir: ela abre, mas não edita."],
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": ["ライブビューアー: すべての編集をリアルタイムで追いますが、このブックは決して変更できません — リレーがそれを強制します。","实时查看器:实时跟随每次编辑,但永远无法更改此工作簿 — 由中继强制执行。","即時檢視器:即時跟隨每次編輯,但永遠無法變更此活頁簿 — 由中繼強制執行。","Un visor en vivo: sigue cada edición al instante, pero nunca puede cambiar este libro; el relé lo impone.","Un lecteur en direct : il suit chaque modification en temps réel mais ne peut jamais modifier ce classeur — le relais l’impose.","Ein Live-Betrachter: folgt jeder Bearbeitung sofort, kann diese Arbeitsmappe aber nie ändern – das Relay setzt das durch.","Un visualizzatore dal vivo: segue ogni modifica in tempo reale ma non può mai cambiare questa cartella di lavoro — lo impone il relay.","Um visualizador ao vivo: acompanha cada edição na hora, mas nunca pode alterar esta pasta de trabalho — o relay garante isso."],
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": ["配布用のロックされたコピー: 読み取り専用で開き、このブックの鍵は一切含まず、ライブセッションには参加しません。","用于分发的锁定副本:以只读方式打开,不含此工作簿的任何密钥,也不会加入实时会话。","用於分發的鎖定副本:以唯讀方式開啟,不含此活頁簿的任何金鑰,也不會加入即時工作階段。","Una copia bloqueada para repartir: se abre en solo lectura, no lleva ninguna clave de este libro y nunca se une a la sesión en vivo.","Une copie verrouillée à distribuer : elle s’ouvre en lecture seule, ne contient aucune clé de ce classeur et ne rejoint jamais la session en direct.","Eine gesperrte Kopie zum Weitergeben: Sie öffnet schreibgeschützt, enthält keinen Schlüssel dieser Arbeitsmappe und tritt nie der Live-Sitzung bei.","Una copia bloccata da distribuire: si apre in sola lettura, non contiene nessuna chiave di questa cartella di lavoro e non entra mai nella sessione dal vivo.","Uma cópia bloqueada para distribuir: abre somente leitura, não leva nenhuma chave desta pasta de trabalho e nunca entra na sessão ao vivo."],
"A pie shows one series — the first.": ["円グラフは 1 つの系列(最初の系列)だけを表示します。","饼图只显示一个系列——第一个。","圓形圖只顯示一個數列——第一個。","Un gráfico circular muestra una sola serie: la primera.","Un camembert n’affiche qu’une série : la première.","Ein Kreisdiagramm zeigt nur eine Reihe – die erste.","Un grafico a torta mostra una sola serie: la prima.","Um gráfico circular mostra uma só série — a primeira."],
"A pie shows one series; the rest are in the legend of the bar view.": ["円グラフは 1 つの系列だけを表示します。残りは棒グラフ表示の凡例にあります。","饼图只显示一个系列;其余系列在柱状视图的图例中。","圓形圖只顯示一個數列;其餘的在長條圖檢視的圖例中。","Un gráfico circular muestra una serie; el resto están en la leyenda de la vista de barras.","Un graphique en secteurs n’affiche qu’une série ; les autres figurent dans la légende de la vue en barres.","Ein Kreisdiagramm zeigt eine Datenreihe; die übrigen stehen in der Legende der Balkenansicht.","Un grafico a torta mostra una sola serie; le altre sono nella legenda della vista a barre.","Uma pizza mostra uma série; as demais ficam na legenda da visão de barras."],
"A piece of quoted text is missing its closing quote (\").": ["引用符で囲んだテキストの閉じる引用符(\")がありません。","一段带引号的文本缺少右引号(\")。","一段帶引號的文字缺少右引號(\")。","A un texto entre comillas le falta la comilla de cierre (\").","Il manque le guillemet fermant (\") d’un texte entre guillemets.","Bei einem Text in Anführungszeichen fehlt das schließende Anführungszeichen (\").","A un testo tra virgolette manca la virgoletta di chiusura (\").","Falta a aspa de fechamento (\") em um texto entre aspas."],
@@ -66,8 +68,8 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"A value to compare against.": ["比較する値を入力してください。","请输入用于比较的值。","請輸入用來比較的值。","Un valor con el que comparar.","Une valeur à laquelle comparer.","Ein Wert zum Vergleichen.","Un valore con cui confrontare.","Um valor para comparar."],
"A workbook needs at least one sheet.": ["ブックには少なくとも 1 つのシートが必要です。","工作簿至少需要一个工作表。","活頁簿至少需要一張工作表。","Un libro necesita al menos una hoja.","Un classeur doit contenir au moins une feuille.","Eine Arbeitsmappe braucht mindestens ein Blatt.","Una cartella di lavoro deve avere almeno un foglio.","Uma pasta de trabalho precisa de pelo menos uma planilha."],
"A “(” is never closed — add a “)”.": ["「(」が閉じられていません — 「)」を追加してください。","有一个“(”没有闭合 — 请加上“)”。","有一個「(」沒有閉合 — 請加上「)」。","Hay un «(» sin cerrar: añade un «)».","Une « ( » n’est jamais fermée — ajoutez une « ) ».","Eine „(“ wird nie geschlossen — fügen Sie eine „)“ hinzu.","Una “(” non viene mai chiusa: aggiungi una “)”.","Um “(” nunca é fechado — adicione um “)”."],
- "About": ["情報","关于","關於","Acerca de","À propos","Über","Informazioni","Sobre"],
"About this workbook": ["このブックについて","关于此工作簿","關於此活頁簿","Acerca de este libro","À propos de ce classeur","Über diese Arbeitsmappe","Informazioni su questa cartella di lavoro","Sobre esta pasta de trabalho"],
+ "Access reset — only copies saved from now on can join": ["アクセスをリセットしました — 今後保存したコピーだけが参加できます","访问已重置 — 只有此后保存的副本才能加入","存取已重設 — 只有此後儲存的副本才能加入","Acceso restablecido — solo las copias guardadas a partir de ahora podrán unirse","Accès réinitialisé — seules les copies enregistrées désormais pourront rejoindre","Zugriff zurückgesetzt — nur ab jetzt gespeicherte Kopien können beitreten","Accesso reimpostato — solo le copie salvate d’ora in poi potranno unirsi","Acesso redefinido — apenas cópias salvas de agora em diante podem entrar"],
"Add a column": ["列を追加","添加列","新增欄","Añadir una columna","Ajouter une colonne","Spalte hinzufügen","Aggiungi una colonna","Adicionar uma coluna"],
"Add a field to {area}": ["{area} にフィールドを追加","向{area}添加字段","新增欄位至{area}","Añadir un campo a {area}","Ajouter un champ à {area}","Feld zu {area} hinzufügen","Aggiungi un campo a {area}","Adicionar um campo a {area}"],
"Add a formula column": ["数式列を追加","添加公式列","新增公式欄","Añadir una columna de fórmula","Ajouter une colonne de formule","Formelspalte hinzufügen","Aggiungi una colonna formula","Adicionar uma coluna de fórmula"],
@@ -83,6 +85,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"All": ["すべて","全部","全部","Todo","Tout","Alle","Tutti","Tudo"],
"All sheets": ["すべてのシート","所有工作表","所有工作表","Todas las hojas","Toutes les feuilles","Alle Blätter","Tutti i fogli","Todas as planilhas"],
"Allow empty": ["空を許可","允许为空","允許為空","Permitir vacío","Autoriser le vide","Leer zulassen","Consenti vuoto","Permitir vazio"],
+ "Also open in another window on this computer — not shared online": ["このパソコンの別のウィンドウでも開いています — オンライン共有はしていません","本机的另一个窗口中也已打开 — 未在线共享","本機的另一個視窗中也已開啟 — 未線上分享","También abierto en otra ventana de este ordenador — no compartido en línea","Également ouvert dans une autre fenêtre de cet ordinateur — pas partagé en ligne","Auch in einem anderen Fenster auf diesem Computer geöffnet — nicht online geteilt","Aperto anche in un’altra finestra di questo computer — non condiviso online","Também aberto em outra janela deste computador — não compartilhado online"],
"An update is verified before anything is rewritten: the release manifest is signed, and its signature is checked against a key inside this file.": ["更新は、何かが書き換えられる前に検証されます。リリースマニフェストには署名があり、その署名はこのファイルの中の鍵で確認されます。","在改写任何内容之前,更新都会先经过验证:发布清单带有签名,其签名会用此文件内的密钥校验。","改寫任何內容之前都會先驗證更新:發行資訊清單經過簽署,其簽章會以此檔案內的金鑰檢查。","Una actualización se verifica antes de reescribir nada: el manifiesto de la versión va firmado y su firma se comprueba con una clave incluida en este archivo.","Une mise à jour est vérifiée avant toute réécriture : le manifeste de version est signé, et sa signature est contrôlée avec une clé contenue dans ce fichier.","Ein Update wird geprüft, bevor irgendetwas überschrieben wird: das Release-Manifest ist signiert, und seine Signatur wird gegen einen Schlüssel in dieser Datei geprüft.","Un aggiornamento viene verificato prima di riscrivere qualsiasi cosa: il manifesto della release è firmato e la firma viene controllata con una chiave contenuta in questo file.","Uma atualização é verificada antes de qualquer reescrita: o manifesto da versão é assinado, e sua assinatura é conferida com uma chave dentro deste arquivo."],
"Anonymous": ["匿名","匿名","匿名","Anónimo","Anonyme","Anonym","Anonimo","Anônimo"],
"Appearance": ["外観","外观","外觀","Apariencia","Apparence","Darstellung","Aspetto","Aparência"],
@@ -151,6 +154,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Columns": ["列","列","欄","Columnas","Colonnes","Spalten","Colonne","Colunas"],
"Columns {from}–{to} of {total}": ["列 {from}–{to}(全 {total} 列)","第 {from}–{to} 列(共 {total} 列)","第 {from}–{to} 欄(共 {total} 欄)","Columnas {from}–{to} de {total}","Colonnes {from}–{to} sur {total}","Spalten {from}–{to} von {total}","Colonne {from}–{to} di {total}","Colunas {from}–{to} de {total}"],
"Comment": ["コメント","评论","註解","Comentario","Commentaire","Kommentar","Commento","Comentário"],
+ "Comment on the selected cell (⌘⌥M)": ["選択したセルにコメント (⌘⌥M)","评论所选单元格 (⌘⌥M)","評論所選儲存格 (⌘⌥M)","Comentar la celda seleccionada (⌘⌥M)","Commenter la cellule sélectionnée (⌘⌥M)","Ausgewählte Zelle kommentieren (⌘⌥M)","Commenta la cella selezionata (⌘⌥M)","Comentar a célula selecionada (⌘⌥M)"],
"Comment on {what}": ["{what} にコメント","对 {what} 的评论","在{what}加註解","Comentario sobre {what}","Commentaire sur {what}","Kommentar zu {what}","Commento su {what}","Comentar em {what}"],
"Comments on {sheet}": ["{sheet} のコメント","{sheet} 上的评论","{sheet} 的註解","Comentarios en {sheet}","Commentaires sur {sheet}","Kommentare zu {sheet}","Commenti su {sheet}","Comentários em {sheet}"],
"Commit and move down — after a Tab run, back under where the run started": ["確定して下へ移動 — Tab で右へ進んだ後は、進み始めた位置の真下へ戻ります","确认并下移 — 连续按 Tab 后,回到该行起点的下方","確認並往下移 — 連按數次 Tab 之後,回到起點的下方","Confirmar y bajar: tras una serie de tabulaciones, vuelve debajo de donde empezó","Valider et descendre — après une série de Tab, revenir sous le début de la série","Übernehmen und nach unten — nach einer Tab-Folge zurück unter den Anfang der Folge","Conferma e sposta in basso — dopo una sequenza di Tab, torna sotto il punto in cui è iniziata","Confirmar e descer — após uma sequência de Tab, volta abaixo de onde ela começou"],
@@ -161,8 +165,12 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Computed": ["計算済み","计算列","計算值","Calculado","Calculé","Berechnet","Calcolata","Calculado"],
"Condition": ["条件","条件","條件","Condición","Critère","Bedingung","Condizione","Condição"],
"Conditional formatting": ["条件付き書式","条件格式","設定格式化的條件","Formato condicional","Mise en forme conditionnelle","Bedingte Formatierung","Formattazione condizionale","Formatação condicional"],
+ "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í.","Connectez-vous à la session live sans enregistrer de copie — les copies déjà envoyées vous y rejoindront.","Mit der Live-Sitzung verbinden, ohne eine neue Kopie zu speichern — bereits gesendete Kopien treffen dich hier.","Connettiti alla sessione live senza salvare una nuova copia — le copie già inviate ti raggiungeranno qui.","Conecte-se à sessão ao vivo sem salvar uma nova cópia — as cópias que você enviou antes encontrarão você lá."],
+ "Connecting…": ["接続中…","连接中…","連線中…","Conectando…","Connexion…","Verbinden…","Connessione…","Conectando…"],
"Copied": ["コピーしました","已复制","已複製","Copiado","Copié","Kopiert","Copiato","Copiado"],
"Copied — {size} of JSON.": ["コピーしました — {size} の JSON。","已复制 — {size} 的 JSON。","已複製 — {size} 的 JSON。","Copiado: {size} de JSON.","Copié — {size} de JSON.","Kopiert — {size} JSON.","Copiato — {size} di JSON.","Copiado — {size} de JSON."],
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": ["このブックをプレーンな JSON としてコピーします — 内容のみで、ライブセッションの鍵は含みません。別のツールで編集し、「JSON から置き換え」で戻せます。","将此工作簿复制为纯 JSON — 仅内容,不含实时会话密钥。在其他工具中编辑后,用“从 JSON 替换”带回。","將此活頁簿複製為純 JSON — 僅內容,不含即時工作階段金鑰。在其他工具中編輯後,用「從 JSON 取代」帶回。","Copia este libro como JSON plano: solo el contenido, sin claves de la sesión en vivo. Edítalo en otra herramienta y tráelo de vuelta con Reemplazar desde JSON.","Copie ce classeur en JSON brut — le contenu seul, sans clés de session en direct. Modifiez-le dans un autre outil, puis ramenez-le avec Remplacer depuis le JSON.","Kopiert diese Arbeitsmappe als reines JSON – nur Inhalt, keine Schlüssel der Live-Sitzung. In einem anderen Werkzeug bearbeiten und mit „Aus JSON ersetzen“ zurückholen.","Copia questa cartella di lavoro come JSON semplice: solo contenuto, senza chiavi della sessione dal vivo. Modificala in un altro strumento, poi riportala con Sostituisci da JSON.","Copia esta pasta de trabalho como JSON simples — só o conteúdo, sem chaves da sessão ao vivo. Edite em outra ferramenta e traga de volta com Substituir a partir de JSON."],
+ "Copies, version history and the document as JSON: the ▾ beside Save.": ["コピー、バージョン履歴、JSON としてのドキュメントは「保存」横の ▾ にあります。","副本、版本历史和 JSON 格式的文档:在“保存”旁的 ▾ 中。","副本、版本紀錄和 JSON 格式的文件:在「儲存」旁的 ▾ 中。","Copias, historial de versiones y el documento como JSON: el ▾ junto a Guardar.","Copies, historique des versions et le document en JSON : le ▾ à côté d’Enregistrer.","Kopien, Versionsverlauf und das Dokument als JSON: das ▾ neben Speichern.","Copie, cronologia delle versioni e il documento come JSON: il ▾ accanto a Salva.","Cópias, histórico de versões e o documento como JSON: o ▾ ao lado de Salvar."],
"Copy": ["コピー","复制","複製","Copiar","Copier","Kopieren","Copia","Copiar"],
"Copy document JSON": ["ドキュメント JSON をコピー","复制文档 JSON","複製文件 JSON","Copiar JSON del documento","Copier le JSON du document","Dokument-JSON kopieren","Copia JSON del documento","Copiar o JSON do documento"],
"Copy saved — you are still editing the original": ["コピーを保存しました — 編集中なのは引き続き元のファイルです","副本已保存 — 你仍在编辑原文件","副本已儲存 — 你仍在編輯原始檔案","Copia guardada: sigues editando el original","Copie enregistrée — vous modifiez toujours l'original","Kopie gespeichert — Sie bearbeiten weiterhin das Original","Copia salvata: stai ancora modificando l'originale","Cópia salva — você continua editando o original"],
@@ -170,6 +178,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Copy the selection": ["選択範囲をコピーする","复制所选内容","複製選取範圍","Copiar la selección","Copier la sélection","Die Auswahl kopieren","Copia la selezione","Copiar a seleção"],
"Could not check for updates: {why}": ["更新を確認できませんでした: {why}","无法检查更新:{why}","無法檢查更新:{why}","No se han podido buscar actualizaciones: {why}","Impossible de rechercher des mises à jour : {why}","Nach Updates konnte nicht gesucht werden: {why}","Impossibile cercare aggiornamenti: {why}","Não foi possível verificar atualizações: {why}"],
"Could not save to the file automatically — {why}. Your changes are still here; press ⌘S.": ["ファイルへ自動保存できませんでした — {why}。変更はここに残っています。⌘S を押してください。","无法自动保存到文件 — {why}。您的更改仍在这里;请按 ⌘S。","無法自動儲存到檔案 — {why}。您的變更仍在這裡;請按 ⌘S。","No se pudo guardar automáticamente en el archivo — {why}. Sus cambios siguen aquí; pulse ⌘S.","Impossible d’enregistrer automatiquement dans le fichier — {why}. Vos modifications sont toujours là ; appuyez sur ⌘S.","Automatisches Speichern in die Datei nicht möglich — {why}. Ihre Änderungen sind noch da; drücken Sie ⌘S.","Impossibile salvare automaticamente sul file — {why}. Le tue modifiche sono ancora qui; premi ⌘S.","Não foi possível salvar no arquivo automaticamente — {why}. Suas alterações continuam aqui; pressione ⌘S."],
+ "Couldn’t reach the live session": ["ライブセッションに接続できませんでした","无法连接实时会话","無法連線即時會話","No se pudo contactar la sesión en vivo","Impossible de joindre la session live","Live-Sitzung nicht erreichbar","Impossibile raggiungere la sessione live","Não foi possível alcançar a sessão ao vivo"],
"Count": ["個数","计数","計數","Cuenta","Nombre","Anzahl","Conteggio","Contagem"],
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": ["このブックのクラッシュ復旧はオフです — 大きすぎてバックアップを保存できません。こまめに保存してください。","此工作簿的崩溃恢复已关闭 — 文件太大,无法保留备份。请经常保存。","此活頁簿的當機復原已關閉 — 檔案太大,無法保留備份。請經常儲存。","La recuperación tras fallos está desactivada para este libro: es demasiado grande para guardar una copia de seguridad. Guarda a menudo.","La récupération après plantage est désactivée pour ce classeur : il est trop volumineux pour en garder une copie de secours. Enregistrez souvent.","Die Absturzwiederherstellung ist für diese Arbeitsmappe deaktiviert – sie ist zu groß für eine Sicherungskopie. Speichern Sie häufig.","Il ripristino dopo un arresto anomalo è disattivato per questa cartella di lavoro: è troppo grande per conservarne una copia di backup. Salva spesso.","A recuperação de falhas está desativada para esta pasta de trabalho: ela é grande demais para manter uma cópia de segurança. Salve com frequência."],
"Currency": ["通貨","货币","貨幣","Moneda","Monétaire","Währung","Valuta","Moeda"],
@@ -195,7 +204,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Delete row": ["行を削除","删除行","刪除列","Eliminar fila","Supprimer la ligne","Zeile löschen","Elimina riga","Excluir linha"],
"Delete {n}": ["{n}を削除","删除{n}","刪除{n}","Eliminar {n}","Supprimer {n}","{n} löschen","Elimina {n}","Excluir {n}"],
"Discard": ["破棄","放弃","捨棄","Descartar","Ignorer","Verwerfen","Ignora","Descartar"],
- "Disconnect from the relay — collaborators stop seeing your edits": ["リレーから切断します — 共同編集者にはあなたの編集が見えなくなります","断开与中继的连接 — 协作者将看不到你的编辑","中斷與轉送伺服器的連線 — 協作者將看不到你的編輯","Desconectar del relé: los colaboradores dejan de ver tus cambios","Se déconnecter du relais — les collaborateurs cessent de voir vos modifications","Vom Relay trennen — Mitarbeitende sehen Ihre Änderungen nicht mehr","Disconnetti dal relay: i collaboratori smettono di vedere le tue modifiche","Desconectar do retransmissor — os colaboradores param de ver suas edições"],
"Dismiss — keep the restored workbook": ["閉じる — 復元したブックをそのまま使う","关闭 — 保留已恢复的工作簿","關閉 — 保留已還原的活頁簿","Descartar — conservar el libro restaurado","Ignorer — conserver le classeur restauré","Schließen — die wiederhergestellte Arbeitsmappe behalten","Ignora — mantieni la cartella di lavoro ripristinata","Dispensar — manter a pasta de trabalho restaurada"],
"Dismiss — the changes stay in this browser": ["閉じる — 変更はこのブラウザに残ります","忽略 — 更改仍保留在此浏览器中","關閉 — 變更仍留在這個瀏覽器中","Descartar: los cambios se quedan en este navegador","Ignorer — les modifications restent dans ce navigateur","Ausblenden — die Änderungen bleiben in diesem Browser","Ignora — le modifiche restano in questo browser","Dispensar — as alterações ficam neste navegador"],
"Distinct": ["一意の数","非重复计数","相異值","Distintos","Distincts","Eindeutig","Distinti","Distintos"],
@@ -223,6 +231,8 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Edit": ["編集","编辑","編輯","Editar","Modifier","Bearbeiten","Modifica","Editar"],
"Edit the active cell, keeping what is in it": ["アクティブセルの内容を残したまま編集する","编辑活动单元格,保留其中的内容","編輯作用儲存格,保留裡面原有的內容","Editar la celda activa conservando su contenido","Modifier la cellule active en conservant son contenu","Die aktive Zelle bearbeiten, ohne den Inhalt zu ersetzen","Modifica la cella attiva mantenendone il contenuto","Editar a célula ativa, mantendo o que há nela"],
"Edit this chart": ["このグラフを編集","编辑此图表","編輯此圖表","Editar este gráfico","Modifier ce graphique","Dieses Diagramm bearbeiten","Modifica questo grafico","Editar este gráfico"],
+ "Editor": ["編集者","编辑者","編輯者","Editor","Éditeur","Bearbeiter","Editor","Editor"],
+ "Editor copy saved — recipients join live with edit access": ["編集者コピーを保存しました — 受け取った人は編集権限つきでライブに参加します","编辑者副本已保存 — 收到的人可带编辑权限加入实时会话","編輯者副本已儲存 — 收到的人可帶編輯權限加入即時會話","Copia de editor guardada — quien la reciba se une en vivo con acceso de edición","Copie éditeur enregistrée — les destinataires rejoignent la session en direct avec accès en écriture","Bearbeiter-Kopie gespeichert — Empfänger treten live mit Schreibzugriff bei","Copia editor salvata — chi la riceve entra live con accesso in modifica","Cópia de editor salva — quem receber entra ao vivo com acesso de edição"],
"Encrypts the workbook inside the file. There is no recovery — lose it and the data is gone.": ["ファイルの中のブックを暗号化します。復元する方法はありません — 忘れるとデータは失われます。","加密文件内的工作簿。它无法找回 — 密码丢了,数据也就没了。","將檔案裡的活頁簿加密。沒有任何救回的方法 — 密碼弄丟,資料就沒了。","Cifra el libro dentro del archivo. No hay recuperación posible: si la pierdes, los datos se pierden.","Chiffre le classeur à l’intérieur du fichier. Aucune récupération n’est possible — perdez-le et les données sont perdues.","Verschlüsselt die Arbeitsmappe in der Datei. Es gibt keine Wiederherstellung — geht es verloren, sind die Daten weg.","Cifra la cartella di lavoro dentro il file. Non c’è recupero — se la perdi, i dati sono persi.","Criptografa a pasta de trabalho dentro do arquivo. Não há recuperação — perdeu a senha, perdeu os dados."],
"Enter the password to open this workbook.": ["このブックを開くにはパスワードを入力してください。","输入密码以打开此工作簿。","請輸入密碼以開啟此活頁簿。","Escribe la contraseña para abrir este libro.","Saisissez le mot de passe pour ouvrir ce classeur.","Passwort eingeben, um diese Arbeitsmappe zu öffnen.","Inserisci la password per aprire questa cartella di lavoro.","Digite a senha para abrir esta pasta de trabalho."],
"Entering data": ["データの入力","输入数据","輸入資料","Introducción de datos","Saisie des données","Daten eingeben","Inserimento dati","Inserindo dados"],
@@ -255,6 +265,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"First cell of the sheet": ["シートの先頭セル","工作表的第一个单元格","工作表的第一個儲存格","Primera celda de la hoja","Première cellule de la feuille","Erste Zelle des Blatts","Prima cella del foglio","Primeira célula da planilha"],
"First column of this row": ["この行の先頭列","本行的第一列","此列的第一欄","Primera columna de esta fila","Première colonne de cette ligne","Erste Spalte dieser Zeile","Prima colonna di questa riga","Primeira coluna desta linha"],
"Fit width to content": ["内容に合わせて幅を調整","宽度适应内容","寬度符合內容","Ajustar el ancho al contenido","Ajuster la largeur au contenu","Breite an Inhalt anpassen","Adatta larghezza al contenuto","Ajustar a largura ao conteúdo"],
+ "Following — view only": ["追従中 — 閲覧のみ","跟随中 — 仅供查看","跟隨中 — 僅供檢視","Siguiendo — solo lectura","Suivi en cours — lecture seule","Folgt mit — nur Ansicht","In ascolto — sola lettura","Acompanhando — somente visualização"],
"Format": ["書式","格式","格式","Formato","Format","Format","Formato","Formato"],
"Formats only": ["書式のみ","仅格式","僅格式","Solo formatos","Formats uniquement","Nur Formate","Solo formati","Somente formatos"],
"Formula": ["数式","公式","公式","Fórmula","Formule","Formel","Formula","Fórmula"],
@@ -271,12 +282,14 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"General": ["標準","常规","一般","General","Standard","Standard","Generale","Geral"],
"Give a delimiter, or the character positions to cut at.": ["区切り文字、または区切る文字位置を指定してください。","请给出分隔符,或要切分的字符位置。","請給出分隔符號,或要切分的字元位置。","Indica un delimitador o las posiciones de carácter donde cortar.","Donnez un délimiteur, ou les positions de caractère où couper.","Geben Sie ein Trennzeichen an oder die Zeichenpositionen, an denen geschnitten wird.","Indica un delimitatore, o le posizioni dei caratteri in cui tagliare.","Informe um delimitador, ou as posições de caractere onde cortar."],
"Globe": ["地球儀","地球","地球","Globo","Globe terrestre","Globus","Globo","Globo"],
+ "Go live": ["ライブ開始","开始直播","開始直播","Ir en vivo","Passer en direct","Live gehen","Vai live","Ficar ao vivo"],
"Go to": ["ジャンプ","转到","前往","Ir a","Atteindre","Gehe zu","Vai a","Ir para"],
"Go to the next match": ["次の一致へ移動","转到下一个匹配项","移至下一個相符項","Ir a la coincidencia siguiente","Aller à l’occurrence suivante","Zum nächsten Treffer springen","Vai alla corrispondenza successiva","Ir para a próxima ocorrência"],
"Go to the previous match": ["前の一致へ移動","转到上一个匹配项","移至上一個相符項","Ir a la coincidencia anterior","Aller à l’occurrence précédente","Zum vorherigen Treffer springen","Vai alla corrispondenza precedente","Ir para a ocorrência anterior"],
"Good to know": ["知っておくと便利","小贴士","小提示","Bueno saber","Bon à savoir","Gut zu wissen","Buono a sapersi","Vale saber"],
"Grand total": ["総計","总计","總計","Total general","Total général","Gesamtergebnis","Totale complessivo","Total geral"],
"Grand totals": ["総計","总计","總計","Totales generales","Totaux généraux","Gesamtergebnisse","Totali complessivi","Totais gerais"],
+ "Guest": ["ゲスト","访客","訪客","Invitado","Invité","Gast","Ospite","Convidado"],
"Hidden": ["非表示","已隐藏","已隱藏","Oculta","Masqué","Ausgeblendet","Nascosta","Oculto"],
"Hidden columns": ["非表示の列","隐藏的列","隱藏的欄","Columnas ocultas","Colonnes masquées","Ausgeblendete Spalten","Colonne nascoste","Colunas ocultas"],
"Hide chart": ["グラフを隠す","隐藏图表","隱藏圖表","Ocultar el gráfico","Masquer le graphique","Diagramm ausblenden","Nascondi grafico","Ocultar o gráfico"],
@@ -310,12 +323,14 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Insert {n} to the right": ["{n}を右に挿入","在右侧插入{n}","在右側插入{n}","Insertar {n} a la derecha","Insérer {n} à droite","{n} rechts einfügen","Inserisci {n} a destra","Inserir {n} à direita"],
"Insert “{name}” into the formula": ["「{name}」を数式に挿入","将“{name}”插入公式","將「{name}」插入公式","Insertar «{name}» en la fórmula","Insérer « {name} » dans la formule","„{name}“ in die Formel einfügen","Inserisci “{name}” nella formula","Inserir “{name}” na fórmula"],
"Interface language": ["表示言語","界面语言","介面語言","Idioma de la interfaz","Langue de l’interface","Sprache der Oberfläche","Lingua dell’interfaccia","Idioma da interface"],
+ "Invite to edit…": ["編集に招待…","邀请编辑…","邀請編輯…","Invitar a editar…","Inviter à éditer…","Zum Bearbeiten einladen…","Invita a modificare…","Convidar para editar…"],
"Italic": ["斜体","斜体","斜體","Cursiva","Italique","Kursiv","Corsivo","Itálico"],
"Italic the selected cells": ["選択したセルを斜体にします","将所选单元格设为斜体","將所選儲存格設為斜體","Pone en cursiva las celdas seleccionadas","Met les cellules sélectionnées en italique","Setzt die ausgewählten Zellen kursiv","Mette in corsivo le celle selezionate","Aplicar itálico às células selecionadas"],
"Its “{label}” label isn’t carried — dash labels its own totals row.": ["「{label}」というラベルは引き継がれません — dash は集計行に独自のラベルを付けます。","其“{label}”标签未保留 — dash 会自行为汇总行加标签。","其「{label}」標籤未保留 — dash 會自行為合計列加標籤。","Su etiqueta «{label}» no se conserva: dash pone su propia etiqueta a la fila de totales.","Son libellé « {label} » n’est pas repris — dash étiquette lui-même sa ligne de totaux.","Die Beschriftung „{label}“ wird nicht übernommen — dash beschriftet seine Summenzeile selbst.","L’etichetta “{label}” non viene mantenuta: dash etichetta da sé la riga dei totali.","O rótulo “{label}” não é mantido — o dash rotula a própria linha de totais."],
"Jump to the edge of the data block": ["データ範囲の端まで移動する","跳到数据区域的边缘","跳到資料區塊的邊緣","Saltar al borde del bloque de datos","Aller au bord du bloc de données","Zum Rand des Datenblocks springen","Salta al bordo del blocco di dati","Saltar para a borda do bloco de dados"],
"Just start typing over a selected cell — the first character replaces what was there. F2 (or a double-click) edits what is already in it instead.": ["セルを選んでそのまま入力を始めてください — 最初の 1 文字で元の内容が置き換わります。F2(またはダブルクリック)なら、今ある内容を編集できます。","选中单元格后直接输入 — 第一个字符就会替换原有内容。按 F2(或双击)则是在原有内容上编辑。","選取儲存格後直接開始輸入 — 第一個字元就會取代原本的內容。若要編輯原有內容,請按 F2(或連按兩下)。","Empieza a escribir sobre una celda seleccionada: el primer carácter sustituye lo que hubiera. F2 (o un doble clic) edita lo que ya hay en ella.","Tapez simplement sur une cellule sélectionnée — le premier caractère remplace ce qui s’y trouvait. F2 (ou un double-clic) modifie plutôt le contenu existant.","Einfach über einer ausgewählten Zelle lostippen — das erste Zeichen ersetzt den bisherigen Inhalt. F2 (oder ein Doppelklick) bearbeitet stattdessen das, was schon darin steht.","Basta iniziare a digitare su una cella selezionata — il primo carattere sostituisce ciò che c’era. F2 (o un doppio clic) modifica invece il contenuto esistente.","Basta digitar sobre uma célula selecionada — o primeiro caractere substitui o que havia. F2 (ou um duplo clique) edita o que já está nela."],
"Keep the file": ["ファイルを使う","保留文件","保留檔案","Conservar el archivo","Garder le fichier","Datei behalten","Tieni il file","Manter o arquivo"],
+ "Key-verified identity": ["鍵で検証済みのアイデンティティ","密钥验证的身份","金鑰驗證的身份","Identidad verificada por clave","Identité vérifiée par clé","Schlüssel-verifizierte Identität","Identità verificata da chiave","Identidade verificada por chave"],
"Keyboard shortcuts": ["キーボードショートカット","键盘快捷键","鍵盤快速鍵","Atajos de teclado","Raccourcis clavier","Tastenkürzel","Scorciatoie da tastiera","Atalhos de teclado"],
"Keyboard shortcuts (?)": ["キーボードショートカット (?)","键盘快捷键 (?)","鍵盤快速鍵 (?)","Atajos de teclado (?)","Raccourcis clavier (?)","Tastenkürzel (?)","Scorciatoie da tastiera (?)","Atalhos de teclado (?)"],
"Keywords": ["キーワード","关键词","關鍵詞","Palabras clave","Mots-clés","Schlagwörter","Parole chiave","Palavras-chave"],
@@ -333,6 +348,10 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Light": ["ライト","浅色","淺色","Claro","Clair","Hell","Chiaro","Claro"],
"Line": ["折れ線","折线","折線","Líneas","Lignes","Linie","Linee","Linhas"],
"List": ["リスト","列表","清單","Lista","Liste","Liste","Elenco","Lista"],
+ "Live": ["ライブ","已连接","已連線","En vivo","En direct","Live","Dal vivo","Ao vivo"],
+ "Live — nobody else is here yet": ["ライブ中 — まだほかに誰もいません","实时协作中 — 还没有其他人","即時協作中 — 還沒有其他人","En directo — todavía no hay nadie más","En direct — personne d’autre pour l’instant","Live — noch niemand sonst da","In diretta — non c’è ancora nessun altro","Ao vivo — ainda não há mais ninguém"],
+ "Live — send someone the file to bring them in": ["ライブ中 — ファイルを送れば参加できます","实时协作中 — 把文件发给别人即可加入","即時協作中 — 把檔案傳給別人即可加入","En directo — envía el archivo a alguien para que entre","En direct — envoyez le fichier à quelqu’un pour qu’il rejoigne","Live — schick jemandem die Datei, dann ist er dabei","In diretta — manda il file a qualcuno per farlo entrare","Ao vivo — envie o arquivo para alguém para que essa pessoa entre"],
+ "Live — {n} other people are here": ["ライブ中 — ほかに{n}人がいます","实时协作中 — 还有 {n} 人在此","即時協作中 — 還有 {n} 人在此","En directo — hay {n} personas más","En direct — {n} autres personnes sont là","Live — {n} weitere Personen sind da","In diretta — ci sono altre {n} persone","Ao vivo — há mais {n} pessoas"],
"Lowest": ["最小値","最低值","最低值","Mínimo","Minimum","Niedrigster Wert","Minimo","Menor"],
"Lowest values": ["下位から","最低的若干项","最低的若干項","Los más bajos","Les plus basses","Die niedrigsten","I più bassi","Menores valores"],
"Make dataset": ["データセットを作成","创建数据集","建立資料集","Crear conjunto de datos","Créer le jeu de données","Datensatz erstellen","Crea set di dati","Criar conjunto de dados"],
@@ -352,7 +371,9 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Middle colour": ["中間色","中间色","中間色","Color intermedio","Couleur médiane","Farbe der Mitte","Colore intermedio","Cor do meio"],
"Min": ["最小値","最小值","最小值","Mín","Minimum","Minimum","Min","Mín"],
"Minimum": ["最小値","最小值","最小值","Mínimo","Valeur minimale","Mindestwert","Minimo","Mínimo"],
+ "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.","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.","Erzeugt brandneue Schlüssel. Jede bereits gesendete Kopie synchronisiert endgültig nicht mehr; teile danach frische Kopien.","Genera chiavi nuove di zecca. Ogni copia già inviata smette per sempre di sincronizzarsi; condividi poi copie nuove.","Gera chaves totalmente novas. Toda cópia enviada antes para de sincronizar de vez; compartilhe cópias novas depois."],
"Money": ["通貨","货币","貨幣","Moneda","Monétaire","Währung","Valuta","Moeda"],
+ "More actions": ["その他の操作","更多操作","更多操作","Más acciones","Plus d’actions","Weitere Aktionen","Altre azioni","Mais ações"],
"More conditional formatting…": ["条件付き書式の詳細…","更多条件格式…","更多格式化條件…","Más formato condicional…","Plus de mises en forme conditionnelles…","Weitere bedingte Formatierung …","Altra formattazione condizionale…","Mais formatação condicional…"],
"Move down": ["下へ移動","下移","下移","Bajar","Descendre","Nach unten","Sposta giù","Descer"],
"Move left": ["左へ移動","左移","左移","Mover a la izquierda","Déplacer vers la gauche","Nach links verschieben","Sposta a sinistra","Ir para a esquerda"],
@@ -398,9 +419,11 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"None — one point per row": ["なし — 行ごとに 1 点","无——每行一个点","無——每列一個點","Ninguno: un punto por fila","Aucun — un point par ligne","Keine – ein Punkt pro Zeile","Nessuno: un punto per riga","Nenhum — um ponto por linha"],
"Normal — 12mm": ["標準 — 12mm","常规 — 12mm","標準 — 12mm","Normal — 12 mm","Normales — 12 mm","Normal — 12 mm","Normali — 12 mm","Normais — 12 mm"],
"Not a number — left out of totals, and a formula that reads it gives #VALUE!": ["数値ではありません — 合計から除外され、これを参照する数式は #VALUE! になります","不是数字 — 未计入合计,读取它的公式会得到 #VALUE!","不是數字 — 未計入合計,讀取它的公式會得到 #VALUE!","No es un número: queda fuera de los totales, y una fórmula que lo lea da #VALUE!","Pas un nombre — exclu des totaux, et une formule qui le lit donne #VALUE!","Keine Zahl — aus den Summen ausgenommen, und eine Formel, die sie liest, ergibt #VALUE!","Non è un numero — escluso dai totali, e una formula che lo legge dà #VALUE!","Não é um número — fica fora dos totais, e uma fórmula que o lê dá #VALUE!"],
+ "Not live — turns on when you share": ["未接続 — 共有すると自動的にライブになります","未上线 — 分享时自动开启","未上線 — 分享時自動開啟","Sin conexión — se activa al compartir","Hors ligne — s’active quand vous partagez","Nicht live — startet beim Teilen","Non live — si attiva quando condividi","Fora do ar — ativa quando você compartilha"],
"Not set": ["未設定","未设置","未設定","Sin definir","Non défini","Nicht festgelegt","Non impostato","Não definido"],
"Nothing has been flagged on this sheet yet.": ["このシートにはまだ何も指摘されていません。","此工作表上还没有任何标记。","此工作表上還沒有標記任何內容。","Aún no se ha marcado nada en esta hoja.","Rien n’a encore été signalé sur cette feuille.","Auf diesem Blatt wurde noch nichts markiert.","In questo foglio non è ancora stato segnalato nulla.","Nada foi sinalizado nesta planilha ainda."],
"Nothing in this column matches that search.": ["この列にはその検索に一致するものがありません。","此列中没有与该搜索匹配的内容。","此欄中沒有符合該搜尋的內容。","Nada en esta columna coincide con esa búsqueda.","Rien dans cette colonne ne correspond à cette recherche.","Nichts in dieser Spalte passt zu dieser Suche.","Nulla in questa colonna corrisponde a quella ricerca.","Nada nesta coluna corresponde a essa busca."],
+ "Nothing leaves this file until you start a session.": ["セッションを開始するまで、このファイルから外に出るものはありません。","在你开始会话之前,没有任何内容离开这个文件。","在你開始工作階段之前,沒有任何內容離開這個檔案。","Nada sale de este archivo hasta que inicies una sesión.","Rien ne quitte ce fichier tant que vous n’avez pas démarré de session.","Nichts verlässt diese Datei, bis du eine Sitzung startest.","Niente esce da questo file finché non avvii una sessione.","Nada sai deste arquivo até você iniciar uma sessão."],
"Nothing numeric to plot for this selection.": ["この選択範囲にはグラフにできる数値がありません。","当前选择没有可绘制的数值。","此選取範圍沒有可繪製的數值。","No hay nada numérico que representar en esta selección.","Rien de numérique à représenter pour cette sélection.","Für diese Auswahl gibt es nichts Numerisches zum Darstellen.","Niente di numerico da rappresentare per questa selezione.","Nada numérico para plotar nesta seleção."],
"Nothing on this sheet is called {name}, so this rule matches no rows.": ["このシートに {name} という列はありません。このルールはどの行にも一致しません。","本工作表中没有名为 {name} 的列,因此该规则不会匹配任何行。","這個工作表中沒有名為 {name} 的欄,因此這條規則不會符合任何列。","En esta hoja no hay nada llamado {name}, así que esta regla no coincide con ninguna fila.","Rien ne s’appelle {name} sur cette feuille : cette règle ne correspond à aucune ligne.","Auf diesem Blatt gibt es nichts namens {name}, diese Regel trifft also auf keine Zeile zu.","In questo foglio non esiste nulla di nome {name}, quindi questa regola non corrisponde a nessuna riga.","Nada nesta planilha se chama {name}, então esta regra não corresponde a nenhuma linha."],
"Nothing to print — this sheet is empty.": ["印刷するものがありません — このシートは空です。","没有可打印的内容 — 此工作表为空。","沒有可列印的內容 — 此工作表是空的。","No hay nada que imprimir: esta hoja está vacía.","Rien à imprimer — cette feuille est vide.","Nichts zu drucken – dieses Blatt ist leer.","Niente da stampare: questo foglio è vuoto.","Nada para imprimir — esta planilha está vazia."],
@@ -409,6 +432,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Number": ["数値","数字","數值","Número","Numérique","Zahl","Numero","Número"],
"Number format": ["表示形式","数字格式","數字格式","Formato de número","Format de nombre","Zahlenformat","Formato numero","Formato de número"],
"OK": ["OK","确定","確定","Aceptar","Valider","OK","OK","OK"],
+ "Offline mode is on — nothing leaves this computer.": ["オフラインモードがオンです — このコンピュータから何も送信されません。","离线模式已开启 — 任何数据都不会离开这台电脑。","離線模式已開啟 — 任何資料都不會離開這台電腦。","El modo sin conexión está activo: nada sale de este equipo.","Le mode hors ligne est activé — rien ne quitte cet ordinateur.","Der Offline-Modus ist aktiv — nichts verlässt diesen Computer.","La modalità offline è attiva: nulla lascia questo computer.","O modo offline está ativado — nada sai deste computador."],
"Offline mode is on, so nothing was contacted.": ["オフラインモードが有効なため、どこにも接続していません。","离线模式已开启,因此未连接任何服务。","離線模式已開啟,因此沒有連線到任何地方。","El modo sin conexión está activado, así que no se ha contactado con nada.","Le mode hors ligne est activé : rien n’a été contacté.","Der Offlinemodus ist aktiv, es wurde nichts kontaktiert.","La modalità offline è attiva, quindi non è stato contattato nulla.","O modo offline está ligado, então nada foi contatado."],
"Offline mode is on: no update checks, no relay. Nothing leaves this computer. Sheets sync between tabs on this machine as before — that is not networking.": ["オフラインモードが有効です。更新の確認もリレーもありません。このコンピューターから何も送信されません。同じ端末のタブ間でのシート同期は従来どおり動作します — これはネットワーク通信ではありません。","离线模式已开启:不检查更新,不连接中继。没有任何内容离开这台电脑。本机各标签页之间的工作表同步照常进行 — 那不算联网。","離線模式已開啟:不檢查更新,不連線轉送伺服器。沒有任何內容離開這台電腦。本機各分頁之間的工作表同步照常進行 — 那不算連網。","El modo sin conexión está activado: sin comprobaciones de actualización ni relé. Nada sale de este ordenador. Las hojas siguen sincronizándose entre pestañas de esta máquina, como antes: eso no es red.","Le mode hors ligne est activé : aucune vérification de mise à jour, aucun relais. Rien ne quitte cet ordinateur. Les feuilles se synchronisent toujours entre les onglets de cette machine — ce n’est pas du réseau.","Der Offline-Modus ist an: keine Update-Prüfungen, kein Relay. Nichts verlässt diesen Computer. Blätter werden zwischen Tabs auf diesem Gerät weiterhin synchronisiert — das ist kein Netzwerkverkehr.","La modalità offline è attiva: nessun controllo aggiornamenti, nessun relay. Nulla lascia questo computer. I fogli continuano a sincronizzarsi tra le schede di questa macchina — quella non è rete.","O modo offline está ligado: sem verificação de atualizações, sem retransmissor. Nada sai deste computador. As planilhas continuam sincronizando entre abas nesta máquina como antes — isso não é rede."],
"Offline mode — block every network feature (updates, live collaboration)": ["オフラインモード — すべてのネットワーク機能をブロック(更新、リアルタイム共同編集)","离线模式 — 阻止所有网络功能(更新、实时协作)","離線模式 — 封鎖所有網路功能(更新、即時協作)","Modo sin conexión: bloquea toda función de red (actualizaciones, colaboración en directo)","Mode hors ligne — bloque toute fonction réseau (mises à jour, collaboration en direct)","Offline-Modus — alle Netzwerkfunktionen blockieren (Updates, Live-Zusammenarbeit)","Modalità offline: blocca ogni funzione di rete (aggiornamenti, collaborazione dal vivo)","Modo offline — bloquear todos os recursos de rede (atualizações, colaboração ao vivo)"],
@@ -420,6 +444,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Only the first {n} cells of this selection will be changed.": ["この選択範囲のうち先頭 {n} セルのみが変更されます。","仅更改此选定区域中的前 {n} 个单元格。","僅變更此選取範圍中的前 {n} 個儲存格。","Solo se cambiarán las primeras {n} celdas de esta selección.","Seules les {n} premières cellules de cette sélection seront modifiées.","Nur die ersten {n} Zellen dieser Auswahl werden geändert.","Verranno modificate solo le prime {n} celle di questa selezione.","Apenas as primeiras {n} células desta seleção serão alteradas."],
"Only the first {n} values are listed.": ["最初の {n} 個の値だけを表示しています。","仅列出前 {n} 个值。","僅列出前 {n} 個值。","Solo se muestran los primeros {n} valores.","Seules les {n} premières valeurs sont listées.","Nur die ersten {n} Werte sind aufgeführt.","Sono elencati solo i primi {n} valori.","Só os primeiros {n} valores estão listados."],
"Only the first {n} values fit this list. Tick the ones to keep, search to reach the rest, or use a condition below.": ["このリストに収まるのは最初の {n} 件だけです。残したい値にチェックを入れるか、検索で残りを探すか、下の条件を使ってください。","此列表只能容纳前 {n} 个值。勾选要保留的值,用搜索找到其余的值,或使用下方的条件。","此清單只能容納前 {n} 個值。勾選要保留的值,用搜尋找到其餘的值,或使用下方的條件。","En esta lista solo caben los primeros {n} valores. Marca los que quieras conservar, busca para llegar al resto o usa una condición más abajo.","Cette liste ne contient que les {n} premières valeurs. Cochez celles à conserver, cherchez pour atteindre les autres, ou utilisez un critère ci-dessous.","In diese Liste passen nur die ersten {n} Werte. Haken Sie die zu behaltenden an, suchen Sie nach den übrigen, oder nutzen Sie unten eine Bedingung.","In questo elenco stanno solo i primi {n} valori. Spunta quelli da mantenere, cerca per raggiungere gli altri oppure usa una condizione qui sotto.","Apenas os primeiros {n} valores cabem nesta lista. Marque os que quer manter, busque para alcançar os demais, ou use uma condição abaixo."],
+ "Only the owner of this workbook can invite people": ["人を招待できるのはこのブックの所有者だけです","只有此工作簿的所有者才能邀请他人","只有此活頁簿的擁有者才能邀請他人","Solo el propietario de este libro puede invitar a otras personas","Seul le propriétaire de ce classeur peut inviter des personnes","Nur der Eigentümer dieser Arbeitsmappe kann Personen einladen","Solo il proprietario di questa cartella di lavoro può invitare persone","Só o proprietário desta pasta de trabalho pode convidar pessoas"],
"Open": ["開く","打开","開啟","Abrir","Ouvrir","Öffnen","Apri","Abrir"],
"Open \"{name}\" as a spreadsheet": ["「{name}」をスプレッドシートとして開く","以电子表格方式打开“{name}”","以試算表方式開啟「{name}」","Abrir «{name}» como hoja de cálculo","Ouvrir « {name} » comme feuille de calcul","„{name}“ als Tabellenblatt öffnen","Apri «{name}» come foglio di calcolo","Abrir “{name}” como planilha"],
"Open as a spreadsheet": ["スプレッドシートとして開く","以电子表格方式打开","以試算表方式開啟","Abrir como hoja de cálculo","Ouvrir comme feuille de calcul","Als Tabellenblatt öffnen","Apri come foglio di calcolo","Abrir como planilha"],
@@ -429,6 +454,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Opened “{name}” — ⌘S writes it back": ["「{name}」を開きました — ⌘S で書き戻します","已打开“{name}” — ⌘S 直接写回原文件","已開啟「{name}」 — ⌘S 會寫回原檔","Se ha abierto “{name}”: ⌘S lo reescribe","« {name} » ouvert — ⌘S le réécrit","„{name}“ geöffnet — ⌘S schreibt sie zurück","Aperto “{name}” — ⌘S lo riscrive","“{name}” aberto — ⌘S grava de volta nele"],
"Orientation": ["向き","方向","方向","Orientación","Orientation","Ausrichtung","Orientamento","Orientação"],
"Orphaned": ["孤立","已孤立","已孤立","Huérfano","Orphelin","Verwaist","Orfano","Órfão"],
+ "Owner": ["オーナー","所有者","擁有者","Propietario","Propriétaire","Eigentümer","Proprietario","Dono"],
"Page header": ["ページヘッダー","页眉","頁首","Encabezado de página","En-tête de page","Seitenkopfzeile","Intestazione di pagina","Cabeçalho de página"],
"Page numbers come from your browser’s own print dialog — turn on its headers and footers there.": ["ページ番号はブラウザーの印刷ダイアログから付きます — そちらでヘッダーとフッターを有効にしてください。","页码来自浏览器自己的打印对话框 — 请在那里打开页眉和页脚。","頁碼來自瀏覽器自己的列印對話方塊 — 請在那裡開啟頁首和頁尾。","Los números de página vienen del propio diálogo de impresión del navegador: actívalos allí en encabezados y pies de página.","Les numéros de page viennent de la boîte de dialogue d’impression du navigateur — activez-y ses en-têtes et pieds de page.","Seitenzahlen kommen aus dem Druckdialog des Browsers — schalten Sie dort dessen Kopf- und Fußzeilen ein.","I numeri di pagina vengono dalla finestra di stampa del browser: attiva lì le sue intestazioni e piè di pagina.","Os números de página vêm da própria caixa de impressão do navegador — ative os cabeçalhos e rodapés por lá."],
"Paper": ["用紙","纸张","紙張","Papel","Papier","Papier","Carta","Papel"],
@@ -436,11 +462,13 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Password set. Save to write the workbook encrypted, and keep the password somewhere safe.": ["パスワードを設定しました。保存するとブックは暗号化されます。パスワードは安全な場所に保管してください。","密码已设置。保存后将以加密方式写入工作簿,请妥善保管密码。","密碼已設定。儲存後會以加密方式寫入活頁簿,請把密碼放在安全的地方。","Contraseña establecida. Guarda para escribir el libro cifrado y guarda la contraseña en un sitio seguro.","Mot de passe défini. Enregistrez pour écrire le classeur chiffré, et conservez le mot de passe en lieu sûr.","Passwort festgelegt. Speichern, um die Arbeitsmappe verschlüsselt zu schreiben, und das Passwort sicher aufbewahren.","Password impostata. Salva per scrivere la cartella di lavoro cifrata e conserva la password in un posto sicuro.","Senha definida. Salve para gravar a pasta de trabalho criptografada, e guarde a senha em lugar seguro."],
"Paste": ["貼り付け","粘贴","貼上","Pegar","Coller","Einfügen","Incolla","Colar"],
"Paste bento/dash document JSON here": ["bento/dash のドキュメント JSON をここに貼り付けてください","在此粘贴 bento/dash 文档 JSON","在此貼上 bento/dash 文件 JSON","Pega aquí el JSON del documento bento/dash","Collez ici le JSON d’un document bento/dash","bento/dash-Dokument-JSON hier einfügen","Incolla qui il JSON del documento bento/dash","Cole aqui o JSON de documento do bento/dash"],
+ "Paste edited document JSON to replace this workbook’s content.": ["編集したドキュメントの JSON を貼り付けて、このブックの内容を置き換えます。","粘贴编辑后的文档 JSON 以替换此工作簿的内容。","貼上編輯後的文件 JSON 以取代此活頁簿的內容。","Pega el JSON del documento editado para reemplazar el contenido de este libro.","Collez le JSON du document modifié pour remplacer le contenu de ce classeur.","Bearbeitetes Dokument-JSON einfügen, um den Inhalt dieser Arbeitsmappe zu ersetzen.","Incolla il JSON del documento modificato per sostituire il contenuto di questa cartella di lavoro.","Cole o JSON do documento editado para substituir o conteúdo desta pasta de trabalho."],
"Paste from Excel or Sheets lands in the cells at the cursor. Use Data ▸ Import to bring a file in as a new sheet.": ["Excel や Sheets からの貼り付けは、カーソル位置のセルに入ります。ファイルを新しいシートとして取り込むには データ ▸ 読み込み を使います。","从 Excel 或 Sheets 粘贴的内容会落在光标所在的单元格。用“数据 ▸ 导入”把文件作为新工作表引入。","從 Excel 或 Sheets 貼上的內容會落在游標所在的儲存格。若要把檔案帶進來成為新的工作表,請用「資料 ▸ 匯入」。","Lo que pegas desde Excel o Sheets cae en las celdas del cursor. Usa Datos ▸ Importar para traer un archivo como hoja nueva.","Un collage depuis Excel ou Sheets atterrit dans les cellules au niveau du curseur. Utilisez Données ▸ Importer pour ajouter un fichier comme nouvelle feuille.","Eingefügtes aus Excel oder Sheets landet in den Zellen an der Cursorposition. Über Daten ▸ Importieren kommt eine Datei als neues Blatt herein.","Ciò che incolli da Excel o da Fogli finisce nelle celle a partire dal cursore. Usa Dati ▸ Importa per portare un file come nuovo foglio.","Colar do Excel ou do Sheets cai nas células a partir do cursor. Use Dados ▸ Importar para trazer um arquivo como nova planilha."],
"Paste into the selection": ["選択範囲に貼り付ける","粘贴到选区","貼上到選取範圍","Pegar en la selección","Coller dans la sélection","In die Auswahl einfügen","Incolla nella selezione","Colar na seleção"],
"Paste special — values only, formulas, formats only, transposed": ["形式を選択して貼り付け — 値のみ、数式、書式のみ、行列を入れ替え","选择性粘贴 — 仅值、公式、仅格式、转置","選擇性貼上 — 僅值、公式、僅格式、轉置","Pegado especial: solo valores, fórmulas, solo formatos, transpuesto","Collage spécial — valeurs uniquement, formules, formats uniquement, transposé","Inhalte einfügen — nur Werte, Formeln, nur Formate, transponiert","Incolla speciale — solo valori, formule, solo formati, trasposto","Colar especial — somente valores, fórmulas, somente formatos, transposto"],
"Paste special…": ["形式を選択して貼り付け…","选择性粘贴…","選擇性貼上…","Pegado especial…","Collage spécial…","Inhalte einfügen…","Incolla speciale…","Colar especial…"],
"Pattern": ["書式パターン","格式代码","格式代碼","Patrón","Motif","Muster","Modello","Padrão"],
+ "People": ["メンバー","成员","成員","Personas","Personnes","Personen","Persone","Pessoas"],
"Percent": ["パーセント","百分比","百分比","Porcentaje","Pourcentage","Prozent","Percentuale","Porcentagem"],
"Pie": ["円","饼图","圓形","Circular","Secteurs","Kreis","Torta","Circular"],
"Pivot": ["ピボット","数据透视表","樞紐分析表","Tabla dinámica","Tableau croisé","PivotTable","Tabella pivot","Tabela dinâmica"],
@@ -458,10 +486,10 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Print the view, or save it as a PDF (⌘P)": ["表示中のビューを印刷、または PDF として保存します(⌘P)","打印当前视图,或另存为 PDF(⌘P)","列印目前檢視,或另存為 PDF(⌘P)","Imprime la vista o guárdala como PDF (⌘P)","Imprimer la vue, ou l’enregistrer en PDF (⌘P)","Die Ansicht drucken oder als PDF sichern (⌘P)","Stampa la vista o salvala come PDF (⌘P)","Imprimir a visão, ou salvá-la como PDF (⌘P)"],
"Print…": ["印刷…","打印…","列印…","Imprimir…","Imprimer…","Drucken…","Stampa…","Imprimir…"],
"Properties travel in the file. The title is edited in the top bar.": ["プロパティはファイルと一緒に持ち運ばれます。タイトルは上部バーで編集します。","属性随文件一同保存。标题在顶栏中编辑。","屬性會跟著檔案一起走。標題請在頂端列編輯。","Las propiedades viajan en el archivo. El título se edita en la barra superior.","Les propriétés voyagent avec le fichier. Le titre se modifie dans la barre supérieure.","Die Eigenschaften reisen in der Datei mit. Der Titel wird in der oberen Leiste bearbeitet.","Le proprietà viaggiano nel file. Il titolo si modifica nella barra in alto.","As propriedades viajam no arquivo. O título é editado na barra superior."],
- "Put this workbook on the relay so people you send a copy to edit it live with you": ["このブックをリレーに接続し、コピーを渡した相手とリアルタイムで共同編集します","将此工作簿接入中继,让收到副本的人与你实时共同编辑","將此活頁簿接上轉送伺服器,讓收到副本的人與你即時共同編輯","Pon este libro en el relé para que quienes reciban una copia lo editen contigo en directo","Placer ce classeur sur le relais pour que les destinataires d’une copie le modifient en direct avec vous","Diese Arbeitsmappe auf das Relay legen, damit Empfänger einer Kopie live mit Ihnen bearbeiten","Metti questa cartella di lavoro sul relay perché chi riceve una copia la modifichi in diretta con te","Colocar esta pasta de trabalho no retransmissor para que quem receber uma cópia edite ao vivo com você"],
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": ["引用符で囲まれた項目はそのまま残ります。最初の項目は分割元のセルを置き換え、残りは右へ広がります。","带引号的字段保持完整。第一个字段替换你拆分的单元格,其余向右展开。","帶引號的欄位保持完整。第一個欄位取代你拆分的儲存格,其餘向右展開。","Los campos entre comillas se mantienen enteros. El primer campo sustituye la celda que divides; el resto se extiende a la derecha.","Les champs entre guillemets restent entiers. Le premier champ remplace la cellule divisée ; les autres s’étendent vers la droite.","Felder in Anführungszeichen bleiben ganz. Das erste Feld ersetzt die geteilte Zelle, der Rest reicht nach rechts.","I campi tra virgolette restano interi. Il primo campo sostituisce la cella divisa; gli altri si estendono a destra.","Campos entre aspas ficam inteiros. O primeiro campo substitui a célula dividida; os demais transbordam para a direita."],
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": ["引用符で囲まれた項目はそのまま残ります。列全体が分割され、分割元の列はそのまま残ります。","带引号的字段保持完整。整列都会被拆分,被拆分的列会保留。","帶引號的欄位保持完整。整欄都會被拆分,被拆分的欄會保留。","Los campos entre comillas se mantienen enteros. Se divide la columna entera y la columna que divides se conserva.","Les champs entre guillemets restent entiers. Toute la colonne est divisée, et la colonne divisée est conservée.","Felder in Anführungszeichen bleiben ganz. Die ganze Spalte wird geteilt, und die geteilte Spalte bleibt erhalten.","I campi tra virgolette restano interi. Viene divisa l’intera colonna, e la colonna divisa viene conservata.","Campos entre aspas ficam inteiros. A coluna inteira é dividida, e a coluna de origem é mantida."],
- "Read-only copy saved — it opens locked": ["読み取り専用コピーを保存しました — 開くとロックされています","只读副本已保存 — 打开后处于锁定状态","已儲存唯讀副本 — 開啟時是鎖定的","Copia de solo lectura guardada: se abre bloqueada","Copie en lecture seule enregistrée — elle s’ouvre verrouillée","Schreibgeschützte Kopie gespeichert — sie öffnet sich gesperrt","Copia di sola lettura salvata — si apre bloccata","Cópia somente leitura salva — ela abre bloqueada"],
+ "Read-only copy saved — it follows the live session, view only": ["読み取り専用コピーを保存しました — ライブセッションに追従し、閲覧のみです","只读副本已保存——它跟随实时会话,仅供查看","唯讀副本已儲存——它跟隨即時工作階段,僅供檢視","Copia de solo lectura guardada — sigue la sesión en vivo, solo para ver","Copie en lecture seule enregistrée — elle suit la session en direct, en lecture seule","Nur-Lese-Kopie gespeichert — sie folgt der Live-Sitzung, nur zum Ansehen","Copia in sola lettura salvata — segue la sessione live, solo visualizzazione","Cópia somente leitura salva — ela acompanha a sessão ao vivo, apenas para visualizar"],
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": ["閲覧用コピーを保存しました — 読み取り専用で開き、このブックの鍵は一切含みません","已保存阅读副本 — 以只读方式打开,不含此工作簿的任何密钥","已儲存閱讀副本 — 以唯讀方式開啟,不含此活頁簿的任何金鑰","Copia de lectura guardada: se abre en solo lectura, sin ninguna de las claves de este libro","Copie de lecture enregistrée — elle s’ouvre en lecture seule, sans aucune des clés de ce classeur","Lesekopie gespeichert – sie öffnet schreibgeschützt und enthält keinen Schlüssel dieser Arbeitsmappe","Copia di lettura salvata: si apre in sola lettura, senza nessuna chiave di questa cartella di lavoro","Cópia de leitura salva — abre somente leitura, sem nenhuma das chaves desta pasta de trabalho"],
"Redo": ["やり直し","重做","重做","Rehacer","Rétablir","Wiederholen","Ripeti","Refazer"],
"Redo (⇧⌘Z)": ["やり直す (⇧⌘Z)","重做 (⇧⌘Z)","重做 (⇧⌘Z)","Rehacer (⇧⌘Z)","Rétablir (⇧⌘Z)","Wiederholen (⇧⌘Z)","Ripristina (⇧⌘Z)","Refazer (⇧⌘Z)"],
"Reduced motion (M)": ["動きを減らす (M)","减弱动效 (M)","減少動態效果 (M)","Movimiento reducido (M)","Animations réduites (M)","Reduzierte Bewegung (M)","Animazioni ridotte (M)","Movimento reduzido (M)"],
@@ -471,13 +499,16 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Remove password…": ["パスワードを削除…","移除密码…","移除密碼…","Quitar contraseña…","Supprimer le mot de passe…","Passwort entfernen…","Rimuovi password…","Remover senha…"],
"Remove step": ["ステップを削除","删除步骤","移除步驟","Quitar paso","Supprimer l’étape","Schritt entfernen","Rimuovi passaggio","Remover passo"],
"Remove the password? The next save writes the workbook in the clear.": ["パスワードを削除しますか?次回の保存で、ブックは暗号化されずに書き込まれます。","移除密码?下次保存会以明文写入工作簿。","要移除密碼嗎?下次儲存會以明文寫入活頁簿。","¿Quitar la contraseña? El próximo guardado escribirá el libro sin cifrar.","Supprimer le mot de passe ? Le prochain enregistrement écrira le classeur en clair.","Das Passwort entfernen? Beim nächsten Speichern wird die Arbeitsmappe unverschlüsselt geschrieben.","Rimuovere la password? Il prossimo salvataggio scriverà la cartella di lavoro in chiaro.","Remover a senha? O próximo salvamento grava a pasta de trabalho sem criptografia."],
- "Remove this device from the session": ["このデバイスをセッションから削除","将此设备移出会话","將此裝置移出工作階段","Quitar este dispositivo de la sesión","Retirer cet appareil de la session","Dieses Gerät aus der Sitzung entfernen","Rimuovi questo dispositivo dalla sessione","Remover este dispositivo da sessão"],
"Remove this filter": ["このフィルターを削除","移除此筛选","移除此篩選","Quitar este filtro","Supprimer ce filtre","Diesen Filter entfernen","Rimuovi questo filtro","Remover este filtro"],
"Remove {name}": ["{name} を削除","移除{name}","移除{name}","Quitar {name}","Retirer {name}","{name} entfernen","Rimuovi {name}","Remover {name}"],
+ "Remove {name} from this workbook? Their copy drops to read-only.": ["{name} をこのブックから削除しますか? その人のコピーは読み取り専用になります。","要将 {name} 从此工作簿中移除吗?对方的副本将变为只读。","要將 {name} 從此活頁簿中移除嗎?對方的副本將變為唯讀。","¿Quitar a {name} de este libro? Su copia pasa a ser de solo lectura.","Retirer {name} de ce classeur ? Sa copie passe en lecture seule.","{name} aus dieser Arbeitsmappe entfernen? Die Kopie dieser Person wird schreibgeschützt.","Rimuovere {name} da questa cartella di lavoro? La sua copia diventa di sola lettura.","Remover {name} desta pasta de trabalho? A cópia dessa pessoa passa a ser somente leitura."],
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": ["{name} を削除 — このデバイスのアクセスを取り消します。他の人には影響しません","移除 {name} — 撤销该设备的访问权限;其他人不受影响","移除 {name} — 撤銷該裝置的存取權限;其他人不受影響","Quitar a {name} — revoca el acceso de este dispositivo; nadie más se ve afectado","Retirer {name} — révoque l’accès de cet appareil ; personne d’autre n’est affecté","{name} entfernen — widerruft den Zugriff dieses Geräts; alle anderen bleiben unberührt","Rimuovi {name} — revoca l’accesso di questo dispositivo; nessun altro è toccato","Remover {name} — revoga o acesso deste dispositivo; ninguém mais é afetado"],
"Rename": ["名前を変更","重命名","重新命名","Cambiar nombre","Renommer","Umbenennen","Rinomina","Renomear"],
"Reopen": ["再オープン","重新打开","重新開啟","Reabrir","Rouvrir","Wieder öffnen","Riapri","Reabrir"],
"Replace": ["置換","替换","取代","Reemplazar","Remplacer","Ersetzen","Sostituisci","Substituir"],
"Replace all": ["すべて置換","全部替换","全部取代","Reemplazar todo","Tout remplacer","Alle ersetzen","Sostituisci tutto","Substituir tudo"],
+ "Replace all {n} sheets with one blank sheet? ⌘Z undoes this.": ["{n} 枚のシートをすべて空のシート 1 枚に置き換えますか? ⌘Z で元に戻せます。","将全部 {n} 个工作表替换为一个空白工作表?⌘Z 可撤销。","將全部 {n} 個工作表取代為一個空白工作表?⌘Z 可復原。","¿Reemplazar las {n} hojas por una hoja en blanco? ⌘Z lo deshace.","Remplacer les {n} feuilles par une seule feuille vierge ? ⌘Z annule.","Alle {n} Blätter durch ein leeres Blatt ersetzen? ⌘Z macht das rückgängig.","Sostituire tutti i {n} fogli con un solo foglio vuoto? ⌘Z annulla.","Substituir todas as {n} planilhas por uma planilha em branco? ⌘Z desfaz."],
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": ["すべてのシートを空のシート 1 枚に置き換えます。ブックの名前、テーマ、ライブセッションはそのまま — ⌘Z で元に戻せます。","将每个工作表替换为一个空白工作表。保留工作簿的名称、主题和实时会话 — ⌘Z 可撤销。","將每個工作表取代為一個空白工作表。保留活頁簿的名稱、佈景主題和即時工作階段 — ⌘Z 可復原。","Reemplaza todas las hojas por una hoja en blanco. Conserva el nombre, el tema y la sesión en vivo del libro; ⌘Z lo deshace.","Remplace toutes les feuilles par une seule feuille vierge. Conserve le nom, le thème et la session en direct du classeur — ⌘Z annule.","Ersetzt alle Blätter durch ein leeres Blatt. Name, Design und Live-Sitzung der Arbeitsmappe bleiben – ⌘Z macht es rückgängig.","Sostituisce ogni foglio con un solo foglio vuoto. Mantiene nome, tema e sessione dal vivo della cartella di lavoro — ⌘Z annulla.","Substitui todas as planilhas por uma em branco. Mantém o nome, o tema e a sessão ao vivo da pasta de trabalho — ⌘Z desfaz."],
"Replace from JSON…": ["JSON から置き換え…","从 JSON 替换…","從 JSON 取代…","Reemplazar desde JSON…","Remplacer depuis JSON…","Aus JSON ersetzen…","Sostituisci da JSON…","Substituir a partir de JSON…"],
"Replace this workbook with the pasted JSON? This cannot be undone.": ["このブックを貼り付けた JSON で置き換えますか?元に戻すことはできません。","用粘贴的 JSON 替换此工作簿?此操作无法撤销。","要用貼上的 JSON 取代此活頁簿嗎?此動作無法復原。","¿Reemplazar este libro por el JSON pegado? Esto no se puede deshacer.","Remplacer ce classeur par le JSON collé ? Cette action est irréversible.","Diese Arbeitsmappe durch das eingefügte JSON ersetzen? Das lässt sich nicht rückgängig machen.","Sostituire questa cartella di lavoro con il JSON incollato? L’operazione non può essere annullata.","Substituir esta pasta de trabalho pelo JSON colado? Isto não pode ser desfeito."],
"Replace with": ["置換後の文字列","替换为","取代為","Reemplazar con","Remplacer par","Ersetzen durch","Sostituisci con","Substituir por"],
@@ -485,9 +516,12 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Replace…": ["置換…","替换…","取代…","Reemplazar…","Remplacer…","Ersetzen…","Sostituisci…","Substituir…"],
"Reply": ["返信","回复","回覆","Responder","Répondre","Antworten","Rispondi","Responder"],
"Reply…": ["返信…","回复…","回覆…","Responder…","Répondre…","Antworten…","Rispondi…","Responder…"],
+ "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.","Réinitialiser l’accès ? Toutes les copies envoyées cesseront de se synchroniser ; seules celles enregistrées ensuite pourront rejoindre.","Zugriff zurücksetzen? Alle gesendeten Kopien synchronisieren nicht mehr; nur danach gespeicherte können beitreten.","Reimpostare l’accesso? Tutte le copie inviate smetteranno di sincronizzarsi; solo quelle salvate dopo potranno unirsi.","Redefinir o acesso? Toda cópia que você enviou para de sincronizar; apenas cópias salvas depois disso podem entrar."],
+ "Reset access…": ["アクセスをリセット…","重置访问权限…","重設存取權限…","Restablecer acceso…","Réinitialiser l’accès…","Zugriff zurücksetzen…","Reimposta accesso…","Redefinir acesso…"],
"Resolve": ["解決","解决","解決","Resolver","Résoudre","Erledigen","Risolvi","Resolver"],
"Resolved": ["解決済み","已解决","已解決","Resuelto","Résolu","Erledigt","Risolto","Resolvido"],
"Restore": ["復元","恢复","還原","Restaurar","Restaurer","Wiederherstellen","Ripristina","Restaurar"],
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": ["このブックの以前の自動保存バージョンを復元します (このブラウザー内にのみ保持)。","恢复此工作簿较早的自动保存版本(仅保存在此浏览器中)。","還原此活頁簿較早的自動儲存版本(僅保存在此瀏覽器中)。","Restaurar una versión guardada automáticamente de este libro (se guarda solo en este navegador).","Restaurer une version enregistrée automatiquement de ce classeur (conservée localement dans ce navigateur).","Eine frühere, automatisch gespeicherte Version dieser Arbeitsmappe wiederherstellen (nur lokal in diesem Browser).","Ripristina una versione salvata automaticamente di questa cartella di lavoro (conservata solo in questo browser).","Restaurar uma versão salva automaticamente desta pasta de trabalho (guardada localmente neste navegador)."],
"Restore anyway": ["それでも復元","仍然恢复","仍然還原","Restaurar de todos modos","Restaurer quand même","Trotzdem wiederherstellen","Ripristina comunque","Restaurar mesmo assim"],
"Restored the unsaved changes from {when}.": ["{when} の未保存の変更を復元しました。","已恢复 {when} 的未保存更改。","已還原 {when} 的未儲存變更。","Se han restaurado los cambios sin guardar de {when}.","Modifications non enregistrées de {when} restaurées.","Die nicht gespeicherten Änderungen von {when} wurden wiederhergestellt.","Ripristinate le modifiche non salvate del {when}.","Alterações não salvas de {when} restauradas."],
"Restored the version from {when}.": ["{when} のバージョンを復元しました。","已恢复 {when} 的版本。","已還原 {when} 的版本。","Se ha restaurado la versión del {when}.","Version du {when} restaurée.","Version vom {when} wiederhergestellt.","Ripristinata la versione del {when}.","Versão de {when} restaurada."],
@@ -501,21 +535,22 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Sample": ["サンプル","示例","範例","Ejemplo","Aperçu","Beispiel","Esempio","Exemplo"],
"Save": ["保存","保存","儲存","Guardar","Enregistrer","Speichern","Salva","Salvar"],
"Save a copy…": ["コピーを保存…","保存副本…","儲存副本…","Guardar una copia…","Enregistrer une copie…","Kopie speichern…","Salva una copia…","Salvar uma cópia…"],
+ "Save a reading copy…": ["読むためのコピーを保存…","保存阅读副本…","儲存閱讀副本…","Guardar una copia de lectura…","Enregistrer une copie de lecture…","Lesekopie speichern…","Salva una copia di lettura…","Salvar uma cópia de leitura…"],
"Save an untouched copy": ["手を加えていないコピーを保存","保存一份原样副本","儲存一份未經更動的副本","Guardar una copia intacta","Enregistrer une copie intacte","Eine unveränderte Kopie speichern","Salva una copia intatta","Salvar uma cópia intacta"],
"Save anyway?": ["このまま保存しますか?","仍要保存吗?","仍要儲存嗎?","¿Guardar de todos modos?","Enregistrer quand même ?","Trotzdem speichern?","Salvare comunque?","Salvar mesmo assim?"],
"Save as new workbook…": ["新しいブックとして保存…","另存为新工作簿…","另存為新活頁簿…","Guardar como libro nuevo…","Enregistrer comme nouveau classeur…","Als neue Arbeitsmappe speichern…","Salva come nuova cartella di lavoro…","Salvar como nova pasta de trabalho…"],
"Save as template…": ["テンプレートとして保存…","另存为模板…","另存為範本…","Guardar como plantilla…","Enregistrer comme modèle…","Als Vorlage speichern…","Salva come modello…","Salvar como modelo…"],
- "Save as… — copy, new workbook, template, read-only, password": ["名前を付けて保存… — コピー、新しいブック、テンプレート、読み取り専用、パスワード","另存为… — 副本、新工作簿、模板、只读、密码","另存為… — 副本、新活頁簿、範本、唯讀、密碼","Guardar como… — copia, libro nuevo, plantilla, solo lectura, contraseña","Enregistrer sous… — copie, nouveau classeur, modèle, lecture seule, mot de passe","Speichern unter… — Kopie, neue Arbeitsmappe, Vorlage, schreibgeschützt, Passwort","Salva con nome… — copia, nuova cartella di lavoro, modello, sola lettura, password","Salvar como… — cópia, nova pasta de trabalho, modelo, somente leitura, senha"],
+ "Save as… — copy, new workbook, template, password, history, JSON": ["名前を付けて保存… — コピー、新しいブック、テンプレート、パスワード、履歴、JSON","另存为… — 副本、新工作簿、模板、密码、历史、JSON","另存為… — 副本、新活頁簿、範本、密碼、紀錄、JSON","Guardar como… — copia, libro nuevo, plantilla, contraseña, historial, JSON","Enregistrer sous… — copie, nouveau classeur, modèle, mot de passe, historique, JSON","Speichern unter … – Kopie, neue Arbeitsmappe, Vorlage, Passwort, Verlauf, JSON","Salva come… — copia, nuova cartella di lavoro, modello, password, cronologia, JSON","Salvar como… — cópia, nova pasta de trabalho, modelo, senha, histórico, JSON"],
"Save failed — see console": ["保存に失敗 — コンソールを確認","保存失败 — 请查看控制台","儲存失敗 — 請查看主控台","Error al guardar — mira la consola","Échec de l'enregistrement — voir la console","Speichern fehlgeschlagen — siehe Konsole","Salvataggio non riuscito — vedi console","Falha ao salvar — veja o console"],
"Save failed — {why}": ["保存できませんでした — {why}","保存失败 — {why}","儲存失敗 — {why}","No se pudo guardar: {why}","Échec de l’enregistrement — {why}","Speichern fehlgeschlagen — {why}","Salvataggio non riuscito — {why}","Falha ao salvar — {why}"],
"Save formula": ["数式を保存","保存公式","儲存公式","Guardar fórmula","Enregistrer la formule","Formel speichern","Salva formula","Salvar fórmula"],
- "Save read-only copy…": ["読み取り専用コピーを保存…","保存只读副本…","儲存唯讀副本…","Guardar copia de solo lectura…","Enregistrer une copie en lecture seule…","Schreibgeschützte Kopie speichern…","Salva copia di sola lettura…","Salvar cópia somente leitura…"],
"Save this workbook": ["このブックを保存","保存此工作簿","儲存此活頁簿","Guardar este libro","Enregistrer ce classeur","Diese Arbeitsmappe speichern","Salva questa cartella di lavoro","Salvar esta pasta de trabalho"],
"Save this workbook (⌘S)": ["このブックを保存 (⌘S)","保存此工作簿 (⌘S)","儲存此活頁簿 (⌘S)","Guardar este libro (⌘S)","Enregistrer ce classeur (⌘S)","Diese Arbeitsmappe speichern (⌘S)","Salva questa cartella di lavoro (⌘S)","Salvar esta pasta de trabalho (⌘S)"],
"Saved": ["保存しました","已保存","已儲存","Guardado","Enregistré","Gespeichert","Salvato","Salvo"],
"Saved as a new workbook": ["新しいブックとして保存しました","已另存为新工作簿","已另存為新的活頁簿","Guardado como libro nuevo","Enregistré comme nouveau classeur","Als neue Arbeitsmappe gespeichert","Salvata come nuova cartella di lavoro","Salvo como nova pasta de trabalho"],
"Saved to the file — automatic saving is working again.": ["ファイルに保存しました — 自動保存が再び機能しています。","已保存到文件 — 自动保存恢复正常。","已儲存到檔案 — 自動儲存恢復正常。","Guardado en el archivo — el guardado automático vuelve a funcionar.","Enregistré dans le fichier — la sauvegarde automatique fonctionne à nouveau.","In die Datei gespeichert — das automatische Speichern funktioniert wieder.","Salvato sul file — il salvataggio automatico funziona di nuovo.","Gravado no arquivo — o salvamento automático voltou a funcionar."],
"Saved to {name}": ["{name} に保存しました","已保存到 {name}","已儲存至 {name}","Guardado en {name}","Enregistré dans {name}","In {name} gespeichert","Salvato in {name}","Salvo em {name}"],
+ "Saves a copy to send. Whoever opens it edits this workbook 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 edita este libro en vivo contigo (cifrado de extremo a extremo); tú sigues siendo el propietario y puedes quitarlo de la lista de Personas.","Enregistre une copie à envoyer. Quiconque l’ouvre modifie ce classeur en direct avec vous (chiffré de bout en bout) ; vous restez propriétaire et pouvez le retirer de la liste Personnes.","Speichert eine Kopie zum Versenden. Wer sie öffnet, bearbeitet diese Arbeitsmappe live mit dir (Ende-zu-Ende-verschlüsselt); du bleibst Eigentümer und kannst die Person aus der Personenliste entfernen.","Salva una copia da inviare. Chi la apre modifica questa cartella di lavoro dal vivo con te (crittografia end-to-end); resti il proprietario e puoi rimuoverlo dall’elenco Persone.","Salva uma cópia para enviar. Quem a abrir edita esta pasta de trabalho ao vivo com você (criptografia de ponta a ponta); você continua proprietário e pode removê-lo da lista de Pessoas."],
"Saving will take a moment.": ["保存には少し時間がかかります。","保存需要一点时间。","儲存需要一點時間。","Guardar llevará un momento.","L’enregistrement prendra un instant.","Das Speichern dauert einen Moment.","Il salvataggio richiederà un momento.","O salvamento vai levar um instante."],
"Scatter": ["散布図","散点","散佈","Dispersión","Nuage de points","Streuung","Dispersione","Dispersão"],
"Search functions": ["関数を検索","搜索函数","搜尋函數","Buscar funciones","Rechercher une fonction","Funktionen suchen","Cerca funzioni","Pesquisar funções"],
@@ -534,6 +569,9 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Set a password…": ["パスワードを設定…","设置密码…","設定密碼…","Establecer una contraseña…","Définir un mot de passe…","Passwort festlegen…","Imposta una password…","Definir uma senha…"],
"Settings": ["設定","设置","設定","Ajustes","Réglages","Einstellungen","Impostazioni","Configurações"],
"Settings — language, appearance and updates": ["設定 — 言語、外観、アップデート","设置 — 语言、外观和更新","設定 — 語言、外觀與更新","Ajustes: idioma, apariencia y actualizaciones","Réglages — langue, apparence et mises à jour","Einstellungen — Sprache, Erscheinungsbild und Updates","Impostazioni — lingua, aspetto e aggiornamenti","Configurações — idioma, aparência e atualizações"],
+ "Share": ["共有","共享","共用","Compartir","Partager","Teilen","Condividi","Compartilhar"],
+ "Share a copy": ["コピーを共有","分享副本","分享副本","Compartir una copia","Partager une copie","Kopie teilen","Condividi una copia","Compartilhar uma cópia"],
+ "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í","Partager — inviter à éditer, envoyer des copies en lecture seule, voir qui est là","Teilen — zum Bearbeiten einladen, Nur-Lesen-Kopien senden, sehen wer da ist","Condividi — invita a modificare, invia copie sola-lettura, vedi chi c’è","Compartilhar — convide pessoas para editar, envie cópias somente leitura, veja quem está aqui"],
"Sharing stays with this workbook: the pasted JSON replaces the content, not the live session or its keys.": ["共有はこのブックに残ります。貼り付けた JSON が置き換えるのは内容だけで、共同編集セッションやその鍵は置き換えません。","共享仍属于此工作簿:粘贴的 JSON 只替换内容,不会替换实时协作会话或其密钥。","共用仍屬於此活頁簿:貼上的 JSON 只會取代內容,不會取代即時協作工作階段或其金鑰。","El uso compartido permanece en este libro: el JSON pegado reemplaza el contenido, no la sesión en vivo ni sus claves.","Le partage reste attaché à ce classeur : le JSON collé remplace le contenu, pas la session en direct ni ses clés.","Die Freigabe bleibt bei dieser Arbeitsmappe: Das eingefügte JSON ersetzt den Inhalt, nicht die Live-Sitzung oder ihre Schlüssel.","La condivisione resta con questa cartella: il JSON incollato sostituisce il contenuto, non la sessione dal vivo né le sue chiavi.","O compartilhamento fica com esta pasta de trabalho: o JSON colado substitui o conteúdo, não a sessão ao vivo nem suas chaves."],
"Sheet": ["シート","工作表","工作表","Hoja","Feuille","Blatt","Foglio","Planilha"],
"Sheet name, workbook and date on every page": ["すべてのページにシート名・ブック名・日付","每页都带工作表名、工作簿和日期","每頁都帶工作表名稱、活頁簿和日期","Nombre de la hoja, libro y fecha en cada página","Nom de la feuille, classeur et date sur chaque page","Blattname, Arbeitsmappe und Datum auf jeder Seite","Nome del foglio, cartella e data su ogni pagina","Nome da planilha, pasta de trabalho e data em cada página"],
@@ -547,6 +585,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Show sheet tabs ([)": ["シートタブを表示 ([)","显示工作表标签 ([)","顯示工作表索引標籤 ([)","Mostrar las pestañas de hojas ([)","Afficher les onglets de feuilles ([)","Blattregister einblenden ([)","Mostra le schede dei fogli ([)","Mostrar as abas de planilha ([)"],
"Showing the first {n} of {total}.": ["{total} 件のうち先頭 {n} 件を表示しています。","正在显示 {total} 项中的前 {n} 项。","顯示 {total} 筆中的前 {n} 筆。","Se muestran las primeras {n} de {total}.","Affichage des {n} premières sur {total}.","Es werden die ersten {n} von {total} angezeigt.","Mostrate le prime {n} di {total}.","Mostrando os primeiros {n} de {total}."],
"Shown as bars — a scatter has no category to select.": ["棒グラフで表示しています — 散布図には選択できるカテゴリがありません。","以柱形显示 — 散点图没有可选择的类别。","以長條圖顯示 — 散佈圖沒有可供選取的類別。","Se muestra como barras: un gráfico de dispersión no tiene categoría que seleccionar.","Affiché en barres — un nuage de points n’a pas de catégorie à sélectionner.","Als Balken dargestellt — ein Punktdiagramm hat keine Kategorie zum Auswählen.","Mostrato a barre — un grafico a dispersione non ha una categoria da selezionare.","Exibido como barras — uma dispersão não tem categoria para selecionar."],
+ "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.","Affiché près de votre curseur et dans la liste Personnes — stocké uniquement dans ce navigateur.","Erscheint neben deinem Cursor und in der Personenliste — nur in diesem Browser gespeichert.","Appare accanto al tuo cursore e nell’elenco Persone — salvato solo in questo browser.","Exibido ao lado do seu cursor e na lista de Pessoas — guardado apenas neste navegador."],
"Shrink a little, then continue on later pages": ["少し縮小し、収まらない列は次のページへ","先略微缩小,放不下的列排到后续页面","先略為縮小,放不下的欄排到後續頁面","Reducir un poco y continuar en las páginas siguientes","Réduire un peu, puis continuer sur les pages suivantes","Etwas verkleinern, dann auf Folgeseiten weiterlaufen","Riduci un poco, poi continua nelle pagine successive","Reduzir um pouco, depois continuar nas páginas seguintes"],
"Shrink until the sheet fits the page width": ["ページ幅に収まるまで縮小する","缩小到适合页面宽度","縮小到符合頁面寬度","Reducir hasta que la hoja quepa en el ancho de la página","Réduire jusqu’à ce que la feuille tienne dans la largeur de la page","So weit verkleinern, dass das Blatt in die Seitenbreite passt","Riduci finché il foglio non rientra nella larghezza della pagina","Reduzir até a planilha caber na largura da página"],
"Size": ["サイズ","大小","大小","Tamaño","Taille","Größe","Dimensione","Tamanho"],
@@ -566,8 +605,9 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Split on": ["区切り文字","分隔符","分隔符號","Dividir por","Diviser sur","Teilen an","Dividi su","Dividir em"],
"Split the selected column into several, on a delimiter or at fixed widths": ["選択した列を、区切り文字または固定幅で複数の列に分割します","按分隔符或固定宽度将所选列拆分为多列","按分隔符號或固定寬度將所選欄拆分為多欄","Dividir la columna seleccionada en varias, por un delimitador o a anchos fijos","Diviser la colonne sélectionnée en plusieurs, sur un délimiteur ou à largeurs fixes","Die gewählte Spalte an einem Trennzeichen oder in festen Breiten in mehrere teilen","Dividi la colonna selezionata in più colonne, con un delimitatore o a larghezze fisse","Dividir a coluna selecionada em várias, por um delimitador ou em larguras fixas"],
"Spreadsheet": ["スプレッドシート","电子表格","試算表","Hoja de cálculo","Feuille de calcul","Tabellenblatt","Foglio di calcolo","Planilha"],
- "Start live session": ["ライブセッションを開始","开始实时协作","開始即時協作","Iniciar sesión en directo","Démarrer une session en direct","Live-Sitzung starten","Avvia sessione dal vivo","Iniciar sessão ao vivo"],
+ "Start from scratch…": ["最初から始める…","从头开始…","從頭開始…","Empezar de cero…","Repartir de zéro…","Von vorne beginnen…","Ricomincia da capo…","Começar do zero…"],
"Stop sharing": ["共有を停止","停止共享","停止共用","Dejar de compartir","Arrêter le partage","Freigabe beenden","Interrompi condivisione","Parar de compartilhar"],
+ "Stopped sharing": ["共有を停止しました","已停止共享","已停止分享","Has dejado de compartir","Partage arrêté","Teilen beendet","Condivisione interrotta","Compartilhamento encerrado"],
"Story": ["ストーリー","故事","故事","Historia","Récit","Datenstory","Storia","Narrativa"],
"Subject": ["件名","主题","主旨","Asunto","Sujet","Thema","Oggetto","Assunto"],
"Subtotals": ["小計","小计","小計","Subtotales","Sous-totaux","Teilergebnisse","Subtotali","Subtotais"],
@@ -576,7 +616,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Summarise this sheet as a pivot table": ["このシートをピボットテーブルで集計する","将此工作表汇总为数据透视表","將此工作表彙總成樞紐分析表","Resumir esta hoja como tabla dinámica","Synthétiser cette feuille en tableau croisé dynamique","Dieses Blatt als PivotTable zusammenfassen","Riepiloga questo foglio come tabella pivot","Resumir esta planilha como tabela dinâmica"],
"Surface": ["曲面","曲面","曲面","Superficie","Surface","Fläche","Superficie","Superfície"],
"Symbol": ["記号","符号","符號","Símbolo","Symbole","Symbol","Simbolo","Símbolo"],
- "Take it elsewhere": ["外に持ち出す","把内容带走","把內容帶走","Llévatelo a otra parte","Emportez-le ailleurs","Woanders weitermachen","Portalo altrove","Levar para outro lugar"],
"Template saved — every open of it starts a fresh workbook": ["テンプレートを保存しました — 開くたびに新しいブックが始まります","模板已保存 — 每次打开它都会新建一个工作簿","範本已儲存 — 每次開啟都會開始一份全新的活頁簿","Plantilla guardada: cada vez que se abre empieza un libro nuevo","Modèle enregistré — chaque ouverture démarre un nouveau classeur","Vorlage gespeichert — jedes Öffnen startet eine neue Arbeitsmappe","Modello salvato — ogni sua apertura avvia una nuova cartella di lavoro","Modelo salvo — cada abertura dele inicia uma pasta de trabalho nova"],
"Text": ["テキスト","文本","文字","Texto","Texte","Text","Testo","Texto"],
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": ["テキストのセルは入力したままを保持します — 先頭のゼロ、スラッシュ、数式ではない = も含めて。","文本单元格会原样保留输入内容 — 包括前导零、斜杠,以及并非公式的 =。","文字儲存格會原樣保留輸入內容 — 包括前導零、斜線,以及並非公式的 =。","Las celdas de texto conservan exactamente lo que se escribe: ceros a la izquierda, barras y un = que no es una fórmula.","Les cellules texte conservent exactement ce qui est saisi — zéros initiaux, barres obliques, et un = qui n’est pas une formule.","Textzellen behalten genau das Eingetippte — führende Nullen, Schrägstriche und ein =, das keine Formel ist.","Le celle di testo mantengono esattamente ciò che si digita: zeri iniziali, barre e un = che non è una formula.","Células de texto guardam exatamente o que é digitado — zeros à esquerda, barras, e um = que não é fórmula."],
@@ -628,6 +667,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"There’s a problem with this formula: “{near}” cannot go there.": ["この数式には問題があります: 「{near}」はそこに置けません。","此公式有问题:“{near}”不能放在那里。","此公式有問題:「{near}」不能放在那裡。","Hay un problema con esta fórmula: «{near}» no puede ir ahí.","Cette formule pose problème : « {near} » ne peut pas se trouver là.","Mit dieser Formel stimmt etwas nicht: „{near}“ kann dort nicht stehen.","C’è un problema con questa formula: «{near}» non può stare lì.","Há um problema com esta fórmula: «{near}» não pode ficar aí."],
"These are yours, not the workbook’s: they are kept in this browser and never written into the file, so the same workbook can be English and light on your screen and Japanese and dark on someone else’s.": ["これらはブックのものではなく、あなたのものです。このブラウザにだけ保存され、ファイルには決して書き込まれません — 同じブックが、あなたの画面では英語でライト、別の人の画面では日本語でダークになることもあります。","这些设置属于你,而不属于工作簿:它们只保存在此浏览器中,永远不会写入文件 — 所以同一个工作簿可以在你的屏幕上是英语浅色,在别人的屏幕上是日语深色。","這些設定屬於你,而不屬於活頁簿:它們只保存在這個瀏覽器裡,永遠不會寫進檔案 — 所以同一份活頁簿可以在你的螢幕上是英文淺色,在別人的螢幕上是日文深色。","Son tuyos, no del libro: se guardan en este navegador y nunca se escriben en el archivo, así que el mismo libro puede verse en inglés y claro en tu pantalla y en japonés y oscuro en la de otra persona.","Ils sont à vous, pas au classeur : ils restent dans ce navigateur et ne sont jamais écrits dans le fichier — un même classeur peut donc être en anglais et clair sur votre écran, en japonais et sombre sur celui d’une autre personne.","Sie gehören Ihnen, nicht der Arbeitsmappe: Sie bleiben in diesem Browser und werden nie in die Datei geschrieben — dieselbe Arbeitsmappe kann also auf Ihrem Bildschirm englisch und hell sein und auf einem anderen japanisch und dunkel.","Sono tue, non della cartella di lavoro: restano in questo browser e non vengono mai scritte nel file, così la stessa cartella può essere in inglese e chiara sul tuo schermo e in giapponese e scura su quello di un altro.","Estas são suas, não da pasta de trabalho: ficam guardadas neste navegador e nunca são gravadas no arquivo, então a mesma pasta pode estar em inglês e no tema claro na sua tela e em japonês e escuro na de outra pessoa."],
"These cells": ["これらのセル","这些单元格","這些儲存格","Estas celdas","Ces cellules","Diese Zellen","Queste celle","Estas células"],
+ "These windows are on this computer. Start a session to work with someone elsewhere.": ["これらのウィンドウはこのパソコン内のものです。別の場所にいる人と作業するにはセッションを開始してください。","这些窗口都在本机。若要与其他地方的人协作,请开始一个会话。","這些視窗都在本機。若要與其他地方的人協作,請開始一個工作階段。","Estas ventanas están en este ordenador. Inicia una sesión para trabajar con alguien en otro sitio.","Ces fenêtres sont sur cet ordinateur. Démarrez une session pour travailler avec quelqu’un ailleurs.","Diese Fenster sind auf diesem Computer. Starte eine Sitzung, um mit jemand anderem zu arbeiten.","Queste finestre sono su questo computer. Avvia una sessione per lavorare con qualcuno altrove.","Estas janelas estão neste computador. Inicie uma sessão para trabalhar com alguém em outro lugar."],
"This action needs a dataset sheet, and the sheet on screen is not one.": ["この操作にはデータセットのシートが必要ですが、表示中のシートはそれではありません。","此操作需要数据集工作表,而当前显示的不是。","此動作需要資料集工作表,而目前顯示的不是。","Esta acción necesita una hoja de conjunto de datos, y la que está en pantalla no lo es.","Cette action nécessite une feuille de jeu de données, et celle affichée n’en est pas une.","Diese Aktion braucht ein Datensatzblatt, und das angezeigte ist keines.","Questa azione richiede un foglio set di dati, e quello a schermo non lo è.","Esta ação precisa de uma planilha de conjunto de dados, e a planilha em tela não é uma."],
"This block is not readable as JSON, so its collaboration keys could not be removed from what is shown or copied. Use “Save an untouched copy” to keep the file, and take care where you paste this.": ["このブロックは JSON として読み取れないため、表示およびコピーされる内容から共同編集の鍵を取り除けませんでした。ファイルを残すには「元のままのコピーを保存」を使い、貼り付け先にご注意ください。","此数据块无法按 JSON 读取,因此未能从显示和复制的内容中移除协作密钥。请使用“保存原样副本”保留文件,并注意粘贴位置。","此資料區塊無法以 JSON 讀取,因此未能從顯示與複製的內容中移除協作金鑰。請使用「儲存原樣副本」保留檔案,並注意貼上的位置。","Este bloque no se puede leer como JSON, así que no se han podido quitar sus claves de colaboración de lo que se muestra y se copia. Usa «Guardar una copia intacta» para conservar el archivo y ten cuidado con dónde lo pegas.","Ce bloc n’est pas lisible en JSON : ses clés de collaboration n’ont pas pu être retirées de ce qui est affiché et copié. Utilisez « Enregistrer une copie intacte » pour conserver le fichier, et faites attention à l’endroit où vous collez ceci.","Dieser Block ist nicht als JSON lesbar, daher konnten seine Kollaborationsschlüssel nicht aus dem Angezeigten und Kopierten entfernt werden. Nutze „Unveränderte Kopie speichern“, um die Datei zu behalten, und achte darauf, wohin du dies einfügst.","Questo blocco non è leggibile come JSON, quindi le sue chiavi di collaborazione non sono state rimosse da ciò che viene mostrato e copiato. Usa «Salva una copia intatta» per conservare il file e attenzione a dove lo incolli.","Este bloco não é legível como JSON, então suas chaves de colaboração não puderam ser removidas do que é exibido ou copiado. Use “Salvar uma cópia intacta” para preservar o arquivo, e tome cuidado com onde você cola isto."],
"This browser cannot write back to the file, so every save makes a new copy. Chrome and Edge on a computer can save in place.": ["このブラウザはファイルに書き戻せないため、保存のたびに新しいコピーができます。パソコンの Chrome と Edge なら直接上書き保存できます。","此浏览器无法写回原文件,因此每次保存都会生成新副本。电脑上的 Chrome 和 Edge 可以就地保存。","此瀏覽器無法寫回檔案,因此每次儲存都會產生新的副本。電腦版的 Chrome 和 Edge 可以就地儲存。","Este navegador no puede reescribir el archivo, así que cada guardado crea una copia nueva. Chrome y Edge en un ordenador sí pueden guardar en el sitio.","Ce navigateur ne peut pas réécrire le fichier : chaque enregistrement crée donc une nouvelle copie. Chrome et Edge sur ordinateur enregistrent sur place.","Dieser Browser kann nicht in die Datei zurückschreiben, deshalb entsteht bei jedem Speichern eine neue Kopie. Chrome und Edge auf dem Computer können direkt speichern.","Questo browser non può riscrivere il file, quindi ogni salvataggio crea una nuova copia. Chrome ed Edge su computer possono salvare sul posto.","Este navegador não consegue gravar de volta no arquivo, então cada salvamento cria uma cópia nova. O Chrome e o Edge em computador conseguem salvar no lugar."],
@@ -643,12 +683,14 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"This column": ["この列","此列","此欄","Esta columna","Cette colonne","Diese Spalte","Questa colonna","Esta coluna"],
"This column is not in {sheet} any more.": ["この列はもう {sheet} にありません。","此列已不在 {sheet} 中。","此欄已不在 {sheet} 中。","Esta columna ya no está en {sheet}.","Cette colonne n’est plus dans {sheet}.","Diese Spalte ist nicht mehr in {sheet}.","Questa colonna non è più in {sheet}.","Esta coluna já não está em {sheet}."],
"This column is {type}, so its values print exactly as they are stored and this pattern changes nothing. Set the type to Number, Money or Percent for it to apply.": ["この列は {type} なので、値は保存されているとおりに表示され、この書式は何も変えません。適用するには型を数値・通貨・パーセントのいずれかにしてください。","此列是{type},因此其值按存储的原样显示,这个格式不起任何作用。要让它生效,请将类型设为数字、货币或百分比。","此欄是{type},因此其值按儲存的原樣顯示,這個格式不起任何作用。要讓它生效,請將型別設為數值、貨幣或百分比。","Esta columna es {type}, así que sus valores se muestran tal como están guardados y este patrón no cambia nada. Cambia el tipo a Número, Moneda o Porcentaje para que se aplique.","Cette colonne est de type {type} : ses valeurs s’affichent telles qu’elles sont stockées et ce format ne change rien. Passez le type à Numérique, Monétaire ou Pourcentage pour qu’il s’applique.","Diese Spalte ist {type}, ihre Werte werden also genau so ausgegeben, wie sie gespeichert sind, und dieses Muster ändert nichts. Setzen Sie den Typ auf Zahl, Währung oder Prozent, damit es greift.","Questa colonna è {type}, quindi i suoi valori vengono mostrati esattamente come sono memorizzati e questo formato non cambia nulla. Imposta il tipo su Numero, Valuta o Percentuale perché venga applicato.","Esta coluna é {type}, então seus valores aparecem exatamente como estão armazenados e este padrão não muda nada. Defina o tipo como Número, Monetário ou Porcentagem para que ele valha."],
+ "This copy goes offline; the others carry on": ["このコピーはオフラインになります。ほかの人はそのまま続けられます","此副本将离线;其他人继续协作","此副本將離線;其他人繼續協作","Esta copia se desconecta; las demás siguen","Cette copie passe hors ligne ; les autres continuent","Diese Kopie geht offline; die anderen machen weiter","Questa copia va offline; le altre continuano","Esta cópia fica offline; as outras continuam"],
"This dataset has no columns": ["このデータセットには列がありません","此数据集没有列","此資料集沒有欄","Este conjunto de datos no tiene columnas","Ce jeu de données n’a aucune colonne","Dieser Datensatz hat keine Spalten","Questo set di dati non ha colonne","Este conjunto de dados não tem colunas"],
"This dataset has no rows": ["このデータセットには行がありません","此数据集没有行","此資料集沒有列","Este conjunto de datos no tiene filas","Ce jeu de données n’a aucune ligne","Dieser Datensatz hat keine Zeilen","Questo set di dati non ha righe","Este conjunto de dados não tem linhas"],
"This file": ["このファイル","此文件","此檔案","Este archivo","Ce fichier","Diese Datei","Questo file","Este arquivo"],
"This file could not be opened as a bento/dash workbook.": ["このファイルを bento/dash のブックとして開けませんでした。","此文件无法作为 bento/dash 工作簿打开。","此檔案無法以 bento/dash 活頁簿開啟。","No se ha podido abrir este archivo como libro de bento/dash.","Ce fichier n’a pas pu être ouvert comme classeur bento/dash.","Diese Datei konnte nicht als bento/dash-Arbeitsmappe geöffnet werden.","Non è stato possibile aprire questo file come cartella di lavoro bento/dash.","Não foi possível abrir este arquivo como pasta de trabalho do bento/dash."],
"This file is encrypted.": ["このファイルは暗号化されています。","此文件已加密。","此檔案已加密。","Este archivo está cifrado.","Ce fichier est chiffré.","Diese Datei ist verschlüsselt.","Questo file è cifrato.","Este arquivo está criptografado."],
"This file was updated. Reload to run the new version before saving again.": ["このファイルは更新されました。再度保存する前に、再読み込みして新しいバージョンを起動してください。","此文件已更新。请先重新加载以运行新版本,然后再保存。","此檔案已更新。請先重新載入以執行新版本,再進行儲存。","Este archivo se ha actualizado. Recarga para ejecutar la nueva versión antes de volver a guardar.","Ce fichier a été mis à jour. Rechargez pour lancer la nouvelle version avant d’enregistrer à nouveau.","Diese Datei wurde aktualisiert. Laden Sie neu, um die neue Version zu starten, bevor Sie erneut speichern.","Questo file è stato aggiornato. Ricarica per avviare la nuova versione prima di salvare di nuovo.","Este arquivo foi atualizado. Recarregue para executar a nova versão antes de salvar novamente."],
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": ["これは閲覧専用コピーです — ライブセッションに追従しますが、このブックは変更できません。","这是只读副本 — 跟随实时会话,但无法更改此工作簿。","這是唯讀副本 — 跟隨即時工作階段,但無法變更此活頁簿。","Esta es una copia de solo lectura: sigue la sesión en vivo, pero no puede cambiar este libro.","Ceci est une copie en lecture seule — elle suit la session en direct mais ne peut pas modifier ce classeur.","Dies ist eine Nur-Lese-Kopie – sie folgt der Live-Sitzung, kann diese Arbeitsmappe aber nicht ändern.","Questa è una copia di sola lettura: segue la sessione dal vivo ma non può modificare questa cartella di lavoro.","Esta é uma cópia somente leitura — acompanha a sessão ao vivo, mas não pode alterar esta pasta de trabalho."],
"This is now a new workbook — save it under a new name": ["これは新しいブックになりました — 別の名前で保存してください","这已经是一个新工作簿 — 请用新名称保存","這現在是一份新的活頁簿 — 請以新名稱儲存","Ahora esto es un libro nuevo: guárdalo con otro nombre","C’est désormais un nouveau classeur — enregistrez-le sous un nouveau nom","Das ist jetzt eine neue Arbeitsmappe — unter einem neuen Namen speichern","Ora questa è una nuova cartella di lavoro — salvala con un nuovo nome","Agora esta é uma pasta de trabalho nova — salve-a com outro nome"],
"This recovered copy looks older than the file you opened. Keep the file unless you know it’s newer.": ["この復元コピーは、開いたファイルより古いようです。新しいと分かっている場合を除き、ファイルをそのまま使ってください。","此恢复副本似乎比你打开的文件更旧。除非你确定它更新,否则请保留该文件。","此復原副本似乎比你開啟的檔案更舊。除非你確定它較新,否則請保留該檔案。","Esta copia recuperada parece más antigua que el archivo que abriste. Conserva el archivo, salvo que sepas que la copia es más reciente.","Cette copie récupérée semble plus ancienne que le fichier ouvert. Gardez le fichier, sauf si vous savez qu’elle est plus récente.","Diese wiederhergestellte Kopie scheint älter zu sein als die geöffnete Datei. Behalten Sie die Datei, es sei denn, Sie wissen, dass die Kopie neuer ist.","Questa copia recuperata sembra più vecchia del file che hai aperto. Tieni il file, a meno che tu non sappia che la copia è più recente.","Esta cópia recuperada parece mais antiga do que o arquivo que você abriu. Mantenha o arquivo, a menos que saiba que a cópia é mais recente."],
"This rule came from a later build of dash. It is kept in the file and written back out unchanged, and this build paints nothing for it.": ["このルールは新しいバージョンの dash で作られたものです。ファイルの中に保持してそのまま書き出しますが、このバージョンでは何も描画しません。","该规则来自更高版本的 dash。文件中会原样保留并写回,但当前版本不会为它绘制任何内容。","這條規則來自較新版本的 dash。檔案中會原樣保留並寫回,但這個版本不會為它繪製任何內容。","Esta regla viene de una versión posterior de dash. Se conserva en el archivo y se vuelve a escribir sin cambios, y esta versión no pinta nada para ella.","Cette règle vient d’une version plus récente de dash. Elle est conservée dans le fichier et réécrite telle quelle, et cette version ne dessine rien pour elle.","Diese Regel stammt aus einer neueren Version von dash. Sie bleibt in der Datei und wird unverändert zurückgeschrieben; diese Version zeichnet nichts dafür.","Questa regola arriva da una versione più recente di dash. Resta nel file e viene riscritta invariata, e questa versione non disegna nulla per essa.","Esta regra veio de uma versão mais recente do dash. Ela é mantida no arquivo e gravada de volta sem alteração, e esta versão não pinta nada por ela."],
@@ -677,6 +719,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"This workbook has no dashboard yet.": ["このブックには、まだダッシュボードがありません。","此工作簿还没有仪表板。","此活頁簿還沒有儀表板。","Este libro todavía no tiene panel.","Ce classeur n’a pas encore de tableau de bord.","Diese Arbeitsmappe hat noch kein Dashboard.","Questa cartella di lavoro non ha ancora una dashboard.","Esta pasta de trabalho ainda não tem painel."],
"This workbook has no dataset sheet, and .xlsx export writes datasets. Nothing was downloaded.": ["このブックにはデータセットのシートがなく、.xlsx 書き出しはデータセットを書き出します。ダウンロードは行われませんでした。","此工作簿没有数据集工作表,而 .xlsx 导出写入的是数据集。未下载任何内容。","此活頁簿沒有資料集工作表,而 .xlsx 匯出寫入的是資料集。未下載任何內容。","Este libro no tiene ninguna hoja de conjunto de datos, y la exportación .xlsx escribe conjuntos de datos. No se ha descargado nada.","Ce classeur n’a aucune feuille de jeu de données, et l’export .xlsx écrit des jeux de données. Rien n’a été téléchargé.","Diese Arbeitsmappe hat kein Datensatzblatt, und der .xlsx-Export schreibt Datensätze. Es wurde nichts heruntergeladen.","Questa cartella di lavoro non ha fogli set di dati, e l’esportazione .xlsx scrive set di dati. Non è stato scaricato nulla.","Esta pasta de trabalho não tem planilha de conjunto de dados, e a exportação .xlsx grava conjuntos de dados. Nada foi baixado."],
"This workbook has no datasets to export.": ["このブックには書き出すデータセットがありません。","此工作簿没有可导出的数据集。","此活頁簿沒有可匯出的資料集。","Este libro no tiene conjuntos de datos que exportar.","Ce classeur n’a aucun jeu de données à exporter.","Diese Arbeitsmappe hat keine Datensätze zum Exportieren.","Questa cartella di lavoro non ha set di dati da esportare.","Esta pasta de trabalho não tem conjuntos de dados para exportar."],
+ "This workbook has no live session to follow": ["このブックには追従できるライブセッションがありません","此工作簿没有可跟随的实时会话","此活頁簿沒有可跟隨的即時工作階段","Este libro no tiene una sesión en vivo que seguir","Ce classeur n’a pas de session en direct à suivre","Diese Arbeitsmappe hat keine Live-Sitzung, der man folgen könnte","Questa cartella di lavoro non ha una sessione dal vivo da seguire","Esta pasta de trabalho não tem uma sessão ao vivo para acompanhar"],
"This workbook is open read-only, so its sheets cannot be changed.": ["このブックは読み取り専用で開かれているため、シートを変更できません。","此工作簿以只读方式打开,因此无法更改其工作表。","此活頁簿以唯讀方式開啟,因此無法變更其工作表。","Este libro está abierto en solo lectura, así que sus hojas no se pueden cambiar.","Ce classeur est ouvert en lecture seule : ses feuilles ne peuvent pas être modifiées.","Diese Arbeitsmappe ist schreibgeschützt geöffnet, daher können ihre Blätter nicht geändert werden.","Questa cartella di lavoro è aperta in sola lettura, quindi i suoi fogli non possono essere modificati.","Esta pasta de trabalho está aberta somente leitura, então suas planilhas não podem ser alteradas."],
"This workbook is open read-only, so nothing can be written into it. Save a copy first.": ["このブックは読み取り専用で開いているため、何も書き込めません。先にコピーを保存してください。","此工作簿以只读方式打开,无法写入任何内容。请先保存一份副本。","此活頁簿以唯讀方式開啟,因此無法寫入任何內容。請先儲存一份副本。","Este libro está abierto en solo lectura, así que no se puede escribir nada en él. Guarda antes una copia.","Ce classeur est ouvert en lecture seule : rien ne peut y être écrit. Enregistrez d’abord une copie.","Diese Arbeitsmappe ist schreibgeschützt geöffnet, es kann also nichts hineingeschrieben werden. Zuerst eine Kopie speichern.","Questa cartella di lavoro è aperta in sola lettura, quindi non ci si può scrivere nulla. Salva prima una copia.","Esta pasta de trabalho está aberta somente leitura, então nada pode ser gravado nela. Salve uma cópia antes."],
"This workbook is open read-only, so nothing here writes to it.": ["このブックは読み取り専用で開いているため、ここでの操作は書き込まれません。","此工作簿以只读方式打开,这里的操作不会写入它。","此活頁簿以唯讀方式開啟,因此這裡的操作不會寫入它。","Este libro está abierto en solo lectura, así que nada de esto se escribe en él.","Ce classeur est ouvert en lecture seule : rien ici n’y écrit.","Diese Arbeitsmappe ist schreibgeschützt geöffnet, hier schreibt also nichts hinein.","Questa cartella di lavoro è aperta in sola lettura, quindi da qui non ci si scrive nulla.","Esta pasta de trabalho está aberta somente leitura, então nada aqui grava nela."],
@@ -727,9 +770,14 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Values only, transposed": ["値のみ、行列を入れ替え","仅值,并转置","僅值,並轉置","Solo valores, transpuesto","Valeurs uniquement, transposées","Nur Werte, transponiert","Solo valori, trasposto","Somente valores, transposto"],
"Values that LOOK the same count as the same — trimmed, and ignoring case. Empty cells are never duplicates.": ["見た目が同じ値は同じものとして数えます(前後の空白を除き、大文字と小文字を区別しません)。空のセルは重複になりません。","看起来相同的值即视为相同:忽略首尾空格,且不区分大小写。空单元格永远不算重复。","看起來相同的值就視為相同:忽略前後空白,且不分大小寫。空白儲存格永遠不算重複。","Los valores que PARECEN iguales cuentan como iguales: sin espacios sobrantes y sin distinguir mayúsculas. Las celdas vacías nunca son duplicados.","Les valeurs qui SE RESSEMBLENT comptent comme identiques : espaces retirés, casse ignorée. Une cellule vide n’est jamais un doublon.","Werte, die gleich AUSSEHEN, gelten als gleich — ohne Leerzeichen am Rand und ohne Groß- und Kleinschreibung. Leere Zellen sind nie Duplikate.","I valori che SEMBRANO uguali contano come uguali: spazi tolti e maiuscole ignorate. Le celle vuote non sono mai duplicati.","Valores que PARECEM iguais contam como iguais — sem espaços nas pontas, e ignorando maiúsculas. Células vazias nunca são duplicadas."],
"Version history": ["バージョン履歴","版本历史","版本歷程","Historial de versiones","Historique des versions","Versionsverlauf","Cronologia versioni","Histórico de versões"],
+ "Version history…": ["バージョン履歴…","版本历史…","版本歷程…","Historial de versiones…","Historique des versions…","Versionsverlauf…","Cronologia versioni…","Histórico de versões…"],
"Version {v} is available — open Settings to update.": ["バージョン {v} が利用できます — 更新するには「設定」を開いてください。","版本 {v} 可用 — 打开“设置”即可更新。","版本 {v} 可用 — 開啟「設定」即可更新。","La versión {v} está disponible: abre Ajustes para actualizar.","La version {v} est disponible — ouvrez Réglages pour mettre à jour.","Version {v} ist verfügbar — zum Aktualisieren „Einstellungen“ öffnen.","La versione {v} è disponibile: apri Impostazioni per aggiornare.","A versão {v} está disponível — abra as Configurações para atualizar."],
"Version {v} is available.": ["バージョン {v} が利用可能です。","版本 {v} 可用。","版本 {v} 可用。","Versión {v} disponible.","La version {v} est disponible.","Version {v} ist verfügbar.","È disponibile la versione {v}.","A versão {v} está disponível."],
"Versions are kept in this browser only — never in the file, never online. Restoring replaces the whole workbook, and offers one undo.": ["バージョンはこのブラウザにだけ保存されます — ファイルにもオンラインにも残りません。復元するとブック全体が置き換わり、一度だけ元に戻せます。","版本只保存在此浏览器中 — 不会写入文件,也不会上传。恢复会替换整个工作簿,并提供一次撤销。","版本只保存在此瀏覽器中 — 不會寫入檔案,也不會上傳。還原會取代整個活頁簿,並提供一次復原。","Las versiones se guardan solo en este navegador: nunca en el archivo, nunca en línea. Restaurar reemplaza todo el libro y ofrece una acción de deshacer.","Les versions sont conservées dans ce navigateur uniquement — jamais dans le fichier, jamais en ligne. Une restauration remplace tout le classeur et propose une annulation.","Versionen werden nur in diesem Browser aufbewahrt — nie in der Datei, nie online. Eine Wiederherstellung ersetzt die ganze Arbeitsmappe und bietet einmal Rückgängig an.","Le versioni sono conservate solo in questo browser: mai nel file, mai online. Il ripristino sostituisce l’intera cartella di lavoro e offre un annullamento.","As versões ficam somente neste navegador — nunca no arquivo, nunca online. Restaurar substitui a pasta de trabalho inteira, e oferece um desfazer."],
+ "View-only copy — it follows the live session but can’t change this workbook.": ["閲覧専用コピー — ライブセッションに追従しますが、このブックは変更できません。","只读副本 — 跟随实时会话,但无法更改此工作簿。","唯讀副本 — 跟隨即時工作階段,但無法變更此活頁簿。","Copia de solo lectura: sigue la sesión en vivo, pero no puede cambiar este libro.","Copie en lecture seule — elle suit la session en direct mais ne peut pas modifier ce classeur.","Nur-Lese-Kopie – sie folgt der Live-Sitzung, kann diese Arbeitsmappe aber nicht ändern.","Copia di sola lettura: segue la sessione dal vivo ma non può modificare questa cartella di lavoro.","Cópia somente leitura — acompanha a sessão ao vivo, mas não pode alterar esta pasta de trabalho."],
+ "View-only copy — it holds no signing key.": ["閲覧専用コピー — 署名鍵を保持していません。","只读副本 — 不持有签名密钥。","唯讀副本 — 不持有簽署金鑰。","Copia de solo lectura — no contiene clave de firma.","Copie en lecture seule — elle ne détient aucune clé de signature.","Nur-Lesen-Kopie — enthält keinen Signaturschlüssel.","Copia di sola lettura — non contiene chiavi di firma.","Cópia somente para visualização — ela não contém chave de assinatura."],
+ "View-only copy…": ["閲覧専用コピー…","只读副本…","唯讀副本…","Copia de solo lectura…","Copie en lecture seule…","Nur-Lesen-Kopie…","Copia di sola lettura…","Cópia somente para visualização…"],
+ "Viewer": ["閲覧者","查看者","檢視者","Espectador","Spectateur","Betrachter","Osservatore","Visualizador"],
"Warn and allow": ["警告して許可","警告但允许","警告但允許","Avisar y permitir","Avertir et accepter","Warnen und zulassen","Avvisa e consenti","Avisar e permitir"],
"What is wrong with this number?": ["この数値の何が問題ですか?","这个数字有什么问题?","這個數字哪裡有問題?","¿Qué le pasa a este número?","Qu’est-ce qui ne va pas avec ce nombre ?","Was stimmt mit dieser Zahl nicht?","Che cosa non va in questo numero?","O que há de errado com este número?"],
"Which end": ["どちらの端","哪一端","哪一端","Qué extremo","Quelle extrémité","Welches Ende","Quale estremo","Qual extremo"],
@@ -737,16 +785,18 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Wide sheets": ["横に広いシート","过宽的工作表","過寬的工作表","Hojas anchas","Feuilles larges","Breite Blätter","Fogli larghi","Planilhas largas"],
"Wide — 20mm, room to bind or annotate": ["広い — 20mm、綴じや書き込みの余地","宽 — 20mm,留出装订或批注的空间","寬 — 20mm,留出裝訂或註記的空間","Ancho — 20 mm, sitio para encuadernar o anotar","Larges — 20 mm, de quoi relier ou annoter","Breit — 20 mm, Platz zum Binden oder Notieren","Ampi — 20 mm, spazio per rilegare o annotare","Largas — 20 mm, espaço para encadernar ou anotar"],
"Width": ["幅","宽度","寬度","Ancho","Largeur","Breite","Larghezza","Largura"],
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": ["このコンピューター上のウィンドウは引き続き同期します。別の場所の人と作業するには、設定でオフラインモードをオフにしてください。","此电脑上的窗口仍会同步;要与其他地方的人协作,请在“设置”中关闭离线模式。","此電腦上的視窗仍會同步;要與其他地方的人協作,請在「設定」中關閉離線模式。","Las ventanas de este equipo siguen sincronizándose; desactiva el modo sin conexión en Ajustes para trabajar con alguien en otro lugar.","Les fenêtres de cet ordinateur restent synchronisées ; désactivez le mode hors ligne dans Réglages pour travailler avec quelqu’un ailleurs.","Fenster auf diesem Computer synchronisieren weiter; schalte den Offline-Modus in den Einstellungen aus, um mit jemandem anderswo zu arbeiten.","Le finestre su questo computer restano sincronizzate; disattiva la modalità offline in Impostazioni per lavorare con qualcuno altrove.","As janelas neste computador continuam sincronizando; desative o modo offline em Configurações para trabalhar com alguém em outro lugar."],
"Workbook": ["ブック","工作簿","活頁簿","Libro","Classeur","Arbeitsmappe","Cartella di lavoro","Pasta de trabalho"],
"Wrap text": ["折り返して表示","自动换行","自動換行","Ajustar texto","Renvoi à la ligne","Zeilenumbruch","Testo a capo","Quebrar texto"],
"Write a percentage as a number here: 15% is 0.15.": ["ここではパーセントを数値で書いてください: 15% は 0.15 です。","这里请把百分比写成数字:15% 就是 0.15。","這裡請把百分比寫成數字:15% 就是 0.15。","Aquí escribe los porcentajes como números: 15 % es 0,15.","Ici, écrivez un pourcentage sous forme de nombre : 15 % vaut 0.15.","Schreiben Sie Prozente hier als Zahl: 15 % ist 0.15.","Qui scrivi le percentuali come numeri: 15% è 0.15.","Aqui, escreva a porcentagem como número: 15% é 0.15."],
"Write the column names into row 1": ["列名を 1 行目に書き出す","将列名写入第 1 行","將欄名寫入第 1 列","Escribir los nombres de las columnas en la fila 1","Écrire les noms de colonnes dans la ligne 1","Die Spaltennamen in Zeile 1 schreiben","Scrivi i nomi delle colonne nella riga 1","Escrever os nomes das colunas na linha 1"],
- "Write this workbook back to its own file.": ["このブックを元のファイルに書き戻します。","将此工作簿写回它自己的文件。","將此活頁簿寫回它自己的檔案。","Escribir este libro de vuelta en su propio archivo.","Réécrire ce classeur dans son propre fichier.","Diese Arbeitsmappe in ihre eigene Datei zurückschreiben.","Riscrivi questa cartella di lavoro nel suo stesso file.","Gravar esta pasta de trabalho de volta no próprio arquivo."],
"Wrong password — try again": ["パスワードが違います — もう一度お試しください","密码错误 — 请重试","密碼錯誤 — 請重試","Contraseña incorrecta: inténtalo de nuevo","Mot de passe incorrect — réessayez","Falsches Passwort — bitte erneut versuchen","Password errata — riprova","Senha incorreta — tente de novo"],
"Yes/No": ["はい/いいえ","是/否","是/否","Sí/No","Oui/Non","Ja/Nein","Sì/No","Sim/Não"],
"You have the newest version ({v}).": ["最新バージョンです ({v})。","你已是最新版本 ({v})。","你已是最新版本 ({v})。","Tienes la versión más reciente ({v}).","Vous avez la dernière version ({v}).","Du hast die neueste Version ({v}).","Hai la versione più recente ({v}).","Você tem a versão mais recente ({v})."],
"Your data has not been changed — it is still inside this file. Try opening it again, or take the contents out below.": ["データは変更されていません。このファイルの中にそのまま残っています。もう一度開いてみるか、下から内容を取り出してください。","你的数据没有被改动,仍然保存在此文件里。可以再打开一次,或在下面把内容带走。","你的資料沒有被更動,仍然保存在此檔案裡。可以再開啟一次,或在下方把內容帶走。","Tus datos no se han modificado: siguen dentro de este archivo. Prueba a abrirlo otra vez o extrae el contenido aquí abajo.","Vos données n’ont pas été modifiées : elles sont toujours dans ce fichier. Essayez de l’ouvrir à nouveau, ou extrayez le contenu ci-dessous.","Die Daten wurden nicht verändert — sie stecken weiterhin in dieser Datei. Erneut öffnen, oder den Inhalt unten herausholen.","I tuoi dati non sono stati modificati: sono ancora dentro questo file. Prova ad aprirlo di nuovo, oppure estraine il contenuto qui sotto.","Seus dados não foram alterados — continuam dentro deste arquivo. Tente abri-lo de novo, ou retire o conteúdo abaixo."],
"Your data has not been changed, and this build will not write to this file. You can take the contents out below.": ["データは変更されていません。このビルドはこのファイルに書き込みません。下から内容を取り出せます。","你的数据没有被改动,当前版本也不会写入此文件。你可以在下面把内容带走。","你的資料沒有被更動,這個版本也不會寫入此檔案。你可以在下方把內容帶走。","Tus datos no se han modificado y esta versión no escribirá en este archivo. Puedes extraer el contenido aquí abajo.","Vos données n’ont pas été modifiées, et cette version n’écrira pas dans ce fichier. Vous pouvez en extraire le contenu ci-dessous.","Die Daten wurden nicht verändert, und dieser Build schreibt nicht in diese Datei. Der Inhalt lässt sich unten herausholen.","I tuoi dati non sono stati modificati e questa build non scriverà in questo file. Qui sotto puoi estrarne il contenuto.","Seus dados não foram alterados, e esta versão não vai gravar neste arquivo. Você pode retirar o conteúdo abaixo."],
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": ["このデバイスでのあなたの鍵:{fp}。別のデバイスはオーナーが削除するまで別人として扱われます。","你在此设备上的密钥:{fp}。其他设备会被视为新成员,直到所有者将其移除。","你在此裝置上的金鑰:{fp}。其他裝置會被視為新成員,直到擁有者將其移除。","Tu clave en ESTE dispositivo: {fp}. Otro dispositivo cuenta como una persona nueva hasta que el propietario lo quite.","Votre clé sur CET appareil : {fp}. Un autre appareil compte comme une nouvelle personne jusqu’à son retrait par le propriétaire.","Dein Schlüssel auf DIESEM Gerät: {fp}. Ein anderes Gerät zählt als neue Person, bis der Eigentümer es entfernt.","La tua chiave su QUESTO dispositivo: {fp}. Un altro dispositivo conta come nuova persona finché il proprietario non lo rimuove.","Sua chave NESTE dispositivo: {fp}. Outro dispositivo conta como uma nova pessoa até que o dono o remova."],
+ "Your name": ["あなたの名前","你的名字","你的名字","Tu nombre","Votre nom","Dein Name","Il tuo nome","Seu nome"],
"Zero sits where the data puts it and negatives run left from it, so one bar can be read against another.": ["ゼロの位置はデータが決め、負の値はそこから左に伸びます。バー同士を並べて読み比べられます。","零点由数据决定,负值从零点向左延伸,因此各条形之间可以互相比较。","零的位置由資料決定,負值從零往左延伸,因此各橫條之間可以互相比較。","El cero queda donde lo ponen los datos y los negativos salen hacia la izquierda, así que una barra se puede leer frente a otra.","Le zéro se place là où les données le mettent et les négatifs partent vers la gauche : une barre se lit face à une autre.","Die Null sitzt dort, wo die Daten sie hinsetzen, und negative Werte laufen nach links — so lässt sich ein Balken gegen den anderen lesen.","Lo zero sta dove lo mettono i dati e i negativi corrono a sinistra, così una barra si legge accanto all’altra.","O zero fica onde os dados o colocam e os negativos correm para a esquerda a partir dele, para que uma barra possa ser lida em relação a outra."],
"a 3D scatter needs three numeric columns — pick X, Y and Z": ["3D 散布図には数値の列が 3 つ必要です — X、Y、Z を選んでください","3D 散点图需要三个数值列 — 请选择 X、Y 和 Z","3D 散佈圖需要三個數值欄 — 請選擇 X、Y 和 Z","una dispersión 3D necesita tres columnas numéricas: elige X, Y y Z","un nuage de points 3D a besoin de trois colonnes numériques — choisissez X, Y et Z","ein 3D-Streudiagramm braucht drei Zahlenspalten — wählen Sie X, Y und Z","una dispersione 3D richiede tre colonne numeriche: scegli X, Y e Z","uma dispersão 3D precisa de três colunas numéricas — escolha X, Y e Z"],
"a deleted column": ["削除された列","已删除的列","已刪除的欄","una columna eliminada","une colonne supprimée","eine gelöschte Spalte","una colonna eliminata","uma coluna excluída"],
@@ -777,7 +827,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"e.g. , or ; or a space": ["例: , または ; または空白","例如 , 或 ; 或空格","例如 , 或 ; 或空格","p. ej. , o ; o un espacio","p. ex. , ou ; ou une espace","z. B. , oder ; oder ein Leerzeichen","es. , oppure ; oppure uno spazio","ex.: , ou ; ou um espaço"],
"e.g. 3, 8, 12": ["例: 3, 8, 12","例如 3, 8, 12","例如 3, 8, 12","p. ej. 3, 8, 12","p. ex. 3, 8, 12","z. B. 3, 8, 12","es. 3, 8, 12","ex.: 3, 8, 12"],
"e.g. Price * Quantity": ["例: 単価 * 数量","例如:单价 * 数量","例如:單價 * 數量","p. ej. Precio * Cantidad","ex. Prix * Quantité","z. B. Preis * Menge","es. Prezzo * Quantità","ex.: Preço * Quantidade"],
- "editor": ["編集者","编辑者","編輯者","editor","éditeur","Bearbeiter","editor","editor"],
"ends with": ["次で終わる","结尾为","結尾為","termina por","se termine par","endet mit","finisce con","termina com"],
"equal to": ["次の値に等しい","等于","等於","igual a","égal à","gleich","uguale a","igual a"],
"from the data": ["データから","取自数据","取自資料","de los datos","d’après les données","aus den Daten","dai dati","a partir dos dados"],
@@ -815,7 +864,6 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"of": ["の","的","共","de","de","von","di","de"],
"of all rows": ["全行のうち","占全部行","占全部的列","de todas las filas","de toutes les lignes","aller Zeilen","di tutte le righe","de todas as linhas"],
"orphaned": ["孤立","孤立","已孤立","huérfano","orphelin","verwaist","orfano","órfão"],
- "owner": ["オーナー","所有者","擁有者","propietario","propriétaire","Eigentümer","proprietario","proprietário"],
"pivot": ["ピボット","数据透视表","樞紐分析表","tabla dinámica","tableau croisé","Pivottabelle","tabella pivot","dinâmica"],
"pivot table — a summary of another sheet": ["ピボットテーブル — 別のシートの集計","数据透视表——另一个工作表的汇总","樞紐分析表——另一個工作表的彙總","tabla dinámica: un resumen de otra hoja","tableau croisé — un résumé d’une autre feuille","PivotTable – eine Zusammenfassung eines anderen Blatts","tabella pivot: un riepilogo di un altro foglio","tabela dinâmica — um resumo de outra folha"],
"reads {value}": ["内容は {value}","内容为 {value}","內容為 {value}","pone {value}","contient {value}","enthält {value}","dice {value}","diz {value}"],
@@ -835,8 +883,8 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"this sheet has no rows yet": ["このシートにはまだ行がありません","此工作表还没有行","此工作表還沒有列","esta hoja aún no tiene filas","cette feuille n’a encore aucune ligne","dieses Blatt hat noch keine Zeilen","questo foglio non ha ancora righe","esta planilha ainda não tem linhas"],
"unknown anchor": ["不明なアンカー","未知锚点","未知的錨點","anclaje desconocido","ancrage inconnu","unbekannter Anker","ancoraggio sconosciuto","âncora desconhecida"],
"value or = formula": ["値または = 数式","值或 = 公式","值或 = 公式","valor o = fórmula","valeur ou = formule","Wert oder = Formel","valore o = formula","valor ou fórmula ="],
- "view only": ["閲覧のみ","仅查看","僅檢視","solo lectura","lecture seule","nur Ansicht","sola lettura","somente visualização"],
"vs": ["対","对比","對比","frente a","en fonction de","gegenüber","vs","vs"],
+ "you": ["あなた","你","你","tú","vous","du","tu","você"],
"your name": ["あなたの名前","你的名字","你的名字","tu nombre","votre nom","Ihr Name","il tuo nome","seu nome"],
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": ["{cols} には列全体で繰り返されない単一セルの数式があるため、新しい行はそこが空です。読み込まれた数式は届いたセルにとどまります。列に数式を設定すれば、すべての新しい行が自動的に埋まります。","{cols} 中的公式只存在于单个单元格,并未沿列重复,因此新行在那里是空的。导入的公式留在它到达的单元格上;为该列设置公式,每一个新行都会自动填充。","{cols} 中的公式只存在於單一儲存格,並未沿欄重複,因此新列在那裡是空的。匯入的公式留在它到達的儲存格上;為該欄設定公式,每一個新列都會自動填滿。","{cols} tiene fórmulas en celdas sueltas que no se repiten a lo largo de la columna, así que la fila nueva está vacía ahí. Una fórmula importada se queda en la celda a la que llegó; dele una fórmula a la columna y cada fila nueva se rellenará sola.","{cols} contient des formules sur des cellules isolées qui ne se répètent pas le long de la colonne : la nouvelle ligne y est donc vide. Une formule importée reste sur la cellule où elle est arrivée ; donnez une formule à la colonne et chaque nouvelle ligne se remplira d’elle-même.","{cols} enthält Formeln in einzelnen Zellen, die sich in der Spalte nicht wiederholen, daher bleibt die neue Zeile dort leer. Eine importierte Formel bleibt in der Zelle, in der sie angekommen ist; geben Sie der Spalte eine Formel, und jede neue Zeile füllt sich von selbst.","{cols} contiene formule su singole celle che non si ripetono lungo la colonna, quindi la nuova riga lì è vuota. Una formula importata resta sulla cella su cui è arrivata; dai una formula alla colonna e ogni nuova riga si riempirà da sola.","{cols} contém fórmulas em células isoladas que não se repetem pela coluna, então a nova linha fica vazia ali. Uma fórmula importada permanece na célula em que chegou; dê uma fórmula à coluna e cada linha nova se preenche sozinha."],
"{col} has no order, so a line between its categories would draw a trend that is not there. Drawn as bars.": ["{col} には順序がないため、カテゴリ間を結ぶ線は存在しない傾向を描いてしまいます。棒で表示しています。","{col} 没有顺序,在其类别之间连线会画出并不存在的趋势。已绘制为柱状。","{col} 沒有順序,在其類別之間連線會畫出並不存在的趨勢。已繪製為長條。","{col} no tiene orden, así que una línea entre sus categorías dibujaría una tendencia que no existe. Dibujado como barras.","{col} n’a pas d’ordre : une ligne entre ses catégories tracerait une tendance qui n’existe pas. Tracé en barres.","{col} hat keine Reihenfolge, eine Linie zwischen seinen Kategorien würde also einen Trend zeichnen, den es nicht gibt. Als Balken gezeichnet.","{col} non ha un ordine, quindi una linea tra le sue categorie disegnerebbe una tendenza che non c’è. Disegnato a barre.","{col} não tem ordem, por isso uma linha entre as suas categorias desenharia uma tendência que não existe. Desenhado como barras."],
@@ -847,11 +895,15 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"{name} (filtered)": ["{name}(フィルター中)","{name}(已筛选)","{name}(已篩選)","{name} (filtrada)","{name} (filtrée)","{name} (gefiltert)","{name} (filtrata)","{name} (filtrado)"],
"{name} copy": ["{name} のコピー","{name} 副本","{name} 副本","Copia de {name}","Copie de {name}","Kopie von {name}","Copia di {name}","cópia de {name}"],
"{name} dataset": ["{name} データセット","{name} 数据集","{name} 資料集","Conjunto de datos {name}","Jeu de données {name}","Datensatz {name}","Set di dati {name}","conjunto de dados {name}"],
+ "{name} joined": ["{name} が参加しました","{name} 已加入","{name} 已加入","{name} se ha unido","{name} a rejoint","{name} ist beigetreten","{name} si è unito","{name} entrou"],
+ "{name} left": ["{name} が退出しました","{name} 已离开","{name} 已離開","{name} se ha ido","{name} est parti","{name} hat verlassen","{name} se n'è andato","{name} saiu"],
"{name} total": ["{name} 計","{name} 合计","{name} 合計","total de {name}","total {name}","{name} gesamt","totale {name}","total de {name}"],
+ "{name} was removed": ["{name} を削除しました","已移除 {name}","已移除 {name}","{name} fue eliminado","{name} a été retiré","{name} wurde entfernt","{name} è stato rimosso","{name} foi removido"],
"{n} cell(s) had nowhere to land and were not pasted.": ["{n} 個のセルは貼り付け先がなく、貼り付けられませんでした。","{n} 个单元格无处可放,未被粘贴。","{n} 個儲存格無處可放,未被貼上。","{n} celda(s) no tenían dónde ir y no se pegaron.","{n} cellule(s) n’avaient nulle part où aller et n’ont pas été collées.","{n} Zelle(n) hatten keinen Platz und wurden nicht eingefügt.","{n} cella/e non avevano dove andare e non sono state incollate.","{n} célula(s) não tinham onde cair e não foram coladas."],
"{n} cell(s) held an error, not a value, and pasted blank.": ["{n} 個のセルは値ではなくエラーを保持していたため、空白として貼り付けられました。","{n} 个单元格保存的是错误而不是值,已粘贴为空白。","{n} 個儲存格保存的是錯誤而不是值,已貼上為空白。","{n} celda(s) contenían un error, no un valor, y se pegaron en blanco.","{n} cellule(s) contenaient une erreur, pas une valeur, et ont été collées vides.","{n} Zelle(n) enthielten einen Fehler statt eines Werts und wurden leer eingefügt.","{n} cella/e contenevano un errore, non un valore, e sono state incollate vuote.","{n} célula(s) continham um erro, não um valor, e foram coladas em branco."],
"{n} cells": ["{n} セル","{n} 个单元格","{n} 個儲存格","{n} celdas","{n} cellules","{n} Zellen","{n} celle","{n} células"],
"{n} columns": ["{n} 列","{n} 列","{n} 欄","{n} columnas","{n} colonnes","{n} Spalten","{n} colonne","{n} colunas"],
+ "{n} connected": ["{n} 人が接続中","{n} 人已连接","{n} 人已連線","{n} conectados","{n} connectés","{n} verbunden","{n} connessi","{n} conectados"],
"{n} duplicate or missing id(s) were repaired so references resolve.": ["参照が解決するよう、重複または欠落した id を {n} 件修復しました。","已修复 {n} 个重复或缺失的 id,使引用能够正确解析。","已修復 {n} 個重複或缺少的 id,讓參照能夠解析。","Se han reparado {n} id(s) duplicados o ausentes para que las referencias se resuelvan.","{n} id(s) en double ou manquant(s) ont été réparés pour que les références se résolvent.","{n} doppelte oder fehlende ID(s) wurden repariert, damit Verweise auflösbar bleiben.","{n} id duplicati o mancanti sono stati riparati affinché i riferimenti si risolvano.","{n} id(s) duplicado(s) ou ausente(s) foram reparados para que as referências resolvam."],
"{n} existing value(s) break this rule. They are marked, never changed.": ["既存の値のうち {n} 件がこの規則に反しています。印が付くだけで、変更はされません。","已有的值中有 {n} 个不符合此规则。它们只会被标记,不会被更改。","既有的值中有 {n} 個不符合此規則。它們只會被標記,不會被更改。","{n} valor(es) existente(s) incumplen esta regla. Se marcan, nunca se cambian.","{n} valeur(s) existante(s) enfreignent cette règle. Elles sont signalées, jamais modifiées.","{n} vorhandene Wert(e) verstoßen gegen diese Regel. Sie werden markiert, nie geändert.","{n} valore/i esistente/i violano questa regola. Vengono segnalati, mai modificati.","{n} valor(es) existente(s) infringem esta regra. Eles são marcados, nunca alterados."],
"{n} formatted cells in “{sheet}” kept their bold, colour, background and borders; {skipped} more did not, because styling every cell of a long sheet would make the file much larger. All the values are there.": ["「{sheet}」の書式付きセル {n} 個は太字・色・背景・罫線を保持しました。残り {skipped} 個は保持していません。長いシートの全セルに書式を付けるとファイルが大きくなりすぎるためです。値はすべて揃っています。","“{sheet}”中有 {n} 个带格式的单元格保留了粗体、颜色、背景和边框;另有 {skipped} 个没有保留,因为给长工作表的每个单元格都加样式会让文件变得很大。所有值都在。","「{sheet}」中有 {n} 個帶格式的儲存格保留了粗體、色彩、背景和框線;另有 {skipped} 個沒有保留,因為為長工作表的每個儲存格加上樣式會讓檔案變得很大。所有值都在。","{n} celdas con formato de «{sheet}» conservaron negrita, color, fondo y bordes; otras {skipped} no, porque dar estilo a cada celda de una hoja larga haría el archivo mucho más grande. Todos los valores están.","{n} cellules mises en forme de « {sheet} » ont gardé gras, couleur, fond et bordures ; {skipped} autres non, car styler chaque cellule d’une longue feuille alourdirait beaucoup le fichier. Toutes les valeurs sont là.","{n} formatierte Zellen in „{sheet}“ behielten Fett, Farbe, Hintergrund und Rahmen; {skipped} weitere nicht, weil die Formatierung jeder Zelle eines langen Blatts die Datei stark vergrößern würde. Alle Werte sind da.","{n} celle formattate di “{sheet}” hanno mantenuto grassetto, colore, sfondo e bordi; altre {skipped} no, perché formattare ogni cella di un foglio lungo renderebbe il file molto più grande. Tutti i valori ci sono.","{n} células formatadas em “{sheet}” mantiveram negrito, cor, fundo e bordas; outras {skipped} não, porque formatar cada célula de uma planilha longa deixaria o arquivo muito maior. Todos os valores estão lá."],
diff --git a/dash/src/i18n/pt.ts b/dash/src/i18n/pt.ts
index 3b1af341..3a8282c1 100644
--- a/dash/src/i18n/pt.ts
+++ b/dash/src/i18n/pt.ts
@@ -35,13 +35,11 @@ export const pt: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "Uma célula que começa com “?” precisa ser digitada assim: pressione F2 antes, porque um “?” sozinho abre este cartão.",
"A computed column is defined by its formula; there is nothing stored in it to split.": "Uma coluna calculada é definida pela sua fórmula; não há nada armazenado nela para dividir.",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "Um conjunto de dados é tipado por coluna: cada uma tem nome e tipo. Adicione a primeira com o + no fim da linha de cabeçalho.",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "Uma cópia, um modelo ou uma cópia somente leitura: o ▾ ao lado de Salvar.",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "Cada coluna de um conjunto de dados tem um tipo, então uma linha transposta com tipos mistos só poderia virar texto. Transpor funciona em uma planilha; em um conjunto de dados, use Dinâmica ou Reverter dinâmica.",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "Uma CÓPIA plana, célula a célula, para aquele cálculo que uma coluna não consegue expressar. O conjunto de dados continua sendo o ativo.",
"A formula column fills every row of a dataset, and this sheet is not one.": "Uma coluna de fórmula preenche todas as linhas de um conjunto de dados, e esta planilha não é um.",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "Uma coluna de fórmula preenche todas as linhas de um conjunto de dados. Isto é uma planilha — digite = em uma célula.",
"A formula column needs a formula.": "Uma coluna de fórmula precisa de uma fórmula.",
- "A locked copy for handing out: it opens, it does not edit.": "Uma cópia bloqueada para distribuir: ela abre, mas não edita.",
"A pie shows one series; the rest are in the legend of the bar view.": "Uma pizza mostra uma série; as demais ficam na legenda da visão de barras.",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "Uma tabela dinâmica resume as colunas de um conjunto de dados — isto é uma planilha.",
"A pivot summarises a dataset’s columns, and this sheet has none.": "Uma tabela dinâmica resume as colunas de um conjunto de dados, e esta planilha não tem nenhuma.",
@@ -53,7 +51,6 @@ export const pt: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "Um passo de narrativa salva a visão de um conjunto de dados — seus filtros, ordenações e gráfico. Esta planilha não tem nenhum.",
"A value to compare against.": "Um valor para comparar.",
"A workbook needs at least one sheet.": "Uma pasta de trabalho precisa de pelo menos uma planilha.",
- "About": "Sobre",
"About this workbook": "Sobre esta pasta de trabalho",
"Add a column": "Adicionar uma coluna",
"Add a formula column": "Adicionar uma coluna de fórmula",
@@ -166,7 +163,6 @@ export const pt: Catalog = {
"Delete row": "Excluir linha",
"Delete {n}": "Excluir {n}",
"Discard": "Descartar",
- "Disconnect from the relay — collaborators stop seeing your edits": "Desconectar do retransmissor — os colaboradores param de ver suas edições",
"Dismiss — keep the restored workbook": "Dispensar — manter a pasta de trabalho restaurada",
"Dismiss — the changes stay in this browser": "Dispensar — as alterações ficam neste navegador",
"Distinct": "Distintos",
@@ -392,10 +388,8 @@ export const pt: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "Imprimir a visão, ou salvá-la como PDF (⌘P)",
"Print…": "Imprimir…",
"Properties travel in the file. The title is edited in the top bar.": "As propriedades viajam no arquivo. O título é editado na barra superior.",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "Colocar esta pasta de trabalho no retransmissor para que quem receber uma cópia edite ao vivo com você",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "Campos entre aspas ficam inteiros. O primeiro campo substitui a célula dividida; os demais transbordam para a direita.",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "Campos entre aspas ficam inteiros. A coluna inteira é dividida, e a coluna de origem é mantida.",
- "Read-only copy saved — it opens locked": "Cópia somente leitura salva — ela abre bloqueada",
"Redo": "Refazer",
"Redo (⇧⌘Z)": "Refazer (⇧⌘Z)",
"Reduced motion (M)": "Movimento reduzido (M)",
@@ -405,7 +399,6 @@ export const pt: Catalog = {
"Remove password…": "Remover senha…",
"Remove step": "Remover passo",
"Remove the password? The next save writes the workbook in the clear.": "Remover a senha? O próximo salvamento grava a pasta de trabalho sem criptografia.",
- "Remove this device from the session": "Remover este dispositivo da sessão",
"Remove this filter": "Remover este filtro",
"Rename": "Renomear",
"Reopen": "Reabrir",
@@ -431,7 +424,6 @@ export const pt: Catalog = {
"Save": "Salvar",
"Save a copy…": "Salvar uma cópia…",
"Save an untouched copy": "Salvar uma cópia intacta",
- "Save as… — copy, new workbook, template, read-only, password": "Salvar como… — cópia, nova pasta de trabalho, modelo, somente leitura, senha",
"Settings": "Configurações",
"Settings — language, appearance and updates": "Configurações — idioma, aparência e atualizações",
"The next save writes the workbook in the clear.": "O próximo salvamento grava a pasta de trabalho sem criptografia.",
@@ -445,7 +437,6 @@ export const pt: Catalog = {
"Save failed — see console": "Falha ao salvar — veja o console",
"Save failed — {why}": "Falha ao salvar — {why}",
"Save formula": "Salvar fórmula",
- "Save read-only copy…": "Salvar cópia somente leitura…",
"Save this workbook": "Salvar esta pasta de trabalho",
"Save this workbook (⌘S)": "Salvar esta pasta de trabalho (⌘S)",
"Saved": "Salvo",
@@ -490,14 +481,12 @@ export const pt: Catalog = {
"Split on": "Dividir em",
"Split the selected column into several, on a delimiter or at fixed widths": "Dividir a coluna selecionada em várias, por um delimitador ou em larguras fixas",
"Spreadsheet": "Planilha",
- "Start live session": "Iniciar sessão ao vivo",
"Stop sharing": "Parar de compartilhar",
"Story": "Narrativa",
"Subject": "Assunto",
"Sum": "Soma",
"Summarise this sheet as a pivot table": "Resumir esta planilha como tabela dinâmica",
"Symbol": "Símbolo",
- "Take it elsewhere": "Levar para outro lugar",
"Template saved — every open of it starts a fresh workbook": "Modelo salvo — cada abertura dele inicia uma pasta de trabalho nova",
"Text": "Texto",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "Células de texto guardam exatamente o que é digitado — zeros à esquerda, barras, e um = que não é fórmula.",
@@ -630,7 +619,6 @@ export const pt: Catalog = {
"Workbook": "Pasta de trabalho",
"Wrap text": "Quebrar texto",
"Write the column names into row 1": "Escrever os nomes das colunas na linha 1",
- "Write this workbook back to its own file.": "Gravar esta pasta de trabalho de volta no próprio arquivo.",
"Wrong password — try again": "Senha incorreta — tente de novo",
"Yes/No": "Sim/Não",
"You have the newest version ({v}).": "Você tem a versão mais recente ({v}).",
@@ -657,7 +645,6 @@ export const pt: Catalog = {
"e.g. , or ; or a space": "ex.: , ou ; ou um espaço",
"e.g. 3, 8, 12": "ex.: 3, 8, 12",
"e.g. Price * Quantity": "ex.: Preço * Quantidade",
- "editor": "editor",
"ends with": "termina com",
"equal to": "igual a",
"from the data": "a partir dos dados",
@@ -683,7 +670,6 @@ export const pt: Catalog = {
"of": "de",
"of all rows": "de todas as linhas",
"orphaned": "órfão",
- "owner": "proprietário",
"pivot": "dinâmica",
"reads {value}": "diz {value}",
"row": "linha",
@@ -698,7 +684,6 @@ export const pt: Catalog = {
"this sheet": "esta planilha",
"unknown anchor": "âncora desconhecida",
"value or = formula": "valor ou fórmula =",
- "view only": "somente visualização",
"vs": "vs",
"your name": "seu nome",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} contém fórmulas em células isoladas que não se repetem pela coluna, então a nova linha fica vazia ali. Uma fórmula importada permanece na célula em que chegou; dê uma fórmula à coluna e cada linha nova se preenche sozinha.",
@@ -765,6 +750,73 @@ export const pt: Catalog = {
"Copy saved — you are still editing the original": "Cópia salva — você continua editando o original",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "A recuperação de falhas está desativada para esta pasta de trabalho: ela é grande demais para manter uma cópia de segurança. Salve com frequência.",
"A backup of this workbook for yourself — same workbook, same live session.": "Um backup desta pasta de trabalho para você — mesma pasta de trabalho, mesma sessão ao vivo.",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "Um comentário se prende a uma célula de um conjunto de dados, e esta planilha não tem nenhuma.",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "Um comentário se prende a uma célula de um conjunto de dados, que o mantém ao ordenar — isto é uma planilha.",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "Um visualizador ao vivo: acompanha cada edição na hora, mas nunca pode alterar esta pasta de trabalho — o relay garante isso.",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "Uma cópia bloqueada para distribuir: abre somente leitura, não leva nenhuma chave desta pasta de trabalho e nunca entra na sessão ao vivo.",
+ "Access reset — only copies saved from now on can join": "Acesso redefinido — apenas cópias salvas de agora em diante podem entrar",
+ "Also open in another window on this computer — not shared online": "Também aberto em outra janela deste computador — não compartilhado online",
+ "Comment on the selected cell (⌘⌥M)": "Comentar a célula selecionada (⌘⌥M)",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Conecte-se à sessão ao vivo sem salvar uma nova cópia — as cópias que você enviou antes encontrarão você lá.",
+ "Connecting…": "Conectando…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "Copia esta pasta de trabalho como JSON simples — só o conteúdo, sem chaves da sessão ao vivo. Edite em outra ferramenta e traga de volta com Substituir a partir de JSON.",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "Cópias, histórico de versões e o documento como JSON: o ▾ ao lado de Salvar.",
+ "Couldn’t reach the live session": "Não foi possível alcançar a sessão ao vivo",
+ "Editor": "Editor",
+ "Editor copy saved — recipients join live with edit access": "Cópia de editor salva — quem receber entra ao vivo com acesso de edição",
+ "Following — view only": "Acompanhando — somente visualização",
+ "Go live": "Ficar ao vivo",
+ "Guest": "Convidado",
+ "Invite to edit…": "Convidar para editar…",
+ "Key-verified identity": "Identidade verificada por chave",
+ "Live": "Ao vivo",
+ "Live — nobody else is here yet": "Ao vivo — ainda não há mais ninguém",
+ "Live — send someone the file to bring them in": "Ao vivo — envie o arquivo para alguém para que essa pessoa entre",
+ "Live — {n} other people are here": "Ao vivo — há mais {n} pessoas",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Gera chaves totalmente novas. Toda cópia enviada antes para de sincronizar de vez; compartilhe cópias novas depois.",
+ "More actions": "Mais ações",
+ "Not live — turns on when you share": "Fora do ar — ativa quando você compartilha",
+ "Nothing leaves this file until you start a session.": "Nada sai deste arquivo até você iniciar uma sessão.",
+ "Offline mode is on — nothing leaves this computer.": "O modo offline está ativado — nada sai deste computador.",
+ "Only the owner of this workbook can invite people": "Só o proprietário desta pasta de trabalho pode convidar pessoas",
+ "Owner": "Dono",
+ "Paste edited document JSON to replace this workbook’s content.": "Cole o JSON do documento editado para substituir o conteúdo desta pasta de trabalho.",
+ "People": "Pessoas",
+ "Read-only copy saved — it follows the live session, view only": "Cópia somente leitura salva — ela acompanha a sessão ao vivo, apenas para visualizar",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "Cópia de leitura salva — abre somente leitura, sem nenhuma das chaves desta pasta de trabalho",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "Remover {name} desta pasta de trabalho? A cópia dessa pessoa passa a ser somente leitura.",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "Remover {name} — revoga o acesso deste dispositivo; ninguém mais é afetado",
+ "Replace all {n} sheets with one blank sheet? ⌘Z undoes this.": "Substituir todas as {n} planilhas por uma planilha em branco? ⌘Z desfaz.",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "Substitui todas as planilhas por uma em branco. Mantém o nome, o tema e a sessão ao vivo da pasta de trabalho — ⌘Z desfaz.",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Redefinir o acesso? Toda cópia que você enviou para de sincronizar; apenas cópias salvas depois disso podem entrar.",
+ "Reset access…": "Redefinir acesso…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "Restaurar uma versão salva automaticamente desta pasta de trabalho (guardada localmente neste navegador).",
+ "Save a reading copy…": "Salvar uma cópia de leitura…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "Salvar como… — cópia, nova pasta de trabalho, modelo, senha, histórico, JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "Salva uma cópia para enviar. Quem a abrir edita esta pasta de trabalho ao vivo com você (criptografia de ponta a ponta); você continua proprietário e pode removê-lo da lista de Pessoas.",
+ "Share": "Compartilhar",
+ "Share a copy": "Compartilhar uma cópia",
+ "Share — invite people to edit, send view-only copies, see who’s here": "Compartilhar — convide pessoas para editar, envie cópias somente leitura, veja quem está aqui",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Exibido ao lado do seu cursor e na lista de Pessoas — guardado apenas neste navegador.",
+ "Start from scratch…": "Começar do zero…",
+ "Stopped sharing": "Compartilhamento encerrado",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "Estas janelas estão neste computador. Inicie uma sessão para trabalhar com alguém em outro lugar.",
+ "This copy goes offline; the others carry on": "Esta cópia fica offline; as outras continuam",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "Esta é uma cópia somente leitura — acompanha a sessão ao vivo, mas não pode alterar esta pasta de trabalho.",
+ "This workbook has no live session to follow": "Esta pasta de trabalho não tem uma sessão ao vivo para acompanhar",
+ "Version history…": "Histórico de versões…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "Cópia somente leitura — acompanha a sessão ao vivo, mas não pode alterar esta pasta de trabalho.",
+ "View-only copy — it holds no signing key.": "Cópia somente para visualização — ela não contém chave de assinatura.",
+ "View-only copy…": "Cópia somente para visualização…",
+ "Viewer": "Visualizador",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "As janelas neste computador continuam sincronizando; desative o modo offline em Configurações para trabalhar com alguém em outro lugar.",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "Sua chave NESTE dispositivo: {fp}. Outro dispositivo conta como uma nova pessoa até que o dono o remova.",
+ "Your name": "Seu nome",
+ "you": "você",
+ "{name} joined": "{name} entrou",
+ "{name} left": "{name} saiu",
+ "{name} was removed": "{name} foi removido",
+ "{n} connected": "{n} conectados",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "1 fórmula em “{sheet}” não pôde ficar ativa ({why}). Ela mostra o último valor calculado pelo Excel, e o texto da fórmula foi mantido.",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "1 linha tinha um número de campos diferente do cabeçalho; linhas curtas foram completadas com vazios e nada foi descartado.",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "1 valor em “{column}” não pôde ser lido como {type} e ficou em branco.",
diff --git a/dash/src/i18n/zh-Hans.ts b/dash/src/i18n/zh-Hans.ts
index 9a535570..55f05c8f 100644
--- a/dash/src/i18n/zh-Hans.ts
+++ b/dash/src/i18n/zh-Hans.ts
@@ -22,13 +22,11 @@ export const zhHans: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "以“?”开头的单元格必须这样输入:先按 F2,因为单独键入“?”会打开这张卡片。",
"A computed column is defined by its formula; there is nothing stored in it to split.": "计算列由其公式定义,其中没有可供拆分的存储内容。",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "数据集按列定型:每一列都有名称和类型。用标题行末尾的 + 添加第一列。",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "副本、模板或只读副本:用“保存”旁边的 ▾。",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "数据集的每一列只有一种类型,因此转置一行混合类型只能以文本形式落地。请在电子表格工作表中使用转置;在数据集中请使用透视或逆透视。",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "逐个单元格的扁平副本,用于列表达式无法表示的那一处计算。数据集仍是实时的那一个。",
"A formula column fills every row of a dataset, and this sheet is not one.": "公式列会填充数据集的每一行,而此工作表不是数据集。",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "公式列会填充数据集的每一行。这是电子表格 — 请在单元格中输入 =。",
"A formula column needs a formula.": "公式列需要一个公式。",
- "A locked copy for handing out: it opens, it does not edit.": "用于分发的锁定副本:只能打开,不能编辑。",
"A pie shows one series; the rest are in the legend of the bar view.": "饼图只显示一个系列;其余系列在柱状视图的图例中。",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "透视表汇总数据集的列 — 这是电子表格。",
"A pivot summarises a dataset’s columns, and this sheet has none.": "透视表汇总数据集的列,而此工作表没有列。",
@@ -40,7 +38,6 @@ export const zhHans: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "故事步骤保存数据集的视图 — 筛选、排序和图表。此工作表没有这些。",
"A value to compare against.": "请输入用于比较的值。",
"A workbook needs at least one sheet.": "工作簿至少需要一个工作表。",
- "About": "关于",
"About this workbook": "关于此工作簿",
"Add a column": "添加列",
"Add a formula column": "添加公式列",
@@ -155,7 +152,6 @@ export const zhHans: Catalog = {
"Delete row": "删除行",
"Delete {n}": "删除{n}",
"Discard": "放弃",
- "Disconnect from the relay — collaborators stop seeing your edits": "断开与中继的连接 — 协作者将看不到你的编辑",
"Dismiss — keep the restored workbook": "关闭 — 保留已恢复的工作簿",
"Dismiss — the changes stay in this browser": "忽略 — 更改仍保留在此浏览器中",
"Distinct": "非重复计数",
@@ -382,10 +378,8 @@ export const zhHans: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "打印当前视图,或另存为 PDF(⌘P)",
"Print…": "打印…",
"Properties travel in the file. The title is edited in the top bar.": "属性随文件一同保存。标题在顶栏中编辑。",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "将此工作簿接入中继,让收到副本的人与你实时共同编辑",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "带引号的字段保持完整。第一个字段替换你拆分的单元格,其余向右展开。",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "带引号的字段保持完整。整列都会被拆分,被拆分的列会保留。",
- "Read-only copy saved — it opens locked": "只读副本已保存 — 打开后处于锁定状态",
"Redo": "重做",
"Redo (⇧⌘Z)": "重做 (⇧⌘Z)",
"Reduced motion (M)": "减弱动效 (M)",
@@ -395,7 +389,6 @@ export const zhHans: Catalog = {
"Remove password…": "移除密码…",
"Remove step": "删除步骤",
"Remove the password? The next save writes the workbook in the clear.": "移除密码?下次保存会以明文写入工作簿。",
- "Remove this device from the session": "将此设备移出会话",
"Remove this filter": "移除此筛选",
"Rename": "重命名",
"Reopen": "重新打开",
@@ -421,7 +414,6 @@ export const zhHans: Catalog = {
"Save": "保存",
"Save a copy…": "保存副本…",
"Save an untouched copy": "保存一份原样副本",
- "Save as… — copy, new workbook, template, read-only, password": "另存为… — 副本、新工作簿、模板、只读、密码",
"Settings": "设置",
"Settings — language, appearance and updates": "设置 — 语言、外观和更新",
"The next save writes the workbook in the clear.": "下次保存会以明文写入工作簿。",
@@ -435,7 +427,6 @@ export const zhHans: Catalog = {
"Save failed — see console": "保存失败 — 请查看控制台",
"Save failed — {why}": "保存失败 — {why}",
"Save formula": "保存公式",
- "Save read-only copy…": "保存只读副本…",
"Save this workbook": "保存此工作簿",
"Save this workbook (⌘S)": "保存此工作簿 (⌘S)",
"Saved": "已保存",
@@ -480,14 +471,12 @@ export const zhHans: Catalog = {
"Split on": "分隔符",
"Split the selected column into several, on a delimiter or at fixed widths": "按分隔符或固定宽度将所选列拆分为多列",
"Spreadsheet": "电子表格",
- "Start live session": "开始实时协作",
"Stop sharing": "停止共享",
"Story": "故事",
"Subject": "主题",
"Sum": "求和",
"Summarise this sheet as a pivot table": "将此工作表汇总为数据透视表",
"Symbol": "符号",
- "Take it elsewhere": "把内容带走",
"Template saved — every open of it starts a fresh workbook": "模板已保存 — 每次打开它都会新建一个工作簿",
"Text": "文本",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "文本单元格会原样保留输入内容 — 包括前导零、斜杠,以及并非公式的 =。",
@@ -620,7 +609,6 @@ export const zhHans: Catalog = {
"Workbook": "工作簿",
"Wrap text": "自动换行",
"Write the column names into row 1": "将列名写入第 1 行",
- "Write this workbook back to its own file.": "将此工作簿写回它自己的文件。",
"Wrong password — try again": "密码错误 — 请重试",
"Yes/No": "是/否",
"You have the newest version ({v}).": "你已是最新版本 ({v})。",
@@ -647,7 +635,6 @@ export const zhHans: Catalog = {
"e.g. , or ; or a space": "例如 , 或 ; 或空格",
"e.g. 3, 8, 12": "例如 3, 8, 12",
"e.g. Price * Quantity": "例如:单价 * 数量",
- "editor": "编辑者",
"ends with": "结尾为",
"equal to": "等于",
"from the data": "取自数据",
@@ -673,7 +660,6 @@ export const zhHans: Catalog = {
"of": "的",
"of all rows": "占全部行",
"orphaned": "孤立",
- "owner": "所有者",
"pivot": "数据透视表",
"reads {value}": "内容为 {value}",
"row": "行",
@@ -688,7 +674,6 @@ export const zhHans: Catalog = {
"this sheet": "此工作表",
"unknown anchor": "未知锚点",
"value or = formula": "值或 = 公式",
- "view only": "仅查看",
"vs": "对比",
"your name": "你的名字",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} 中的公式只存在于单个单元格,并未沿列重复,因此新行在那里是空的。导入的公式留在它到达的单元格上;为该列设置公式,每一个新行都会自动填充。",
@@ -752,6 +737,73 @@ export const zhHans: Catalog = {
"Copy saved — you are still editing the original": "副本已保存 — 你仍在编辑原文件",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "此工作簿的崩溃恢复已关闭 — 文件太大,无法保留备份。请经常保存。",
"A backup of this workbook for yourself — same workbook, same live session.": "自己留存的备份 — 同一个工作簿、同一个实时会话。",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "评论锚定在数据集的单元格上,而此工作表没有。",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "评论锚定在数据集的单元格上,排序后依然保留 — 这是电子表格。",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "实时查看器:实时跟随每次编辑,但永远无法更改此工作簿 — 由中继强制执行。",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "用于分发的锁定副本:以只读方式打开,不含此工作簿的任何密钥,也不会加入实时会话。",
+ "Access reset — only copies saved from now on can join": "访问已重置 — 只有此后保存的副本才能加入",
+ "Also open in another window on this computer — not shared online": "本机的另一个窗口中也已打开 — 未在线共享",
+ "Comment on the selected cell (⌘⌥M)": "评论所选单元格 (⌘⌥M)",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "无需保存新副本即可连接实时会话 — 之前发送的副本会在这里与你会合。",
+ "Connecting…": "连接中…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "将此工作簿复制为纯 JSON — 仅内容,不含实时会话密钥。在其他工具中编辑后,用“从 JSON 替换”带回。",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "副本、版本历史和 JSON 格式的文档:在“保存”旁的 ▾ 中。",
+ "Couldn’t reach the live session": "无法连接实时会话",
+ "Editor": "编辑者",
+ "Editor copy saved — recipients join live with edit access": "编辑者副本已保存 — 收到的人可带编辑权限加入实时会话",
+ "Following — view only": "跟随中 — 仅供查看",
+ "Go live": "开始直播",
+ "Guest": "访客",
+ "Invite to edit…": "邀请编辑…",
+ "Key-verified identity": "密钥验证的身份",
+ "Live": "已连接",
+ "Live — nobody else is here yet": "实时协作中 — 还没有其他人",
+ "Live — send someone the file to bring them in": "实时协作中 — 把文件发给别人即可加入",
+ "Live — {n} other people are here": "实时协作中 — 还有 {n} 人在此",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "铸造全新密钥。之前发送的所有副本将永久停止同步;此后请分享新副本。",
+ "More actions": "更多操作",
+ "Not live — turns on when you share": "未上线 — 分享时自动开启",
+ "Nothing leaves this file until you start a session.": "在你开始会话之前,没有任何内容离开这个文件。",
+ "Offline mode is on — nothing leaves this computer.": "离线模式已开启 — 任何数据都不会离开这台电脑。",
+ "Only the owner of this workbook can invite people": "只有此工作簿的所有者才能邀请他人",
+ "Owner": "所有者",
+ "Paste edited document JSON to replace this workbook’s content.": "粘贴编辑后的文档 JSON 以替换此工作簿的内容。",
+ "People": "成员",
+ "Read-only copy saved — it follows the live session, view only": "只读副本已保存——它跟随实时会话,仅供查看",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "已保存阅读副本 — 以只读方式打开,不含此工作簿的任何密钥",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "要将 {name} 从此工作簿中移除吗?对方的副本将变为只读。",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "移除 {name} — 撤销该设备的访问权限;其他人不受影响",
+ "Replace all {n} sheets with one blank sheet? ⌘Z undoes this.": "将全部 {n} 个工作表替换为一个空白工作表?⌘Z 可撤销。",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "将每个工作表替换为一个空白工作表。保留工作簿的名称、主题和实时会话 — ⌘Z 可撤销。",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "重置访问权限?已发送的所有副本将停止同步;只有此后保存的副本才能加入。",
+ "Reset access…": "重置访问权限…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "恢复此工作簿较早的自动保存版本(仅保存在此浏览器中)。",
+ "Save a reading copy…": "保存阅读副本…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "另存为… — 副本、新工作簿、模板、密码、历史、JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "保存一份用于发送的副本。打开它的人将与你实时编辑此工作簿(端到端加密);你仍是所有者,可从“成员”列表中移除他们。",
+ "Share": "共享",
+ "Share a copy": "分享副本",
+ "Share — invite people to edit, send view-only copies, see who’s here": "分享 — 邀请编辑、发送只读副本、查看在线成员",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "显示在你的光标旁和成员列表中 — 仅保存在此浏览器。",
+ "Start from scratch…": "从头开始…",
+ "Stopped sharing": "已停止共享",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "这些窗口都在本机。若要与其他地方的人协作,请开始一个会话。",
+ "This copy goes offline; the others carry on": "此副本将离线;其他人继续协作",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "这是只读副本 — 跟随实时会话,但无法更改此工作簿。",
+ "This workbook has no live session to follow": "此工作簿没有可跟随的实时会话",
+ "Version history…": "版本历史…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "只读副本 — 跟随实时会话,但无法更改此工作簿。",
+ "View-only copy — it holds no signing key.": "只读副本 — 不持有签名密钥。",
+ "View-only copy…": "只读副本…",
+ "Viewer": "查看者",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "此电脑上的窗口仍会同步;要与其他地方的人协作,请在“设置”中关闭离线模式。",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "你在此设备上的密钥:{fp}。其他设备会被视为新成员,直到所有者将其移除。",
+ "Your name": "你的名字",
+ "you": "你",
+ "{name} joined": "{name} 已加入",
+ "{name} left": "{name} 已离开",
+ "{name} was removed": "已移除 {name}",
+ "{n} connected": "{n} 人已连接",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "“{sheet}”中有 1 个公式无法实时计算({why})。显示的是 Excel 上次计算的值,公式文本已保留。",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "有 1 行的字段数与表头不同;较短的行已用空白补齐,没有丢弃任何内容。",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "“{column}”中有 1 个值无法读取为{type},已留空。",
diff --git a/dash/src/i18n/zh-Hant.ts b/dash/src/i18n/zh-Hant.ts
index 625413fb..bebdb8a4 100644
--- a/dash/src/i18n/zh-Hant.ts
+++ b/dash/src/i18n/zh-Hant.ts
@@ -22,13 +22,11 @@ export const zhHant: Catalog = {
"A cell that starts with “?” has to be typed that way: press F2 first, because a bare “?” opens this card.": "要在儲存格開頭輸入「?」,必須先按 F2,因為單獨輸入「?」會開啟這張卡片。",
"A computed column is defined by its formula; there is nothing stored in it to split.": "計算欄由其公式定義,其中沒有可供拆分的儲存內容。",
"A dataset is typed by column: each one has a name and a type. Add the first with the + at the end of the heading row.": "資料集依欄定型:每一欄都有名稱和型別。用標題列末端的 + 新增第一欄。",
- "A copy, a template or a read-only copy: the ▾ beside Save.": "副本、範本或唯讀副本:用「儲存」旁邊的 ▾。",
"A dataset’s columns each have one type, so a transposed row of mixed types could only land as text. Transpose works on a spreadsheet sheet; on a dataset, use Pivot or Unpivot.": "資料集的每一欄只有一種型別,因此轉置一列混合型別只能以文字形式落地。請在試算表工作表中使用轉置;在資料集中請使用樞紐或逆樞紐。",
"A flat, cell-by-cell COPY, for the one calculation a column cannot express. The dataset stays the live one.": "逐個儲存格的扁平副本,用於欄運算式無法表示的那一處計算。資料集仍是即時的那一個。",
"A formula column fills every row of a dataset, and this sheet is not one.": "公式欄會填滿資料集的每一列,而此工作表不是資料集。",
"A formula column fills every row of a dataset. This is a spreadsheet — type = in a cell instead.": "公式欄會填滿資料集的每一列。這是試算表 — 請在儲存格中輸入 =。",
"A formula column needs a formula.": "公式欄需要一個公式。",
- "A locked copy for handing out: it opens, it does not edit.": "可分送出去的鎖定副本:只能開啟,不能編輯。",
"A pie shows one series; the rest are in the legend of the bar view.": "圓形圖只顯示一個數列;其餘的在長條圖檢視的圖例中。",
"A pivot summarises a dataset’s columns — this is a spreadsheet.": "樞紐分析彙總資料集的欄 — 這是試算表。",
"A pivot summarises a dataset’s columns, and this sheet has none.": "樞紐分析彙總資料集的欄,而此工作表沒有欄。",
@@ -40,7 +38,6 @@ export const zhHant: Catalog = {
"A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.": "故事步驟儲存資料集的檢視 — 篩選、排序和圖表。此工作表沒有這些。",
"A value to compare against.": "請輸入用來比較的值。",
"A workbook needs at least one sheet.": "活頁簿至少需要一張工作表。",
- "About": "關於",
"About this workbook": "關於此活頁簿",
"Add a column": "新增欄",
"Add a formula column": "新增公式欄",
@@ -155,7 +152,6 @@ export const zhHant: Catalog = {
"Delete row": "刪除列",
"Delete {n}": "刪除{n}",
"Discard": "捨棄",
- "Disconnect from the relay — collaborators stop seeing your edits": "中斷與轉送伺服器的連線 — 協作者將看不到你的編輯",
"Dismiss — keep the restored workbook": "關閉 — 保留已還原的活頁簿",
"Dismiss — the changes stay in this browser": "關閉 — 變更仍留在這個瀏覽器中",
"Distinct": "相異值",
@@ -382,10 +378,8 @@ export const zhHant: Catalog = {
"Print the view, or save it as a PDF (⌘P)": "列印目前檢視,或另存為 PDF(⌘P)",
"Print…": "列印…",
"Properties travel in the file. The title is edited in the top bar.": "屬性會跟著檔案一起走。標題請在頂端列編輯。",
- "Put this workbook on the relay so people you send a copy to edit it live with you": "將此活頁簿接上轉送伺服器,讓收到副本的人與你即時共同編輯",
"Quoted fields stay whole. The first field replaces the cell you split; the rest spill to the right.": "帶引號的欄位保持完整。第一個欄位取代你拆分的儲存格,其餘向右展開。",
"Quoted fields stay whole. The whole column is split, and the column you split is kept.": "帶引號的欄位保持完整。整欄都會被拆分,被拆分的欄會保留。",
- "Read-only copy saved — it opens locked": "已儲存唯讀副本 — 開啟時是鎖定的",
"Redo": "重做",
"Redo (⇧⌘Z)": "重做 (⇧⌘Z)",
"Reduced motion (M)": "減少動態效果 (M)",
@@ -395,7 +389,6 @@ export const zhHant: Catalog = {
"Remove password…": "移除密碼…",
"Remove step": "移除步驟",
"Remove the password? The next save writes the workbook in the clear.": "要移除密碼嗎?下次儲存會以明文寫入活頁簿。",
- "Remove this device from the session": "將此裝置移出工作階段",
"Remove this filter": "移除此篩選",
"Rename": "重新命名",
"Reopen": "重新開啟",
@@ -421,7 +414,6 @@ export const zhHant: Catalog = {
"Save": "儲存",
"Save a copy…": "儲存副本…",
"Save an untouched copy": "儲存一份未經更動的副本",
- "Save as… — copy, new workbook, template, read-only, password": "另存為… — 副本、新活頁簿、範本、唯讀、密碼",
"Settings": "設定",
"Settings — language, appearance and updates": "設定 — 語言、外觀與更新",
"The next save writes the workbook in the clear.": "下次儲存會以明文寫入活頁簿。",
@@ -435,7 +427,6 @@ export const zhHant: Catalog = {
"Save failed — see console": "儲存失敗 — 請查看主控台",
"Save failed — {why}": "儲存失敗 — {why}",
"Save formula": "儲存公式",
- "Save read-only copy…": "儲存唯讀副本…",
"Save this workbook": "儲存此活頁簿",
"Save this workbook (⌘S)": "儲存此活頁簿 (⌘S)",
"Saved": "已儲存",
@@ -480,14 +471,12 @@ export const zhHant: Catalog = {
"Split on": "分隔符號",
"Split the selected column into several, on a delimiter or at fixed widths": "按分隔符號或固定寬度將所選欄拆分為多欄",
"Spreadsheet": "試算表",
- "Start live session": "開始即時協作",
"Stop sharing": "停止共用",
"Story": "故事",
"Subject": "主旨",
"Sum": "總和",
"Summarise this sheet as a pivot table": "將此工作表彙總成樞紐分析表",
"Symbol": "符號",
- "Take it elsewhere": "把內容帶走",
"Template saved — every open of it starts a fresh workbook": "範本已儲存 — 每次開啟都會開始一份全新的活頁簿",
"Text": "文字",
"Text cells keep exactly what is typed — leading zeros, slashes, and an = that is not a formula.": "文字儲存格會原樣保留輸入內容 — 包括前導零、斜線,以及並非公式的 =。",
@@ -620,7 +609,6 @@ export const zhHant: Catalog = {
"Workbook": "活頁簿",
"Wrap text": "自動換行",
"Write the column names into row 1": "將欄名寫入第 1 列",
- "Write this workbook back to its own file.": "將此活頁簿寫回它自己的檔案。",
"Wrong password — try again": "密碼錯誤 — 請重試",
"Yes/No": "是/否",
"You have the newest version ({v}).": "你已是最新版本 ({v})。",
@@ -647,7 +635,6 @@ export const zhHant: Catalog = {
"e.g. , or ; or a space": "例如 , 或 ; 或空格",
"e.g. 3, 8, 12": "例如 3, 8, 12",
"e.g. Price * Quantity": "例如:單價 * 數量",
- "editor": "編輯者",
"ends with": "結尾為",
"equal to": "等於",
"from the data": "取自資料",
@@ -673,7 +660,6 @@ export const zhHant: Catalog = {
"of": "共",
"of all rows": "占全部的列",
"orphaned": "已孤立",
- "owner": "擁有者",
"pivot": "樞紐分析表",
"reads {value}": "內容為 {value}",
"row": "列",
@@ -688,7 +674,6 @@ export const zhHant: Catalog = {
"this sheet": "此工作表",
"unknown anchor": "未知的錨點",
"value or = formula": "值或 = 公式",
- "view only": "僅檢視",
"vs": "對比",
"your name": "你的名字",
"{cols} holds formulas on single cells that do not repeat down the column, so the new row is empty there. An imported formula stays on the cell it arrived on; give the column a formula and every new row fills itself.": "{cols} 中的公式只存在於單一儲存格,並未沿欄重複,因此新列在那裡是空的。匯入的公式留在它到達的儲存格上;為該欄設定公式,每一個新列都會自動填滿。",
@@ -752,6 +737,73 @@ export const zhHant: Catalog = {
"Copy saved — you are still editing the original": "副本已儲存 — 你仍在編輯原始檔案",
"Crash recovery is off for this workbook — it’s too large to keep a backup copy. Save often.": "此活頁簿的當機復原已關閉 — 檔案太大,無法保留備份。請經常儲存。",
"A backup of this workbook for yourself — same workbook, same live session.": "自己留存的備份 — 同一個活頁簿、同一個即時會話。",
+ "A comment anchors to a dataset’s cell, and this sheet has none.": "評論錨定在資料集的儲存格上,而此工作表沒有。",
+ "A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.": "評論錨定在資料集的儲存格上,排序後依然保留 — 這是試算表。",
+ "A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.": "即時檢視器:即時跟隨每次編輯,但永遠無法變更此活頁簿 — 由中繼強制執行。",
+ "A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.": "用於分發的鎖定副本:以唯讀方式開啟,不含此活頁簿的任何金鑰,也不會加入即時工作階段。",
+ "Access reset — only copies saved from now on can join": "存取已重設 — 只有此後儲存的副本才能加入",
+ "Also open in another window on this computer — not shared online": "本機的另一個視窗中也已開啟 — 未線上分享",
+ "Comment on the selected cell (⌘⌥M)": "評論所選儲存格 (⌘⌥M)",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "無需儲存新副本即可連線即時會話 — 之前傳送的副本會在這裡與你會合。",
+ "Connecting…": "連線中…",
+ "Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.": "將此活頁簿複製為純 JSON — 僅內容,不含即時工作階段金鑰。在其他工具中編輯後,用「從 JSON 取代」帶回。",
+ "Copies, version history and the document as JSON: the ▾ beside Save.": "副本、版本紀錄和 JSON 格式的文件:在「儲存」旁的 ▾ 中。",
+ "Couldn’t reach the live session": "無法連線即時會話",
+ "Editor": "編輯者",
+ "Editor copy saved — recipients join live with edit access": "編輯者副本已儲存 — 收到的人可帶編輯權限加入即時會話",
+ "Following — view only": "跟隨中 — 僅供檢視",
+ "Go live": "開始直播",
+ "Guest": "訪客",
+ "Invite to edit…": "邀請編輯…",
+ "Key-verified identity": "金鑰驗證的身份",
+ "Live": "已連線",
+ "Live — nobody else is here yet": "即時協作中 — 還沒有其他人",
+ "Live — send someone the file to bring them in": "即時協作中 — 把檔案傳給別人即可加入",
+ "Live — {n} other people are here": "即時協作中 — 還有 {n} 人在此",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "鑄造全新金鑰。之前傳送的所有副本將永久停止同步;此後請分享新副本。",
+ "More actions": "更多操作",
+ "Not live — turns on when you share": "未上線 — 分享時自動開啟",
+ "Nothing leaves this file until you start a session.": "在你開始工作階段之前,沒有任何內容離開這個檔案。",
+ "Offline mode is on — nothing leaves this computer.": "離線模式已開啟 — 任何資料都不會離開這台電腦。",
+ "Only the owner of this workbook can invite people": "只有此活頁簿的擁有者才能邀請他人",
+ "Owner": "擁有者",
+ "Paste edited document JSON to replace this workbook’s content.": "貼上編輯後的文件 JSON 以取代此活頁簿的內容。",
+ "People": "成員",
+ "Read-only copy saved — it follows the live session, view only": "唯讀副本已儲存——它跟隨即時工作階段,僅供檢視",
+ "Reading copy saved — it opens read-only, with none of this workbook’s keys": "已儲存閱讀副本 — 以唯讀方式開啟,不含此活頁簿的任何金鑰",
+ "Remove {name} from this workbook? Their copy drops to read-only.": "要將 {name} 從此活頁簿中移除嗎?對方的副本將變為唯讀。",
+ "Remove {name} — revokes this device’s access; everyone else is unaffected": "移除 {name} — 撤銷該裝置的存取權限;其他人不受影響",
+ "Replace all {n} sheets with one blank sheet? ⌘Z undoes this.": "將全部 {n} 個工作表取代為一個空白工作表?⌘Z 可復原。",
+ "Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.": "將每個工作表取代為一個空白工作表。保留活頁簿的名稱、佈景主題和即時工作階段 — ⌘Z 可復原。",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "重設存取權限?已傳送的所有副本將停止同步;只有此後儲存的副本才能加入。",
+ "Reset access…": "重設存取權限…",
+ "Restore an earlier auto-saved version of this workbook (kept locally in this browser).": "還原此活頁簿較早的自動儲存版本(僅保存在此瀏覽器中)。",
+ "Save a reading copy…": "儲存閱讀副本…",
+ "Save as… — copy, new workbook, template, password, history, JSON": "另存為… — 副本、新活頁簿、範本、密碼、紀錄、JSON",
+ "Saves a copy to send. Whoever opens it edits this workbook live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.": "儲存一份用於傳送的副本。開啟它的人將與你即時編輯此活頁簿(端對端加密);你仍是擁有者,可從「成員」清單中移除他們。",
+ "Share": "共用",
+ "Share a copy": "分享副本",
+ "Share — invite people to edit, send view-only copies, see who’s here": "分享 — 邀請編輯、傳送唯讀副本、檢視線上成員",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "顯示在你的游標旁和成員列表中 — 僅儲存在此瀏覽器。",
+ "Start from scratch…": "從頭開始…",
+ "Stopped sharing": "已停止分享",
+ "These windows are on this computer. Start a session to work with someone elsewhere.": "這些視窗都在本機。若要與其他地方的人協作,請開始一個工作階段。",
+ "This copy goes offline; the others carry on": "此副本將離線;其他人繼續協作",
+ "This is a view-only copy — it follows the live session but can’t change this workbook.": "這是唯讀副本 — 跟隨即時工作階段,但無法變更此活頁簿。",
+ "This workbook has no live session to follow": "此活頁簿沒有可跟隨的即時工作階段",
+ "Version history…": "版本歷程…",
+ "View-only copy — it follows the live session but can’t change this workbook.": "唯讀副本 — 跟隨即時工作階段,但無法變更此活頁簿。",
+ "View-only copy — it holds no signing key.": "唯讀副本 — 不持有簽署金鑰。",
+ "View-only copy…": "唯讀副本…",
+ "Viewer": "檢視者",
+ "Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.": "此電腦上的視窗仍會同步;要與其他地方的人協作,請在「設定」中關閉離線模式。",
+ "Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.": "你在此裝置上的金鑰:{fp}。其他裝置會被視為新成員,直到擁有者將其移除。",
+ "Your name": "你的名字",
+ "you": "你",
+ "{name} joined": "{name} 已加入",
+ "{name} left": "{name} 已離開",
+ "{name} was removed": "已移除 {name}",
+ "{n} connected": "{n} 人已連線",
"1 formula in “{sheet}” couldn’t be made live ({why}). It shows the value Excel last calculated, and its formula text is kept.": "「{sheet}」中有 1 個公式無法即時計算({why})。顯示的是 Excel 上次計算的值,公式文字已保留。",
"1 row had a different number of fields than the header; short rows were padded with blanks and nothing was dropped.": "有 1 列的欄位數與標題不同;較短的列已用空白補齊,沒有捨棄任何內容。",
"1 value in “{column}” couldn’t be read as {type} and was left blank.": "「{column}」中有 1 個值無法讀取為{type},已留空。",
diff --git a/dash/src/icons.ts b/dash/src/icons.ts
new file mode 100644
index 00000000..5c67e1df
--- /dev/null
+++ b/dash/src/icons.ts
@@ -0,0 +1,60 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// The glyphs the shared chrome needs — Share, the Save-as list, the language
+// menu, the phone fold. The DRAWINGS are slides' (slides/src/icons.ts), so the
+// same command wears the same picture in every app; the box is dash's
+// (`dx-i`, 15px), so they sit level with the bar's own icons in main.ts.
+
+const svg = (body: string): string =>
+ `<svg class="dx-i" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="15" height="15" aria-hidden="true" ` +
+ `fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round">${body}</svg>`
+
+export const ICONS = {
+ comment: svg('<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/>'),
+ copy: svg('<rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/>'),
+ plus: svg('<line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/>'),
+ template: svg('<rect x="4" y="4" width="16" height="16" rx="2" stroke-dasharray="3 2.4"/><line x1="12" y1="9" x2="12" y2="15"/><line x1="9" y1="12" x2="15" y2="12"/>'),
+ lock: svg('<rect x="5" y="11" width="14" height="9" rx="2"/><path d="M8 11 V8 a4 4 0 0 1 8 0 v3"/>'),
+ history: svg('<circle cx="12" cy="12" r="8.5"/><polyline points="12 7 12 12 15.5 14"/>'),
+ code: svg('<polyline points="8 6 4 12 8 18"/><polyline points="16 6 20 12 16 18"/>'),
+ save: svg('<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"/><polyline points="17 21 17 13 7 13 7 21"/><polyline points="7 3 7 8 15 8"/>'),
+ eye: svg('<path d="M2 12 C5 6.5 9 4.5 12 4.5 C15 4.5 19 6.5 22 12 C19 17.5 15 19.5 12 19.5 C9 19.5 5 17.5 2 12 Z"/><circle cx="12" cy="12" r="3"/>'),
+ book: svg('<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/>'),
+ people: svg('<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>'),
+ share: svg('<circle cx="9" cy="8" r="3.2"/><path d="M3.5 20c.6-3.2 2.8-5 5.5-5s4.9 1.8 5.5 5"/><circle cx="17.5" cy="10.5" r="2.4"/><path d="M15.8 15.6c1.9.3 3.6 1.6 4.4 3.9"/>'),
+ broadcast: svg('<path d="M12 20V4"/><path d="M4.5 8.5a11 11 0 0 1 15 0"/><path d="M7.5 12.5a7 7 0 0 1 9 0"/><circle cx="12" cy="20" r="2" fill="currentColor" stroke="none"/>'),
+ stop: svg('<rect x="7" y="7" width="10" height="10" rx="1.5"/>'),
+ globe: svg('<circle cx="12" cy="12" r="9"/><path d="M3 12 h18"/><ellipse cx="12" cy="12" rx="4.2" ry="9"/>'),
+ panelRight: svg('<rect x="3" y="4" width="18" height="16" rx="2"/><line x1="15" y1="4" x2="15" y2="20"/>'),
+ blank: svg('<path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5"/>'),
+ info: svg('<circle cx="12" cy="12" r="9"/><path d="M12 11v5.5"/><path d="M12 7.6h.01"/>'),
+ gear: svg('<circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/>'),
+} as const
+
+let descSeq = 0
+
+/**
+ * A menu row's label and description (maintainer ruling D2, revised
+ * 2026-09-26 — slides' menuLabel): the row is ONE line; the description is the
+ * hover tooltip and, since a tooltip is neither announced reliably nor shown on
+ * a phone, also the accessible description through a visually hidden node.
+ */
+export function menuLabel(label: string, desc: string, row: HTMLElement): HTMLSpanElement {
+ const span = document.createElement('span')
+ span.className = 'dx-mi'
+ const name = document.createElement('span')
+ name.className = 'dx-mi-name'
+ name.textContent = label
+ span.append(name)
+ if (desc) {
+ const note = document.createElement('span')
+ note.className = 'dx-sr-only'
+ note.textContent = desc
+ note.id = `dx-mi-desc-${++descSeq}`
+ span.append(note)
+ row.title = desc
+ row.setAttribute('aria-label', label)
+ row.setAttribute('aria-describedby', note.id)
+ }
+ return span
+}
diff --git a/dash/src/main.ts b/dash/src/main.ts
index b35cf2cb..b973ca66 100644
--- a/dash/src/main.ts
+++ b/dash/src/main.ts
@@ -32,14 +32,16 @@ import {
import { startTheme } from '../../kernel/src/theme.ts'
import { putRecovery, pruneOld, onRecoveryOff, recoveryOff } from '../../kernel/src/autosave.ts'
import { FileWriteBack } from './writeback.ts'
-import { APP_VERSION } from '../../kernel/src/update.ts'
-import { mountAbout, openAbout, rememberVersion, checkAtLaunch } from './about.ts'
+import { mountAbout, openAbout, openSettings, rememberVersion, checkAtLaunch } from './about.ts'
import { runSql, sqlRows } from './sql.ts'
import { mountPanels, KIT, type Panels } from './panels.ts'
import { installStory, closeStoryEditor } from './story.ts'
import { Dashboard } from './dashboard.ts'
import { SyncSession } from './sync/session.ts'
-import { mountPeople } from './sync/people.ts'
+import { ShareUi } from './shareui.ts'
+import { readingCopy, inviteCopy, readerCopy, type ShareKind } from './share.ts'
+import { installTopbar, shutMenus } from './topbar.ts'
+import { ICONS as SHARED } from './icons.ts'
import { ridBase, ridBlockFor, docForExport } from './model.ts'
import { setRidBlock } from './rowcol.ts'
import { importXlsx, installNames, exportXlsx, xlsxFileName } from './xlsx.ts'
@@ -49,7 +51,7 @@ import { buildSheetPreview } from './preview.ts'
import { installPrint, openPrintDialog } from './print.ts'
import './ask.css'
import { openColumnMenu } from './filterui.ts'
-import { installSaveMenu, adoptOpenedDoc, toast } from './saveui.ts'
+import { installSaveMenu, adoptOpenedDoc, toast, writeExport } from './saveui.ts'
import { savingFor, saveRevision, type Acknowledge } from './saving.ts'
import { dismissSplash, dismissSplashNow } from './splash.ts'
import { t, i18nApi } from './i18n.ts'
@@ -64,7 +66,7 @@ import {
// because a rig can import it with no DOM — main.ts boots on evaluation, so it
// can never be imported at all. See the block above `ACTIONS` for the rest.
import {
- ACTIONS, ACTION_IDS, actionReason, mintSheetId, mintSheetName, type ActionId,
+ ACTIONS, ACTION_IDS, actionReason, mintSheetId, mintSheetName, blankSheet, type ActionId,
type SheetViews,
} from './tabs.ts'
// The bridge between the two kinds of sheet — pure, and tested with no DOM in
@@ -170,6 +172,10 @@ const dev3d = (): boolean => {
const barBtn = (act: string, icon: string, label: string, tip: string, extra = ''): string =>
`<button class="dx-btn${extra}" data-act="${act}" title="${esc(tip)}">${icon}<span>${esc(label)}</span></button>`
+/** An icon-only bar button; the tooltip is its name (and its caption in ⋯). */
+const iconBtn = (act: string, icon: string, tip: string): string =>
+ `<button class="dx-btn" data-act="${act}" title="${esc(tip)}" aria-label="${esc(tip.split('(')[0].trim())}">${icon}</button>`
+
configureApp({
appId: 'bento-dash',
appName: 'bento/dash',
@@ -352,28 +358,22 @@ function boot(doc: DashDoc, repaired: number, frozen?: 'policy' | 'version', sav
const app = document.getElementById('app')!
app.innerHTML =
- // THE BAR IS GROUPED, AND IT NEVER SCROLLS. It used to be thirteen flat
- // buttons: measured at an 802px window its scrollWidth was 1436px, and the
- // controls hanging off the right edge included Save — the one control the
- // whole application exists to reach. The layout strategy is slides':
- // labels give way to icons, then whole groups fold into menus, and a
- // horizontal scrollbar is never the answer (see styles.css "responsive
- // top bar" for the widths and what happens at each).
- //
- // The grouping is a spreadsheet's, not an alphabet: identity · insert ·
- // (right) history · data in-out · save · about. Import/export live behind
- // ONE menu at every width — four buttons for something done twice a
- // session is what pushed Save off screen in the first place.
`<header class="dx-bar">` +
+ // THE HOUSE ORDER, which is slides' and spaces': identity · title ·
+ // history · insert tools · … · Share · Save · language · ?. Dash used to
+ // run insert → live → undo → Data → Save → settings → About → ? → a
+ // version string, which read as a different product wearing the suite's
+ // logo. Settings and the version moved into About (the wordmark opens it,
+ // as in slides); language is the 🌐 menu, as in slides.
+ //
+ // THE BAR IS FITTED BY MEASURING IT (topbar.ts), not by width breakpoints:
+ // labels give way first, then the wordmark, then whole groups fold into +
+ // and ⋯. Below that floor — a 320px phone — the BAR scrolls, never the page.
+ //
// THE MARK IS THE SAME GLYPH IN EVERY BENTO APP — a bento box, one tall
- // compartment and two stacked — because it is the SUITE's mark and the
- // wordmark beside it is what says which app you are in. Copied from
- // slides' `ed-logo` rather than re-drawn: two hand-maintained copies of a
- // logo drift, and the peach is already `--slash` here.
- // It is also the piece that SURVIVES the responsive collapse (see the
- // rungs in styles.css): 20px of mark costs less than "bento/dash" in text
- // and leaves a phone-width bar with an identity instead of a blank corner.
- `<span class="dx-mark">` +
+ // compartment and two stacked — copied from slides' `ed-logo`. It is a real
+ // button: it opens About, so it takes focus and answers Enter and Space.
+ `<button type="button" class="dx-mark" data-act="about" aria-label="${esc(t('About this workbook'))}">` +
`<svg class="dx-mark-svg" viewBox="0 0 32 32" width="20" height="20" aria-hidden="true">` +
`<rect width="32" height="32" rx="7" fill="#16273E"/>` +
`<rect x="5" y="5" width="7" height="22" rx="2.5" fill="#5E7699"/>` +
@@ -381,27 +381,35 @@ function boot(doc: DashDoc, repaired: number, frozen?: 'policy' | 'version', sav
`<rect x="14" y="17" width="13" height="10" rx="2.5" fill="#F0EBE0"/>` +
`</svg>` +
`<span class="dx-mark-t"><span class="dx-mark-b">bento</span><span class="dx-slash">/</span>dash</span>` +
- `</span>` +
+ `</button>` +
`<input class="dx-title" value="">` +
- // Insert group. `display: contents` at wide widths (the six buttons sit in
- // the bar); a real dropdown below 1040px, where they do not fit. No JS
- // reparenting, so every listener below keeps working at every width.
- `<div class="dx-dd dx-insert-dd">` +
- `<button class="dx-btn dx-dd-trig" data-dd="insert" title="${esc(t('Insert a formula column, chart, pivot, dashboard or story'))}">` +
- `${ICON.plus}<span>${t('Insert')}</span>${ICON.down}</button>` +
- `<div class="dx-menu">` +
+ // Phone tools: + (the insert group, folded) and the history pair. The +
+ // menu is EMPTY on a wide screen — topbar.ts moves the real insert buttons
+ // into it when the bar folds, so every listener keeps working.
+ `<div class="dx-phone-tools">` +
+ `<div class="dx-dd dx-insert-dd dx-phone-only">` +
+ `<button class="dx-btn dx-dd-trig" type="button" title="${esc(t('Insert a formula column, chart, pivot, dashboard or story'))}">` +
+ `${ICON.plus}<span>${t('Insert')}</span></button>` +
+ `<div class="dx-menu"></div></div>` +
+ `<div class="dx-group dx-history">` +
+ // Icon-only, as in slides and spaces: the arrows are the convention.
+ iconBtn('undo', ICON.undo, t('Undo (⌘Z)')) +
+ // ⌘⇧Z and ⌘Y both worked and the shortcut card documented them, but the bar
+ // had undo alone — so a mouse user who over-undid had no way back at all.
+ iconBtn('redo', ICON.redo, t('Redo (⇧⌘Z)')) +
+ `</div></div>` +
+ `<div class="dx-group dx-insert">` +
barBtn('formula', ICON.fx, t('Formula'), t('Add a formula column')) +
barBtn('chart', ICON.chart, t('Chart'), t('Chart the selected columns')) +
barBtn('viz3d', ICON.cube, t('3D'), t('Plot three numeric columns in 3D')) +
barBtn('pivot', ICON.pivot, t('Pivot'), t('Summarise this sheet as a pivot table')) +
barBtn('dashboard', ICON.dashboard, t('Dashboard'), t('Show or hide the dashboard')) +
barBtn('story', ICON.story, t('Story'), t('Build a data story from saved views')) +
- `</div></div>` +
+ // COMMENT IS A TOOL, as in slides and spaces — not a floating pill over the
+ // grid that was the only way in besides a shortcut nobody could guess.
+ barBtn('comment', SHARED.comment, t('Comment'), t('Comment on the selected cell (⌘⌥M)')) +
+ `</div>` +
`<div class="dx-group dx-bar-end">` +
- barBtn('undo', ICON.undo, t('Undo'), t('Undo (⌘Z)')) +
- // ⌘⇧Z and ⌘Y both worked and the shortcut card documented them, but the bar
- // had undo alone — so a mouse user who over-undid had no way back at all.
- barBtn('redo', ICON.redo, t('Redo'), t('Redo (⇧⌘Z)')) +
`<div class="dx-dd dx-data-dd">` +
`<button class="dx-btn dx-dd-trig" data-dd="data" title="${esc(t('Import and export CSV and Excel files'))}">` +
`${ICON.data}<span>${t('Data')}</span>${ICON.down}</button>` +
@@ -412,37 +420,32 @@ function boot(doc: DashDoc, repaired: number, frozen?: 'policy' | 'version', sav
barBtn('import-xlsx', ICON.imp, t('Import Excel…'), t('Add sheets from an .xlsx workbook')) +
barBtn('export-xlsx', ICON.exp, t('Export Excel'), t('Download this workbook as .xlsx')) +
`<div class="dx-menu-sep"></div>` +
- // PAPER IS AN EXPORT, and it belongs with the other three rather than as a
- // fourteenth flat button — the bar's own rule (see the grouping note
- // above). It is the only one of them that prints EVERY row of the view
- // rather than what the windowed grid happens to be showing; print.ts says
+ // PAPER IS AN EXPORT, and it belongs with the other three — print.ts says
// why that needed a page builder rather than a stylesheet.
barBtn('print', ICON.print, t('Print…'), t('Print the view, or save it as a PDF (⌘P)')) +
`</div></div>` +
- // Save keeps its label all the way down to a phone: it is the control the
- // user names when it is missing, and an unlabelled floppy is a guess.
- // The unsaved dot badges its corner rather than floating loose in the bar,
- // where it explained nothing (slides made the same move).
+ // Share mounts here (shareui.ts) — between the tools and Save, as in slides.
+ `<span class="dx-share-slot"></span>` +
+ // SAVE IS THE PRIMARY: a dark filled split button, as in slides and spaces
+ // (maintainer ruling D1). It keeps its word at every width — it is the
+ // control the user names when it is missing.
+ // The unsaved dot badges its corner rather than floating loose in the bar.
`<button class="dx-btn dx-btn-save" data-act="save" title="${esc(t('Save this workbook (⌘S)'))}">` +
`${ICON.save}<span class="dx-save-lab">${t('Save')}</span><span class="dx-dirty" hidden></span>` +
- // The write-back tag. Visible if you look, ignorable if you don't — the
- // whole promise of automatic saving is that you stop watching for it, so a
- // toast every 2.5s would be the wrong shape (a failure gets the toast).
- // INSIDE the button because `.dx-btn-save` is the only `position: relative`
- // box here, and the tag must be absolutely positioned: appearing must not
- // move Save, which is the control that has to survive every width.
+ // The write-back tag. INSIDE the button because `.dx-btn-save` is the
+ // positioned box, and the tag must be absolutely positioned: appearing
+ // must not move Save.
`<span class="dx-wb" hidden></span></button>` +
- // SETTINGS GETS ITS OWN DOOR. About used to hold everything — identity,
- // properties, updates, language, appearance, password, history, JSON —
- // eight sections and 3.2 screens of scroll, so somebody hunting for the
- // language picker scrolled past their own password. The split follows the
- // seam the codebase already had: what travels IN THE FILE is About's, what
- // follows THE READER and lives in this browser is Settings'.
- // `mountAbout` wires this on sight and the app is unharmed without it.
- barBtn('settings', SVG('<circle cx="10" cy="10" r="2.6"/><path d="M10 2.6v2M10 15.4v2M17.4 10h-2M4.6 10h-2M15.2 4.8l-1.4 1.4M6.2 13.8l-1.4 1.4M15.2 15.2l-1.4-1.4M6.2 6.2L4.8 4.8"/>'), t('Settings'), t('Settings — language, appearance and updates')) +
- barBtn('about', ICON.info, t('About'), t('About this workbook')) +
- `<span class="dx-ver">v${APP_VERSION}</span>` +
+ // Format: the properties panel, on a phone where its edge tab is not a
+ // thing a thumb finds. Slides' Format button, in the same place.
+ `<button class="dx-btn dx-format-btn dx-phone-only" type="button" title="${esc(t('Show or hide the properties panel'))}">` +
+ `${SHARED.panelRight}<span>${t('Format')}</span></button>` +
`</div>` +
+ // ⋯ — empty on a wide screen; the fold parks the occasional controls here.
+ `<div class="dx-dd dx-more-dd dx-phone-only">` +
+ `<button class="dx-btn dx-dd-trig dx-more-trig" type="button" title="${esc(t('More actions'))}" aria-label="${esc(t('More actions'))}">` +
+ `<b aria-hidden="true">⋯</b></button>` +
+ `<div class="dx-menu dx-more-menu"></div></div>` +
`</header>` +
`<div class="dx-formula"><span class="dx-ref">A1</span>` +
`<span class="dx-fx-mark">fx</span>` +
@@ -1688,30 +1691,48 @@ function boot(doc: DashDoc, repaired: number, frozen?: 'policy' | 'version', sav
// next connection — a switch that leaves the current one running is not one
sync,
}
- // The People panel: who else is in this workbook.
- //
- // It takes OVER its host (`host.innerHTML = …` on every render), so it gets
- // a container of its own. Handing it `app` erased the entire application on
- // boot — grid, panels, everything — and left only the panel markup behind,
- // with nothing in the console because nothing threw.
- const peopleEl = document.createElement('div')
- // INSIDE the right-hand group, not after it. The bar's end group is what the
- // responsive ladder measures and collapses; anything appended after it sits
- // outside that arithmetic and pushes the whole toolbar — Save included —
- // straight off the screen again.
- const barEnd = app.querySelector<HTMLElement>('.dx-bar-end') ?? app.querySelector<HTMLElement>('.dx-bar')!
- barEnd.insertBefore(peopleEl, barEnd.firstChild)
- mountPeople(peopleEl, sync, store)
+ // THE SHARE BUTTON AND ITS POPOVER (shareui.ts) — spaces' panel: your name,
+ // People, Share a copy, and an explicit Go live. It replaced a one-click
+ // "Start live session" chip that went live with no popover at all.
+ const share = new ShareUi({
+ store,
+ session: sync,
+ toast,
+ goToSheet: (id: string) => grid.setSheet(id),
+ shareCopy: async (kind: ShareKind) => {
+ if (kind === 'reading') {
+ await writeExport(readingCopy(store.doc), 'viewonly',
+ t('Reading copy saved — it opens read-only, with none of this workbook’s keys'))
+ return
+ }
+ // A live copy is useless to its recipient unless this copy is live too,
+ // so sharing one goes live on the way out — as in spaces and slides.
+ await share.goLive()
+ const out = kind === 'invite' ? await inviteCopy(store.doc) : readerCopy(store.doc)
+ if (!out) {
+ toast(kind === 'invite'
+ ? t('Only the owner of this workbook can invite people')
+ : t('This workbook has no live session to follow'))
+ return
+ }
+ await writeExport(out, kind === 'invite' ? 'invite' : 'viewonly', kind === 'invite'
+ ? t('Editor copy saved — recipients join live with edit access')
+ : t('Read-only copy saved — it follows the live session, view only'))
+ },
+ })
+ app.querySelector('.dx-share-slot')!.replaceWith(share.wrap)
+ // A workbook that ARRIVED shared — a saved file with its session on, an
+ // invite, a view-only copy — rejoins its room. A fresh workbook and a
+ // template do not: `shareEligible` is false until the reader shares.
+ share.tryJoin()
+ store.on('doc', () => share.tryJoin())
mountAbout(app, aboutHooks)
// PLATFORM §6: the signed update check, once, at launch. It badges ⓘ rather
// than interrupting. `shouldCheckAtLaunch` gates it on a SAVED workbook, the
// check not opted out, and Offline mode off.
checkAtLaunch({ saved })
- // …and an EXPLICIT way in. mountAbout only arms the wordmark and the version
- // chip, and nobody guesses that a logo is a button — the chip, meanwhile, is
- // the first thing the responsive rules drop. The ⓘ button is the real door;
- // the other two stay as shortcuts for whoever already found them.
- app.querySelector('[data-act="about"]')!.addEventListener('click', () => openAbout(aboutHooks))
+ // About's door is the wordmark — a real <button> now, armed by mountAbout —
+ // as in slides; on a phone ⋯ carries an About row too (topbar.ts).
// The keyboard, made findable: a ? button beside About, and the ? key. The
// card is GENERATED from select.ts's key map, so a binding added there shows
// up here with no edit.
@@ -1770,36 +1791,108 @@ function boot(doc: DashDoc, repaired: number, frozen?: 'policy' | 'version', sav
// Note the menus are NOT rebuilt per width: at wide widths CSS gives the
// group `display: contents` and its buttons sit in the bar, so `.open` is
// simply inert. Nothing moves, so nothing loses a listener.
- const shutMenus = (except?: Element) => {
- for (const dd of app.querySelectorAll('.dx-dd.open')) if (dd !== except) dd.classList.remove('open')
- }
+ // NESTED: on a phone the Data menu, Share and 🌐 sit INSIDE ⋯, so a trigger
+ // or a press must never shut the menu it is itself inside (`shutMenus`
+ // keeps the ancestors of what it is told to keep).
for (const trig of app.querySelectorAll<HTMLElement>('.dx-dd-trig')) {
trig.addEventListener('click', (e) => {
e.stopPropagation()
const dd = trig.closest('.dx-dd')!
const opening = !dd.classList.contains('open')
- shutMenus()
+ shutMenus(app, dd)
dd.classList.toggle('open', opening)
})
}
// a menu item is a command: run it and get out of the way
for (const item of app.querySelectorAll('.dx-menu .dx-btn')) {
- item.addEventListener('click', () => shutMenus())
+ item.addEventListener('click', () => shutMenus(app))
}
document.addEventListener('pointerdown', (e) => {
const dd = (e.target as HTMLElement | null)?.closest?.('.dx-dd')
- shutMenus(dd ?? undefined)
+ shutMenus(app, dd)
})
- document.addEventListener('keydown', (e) => { if (e.key === 'Escape') shutMenus() })
+ document.addEventListener('keydown', (e) => { if (e.key === 'Escape') shutMenus(app) })
// --- actions
app.querySelector('[data-act="save"]')!.addEventListener('click', () => { void doSave() })
- installSaveMenu({
+ // "Start from scratch…" — slides' item with dash's nouns: every sheet goes
+ // and ONE blank sheet takes their place. CONTENT ONLY: the docId, the title,
+ // the theme and the live session stay ("Save as new workbook…" is the action
+ // that changes identity). One commit, so ⌘Z brings the whole workbook back.
+ //
+ // THE BLANK SHEET TAKES THE ID OF THE SHEET ON SCREEN. `Grid.sheet` throws
+ // when the id it holds names nothing, and its `doc` listener runs first —
+ // tabs.ts's beforePatch steers the grid off a doomed sheet, but here every
+ // existing sheet is doomed and the new one does not exist yet. Replacing the
+ // showing sheet IN PLACE means the grid never points at nothing, on the way
+ // in or on the ⌘Z back out.
+ const startFromScratch = (): void => {
+ if (store.readOnly) return
+ const doc = store.doc
+ if (!window.confirm(t('Replace all {n} sheets with one blank sheet? ⌘Z undoes this.', { n: String(doc.sheets.length) }))) return
+ const cur = grid.showingId()
+ const keepId = doc.sheets.some((s) => s.id === cur) ? cur : mintSheetId(doc)
+ const patches: Patch[] = [{ op: 'setSheet', id: keepId, sheet: blankSheet(keepId, t('Sheet'), new Date().toISOString()) }]
+ for (const s of doc.sheets) if (s.id !== keepId) patches.push({ op: 'setSheet', id: s.id, sheet: undefined })
+ for (const name of Object.keys(doc.measures ?? {})) patches.push({ op: 'setMeasure', name, measure: undefined })
+ const drop = ['story', 'chart', 'names', 'views'].filter((k) => k in doc)
+ if (drop.length) patches.push({ op: 'setDocProps', props: {}, drop })
+ store.commit(patches)
+ grid.setSheet(keepId)
+ }
+ const saveMenu = installSaveMenu({
button: app.querySelector<HTMLElement>('[data-act="save"]')!,
store,
save: doSave,
ack,
+ about: aboutHooks,
+ startFromScratch: () => startFromScratch(),
})
+ // THE BAR'S FIT, its phone fold and the 🌐 menu (topbar.ts). Installed LAST,
+ // once Share, Save's split and ? are all in the bar: the fold captures the
+ // authored order to replay it, and measures the bar as it really is.
+ const topbar = installTopbar({
+ app,
+ fillSaveAs: (into, close) => saveMenu.fill(into, close),
+ openAbout: () => openAbout(aboutHooks),
+ openSettings: () => openSettings(aboutHooks),
+ afterLocale: () => {
+ panels?.refresh()
+ grid.paint()
+ share.sync()
+ comments.refresh()
+ gateActions(true)
+ topbar.fit()
+ },
+ })
+ // COMMENT, the toolbar tool (it was a floating pill over the grid).
+ app.querySelector('[data-act="comment"]')!.addEventListener('click', () => comments.commentOnSelection())
+ // FORMAT, on a phone: the properties panel's own toggle, from the bar.
+ app.querySelector('.dx-format-btn')!.addEventListener('click', () => panels?.toggle('right'))
+ // …AND AN OBVIOUS CLOSE ON THE PANEL ITSELF. On a phone the drawer covers
+ // two thirds of the screen, and the only way out was a 16px chevron on its
+ // edge. A ✕ at its top (shown by the phone media query only), and — as every
+ // sheet on a phone answers to — a tap outside it. The panel rebuilds its
+ // children wholesale, so the ✕ is put back whenever it goes missing.
+ const rightPanel = app.querySelector<HTMLElement>('.dp-panel.dp-right')
+ if (rightPanel) {
+ const closeBtn = document.createElement('button')
+ closeBtn.type = 'button'
+ closeBtn.className = 'dx-btn dx-panel-close'
+ closeBtn.textContent = '✕'
+ closeBtn.title = t('Hide properties (])')
+ closeBtn.setAttribute('aria-label', closeBtn.title)
+ closeBtn.addEventListener('click', () => { if (!rightPanel.classList.contains('dp-shut')) panels?.toggle('right') })
+ const ensureClose = () => { if (rightPanel.firstChild !== closeBtn) rightPanel.prepend(closeBtn) }
+ ensureClose()
+ new MutationObserver(ensureClose).observe(rightPanel, { childList: true })
+ document.addEventListener('pointerdown', (e) => {
+ if (window.innerWidth >= 700 || rightPanel.classList.contains('dp-shut')) return
+ const tgt = e.target as Element | null
+ if (!tgt || rightPanel.contains(tgt) || tgt.closest('.dx-bar, .dp-resizer, .dx-about-back, .dx-pop, .dxc-pop')) return
+ panels?.toggle('right')
+ }, true)
+ }
const undoBtn = app.querySelector<HTMLButtonElement>('[data-act="undo"]')!
const redoBtn = app.querySelector<HTMLButtonElement>('[data-act="redo"]')!
undoBtn.addEventListener('click', () => { store.undo() })
diff --git a/dash/src/saveui.css b/dash/src/saveui.css
index 6e52b0ce..70653b79 100644
--- a/dash/src/saveui.css
+++ b/dash/src/saveui.css
@@ -11,18 +11,20 @@
.dxs-wrap { position: relative; display: inline-flex; align-items: stretch; }
-/* THE PAIR IS BOXED while the rest of the bar's buttons are ghosts, which is
- exactly slides' arrangement (.ed-split / .ed-split-caret take
- `1px solid var(--line)` on `var(--chrome)` while .ed-btn is transparent).
- Save is the one control in the bar that has to be findable without being
- read, and a filled box beside eleven ghosts is how it is. */
+/* PRIMARY (maintainer ruling D1, slides and spaces): saving is the act every
+ session ends with, so Save and its caret are one INK-FILLED unit — the
+ inverse of the surface it sits on (--surface on --ink), which is the one
+ pairing that survives a theme flip. It was a light outlined button here. */
.dxs-wrap > .dx-btn:first-child,
.dxs-caret {
- border-color: var(--line);
- background: var(--chrome);
+ border-color: var(--ink);
+ background: var(--ink);
+ color: var(--surface);
}
.dxs-wrap > .dx-btn:first-child:hover,
-.dxs-caret:hover { background: var(--chrome-2); }
+.dxs-caret:hover { background: var(--ink-2); border-color: var(--ink-2); }
+.dxs-wrap > .dx-btn:first-child .dx-i { color: inherit; }
+.dxs-caret { border-inline-start-color: color-mix(in srgb, var(--surface) 35%, var(--ink)); }
/* The caret sits FLUSH against the Save button so the pair reads as one
control. It is its own button rather than a click zone inside Save, because a
@@ -49,7 +51,11 @@
top: calc(100% + 6px);
right: 0;
z-index: 60;
- min-width: 260px;
+ width: min(264px, calc(100vw - 16px));
+ /* a long list on a short window scrolls under the bar rather than running
+ off the bottom (nothing in it floats, so a scroll box is safe here) */
+ max-height: calc(100dvh - var(--dx-bar-bottom, 56px) - 12px);
+ overflow-y: auto;
/* capped at the viewport: this menu hangs off a button in the right half of
the bar, and on a phone a 260px start-anchored panel walks off the screen */
max-width: calc(100vw - 16px);
@@ -60,31 +66,24 @@
box-shadow: var(--shadow-pop);
display: none;
}
-.dxs-wrap.dxs-open .dxs-menu { display: block; }
+.dxs-wrap.dxs-open .dxs-menu { display: flex; flex-direction: column; gap: 1px; }
-.dxs-item {
- display: block;
+/* Rows are the bar's menu rows: icon and name on ONE line, a hover fill and
+ nothing at rest. The description is the tooltip (D2) — never small print. */
+.dxs-menu .dxs-item {
+ display: flex;
width: 100%;
- text-align: left;
+ justify-content: flex-start;
+ text-align: start;
+ font-size: 12.5px;
padding: 6px 9px;
border: 0;
- border-radius: var(--radius);
background: transparent;
- color: inherit;
- font: inherit;
- font-size: var(--fs-ui);
- cursor: pointer;
+ color: var(--ink-2);
}
-.dxs-item:hover:not(:disabled) { background: var(--hover); }
-/* 0.35 — slides' one figure for a dead control; see .dx-btn[disabled] */
+.dxs-menu .dxs-item:hover:not(:disabled) { background: var(--hover); }
+.dxs-menu .dxs-item .dx-i { color: var(--muted); }
.dxs-item:disabled { opacity: 0.35; cursor: default; }
-.dxs-item small {
- display: block;
- color: var(--muted);
- font-size: var(--fs-small);
- line-height: 1.35;
- margin-top: 1px;
-}
.dxs-sep { height: 1px; margin: 4px 6px; background: var(--line); }
/* Toast: the only feedback these actions have. A share export leaves the open
diff --git a/dash/src/saveui.ts b/dash/src/saveui.ts
index 72e21328..449a7770 100644
--- a/dash/src/saveui.ts
+++ b/dash/src/saveui.ts
@@ -58,7 +58,8 @@ import {
isEncryptionActive, setEncryptionPassword,
} from '../../kernel/src/save.ts'
import { clearRecovery, clearVersions } from '../../kernel/src/autosave.ts'
-import { duplicateWorkbook } from './about.ts'
+import { duplicateWorkbook, openVersionHistory, openReplaceJson, copyDocJson, type AboutHooks } from './about.ts'
+import { ICONS, menuLabel } from './icons.ts'
import { docBytes, docBudget, type DashDoc } from './model.ts'
import type { Store } from './store.ts'
import { t } from './i18n.ts'
@@ -75,6 +76,10 @@ export interface SaveMenuHost {
save: () => void | Promise<void>
/** what a write that reached the open file owes the screen (saving.ts) */
ack: Acknowledge
+ /** About's hooks — version history and Replace from JSON open from here */
+ about: AboutHooks
+ /** "Start from scratch…" — main.ts owns the grid it must keep on its feet */
+ startFromScratch: () => void
}
/** A uuid, with the same fallback shape starter.ts uses for old runtimes. */
@@ -165,14 +170,16 @@ export function applyDocLock(doc: DashDoc, store: Store): void {
if (doc.readonly) store.readOnly = true
}
-/**
- * Hang the save menu off the app's Save button.
- *
- * The Save button keeps its own click handler; this only adds the caret beside
- * it. That is deliberate — the most-used control in the header is not rewired
- * to add four occasional ones.
- */
-export function installSaveMenu(host: SaveMenuHost): void {
+export interface SaveMenu {
+ /**
+ * Build the Save-as list into another container — ⋯ on a phone, where the
+ * caret that opens it does not fit beside Save (slides' fillPhoneSaveAs).
+ * One list, two homes; it reflects live state, so it is built per open.
+ */
+ fill(into: HTMLElement, close: () => void): void
+}
+
+export function installSaveMenu(host: SaveMenuHost): SaveMenu {
const { button, store } = host
const wrap = document.createElement('span')
@@ -183,8 +190,8 @@ export function installSaveMenu(host: SaveMenuHost): void {
const caret = document.createElement('button')
caret.className = 'dx-btn dxs-caret'
caret.type = 'button'
- caret.textContent = '▾'
- caret.title = t('Save as… — copy, new workbook, template, read-only, password')
+ caret.innerHTML = '<span class="dxs-caret-g" aria-hidden="true">▾</span>'
+ caret.title = t('Save as… — copy, new workbook, template, password, history, JSON')
caret.setAttribute('aria-label', caret.title)
const menu = document.createElement('div')
@@ -196,8 +203,8 @@ export function installSaveMenu(host: SaveMenuHost): void {
const opening = !wrap.classList.contains('dxs-open')
wrap.classList.toggle('dxs-open', opening)
// Rebuilt on every open because it reflects live state — a read-only file
- // offers nothing, and the labels name the file we would actually write.
- if (opening) build()
+ // offers less, and the password row says which way it would go.
+ if (opening) { menu.textContent = ''; build(menu, close) }
})
document.addEventListener('pointerdown', (ev) => {
if (!wrap.contains(ev.target as Node)) close()
@@ -206,20 +213,29 @@ export function installSaveMenu(host: SaveMenuHost): void {
if (ev.key === 'Escape') close()
})
- const item = (label: string, why: string, run: () => void | Promise<void>) => {
+ /**
+ * One row: icon and name on ONE line; what it does is the hover tooltip and
+ * the accessible description (maintainer ruling D2 — "all the extra text
+ * describing the entry can be mouseovers"). It used to be a second line of
+ * small print under every item, which made the menu twice the height of
+ * slides' for the same commands.
+ */
+ const item = (into: HTMLElement, done: () => void, icon: string, label: string, why: string,
+ run: () => void | Promise<void>, opts: { readOnlyOk?: boolean } = {}): void => {
const b = document.createElement('button')
- b.className = 'dxs-item'
+ b.className = 'dx-btn dxs-item'
b.type = 'button'
- b.appendChild(Object.assign(document.createElement('span'), { textContent: label }))
- b.appendChild(Object.assign(document.createElement('small'), { textContent: why }))
- if (store.readOnly) {
+ b.innerHTML = icon
+ b.append(menuLabel(label, why, b))
+ if (store.readOnly && !opts.readOnlyOk) {
b.disabled = true
b.title = t('This workbook is open read-only, so this build will not write it.')
} else {
- b.addEventListener('click', () => { close(); void run() })
+ b.addEventListener('click', () => { done(); void run() })
}
- menu.appendChild(b)
+ into.appendChild(b)
}
+ const sep = (into: HTMLElement) => into.appendChild(Object.assign(document.createElement('div'), { className: 'dxs-sep dx-menu-sep' }))
/** An in-place update replaced this file's shell; this page must not write it. */
const refuseSuperseded = (): boolean => {
@@ -230,13 +246,10 @@ export function installSaveMenu(host: SaveMenuHost): void {
const failed = (err: unknown): void =>
toast(t('Save failed — {why}').replace('{why}', err instanceof Error ? err.message : String(err)))
- const build = () => {
- menu.textContent = ''
-
- item(t('Save'), t('Write this workbook back to its own file.'),
- () => host.save())
-
- item(t('Save a copy…'), t('A backup of this workbook for yourself — same workbook, same live session.'),
+ // FILE operations only, as in slides: everything that goes to OTHER PEOPLE —
+ // the reading copy, an invite, a view-only follower — lives in Share.
+ const build = (into: HTMLElement, done: () => void) => {
+ item(into, done, ICONS.copy, t('Save a copy…'), t('A backup of this workbook for yourself — same workbook, same live session.'),
async () => {
if (!confirmBudget(store.doc)) return
if (refuseSuperseded()) return
@@ -250,15 +263,11 @@ export function installSaveMenu(host: SaveMenuHost): void {
if (out.kind === 'done' && out.value !== 'cancelled') toast(t('Copy saved — you are still editing the original'))
})
- item(t('Save as new workbook…'), t('A separate workbook — same data, new identity. Nothing links it back to this one.'),
+ item(into, done, ICONS.plus, t('Save as new workbook…'), t('A separate workbook — same data, new identity. Nothing links it back to this one.'),
async () => {
if (!confirmBudget(store.doc)) return
// ONE implementation of the fork, in about.ts, which is where the rig
- // that proves it lives (scripts/test-dash-about.ts). This was a second
- // copy of the same three lines and it had already drifted: it kept
- // `template: true`, so forking a template gave you another template —
- // a file that re-mints its identity on every open, which is the exact
- // opposite of "a separate workbook".
+ // that proves it lives (scripts/test-dash-about.ts).
if (refuseSuperseded()) return
// THE SWAP WAITS FOR EVERY WRITE AHEAD OF IT. An automatic save of the
// ancestor already in flight resolves its handle after its serializer
@@ -267,14 +276,11 @@ export function installSaveMenu(host: SaveMenuHost): void {
// the ancestor still QUEUED is discarded once the identity changes.
//
// The handle is released FIRST and always, not only on cancel: the
- // fork is not a version of the ancestor's file in any outcome. A
- // successful save-as adopts the new handle; a download never had one.
+ // fork is not a version of the ancestor's file in any outcome.
//
// The `null` cast is the same KERNEL GAP dropopen.ts names: nothing
// needed to RELEASE a handle until a document could stop belonging to
- // its file, `adoptFileHandle` types its argument non-null, and the
- // implementation is a bare assignment. The fix is a
- // `releaseFileHandle()` beside it in kernel/src/save.ts.
+ // its file, and `adoptFileHandle` types its argument non-null.
await afterPendingWrites(store, () => {
adoptFileHandle(null as never)
store.replaceDoc(duplicateWorkbook(store.doc, newDocId()))
@@ -286,18 +292,15 @@ export function installSaveMenu(host: SaveMenuHost): void {
if (out.kind !== 'done') return
if (out.value === 'cancelled') {
// THE FORK IS ALREADY IN MEMORY and the picker was closed. The held
- // handle was released above, so ⌘S and write-back go back to the
- // picker rather than overwriting the ancestor — which is how the
- // original used to quietly become the fork.
+ // handle was released above, so ⌘S goes back to the picker rather
+ // than overwriting the ancestor.
toast(t('This is now a new workbook — save it under a new name'))
} else {
toast(t('Saved as a new workbook'))
}
})
- menu.appendChild(Object.assign(document.createElement('div'), { className: 'dxs-sep' }))
-
- item(t('Save as template…'), t('A starting point: every open of it becomes a fresh workbook of its own.'),
+ item(into, done, ICONS.template, t('Save as template…'), t('A starting point: every open of it becomes a fresh workbook of its own.'),
async () => {
if (!confirmBudget(store.doc)) return
const next = clone(store.doc)
@@ -311,49 +314,56 @@ export function installSaveMenu(host: SaveMenuHost): void {
t('Template saved — every open of it starts a fresh workbook'))
})
- item(t('Save read-only copy…'), t('A locked copy for handing out: it opens, it does not edit.'),
- async () => {
- if (!confirmBudget(store.doc)) return
- const next = clone(store.doc)
- next.readonly = true
- delete next.collab
- await writeExport(next, 'viewonly',
- t('Read-only copy saved — it opens locked'))
- })
-
- menu.appendChild(Object.assign(document.createElement('div'), { className: 'dxs-sep' }))
-
// The password. Nothing is written here — it sets the standing instruction
// that every path above then honours through `serializeAuto`.
if (isEncryptionActive()) {
- item(t('Remove password…'), t('The next save writes the workbook in the clear.'), () => {
+ item(into, done, ICONS.lock, t('Remove password…'), t('The next save writes the workbook in the clear.'), () => {
if (!confirm(t('Remove the password? The next save writes the workbook in the clear.'))) return
setEncryptionPassword(null)
toast(t('Password removed. Save to write the workbook unencrypted.'))
})
} else {
- item(t('Set a password…'), t('Encrypts the workbook inside the file. There is no recovery — lose it and the data is gone.'), () => {
+ item(into, done, ICONS.lock, t('Set a password…'), t('Encrypts the workbook inside the file. There is no recovery — lose it and the data is gone.'), () => {
const pw = prompt(t('Choose a password. There is no way to recover it.'))
if (!pw) return
setEncryptionPassword(pw)
// Snapshots written BEFORE this moment are plaintext copies of the very
- // thing now being encrypted, sitting in IndexedDB. Both stores: the
- // single recovery snapshot and the whole version timeline.
+ // thing now being encrypted, sitting in IndexedDB. Both stores.
void clearRecovery(store.doc.docId)
void clearVersions(store.doc.docId)
toast(t('Password set. Save to write the workbook encrypted, and keep the password somewhere safe.'))
})
}
+
+ // THE DOCUMENT AS DATA — history and the AI/JSON round trip, with the
+ // other file operations, as in slides (they were in the About dialog).
+ sep(into)
+ item(into, done, ICONS.history, t('Version history…'),
+ t('Restore an earlier auto-saved version of this workbook (kept locally in this browser).'),
+ () => openVersionHistory(host.about), { readOnlyOk: true })
+ item(into, done, ICONS.code, t('Copy document JSON'),
+ t('Copies this workbook as plain JSON — content only, no live-session keys. Edit it in another tool, then bring it back with Replace from JSON.'),
+ async () => {
+ const size = await copyDocJson(store.doc)
+ toast(size ? t('Copied — {size} of JSON.', { size }) : t('This browser refused clipboard access.'))
+ }, { readOnlyOk: true })
+ item(into, done, ICONS.code, t('Replace from JSON…'),
+ t('Paste edited document JSON to replace this workbook’s content.'),
+ () => openReplaceJson(host.about))
+ item(into, done, ICONS.blank, t('Start from scratch…'),
+ t('Replace every sheet with one blank sheet. Keeps the workbook’s name, theme and live session — ⌘Z undoes.'),
+ () => host.startFromScratch())
}
- build()
+ return { fill: (into, done) => build(into, done) }
}
/**
* Write a share export: a NEW file, chosen by the user, that never becomes the
- * ⌘S target (rule 1 at the top of this file — no `keepHandle`).
+ * ⌘S target (rule 1 at the top of this file — no `keepHandle`). Every copy for
+ * someone else goes through here, encryption-aware (`serializeAuto`).
*/
-async function writeExport(doc: DashDoc, suffix: string, done: string): Promise<void> {
+export async function writeExport(doc: DashDoc, suffix: string, done: string): Promise<void> {
try {
const ok = await writeUpdatedFileAs(await serializeAuto(doc), doc, { suffix })
if (ok) toast(done)
diff --git a/dash/src/share.ts b/dash/src/share.ts
new file mode 100644
index 00000000..4a553c6c
--- /dev/null
+++ b/dash/src/share.ts
@@ -0,0 +1,95 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// What a copy of this workbook is allowed to carry, when it is for someone else.
+//
+// Sharing a workbook IS sending a file: there is no server holding the
+// document and no link granting access to it. So every permission question is
+// a question about which fields survive the copy, and this module answers it —
+// for the three copies the Share popover makes:
+//
+// reading a SEALED copy: the workbook, read-only, with no collaboration
+// block at all. It never joins anything. (The kernel's `package`
+// tier.) This is what "Save read-only copy…" always made.
+// invite a copy that edits this workbook live WITHOUT becoming its owner:
+// an owner-signed INVITE keypair travels in place of the owner's
+// private key, and every device that opens it mints its own member
+// key. The owner can remove one device from People, or Reset
+// access to cut every copy off.
+// viewonly a live FOLLOWER: the room and the read key, no private half. The
+// relay drops any op it sends, so the boundary is real rather than
+// a hidden button. It opens read-only.
+//
+// Every builder goes through the kernel's copy table (projectForCopy) with
+// dash's field map, so a field this build has never heard of is DROPPED from
+// all three — fail closed — and the collab block is projected through the
+// kernel's allowlists. Same shapes as spaces' and slides' share.ts on purpose:
+// the relay verifies one wire format.
+
+import { projectForCopy } from '../../kernel/src/docfields.ts'
+import { mintInvite } from './sync/online.ts'
+import { DASH_FIELDS } from './docclass.ts'
+import type { DashDoc } from './model.ts'
+
+export type ShareKind = 'reading' | 'invite' | 'viewonly'
+
+/** A deep clone, so nothing done to a copy can reach the open workbook. */
+const clone = (doc: DashDoc): DashDoc => JSON.parse(JSON.stringify(doc)) as DashDoc
+
+interface CollabLike { room?: string; key?: string; v?: number; owner?: string; ownerPriv?: string; role?: string; on?: boolean }
+const collabOf = (doc: DashDoc): CollabLike | undefined =>
+ doc.collab && typeof doc.collab === 'object' ? doc.collab as CollabLike : undefined
+
+/** Is this copy the room's owner — the only role that can invite or revoke? */
+export function isOwner(doc: DashDoc): boolean {
+ const c = collabOf(doc)
+ return !!(c && c.v === 2 && c.owner && c.ownerPriv)
+}
+
+/**
+ * May THIS copy write to its room? An ALLOWLIST that fails closed — the same
+ * answer `copyCanWrite` gives in sync/online.ts, asked of the whole document.
+ */
+export function canWrite(doc: DashDoc): boolean {
+ const c = collabOf(doc)
+ if (!c) return true
+ if (!Object.prototype.hasOwnProperty.call(c, 'role')) return true
+ return c.role === undefined || c.role === 'writer'
+}
+
+/** A collab copy that is not an allowlisted writer: it follows, it never sends. */
+export function isReaderCopy(doc: DashDoc): boolean {
+ return !!collabOf(doc) && !canWrite(doc)
+}
+
+/** The sealed reading copy: read-only, no collab, nothing unknown. */
+export function readingCopy(doc: DashDoc): DashDoc {
+ return projectForCopy(clone(doc), DASH_FIELDS, 'package')
+}
+
+/**
+ * The editor copy. Null when this copy is not the owner — a member holds no
+ * key to root the invite chain in, and handing back anything else would leak.
+ */
+export async function inviteCopy(doc: DashDoc): Promise<DashDoc | null> {
+ const c = collabOf(doc)
+ if (!c?.room || !c.key || !isOwner(doc)) return null
+ const invite = await mintInvite(c.ownerPriv!, 'writer')
+ const out = projectForCopy(clone(doc), DASH_FIELDS, 'invite', { invite })
+ // the copy is live from the moment it opens
+ if (out.collab) (out.collab as CollabLike).on = true
+ return out
+}
+
+/** The view-only follower. Null when there is no room to follow. */
+export function readerCopy(doc: DashDoc): DashDoc | null {
+ const c = collabOf(doc)
+ if (!c?.room || !c.key) return null
+ const out = projectForCopy(clone(doc), DASH_FIELDS, 'reader')
+ if (out.collab) (out.collab as CollabLike).on = true
+ return out
+}
+
+/** A short, readable fingerprint of a public key — grouped exactly as spaces
+ * and slides group it, so two people can compare codes over a call. */
+export const fingerprint = (pub?: string): string =>
+ pub ? `${pub.slice(0, 4)}·${pub.slice(4, 8)}·${pub.slice(8, 12)}` : ''
diff --git a/dash/src/shareui.ts b/dash/src/shareui.ts
new file mode 100644
index 00000000..f7792e39
--- /dev/null
+++ b/dash/src/shareui.ts
@@ -0,0 +1,368 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// The Share button and its popover: who is in this workbook, and how to let
+// somebody in.
+//
+// SPACES' POPOVER, SECTION FOR SECTION (spaces/src/collabui.ts), which is
+// itself slides' (.ed-share-pop): your name on one line, PEOPLE, one status
+// line, SHARE A COPY, the actions as one-line rows, then — set apart — the
+// session controls. Reused rather than reinvented, because the maintainer's
+// rule is that slides is the reference for chrome in look, organisation and
+// wording, and a reader moving between the apps should find the same panel.
+//
+// WHAT THIS REPLACED, and why it was a blocker rather than polish. The bar used
+// to carry a bare "Start live session" button that went live on ONE click — no
+// name, no list of who has the file, no scoped copies — and turned into "Stop
+// sharing", one mis-click from ending the session. Below 900px it collapsed to
+// an unlabelled grey dot, and on a phone it vanished, so a phone could not
+// share at all. Now:
+//
+// · NOTHING CONNECTS until the reader says "Go live" (or shares a live copy,
+// which goes live on the way out — the copy is useless otherwise). A fresh
+// workbook stays off the network (PLATFORM §5).
+// · The button is LABELLED at every width — "Share", or "Live" while
+// connected — and stays in the bar on a phone. A dot alone said nothing.
+// · Copies for other people are built in share.ts through the kernel's copy
+// table, never from `store.doc` whole.
+
+import { t } from './i18n.ts'
+import { ICONS, menuLabel } from './icons.ts'
+import type { Store } from './store.ts'
+import type { SyncSession, Peer } from './sync/session.ts'
+import { sharingOn, onlineTransport, joinFromDoc, startSharing, stopSharing, rotateKeys, collabOf } from './sync/online.ts'
+import { offlineEnabled } from '../../kernel/src/net.ts'
+import { canWrite, fingerprint, isOwner, isReaderCopy, type ShareKind } from './share.ts'
+import { lsGet, lsSet } from '../../kernel/src/storage.ts'
+
+export interface ShareUiHost {
+ store: Store
+ session: SyncSession
+ /** a transient message the reader must not miss */
+ toast(msg: string): void
+ /** write a copy for someone else (share.ts builds it) */
+ shareCopy(kind: ShareKind): Promise<void>
+ /** go to the sheet a collaborator is on */
+ goToSheet(id: string): void
+}
+
+export type ShareState = 'offline' | 'viewer' | 'live' | 'connecting' | 'off'
+
+const el = (tag: string, cls = '', text = ''): HTMLElement => {
+ const n = document.createElement(tag)
+ if (cls) n.className = cls
+ if (text) n.textContent = text
+ return n
+}
+
+/** First letter of a name, for the dot. */
+const initial = (name: string): string => [...(name || '?').trim()][0] ?? '?'
+
+export class ShareUi {
+ private host: ShareUiHost
+ /** the dropdown: `.dx-dd` wrapper, trigger and panel */
+ readonly wrap: HTMLElement
+ private btn: HTMLButtonElement
+ private pop: HTMLElement
+ private known = new Map<string, string>()
+ private watched: unknown = null
+
+ constructor(host: ShareUiHost) {
+ this.host = host
+ this.wrap = el('div', 'dx-dd dx-share-dd')
+ this.btn = document.createElement('button')
+ this.btn.type = 'button'
+ this.btn.className = 'dx-btn dx-share'
+ this.btn.dataset.act = 'share'
+ this.btn.innerHTML = `${ICONS.share}<span class="dx-share-lab"></span><span class="dx-share-n"></span>`
+ this.pop = el('div', 'dx-menu dx-share-pop')
+ this.wrap.append(this.btn, this.pop)
+ this.btn.addEventListener('click', (e) => {
+ e.stopPropagation()
+ const opening = !this.wrap.classList.contains('open')
+ // the bar's other menus shut, exactly as a dropdown trigger does in main.ts
+ // …but never one it sits INSIDE: on a phone Share lives in ⋯
+ for (const dd of document.querySelectorAll('.dx-dd.open')) {
+ if (dd !== this.wrap && !dd.contains(this.wrap)) dd.classList.remove('open')
+ }
+ if (opening) this.render()
+ this.wrap.classList.toggle('open', opening)
+ })
+ host.session.onPeers(() => this.onPeersChanged())
+ this.sync()
+ }
+
+ private close = (): void => { this.wrap.classList.remove('open') }
+
+ peers(): Peer[] {
+ return this.host.session.peers()
+ }
+
+ /**
+ * What this copy's connection actually is. FIVE states, because each one is
+ * a different thing to do next (spaces' reasoning, verbatim in effect).
+ */
+ state(): ShareState {
+ if (offlineEnabled()) return 'offline'
+ if (isReaderCopy(this.host.store.doc)) return 'viewer'
+ const tr = onlineTransport()
+ if (!tr || !sharingOn(this.host.store)) return 'off'
+ return tr.status === 'open' ? 'live' : 'connecting'
+ }
+
+ /** Reflect state onto the button. Cheap; called often. */
+ sync(): void {
+ const b = this.btn
+ const n = this.peers().length
+ const st = this.state()
+ const on = st === 'live' || st === 'viewer'
+ b.classList.toggle('dx-share-live', on)
+ b.classList.toggle('dx-share-wait', st === 'connecting')
+ // THE WORD IS THE STATE, at every width — never a dot on its own.
+ const lab = b.querySelector('.dx-share-lab')!
+ lab.textContent = st === 'live' || st === 'connecting' || st === 'viewer' ? t('Live') : t('Share')
+ b.querySelector('.dx-share-n')!.textContent = n > 0 ? String(n) : ''
+ b.title = this.buttonTitle(st, n)
+ b.setAttribute('aria-label', `${lab.textContent} — ${b.title}`)
+ }
+
+ private buttonTitle(st: ShareState, n: number): string {
+ switch (st) {
+ case 'offline': return t('Offline mode is on — nothing leaves this computer.')
+ case 'viewer': return t('View-only copy — it follows the live session but can’t change this workbook.')
+ case 'connecting': return t('Connecting…')
+ case 'live': return n > 0
+ ? t('Live — {n} other people are here', { n: String(n) })
+ : t('Live — nobody else is here yet')
+ default: return n > 0
+ ? t('Also open in another window on this computer — not shared online')
+ : t('Share — invite people to edit, send view-only copies, see who’s here')
+ }
+ }
+
+ /** Arrivals and departures, quiet past a crowd (a busy room's join storm). */
+ onPeersChanged(): void {
+ this.sync()
+ if (this.wrap.classList.contains('open')) this.render()
+ const now = new Map(this.peers().map((p) => [p.actor, p.name]))
+ if (now.size <= 8) {
+ for (const [actor, name] of now) if (!this.known.has(actor)) this.host.toast(t('{name} joined', { name }))
+ for (const [actor, name] of this.known) if (!now.has(actor)) this.host.toast(t('{name} left', { name }))
+ }
+ this.known = now
+ }
+
+ /** This device's identity in the room: the key it signs with, and its role. */
+ private me(): { role?: 'owner' | 'editor' | 'viewer'; pub?: string } {
+ const doc = this.host.store.doc
+ const c = collabOf(doc)
+ if (!c) return {}
+ if (isReaderCopy(doc)) return { role: 'viewer' }
+ if (isOwner(doc)) return { role: 'owner', pub: c.owner }
+ if (c.v === 2 && c.invite) {
+ let pub: string | undefined
+ try { pub = JSON.parse(lsGet(`bento-member-${doc.docId}`) || 'null')?.pub } catch { /* no storage */ }
+ return { role: 'editor', pub }
+ }
+ if (c.writerPriv) return { role: 'editor', pub: c.writerPub }
+ return {}
+ }
+
+ private roleLabel(r?: string): string {
+ return r === 'owner' ? t('Owner') : r === 'editor' ? t('Editor') : r === 'viewer' ? t('Viewer') : ''
+ }
+
+ /** Build the panel. Rebuilt on every open, because everything in it is live state. */
+ render(): void {
+ const pop = this.pop
+ pop.textContent = ''
+ const { store } = this.host
+ const doc = store.doc
+ const st = this.state()
+ const peers = this.peers()
+ const mine = this.me()
+ const iAmOwner = isOwner(doc)
+
+ // YOUR NAME, first: it is what shows up on everyone else's screen.
+ const row = el('label', 'dx-share-name')
+ row.append(el('span', '', t('Your name')))
+ const name = document.createElement('input')
+ name.type = 'text'
+ name.className = 'dx-share-in'
+ name.value = lsGet('bento-author') || ''
+ name.placeholder = t('Guest')
+ name.title = t('Shown next to your cursor and in the People list — stored only in this browser.')
+ name.addEventListener('input', () => lsSet('bento-author', name.value))
+ name.addEventListener('change', () => this.host.session.hello())
+ row.append(name)
+ pop.append(row)
+
+ if (mine.role || peers.length) pop.append(el('div', 'dx-share-label', t('People')))
+ if (mine.role) {
+ const meRow = el('div', 'dx-pitem dx-pme')
+ const myName = lsGet('bento-author') || t('Guest')
+ meRow.append(el('span', 'dx-pname', `${myName} (${t('you')})`))
+ meRow.append(el('span', 'dx-pwhere', [this.roleLabel(mine.role), fingerprint(mine.pub)].filter(Boolean).join(' · ')))
+ meRow.title = mine.pub
+ ? t('Your key on THIS device: {fp}. Another device counts as a new person until the owner removes it.', { fp: fingerprint(mine.pub) })
+ : t('View-only copy — it holds no signing key.')
+ pop.append(meRow)
+ }
+ if (peers.length) {
+ const list = el('div', 'dx-plist')
+ for (const p of peers) {
+ const item = document.createElement('button')
+ item.type = 'button'
+ item.className = 'dx-pitem'
+ const d = el('span', 'dx-pdot', initial(p.name))
+ d.style.background = p.color
+ item.append(d, el('span', 'dx-pname', p.name))
+ const sheet = doc.sheets.find((s) => s.id === p.sheet)
+ const where = [this.roleLabel(p.role), sheet ? sheet.name : ''].filter(Boolean).join(' · ')
+ if (where) item.append(el('span', 'dx-pwhere', where))
+ if (p.pub) item.title = `${t('Key-verified identity')} · ${fingerprint(p.pub)}`
+ item.addEventListener('click', () => { this.close(); if (sheet) this.host.goToSheet(sheet.id) })
+ // Remove is the OWNER's: a signed revocation of ONE device key.
+ const c = collabOf(doc)
+ if (iAmOwner && p.pub && p.pub !== c?.owner) {
+ const kick = el('span', 'dx-pkick', '✕')
+ kick.title = t('Remove {name} — revokes this device’s access; everyone else is unaffected', { name: p.name })
+ kick.addEventListener('click', (ev) => {
+ ev.stopPropagation()
+ if (!confirm(t('Remove {name} from this workbook? Their copy drops to read-only.', { name: p.name }))) return
+ this.close()
+ const tr = onlineTransport()
+ void Promise.resolve(tr && c?.owner && c.ownerPriv ? tr.revokeKey(p.pub!, c.owner, c.ownerPriv) : false)
+ .then((done) => this.host.toast(done
+ ? t('{name} was removed', { name: p.name })
+ : t('Couldn’t reach the live session')))
+ })
+ item.append(kick)
+ }
+ list.append(item)
+ }
+ pop.append(list)
+ }
+
+ // The one export every copy can make — it hands over no capability, so
+ // even an offline or view-only copy may make it.
+ const readingAct = () => this.action(ICONS.book, t('Save a reading copy…'),
+ t('A locked copy for handing out: it opens read-only, carries none of this workbook’s keys, and never joins the live session.'),
+ () => { this.close(); void this.host.shareCopy('reading') }, 'reading')
+
+ if (st === 'offline') {
+ pop.append(el('div', 'dx-pnote', t('Offline mode is on — nothing leaves this computer.')))
+ pop.append(el('div', 'dx-pnote', t('Windows on this computer still sync; turn offline mode off in Settings to work with someone elsewhere.')))
+ pop.append(el('div', 'dx-share-label', t('Share a copy')), readingAct())
+ return
+ }
+ const status = el('div', 'dx-pstatus')
+ status.dataset.state = st
+ if (st === 'live') {
+ status.classList.add('ok')
+ status.textContent = `● ${t('Live')} — ${t('{n} connected', { n: String(peers.length + 1) })}`
+ } else if (st === 'connecting') {
+ status.textContent = `◐ ${t('Connecting…')}`
+ } else if (st === 'viewer') {
+ status.classList.add('ok')
+ status.textContent = `● ${t('Following — view only')}`
+ } else {
+ status.textContent = `○ ${t('Not live — turns on when you share')}`
+ }
+ pop.append(status)
+
+ if (!canWrite(doc)) {
+ pop.append(el('div', 'dx-pnote', t('This is a view-only copy — it follows the live session but can’t change this workbook.')))
+ pop.append(el('div', 'dx-share-label', t('Share a copy')), readingAct())
+ return
+ }
+ if (st === 'off') {
+ pop.append(el('div', 'dx-pnote', peers.length
+ ? t('These windows are on this computer. Start a session to work with someone elsewhere.')
+ : t('Nothing leaves this file until you start a session.')))
+ }
+
+ pop.append(el('div', 'dx-share-label', t('Share a copy')))
+ pop.append(readingAct())
+ pop.append(this.action(ICONS.people, t('Invite to edit…'),
+ t('Saves a copy to send. Whoever opens it edits this workbook live with you (end-to-end encrypted); you stay the owner and can remove them from the People list.'),
+ () => { this.close(); void this.host.shareCopy('invite') }, 'invite'))
+ pop.append(this.action(ICONS.eye, t('View-only copy…'),
+ t('A live viewer: follows every edit as it happens but can never change this workbook — the relay enforces it.'),
+ () => { this.close(); void this.host.shareCopy('viewonly') }, 'viewonly'))
+
+ pop.append(el('div', 'dx-menu-sep'))
+ if (st === 'off') {
+ pop.append(this.action(ICONS.broadcast, t('Go live'),
+ t('Connect to the live session without saving a new copy — copies you sent earlier will meet you there.'), () => {
+ this.close()
+ void this.goLive().then(() => this.host.toast(t('Live — send someone the file to bring them in')))
+ }, 'golive'))
+ } else {
+ pop.append(this.action(ICONS.stop, t('Stop sharing'), t('This copy goes offline; the others carry on'), () => {
+ this.close()
+ stopSharing(this.host.session, store)
+ this.sync()
+ this.host.toast(t('Stopped sharing'))
+ }, 'stop'))
+ }
+ // Quiet at the bottom, because it is the nuclear option: every copy already
+ // sent stops syncing for good. Remove (above) is the scalpel.
+ if (iAmOwner) {
+ const reset = this.action(ICONS.lock, t('Reset access…'),
+ t('Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.'),
+ () => {
+ if (!confirm(t('Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.'))) return
+ this.close()
+ void rotateKeys(this.host.session, store).then(() => {
+ this.sync()
+ this.host.toast(t('Access reset — only copies saved from now on can join'))
+ })
+ }, 'reset')
+ reset.classList.add('dx-paction-danger')
+ pop.append(reset)
+ }
+ }
+
+ /** One row: icon and name on one line; what it does is the tooltip and the
+ * accessible description (the Save menu's row shape). */
+ private action(icon: string, label: string, hint: string, run: () => void, key = ''): HTMLElement {
+ const b = document.createElement('button')
+ b.type = 'button'
+ b.className = 'dx-btn dx-paction'
+ if (key) b.dataset.share = key
+ b.innerHTML = icon
+ b.append(menuLabel(label, hint, b))
+ b.addEventListener('click', run)
+ return b
+ }
+
+ /** Turn the live session on (idempotent). Sharing a live copy calls it first. */
+ async goLive(): Promise<void> {
+ if (offlineEnabled()) return
+ this.host.session.enableSharing()
+ await startSharing(this.host.session, this.host.store)
+ this.watchStatus()
+ this.sync()
+ }
+
+ /**
+ * Join the relay if this workbook ARRIVED shared (or was shared this
+ * session). The eligibility test is the session's: a fresh workbook and a
+ * template stay off the network until somebody chooses to share.
+ */
+ tryJoin(): void {
+ const s = this.host.session
+ if (sharingOn(this.host.store) && s.shareEligible() && !onlineTransport()) joinFromDoc(s, this.host.store)
+ this.watchStatus()
+ this.sync()
+ }
+
+ /** Repaint when the CONNECTION changes, not only when the room's population does. */
+ watchStatus(): void {
+ const tr = onlineTransport()
+ if (!tr || tr === this.watched) return
+ this.watched = tr
+ const prev = tr.onStatus
+ tr.onStatus = (s) => { prev?.(s); this.sync() }
+ }
+}
diff --git a/dash/src/styles.css b/dash/src/styles.css
index 1fbc4ce8..a90fb2e6 100644
--- a/dash/src/styles.css
+++ b/dash/src/styles.css
@@ -455,6 +455,14 @@ html, body {
8px max(14px, env(safe-area-inset-left), var(--tray-safe-left, 0px));
}
.dx-mark {
+ /* a real <button> now (it opens About): shed the UA button look */
+ font: inherit;
+ color: inherit;
+ background: none;
+ border: 0;
+ border-radius: 8px;
+ padding: 2px 4px;
+ cursor: pointer;
font-weight: 650;
letter-spacing: -0.01em;
white-space: nowrap;
@@ -583,13 +591,6 @@ html, body {
/* the caret on a dropdown trigger is a hint, not a peer of the icon */
.dx-dd-trig > .dx-i:last-child { opacity: 0.5; margin-inline-start: -2px; }
-.dx-ver {
- color: var(--muted);
- font-size: 12px;
- font-variant-numeric: tabular-nums;
- flex: 0 0 auto;
-}
-
/* Unsaved-changes dot: it badges SAVE rather than floating in the bar, where
an amber bullet next to the title explained nothing. Absolutely positioned,
so it costs the button no width — which matters, because Save is the control
@@ -679,205 +680,222 @@ html, body {
/* the data menu hangs off a button near the right edge, so it grows inward */
.dx-data-dd > .dx-menu { inset-inline-start: auto; inset-inline-end: 0; }
-/* ————— responsive top bar —————
- LABELS GIVE WAY, THEN GROUPS FOLD. Never a scrollbar, and never a
- horizontally scrolling body — the bar carries Save, and a control you have
- to scroll to reach is a control that is missing.
-
- Wide: the six insert buttons sit in the bar as a plain row; the same markup
- is the dropdown's contents below 900px, so nothing is reparented and no
- listener is ever rebound. */
-.dx-insert-dd { display: flex; align-items: center; gap: 6px; }
-.dx-insert-dd > .dx-dd-trig { display: none; }
-.dx-insert-dd > .dx-menu {
- display: flex;
- flex-direction: row;
- position: static;
+/* ————— the responsive top bar: labels give way, never the page —————
+ The tiers are CLASSES that topbar.ts sets by MEASURING the bar, exactly as
+ slides' fitTopbar does — not width breakpoints. The old ladder here had
+ seven of them (1600 … 380), each measured once against the bar as it was
+ that day, and every control added since quietly invalidated the numbers:
+ measured at 390px the bar was 509px wide and the DOCUMENT scrolled sideways.
+ dx-bar-compact labels hide (icons + tooltips take over)
+ dx-bar-tight the wordmark goes; the glyph stays as the About button
+ dx-bar-fold insert tools under +, the occasional controls under ⋯ */
+.dx-group { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
+.dx-insert { margin-inline-start: 6px; }
+/* everything after the insert group is pushed to the far end */
+.dx-bar-end { margin-inline-start: auto; }
+.dx-title { flex: 0 1 240px; min-width: 48px; }
+.dx-phone-only { display: none; }
+.dx-phone-tools { display: contents; }
+
+.dx-bar.dx-bar-compact .dx-btn > span { display: none; }
+/* …except the two words that ARE the state: Save, and Share/Live. A bare dot
+ and a bare floppy are guesses; these keep their word at every width. */
+.dx-bar.dx-bar-compact .dx-btn > .dx-save-lab,
+.dx-bar.dx-bar-compact .dx-btn > .dx-share-lab,
+.dx-bar.dx-bar-compact .dx-btn > .dx-share-n,
+.dx-bar.dx-bar-compact .dx-btn > .dxs-caret-g { display: inline; }
+/* the badges on Save are spans too, and have their own rules below */
+.dx-bar.dx-bar-compact .dx-btn-save > .dx-dirty:not([hidden]),
+.dx-bar.dx-bar-compact .dx-btn-save > .dx-wb:not([hidden]) { display: block; }
+/* never inside an open menu: those rows are text */
+.dx-bar.dx-bar-compact .dx-menu .dx-btn > span { display: inline; }
+.dx-bar.dx-bar-compact .dx-menu .dx-btn > span.dx-sr-only { display: block; }
+.dx-bar.dx-bar-compact {
gap: 6px;
+ padding: max(8px, env(safe-area-inset-top), var(--tray-safe-top, 0px)) max(8px, env(safe-area-inset-right), var(--tray-safe-right, 0px))
+ 8px max(8px, env(safe-area-inset-left), var(--tray-safe-left, 0px));
+}
+.dx-bar.dx-bar-tight {
+ gap: 4px;
+ padding: max(8px, env(safe-area-inset-top), var(--tray-safe-top, 0px)) max(6px, env(safe-area-inset-right), var(--tray-safe-right, 0px))
+ 8px max(6px, env(safe-area-inset-left), var(--tray-safe-left, 0px));
+}
+.dx-bar.dx-bar-tight .dx-mark-t { display: none; }
+.dx-bar.dx-bar-tight .dx-insert { margin-inline-start: 0; }
+
+/* fold: the phone-only controls exist in the DOM at every width; only the
+ fold shows them, so topbar.ts never creates or destroys anything */
+.dx-bar.dx-bar-fold .dx-phone-only { display: inline-flex; }
+.dx-bar.dx-bar-fold .dx-dd.dx-phone-only { display: block; }
+.dx-bar.dx-bar-fold .dx-insert:empty { display: none; }
+/* Save stays one tap; its caret does not fit beside a phone's few buttons, and
+ the list it opens is appended to ⋯ instead (topbar.ts). */
+.dx-bar.dx-bar-fold .dxs-caret { display: none; }
+.dx-bar.dx-bar-fold .dxs-wrap > .dx-btn:first-child { border-radius: 8px; border-inline-end: 1px solid var(--ink); }
+/* ⋯ and + can outgrow the screen in BOTH directions: anchor to the end, bound
+ the height, scroll inside. */
+.dx-bar.dx-bar-fold .dx-menu {
+ inset-inline-start: auto;
+ inset-inline-end: 0;
+ max-width: calc(100vw - 16px);
+ max-height: calc(100dvh - 96px);
+ overflow-y: auto;
+ -webkit-overflow-scrolling: touch;
+}
+.dx-bar.dx-bar-fold .dx-insert-dd > .dx-menu { inset-inline-start: 0; inset-inline-end: auto; }
+/* A demoted widget's own popover opens INLINE, inside the ⋯ list (CLAUDE.md
+ hard-won 10): `overflow-y: auto` makes ⋯ a clipping box in BOTH axes, so a
+ floating Share popover or language menu inside it would be cut off. Inside
+ ⋯ they stop floating and render as a section of the list. */
+.dx-bar.dx-bar-fold .dx-menu .dx-menu {
+ position: static;
min-width: 0;
- padding: 0;
- border: 0;
- background: none;
+ max-width: none;
+ max-height: none;
+ overflow: visible;
box-shadow: none;
-}
-/* …and as a row they are ordinary bar buttons again, not menu rows: the same
- ghost .dx-btn everything else in the bar is, so the only difference between
- this row and the group beside it is what the buttons say. */
-.dx-insert-dd > .dx-menu > .dx-btn {
- width: auto;
- border: 1px solid transparent;
background: transparent;
- padding: 6px 9px;
-}
-.dx-insert-dd > .dx-menu > .dx-btn:hover { background: var(--hover); }
-.dx-insert-dd > .dx-menu .dx-i { color: inherit; }
-
-/* The People chip is a CHIP, so it takes the bar's height, not its own.
- sync.css re-lays it out for the bar but leaves the panel's `padding: 8px 10px`
- standing, and 16px of vertical padding on the tallest thing in a flex row is
- 16px on the whole toolbar: MEASURED, .dx-bar was 62px tall against a 31px
- button — the bar grew a row it never drew. Scoped through `#app` because
- sync.css's own `.dx-bar .dx-people` rule is the same specificity and lives in
- a different file, so which of them won would be decided by import order. */
-#app .dx-bar .dx-people { padding: 0; }
-
-/* …and the swatch for YOU is not news to you. sync.css says exactly that and
- writes `.dx-bar .dx-people-me { display: none }` — then loses the duel to its
- own `.dx-bar .dx-people-list li { display: flex }` two lines later, which is
- more specific (0,2,1 beats 0,2,0). MEASURED: the li was 14px wide and painted
- a green dot beside the grey "not sharing" one, so the bar reported a live
- collaborator on a workbook that was not shared with anybody. Same failure
- mode as the .dx-dirty note above: a rule that reads correctly and never
- applies. */
-#app .dx-bar .dx-people-me { display: none; }
-
-/* ————— the ladder, and why each rung is where it is —————
- RE-MEASURED. The old first rung was 1280, taken when the bar ended at About.
- It has since gained the People chip (253px), the ? button (28px) and Save's
- as-caret (24px), and nobody moved the number: MEASURED at 1920 with every
- label showing, the bar's children come to 1527px + 24px of gaps + 24px of
- padding = 1575px. Between 1281 and ~1389 that bar had nowhere left to go —
- .dx-title bottoms out at its 60px min-width and everything else is
- `flex: 0 0 auto` — so it OVERFLOWED: measured at 1300px, document.scrollWidth
- was 1382 against a clientWidth of 1300, with About, ? and the version chip
- hanging past the right edge. A control you have to scroll to reach is a
- control that is missing, which is the one thing this whole section exists to
- prevent.
-
- RE-MEASURED AGAIN when the bar took slides' metrics (10px gaps, 14px side
- padding, 6px 9px buttons): the bar's requirement moved by about +12px, so the
- figures below each shift by that much and every rung still clears. MEASURED
- after, at the tightest point of each rung — 1601px: no overflow, the title at
- 232.8px of its 240 basis; 1381px: no overflow, title 237.1px; 1041px: no
- overflow, title 185.7px of its 200 basis; 900/375/320px: no overflow.
- `document.scrollWidth === clientWidth` at every one of them.
-
- One rung could not fix it honestly. Collapsing every label at 1575 would
- leave a 1440px laptop — the commonest window this app will ever open in —
- with a bar of nothing but icons. So the labels go in the order of how much
- they are worth: first the ones whose icons are conventions everybody already
- reads, then the ones that name features only dash has. */
-
-/* Rung 1 — the words a spreadsheet user does not need. Undo's arrow, About's
- ⓘ and the database cylinder are learned glyphs; "Not sharing" is a state the
- grey dot beside it already reports. MEASURED saving: 201px, so the bar now
- needs ~1374px. Save keeps its word at every rung: it is the control the user
- names when it goes missing, and an unlabelled floppy is a guess. */
-@media (max-width: 1600px) {
- .dx-bar .dx-bar-end > .dx-btn > span,
- .dx-bar .dx-data-dd > .dx-dd-trig > span { display: none; }
- #app .dx-bar .dx-people-title { display: none; }
-}
-
-/* Rung 2 — Formula · Chart · 3D · Pivot · Dashboard · Story. These are the
- labels worth keeping longest, because their icons are the ones nobody has
- seen before; they hold on for 220px more than the rung above. MEASURED
- saving: a further 289px, so the bar needs ~1085px and the title stops being
- squeezed (at 1390 it had been crushed from 240px to its 60px floor — a
- workbook name you cannot read is a name field that is not there). */
-@media (max-width: 1380px) {
- .dx-bar .dx-insert-dd .dx-btn > span { display: none; }
- .dx-bar { gap: 6px; }
- .dx-btn { padding: 5px 8px; }
- .dx-title { flex: 0 1 200px; }
-}
-
-/* 1040, and it used to be 900. The original note here rejected 1041 because
- "the icon-only insert row still left 214px of slack" — and it was right at
- the time. The People chip, ? and Save's caret have since eaten every pixel
- of that slack: MEASURED with both rungs above applied, the icon-only bar now
- needs 1037px to leave .dx-title its 200px. Below that the title is the only
- elastic thing in the bar, so it alone paid, and at 901px it stood at 65px —
- six characters of a workbook's name. The six insert icons are recoverable
- from one + menu; a name you cannot read is not recoverable from anywhere.
- (No overflow either way — this rung buys legibility, not room.) */
-@media (max-width: 1040px) {
- /* below this the six icon buttons no longer clear the end group, so they
- become one + menu. Their labels come back inside it. */
- .dx-insert-dd { display: block; position: relative; }
- .dx-insert-dd > .dx-dd-trig { display: inline-flex; }
- .dx-insert-dd > .dx-menu {
- display: none;
- position: absolute;
- flex-direction: column;
- gap: 1px;
- min-width: 200px;
- padding: 5px;
- border: 1px solid var(--line-strong);
- background: var(--surface);
- box-shadow: var(--shadow-pop);
- }
- .dx-insert-dd.open > .dx-menu { display: flex; }
- .dx-insert-dd > .dx-menu > .dx-btn {
- width: 100%;
- border-color: transparent;
- background: transparent;
- padding: 6px 9px;
- }
- .dx-insert-dd > .dx-menu .dx-i { color: var(--muted); }
-}
-
-@media (max-width: 860px) {
- /* the version chip is the least load-bearing thing in the bar, and About is
- now a real button, so the chip is no longer anybody's only way in */
- .dx-ver { display: none; }
-}
-
-@media (max-width: 760px) {
- /* "bento" goes first; the glyph plus "/dash" still says which app this is,
- and slides collapses its wordmark at the same width for the same reason. */
- .dx-mark-b { display: none; }
+ border: 0;
+ border-radius: 0;
+ border-block: 1px solid var(--line);
+ margin-block: 3px;
+ padding-inline: 6px;
}
+.dx-bar.dx-bar-fold .dx-menu .dx-dd { width: 100%; }
+.dx-bar.dx-bar-fold .dx-menu .dx-dd-trig,
+.dx-bar.dx-bar-fold .dx-menu .dx-share { width: 100%; justify-content: flex-start; }
+.dx-more-trig b { font-size: 16px; line-height: 1; padding-inline: 2px; }
+.dx-more-fixed { display: flex; flex-direction: column; gap: 1px; border-top: 1px solid var(--line); margin-top: 3px; padding-top: 3px; }
+/* phones proper: about TOUCH and a small screen, so it stays a media query */
@media (max-width: 700px) {
- /* the full padding is restated, not just the sides: a bare `padding-left`
- here would drop the safe-area max() above on the one class of device that
- has a notch to clear. slides restates it at each rung for the same
- reason. */
+ .dx-bar,
+ .dx-bar.dx-bar-tight {
+ padding: max(6px, env(safe-area-inset-top), var(--tray-safe-top, 0px)) max(6px, env(safe-area-inset-right), var(--tray-safe-right, 0px))
+ 6px max(6px, env(safe-area-inset-left), var(--tray-safe-left, 0px));
+ }
+ /* HIG touch targets */
+ .dx-bar .dx-btn, .dx-bar .dx-mark { min-width: 44px; min-height: 44px; justify-content: center; }
+ .dx-bar .dx-btn-save { min-width: 0; }
+ .dx-bar .dx-menu .dx-btn { min-width: 0; min-height: 36px; justify-content: flex-start; }
+ .dx-title { flex: 0 1 160px; min-width: 0; }
+ .dx-phone-tools { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-inline-size: max-content; }
+ .dx-bar .dx-bar-end { margin-inline-start: 0; flex: 0 0 auto; }
+
+ /* BELOW THE FOLD'S FLOOR THE BAR SCROLLS — never the document. Fully folded
+ the bar still needs its 44px targets, the mark and the title, and a 320px
+ phone has less; `overflow: hidden` on the app would just CUT the end off
+ (slides measured ⋯ unreachable at x=356 on a 320px screen). A partly
+ visible button is its own affordance. */
.dx-bar {
- gap: 4px;
- padding: max(8px, env(safe-area-inset-top), var(--tray-safe-top, 0px)) max(8px, env(safe-area-inset-right), var(--tray-safe-right, 0px))
- 8px max(8px, env(safe-area-inset-left), var(--tray-safe-left, 0px));
+ overflow-x: auto;
+ overscroll-behavior-x: contain;
+ scrollbar-width: none;
+ -webkit-overflow-scrolling: touch;
}
- /* HIG touch targets. A 30px icon button is a mis-tap on glass. */
- .dx-bar > .dx-group > .dx-btn,
- .dx-bar > .dx-group .dx-dd-trig,
- .dx-bar > .dx-insert-dd > .dx-dd-trig { min-height: 38px; justify-content: center; }
- .dx-bar .dx-btn:not(.dx-btn-save):not(.dxs-caret) { min-width: 38px; }
- /* Save is nested in .dxs-wrap, so it is not a direct child of a .dx-group and
- the min-height above never reached it: MEASURED at 375px, every icon button
- was 38px tall and Save — the one control on this bar a phone user is most
- likely to be aiming at — was 29px, sitting short in the row. It is exempt
- from the min-WIDTH (it keeps its word instead), not from the target size. */
- .dx-bar .dxs-wrap > .dx-btn,
- .dx-bar .dxs-caret { min-height: 38px; }
- .dx-bar .dx-menu .dx-btn { min-width: 0; min-height: 0; } /* menu rows are text */
- /* the trigger carets are the first thing to go: at this width the panel that
- opens is explanation enough, and 15px each is a whole button's worth */
- .dx-dd-trig > .dx-i:last-child { display: none; }
- .dx-title { flex: 0 1 90px; min-width: 36px; }
-}
-
-/* The smallest screen anyone still ships (320px). MEASURED there: the bar came
- to 348px and ⓘ hung 28px past the edge. The wordmark is the only thing left
- on the bar that does no work — and About, which is where "what IS this file"
- lives, is precisely what it was standing in front of. So the brand goes and
- the button stays. Everything else here is load-bearing. */
-@media (max-width: 380px) {
- /* The TEXT goes and the glyph STAYS. This rung used to drop the brand
- entirely, when the brand was only text and 380px could not afford it; a
- 20px logo can be afforded, and it leaves the narrowest bar with an
- identity and an About target instead of a blank corner. */
- .dx-mark-t { display: none; }
- /* …and the bar has since grown a ? button, which put it back over the edge:
- MEASURED at 351px the bar came to 382px against a 351px viewport, with ?
- hanging 31px past the right edge — Save and About still reachable, but the
- body scrolling sideways, which is the thing this section exists to stop.
- ? is what goes, because of everything in the bar it is the one control that
- cannot do anything here: the panel it opens is a table of KEYBOARD
- shortcuts, and this is a screen with no keyboard. Every other button does
- the same job at 351px that it does at 1600. */
- .dx-help-btn { display: none; }
+ .dx-bar::-webkit-scrollbar { display: none; }
+ /* …and since a scroll container clips BOTH axes, the menus hanging off +
+ and ⋯ come out of it as `fixed`, under the bar (--dx-bar-bottom is
+ published by topbar.ts — it moves with the safe-area insets). */
+ .dx-bar .dx-dd.open > .dx-menu,
+ .dx-bar .dxs-wrap.dxs-open > .dxs-menu {
+ position: fixed;
+ top: calc(var(--dx-bar-bottom, 56px) + 4px);
+ inset-inline-end: max(6px, env(safe-area-inset-right), var(--tray-safe-right, 0px));
+ inset-inline-start: auto;
+ }
+ .dx-bar .dx-insert-dd.open > .dx-menu {
+ inset-inline-start: max(6px, env(safe-area-inset-left), var(--tray-safe-left, 0px));
+ inset-inline-end: auto;
+ }
+ /* (nested menus inside ⋯ stay static — the rule above is for the outer) */
+ .dx-bar .dx-menu .dx-dd.open > .dx-menu { position: static; }
+
+ /* THE PROPERTIES PANEL GETS AN OBVIOUS CLOSE on a phone — it covers two
+ thirds of the screen, and the only way out was a 16px chevron on its edge. */
+ #app .dp-panel:not(.dp-shut) > .dx-panel-close { display: inline-flex; }
+}
+
+/* ————— Share ————— */
+.dx-share { position: relative; }
+.dx-share-n:empty { display: none; }
+.dx-share-n {
+ font-size: 11px; font-weight: 700; min-width: 16px; padding: 0 4px; border-radius: 8px;
+ background: var(--hover); color: var(--ink); text-align: center; line-height: 16px;
+}
+/* THE STATE IS A WORD AND A DOT TOGETHER: grey dormant, amber connecting,
+ green live (slides' .ed-btn-share). Never the dot alone. */
+.dx-share::after {
+ content: ''; position: absolute; top: 3px; inset-inline-end: 3px;
+ width: 7px; height: 7px; border-radius: 50%; background: #9aa4b2;
+}
+.dx-share.dx-share-wait::after { background: #d9a13b; animation: dx-live-pulse 1.1s ease-in-out infinite; }
+.dx-share.dx-share-live::after { background: #34a866; animation: none; }
+.dx-share.dx-share-live .dx-share-lab { color: var(--up-ink); font-weight: 600; }
+@keyframes dx-live-pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.3 } }
+@media (prefers-reduced-motion: reduce) { .dx-share.dx-share-wait::after { animation: none; } }
+.dx-menu.dx-share-pop {
+ min-width: 260px; max-width: min(300px, calc(100vw - 16px));
+ padding: 12px; gap: 6px;
+ inset-inline-start: auto; inset-inline-end: 0;
+}
+.dx-share-name { display: flex; align-items: center; gap: 8px; font-size: var(--fs-ui); color: var(--ink-2); }
+.dx-share-name > span { flex: none; }
+.dx-share-in {
+ flex: 1 1 auto; min-width: 0; font: inherit; font-size: var(--fs-ui);
+ padding: 4px 7px; border: 1px solid var(--line-strong); border-radius: 6px;
+ background: var(--field); color: var(--ink);
+}
+.dx-share-label {
+ font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
+ color: var(--muted); margin-top: 3px;
+}
+.dx-pitem {
+ display: flex; align-items: center; gap: 8px; width: 100%; font: inherit; font-size: var(--fs-ui);
+ padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); text-align: start;
+}
+button.dx-pitem { cursor: pointer; }
+button.dx-pitem:hover { background: var(--hover); }
+.dx-pme { background: var(--hover); font-weight: 600; }
+.dx-pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.dx-pwhere { margin-inline-start: auto; font-size: 11px; font-weight: 400; color: var(--muted); white-space: nowrap; }
+.dx-pdot {
+ flex: none; width: 18px; height: 18px; border-radius: 50%; color: #fff;
+ font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
+}
+.dx-pkick { margin-inline-start: 4px; padding: 0 4px; border-radius: 4px; color: var(--muted); cursor: pointer; }
+.dx-pkick:hover { color: var(--err-ink); background: var(--err-bg); }
+.dx-plist { display: flex; flex-direction: column; gap: 1px; }
+.dx-pnote { font-size: 12px; line-height: 1.45; color: var(--muted); }
+.dx-pstatus { font-size: 12.5px; font-weight: 600; color: var(--warn-ink); }
+.dx-pstatus.ok { color: var(--up-ink); }
+.dx-menu .dx-paction { font-size: 12.5px; }
+/* adjacent action rows touch, as in every other menu — the panel's gap spaces
+ its SECTIONS (slides' .ed-share-pop does the same) */
+.dx-share-pop > .dx-paction + .dx-paction { margin-block-start: -5px; }
+/* inside a menu the state dot sits after the word, not at the row's far edge */
+.dx-menu .dx-share::after { position: static; flex: none; margin-inline-start: 2px; }
+.dx-menu .dx-paction-danger { color: var(--err-ink); }
+.dx-menu .dx-paction-danger .dx-i { color: inherit; }
+
+/* one-line menu rows: the description is the tooltip and the accessible
+ description, never a second line (maintainer ruling D2) */
+.dx-mi { display: inline; }
+.dx-sr-only {
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
+ overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
+}
+
+/* ————— 🌐 ————— */
+.dx-menu.dx-lang-menu { inset-inline-start: auto; inset-inline-end: 0; min-width: 160px; }
+.dx-lang-on { font-weight: 700; }
+.dx-lang-on::after { content: ' ✓'; color: var(--accent-ink); }
+
+/* ————— the phone panel's close ————— */
+.dx-panel-close {
+ display: none; position: sticky; top: 0; float: inline-end; z-index: 2;
+ margin: 2px 0 0; align-items: center; justify-content: center;
+ min-width: 36px; min-height: 36px; font-size: 16px;
}
/* ————— findings: what import refused to decide ————— */
@@ -1745,19 +1763,17 @@ html, body {
and the vertical half was silently cancelled by a rule 700 lines away. */
.dg-canvas .dg-table { min-height: 100%; }
-/* A COMMENT is not an app action. `--accent` already means "this application
- did something here" — a filtered header, an fx chip, an override's bar — and
- a comment means "a person said something here", which is a different claim
- about the same cell. Declared here rather than in comments.css so the theme
- owns both halves of the pair. */
+/* ONE ACCENT. Comments were violet here — chosen because amber already meant
+ "the app did something" — which left dash with three accents (amber, violet
+ and the selection blue) where slides and spaces have one: slides' comment
+ pins are its amber. The review measured the three side by side and the
+ suite's rule is that slides is the reference for the chrome's look, so a
+ comment wears the accent: the marker and its rule in --accent, any TEXT in
+ --accent-ink (the amber itself is 2.02:1 on white and cannot be text). */
:root {
- --cmt: #7c5cff;
- --cmt-wash: #f2efff;
-}
-
-:root[data-theme="dark"] {
- --cmt: #a48bff;
- --cmt-wash: #241f3d;
+ --cmt: var(--accent);
+ --cmt-ink: var(--accent-ink);
+ --cmt-wash: var(--accent-wash);
}
/* ————— the spreadsheet kind (grid.ts, `kind: 'canvas'`) —————
diff --git a/dash/src/sync.css b/dash/src/sync.css
deleted file mode 100644
index 4410d9d0..00000000
--- a/dash/src/sync.css
+++ /dev/null
@@ -1,142 +0,0 @@
-/* SPDX-License-Identifier: MIT
- * Copyright (c) 2026 The Bento authors
- * The live-session / People panel. Imported by src/sync/people.ts, so it only
- * reaches the bundle when collaboration is wired in.
- *
- * Deliberately its own file rather than an addition to styles.css: sync is one
- * feature with one owner, and a panel that never mounts should not cost the
- * shell any bytes it cannot explain. Variables come from styles.css. */
-
-.dx-people {
- font: inherit;
- padding: 8px 10px;
-}
-
-.dx-people-head {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 6px;
-}
-
-/* Grey until the relay is actually open. A "Live" label that is only an
- * intention is the one thing this dot must never be. */
-.dx-people-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #8FA3BF;
- flex: none;
-}
-
-.dx-people-dot.on {
- background: #7FC8A9;
- box-shadow: 0 0 0 3px rgba(127, 200, 169, 0.22);
-}
-
-.dx-people-title {
- font-weight: 600;
- margin-inline-end: auto;
-}
-
-.dx-people-list {
- list-style: none;
- margin: 0;
- padding: 0;
- display: flex;
- flex-direction: column;
- gap: 2px;
-}
-
-.dx-people-list li {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 3px 2px;
- min-width: 0;
-}
-
-.dx-people-chip {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- flex: none;
-}
-
-/* The name is a claim, so it gets no more visual weight than the key that
- * actually proves something. */
-.dx-people-name {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.dx-people-role,
-.dx-people-key {
- font-size: 0.82em;
- opacity: 0.65;
- flex: none;
-}
-
-.dx-people-key {
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
-}
-
-.dx-people-x {
- margin-inline-start: auto;
- border: 0;
- background: none;
- cursor: pointer;
- opacity: 0.5;
- font: inherit;
- padding: 0 2px;
-}
-
-.dx-people-x:hover {
- opacity: 1;
-}
-
-.dx-people-empty {
- margin: 6px 2px 0;
- font-size: 0.9em;
- opacity: 0.6;
-}
-
-/* ————— the People panel, docked in the topbar —————
- mountPeople renders a full card: a heading, a toggle, a member list and an
- empty-state line. Dropped straight into the bar that is 103px of block
- content, and it pushed the toolbar from 56px to 118px.
- In the bar it is a CHIP: the live dot, the state, the toggle, and a colour
- swatch per collaborator. "You" and the nobody-else line are not news to the
- person reading them, and the full list belongs in a panel, not a strip. */
-.dx-bar .dx-people { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
-.dx-bar .dx-people-head { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
-.dx-bar .dx-people-empty { display: none; }
-.dx-bar .dx-people-list {
- display: flex; align-items: center; gap: 3px;
- margin: 0; padding: 0; list-style: none;
-}
-.dx-bar .dx-people-me { display: none; }
-.dx-bar .dx-people-list li { display: flex; align-items: center; }
-.dx-bar .dx-people-name { display: none; }
-.dx-bar .dx-people-title { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }
-/* and it collapses with everything else — see the topbar ladder in styles.css */
-@media (max-width: 1280px) { .dx-bar .dx-people-title { display: none; } }
-/* :not(.dx-live) — the off switch survives every width.
- This hid the toggle outright to buy bar width, and it is the only control
- that stops a running session: measured at 880px mid-session, "Stop sharing"
- appeared nowhere in the document and the sole trace was an 8px dot. A
- control that reports nothing may stand down; the off switch for something
- already happening may not. */
-@media (max-width: 900px) { .dx-bar .dx-people-toggle:not(.dx-live) { display: none; } }
-/* On a phone the chip stands down UNLESS somebody else is actually here.
- Measured at 390px: the dot and its toggle cost 20px more than the bar had,
- and About went off the edge — a presence indicator must not push the
- controls off a screen it is reporting nothing on. Peer swatches still show,
- because at that point it is saying something. */
-@media (max-width: 700px) {
- /* …unless it IS sharing, for the reason above: the chip may stand down when
- it has nothing to report, and may not when it is the only way to stop. */
- .dx-bar .dx-people:not(.dx-live):not(:has(.dx-people-list li:not(.dx-people-me))) { display: none; }
- .dx-bar .dx-people-toggle:not(.dx-live) { display: none; }
-}
diff --git a/dash/src/sync/people.ts b/dash/src/sync/people.ts
deleted file mode 100644
index 19b38aa2..00000000
--- a/dash/src/sync/people.ts
+++ /dev/null
@@ -1,127 +0,0 @@
-// SPDX-License-Identifier: MIT
-// Copyright (c) 2026 The Bento authors
-// The People panel: who is in this workbook, and (for the owner) who may stay.
-//
-// Presence names are CLAIMS, not proofs — anyone can type any name — but the
-// KEY beside them is a proof, because the relay verified the owner→invite→
-// member signature chain before letting that socket write. So the panel is
-// keyed by pubkey and shows the name as a label, which is the honest way round
-// and the one that makes Remove meaningful: removing a name would remove
-// nothing, removing a key ends that device's write access in seconds.
-//
-// Deliberately a mount function rather than a topbar button: main.ts is not
-// this task's to edit. `mountPeople(host, session, store)` is one line at the
-// call site — see docs/dash-collab.md, "What this needs from main.ts".
-
-import '../sync.css'
-import { t } from '../i18n.ts'
-import type { Store } from '../store.ts'
-import type { SyncSession, Peer } from './session.ts'
-import { collabOf, onlineTransport, startSharing, stopSharing, sharingOn } from './online.ts'
-
-const esc = (s: string): string =>
- s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;')
-
-/** short, stable, human-checkable form of a public key */
-const fingerprint = (pub: string): string => `${pub.slice(0, 4)}…${pub.slice(-4)}`
-
-const ROLE_LABEL: Record<string, string> = {
- owner: 'owner', editor: 'editor', viewer: 'view only',
-}
-
-/**
- * Mount the live/people panel into `host`. Returns a teardown.
- *
- * Renders on every presence change, which is at most one repaint per peer
- * heartbeat (5s) — the list is a handful of rows and nothing else on the page
- * depends on it.
- */
-export function mountPeople(host: HTMLElement, session: SyncSession, store: Store): () => void {
- host.classList.add('dx-people')
- // The HOST carries it too, because the 700px rule hides the whole chip and a
- // class on a child cannot save a parent that is display:none.
- host.classList.toggle('dx-live', sharingOn(store) && session.transportKinds.includes('online'))
-
- const render = () => {
- const c = collabOf(store.doc)
- const live = sharingOn(store) && session.transportKinds.includes('online')
- const iAmOwner = !!c?.ownerPriv
- const peers = session.peers()
- host.innerHTML =
- `<div class="dx-people-head${live ? ' dx-live' : ''}">` +
- `<span class="dx-people-dot${live ? ' on' : ''}"></span>` +
- `<span class="dx-people-title">${live ? 'Live' : 'Not sharing'}</span>` +
- // `dx-live` MARKS THE CHIP WHEN THERE IS SOMETHING TO STOP, and the
- // responsive rules key off it. Below 900px the toggle was hidden
- // unconditionally to buy bar width — which also removed the ONLY route to
- // "Stop sharing": measured at 880px with a session running, `collab.on`
- // true and the room live, the string was nowhere in the document and the
- // only trace was an 8px dot. About's nearest control is "Offline mode",
- // which blocks every network feature including update checks.
- //
- // Hiding a control that reports nothing is fine; hiding the off switch
- // for something already happening is not. So the collapse now applies
- // only when the workbook is NOT sharing.
- `<button class="dx-btn dx-people-toggle${live ? ' dx-live' : ''}" title="${esc(live
- ? t('Disconnect from the relay — collaborators stop seeing your edits')
- : t('Put this workbook on the relay so people you send a copy to edit it live with you'))}">` +
- `${live ? t('Stop sharing') : t('Start live session')}</button>` +
- `</div>` +
- `<ul class="dx-people-list">` +
- `<li class="dx-people-me"><span class="dx-people-chip" style="background:${esc(selfColor(session))}"></span>` +
- `<span class="dx-people-name">You</span></li>` +
- peers.map((p) => row(p, iAmOwner)).join('') +
- `</ul>` +
- (peers.length ? '' : `<p class="dx-people-empty">Nobody else is in this workbook.</p>`)
-
- host.querySelector('.dx-people-toggle')?.addEventListener('click', () => {
- if (live) stopSharing(session, store)
- else void startSharing(session, store)
- render()
- })
- host.querySelectorAll<HTMLElement>('[data-remove]').forEach((b) => {
- b.addEventListener('click', () => {
- const pub = b.dataset.remove!
- // Revocation is an OWNER-SIGNED statement the relay stores and
- // enforces; it is not a UI state. If the socket is not open there is
- // nobody to tell, so say so rather than pretending it worked.
- const tr = onlineTransport()
- if (!tr || !c?.owner || !c.ownerPriv) return
- void tr.revokeKey(pub, c.owner, c.ownerPriv).then((ok) => {
- if (!ok) console.warn('[bento-sync] not connected — nothing was revoked')
- })
- })
- })
- }
-
- const row = (p: Peer, iAmOwner: boolean): string => {
- const role = p.role ? ROLE_LABEL[p.role] ?? p.role : ''
- // Only a KEY can be removed, so a peer without one (an older build, or a
- // member whose device key has not reached us yet) gets no button rather
- // than a button that would quietly do nothing.
- const canRemove = iAmOwner && !!p.pub && p.role !== 'owner'
- return `<li>` +
- `<span class="dx-people-chip" style="background:${esc(p.color)}"></span>` +
- `<span class="dx-people-name">${esc(p.name)}</span>` +
- (role ? `<span class="dx-people-role">${esc(t(role))}</span>` : '') +
- (p.pub ? `<span class="dx-people-key" title="${esc(p.pub)}">${esc(fingerprint(p.pub))}</span>` : '') +
- (canRemove ? `<button class="dx-people-x" data-remove="${esc(p.pub!)}" title="${esc(t('Remove this device from the session'))}">✕</button>` : '') +
- `</li>`
- }
-
- const off = session.onPeers(render)
- render()
- return () => {
- off()
- host.innerHTML = ''
- host.classList.remove('dx-people')
- }
-}
-
-/** the colour this session shows to others, so "You" matches their chip */
-function selfColor(session: SyncSession): string {
- const COLORS = ['#FF9E8A', '#8FA3BF', '#7FC8A9', '#E8C468', '#C792EA', '#6AB7D6', '#E88AB0', '#A9C77F']
- let h = 0
- for (let i = 0; i < session.actor.length; i++) h = (h * 31 + session.actor.charCodeAt(i)) >>> 0
- return COLORS[h % COLORS.length]
-}
diff --git a/dash/src/tabs.ts b/dash/src/tabs.ts
index 6098a4bd..e0c9f46f 100644
--- a/dash/src/tabs.ts
+++ b/dash/src/tabs.ts
@@ -531,11 +531,11 @@ export function kindMarkSvg(kind: string): string {
/** Every `data-act` in the top bar. */
export type ActionId =
- | 'formula' | 'chart' | 'viz3d' | 'pivot' | 'dashboard' | 'story'
+ | 'formula' | 'chart' | 'viz3d' | 'pivot' | 'dashboard' | 'story' | 'comment'
| 'undo' | 'redo'
| 'import' | 'export' | 'import-xlsx' | 'export-xlsx'
| 'print'
- | 'save' | 'about' | 'settings' | 'help'
+ | 'save' | 'about' | 'help'
/**
* `on: 'workbook'` means the action is not about the sheet on screen at all —
@@ -588,6 +588,14 @@ export const ACTIONS: Readonly<Record<ActionId, ActionRule>> = {
? t('A story step saves a dataset’s view — its filters, sorts and chart. A spreadsheet has none.')
: t('A story step saves a dataset’s view — its filters, sorts and chart. This sheet has none.'),
},
+ // A comment anchors to a dataset CELL (a column id and a row id, so it
+ // survives a sort). A spreadsheet's cells have no such identity yet.
+ comment: {
+ on: ['table'],
+ why: (k) => k === 'canvas'
+ ? t('A comment anchors to a dataset’s cell, which keeps it through a sort — this is a spreadsheet.')
+ : t('A comment anchors to a dataset’s cell, and this sheet has none.'),
+ },
export: {
on: ['table'],
why: (k) => k === 'canvas'
@@ -610,10 +618,6 @@ export const ACTIONS: Readonly<Record<ActionId, ActionRule>> = {
print: { on: 'workbook' },
save: { on: 'workbook' },
about: { on: 'workbook' },
- // Language, appearance and the update check follow the READER and are kept in
- // this browser — none of them is a fact about a sheet, so no sheet kind can
- // make them inapplicable.
- settings: { on: 'workbook' },
help: { on: 'workbook' },
}
diff --git a/dash/src/topbar.ts b/dash/src/topbar.ts
new file mode 100644
index 00000000..95aa3d73
--- /dev/null
+++ b/dash/src/topbar.ts
@@ -0,0 +1,333 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// The top bar's fit, its phone fold, and the 🌐 language menu.
+//
+// SIZED BY MEASURING, NOT BY BREAKPOINTS — slides' fitTopbar/applyPhoneChrome
+// (slides/src/editor/editor.ts), ported. Dash used to step its bar down at
+// fixed widths (1600, 1380, 1040, 860, 760, 700, 380), each one measured once
+// against the bar as it was that day, and every control added since quietly
+// invalidated the numbers: measured at 390px the bar was 509px wide and the
+// DOCUMENT scrolled sideways, with About and Help unreachable. Browser zoom,
+// OS text size and a longer translation change how much room the same buttons
+// need at the same width, so a width cannot answer the question. The bar can.
+//
+// The tiers, as classes on `.dx-bar`, stepped down while the bar still
+// overflows its own box:
+//
+// dx-bar-compact button labels give way (icons and tooltips take over)
+// dx-bar-tight the wordmark goes; the glyph stays as the About button
+// dx-bar-fold the insert tools move under +, the occasional controls
+// under ⋯ (REPARENTED, never copied — a copy would need its
+// own listeners and would desync from live state such as the
+// unsaved dot and a disabled tool's reason)
+//
+// BELOW THE FOLD'S FLOOR THE BAR SCROLLS, NOT THE PAGE. Fully folded the bar
+// still needs its touch targets, the mark and the title; a 320px phone has
+// less. So on a phone the bar itself is `overflow-x: auto` and the menus that
+// hang off + and ⋯ are `position: fixed` (a scroll container clips BOTH axes —
+// CLAUDE.md hard-won 10), anchored under the bar through --dx-bar-bottom.
+
+// `translateKey` is t() under another name for the two DYNAMIC lookups below
+// (a key read off the screen, not a literal), so the catalog sweep in
+// scripts/test-dash-i18n.ts does not mistake them for a missing string.
+import { t, t as translateKey, locale, setLocale, localeChoices } from './i18n.ts'
+import { PACKED } from './i18n/packed.ts'
+import { ICONS } from './icons.ts'
+
+export interface TopbarHost {
+ app: HTMLElement
+ /** fill the Save-as list into ⋯ (marked, so it can be torn down again) */
+ fillSaveAs: (into: HTMLElement, close: () => void) => void
+ /** About and Settings — reachable from ⋯ on a phone */
+ openAbout: () => void
+ openSettings: () => void
+ /** re-render whatever builds its strings on demand after a language switch */
+ afterLocale: () => void
+}
+
+export interface Topbar {
+ fit(): void
+ /** is the bar folded right now (phone chrome)? */
+ folded(): boolean
+}
+
+const PHONE_W = 700
+const TIERS = ['dx-bar-compact', 'dx-bar-tight', 'dx-bar-fold'] as const
+
+/** Every open dropdown except `keep` and anything containing it. */
+export function shutMenus(root: ParentNode, keep?: Element | null): void {
+ for (const dd of root.querySelectorAll('.dx-dd.open')) {
+ if (keep && (dd === keep || dd.contains(keep))) continue
+ dd.classList.remove('open')
+ }
+}
+
+export function installTopbar(host: TopbarHost): Topbar {
+ const { app } = host
+ const bar = app.querySelector<HTMLElement>('.dx-bar')!
+ const insert = bar.querySelector<HTMLElement>('.dx-insert')!
+ const insertDd = bar.querySelector<HTMLElement>('.dx-insert-dd')!
+ const insertMenu = insertDd.querySelector<HTMLElement>('.dx-menu')!
+ const end = bar.querySelector<HTMLElement>('.dx-bar-end')!
+ const moreDd = bar.querySelector<HTMLElement>('.dx-more-dd')!
+ const moreMenu = moreDd.querySelector<HTMLElement>('.dx-more-menu')!
+
+ // --- 🌐 language, rebuilt LIVE ----------------------------------------------
+ const langDd = languageDropdown(host)
+ // The end group in the house order: … Data · Share · Format · Save · 🌐 · ?
+ const q = (sel: string) => end.querySelector<HTMLElement>(sel)
+ const order = [q('.dx-data-dd'), q('.dx-share-dd'), q('.dx-format-btn'), q('.dxs-wrap') ?? q('.dx-btn-save'), langDd, q('.dx-help-btn')]
+ for (const n of order) if (n) end.appendChild(n)
+
+ // ⋯'s own two rows: About and Settings, which have no bar button of their
+ // own on a phone (the mark is the About button, but a 20px glyph is not a
+ // door anybody finds on glass).
+ const fixed = document.createElement('div')
+ fixed.className = 'dx-more-fixed'
+ const row = (icon: string, label: string, run: () => void): HTMLElement => {
+ const b = document.createElement('button')
+ b.type = 'button'
+ b.className = 'dx-btn'
+ b.innerHTML = icon
+ const s = document.createElement('span')
+ s.textContent = label
+ b.append(s)
+ b.addEventListener('click', () => { shutMenus(app); run() })
+ return b
+ }
+ fixed.append(row(ICONS.info, t('About this workbook'), host.openAbout), row(ICONS.gear, t('Settings'), host.openSettings))
+
+ // demoted into ⋯ on the fold, in this order
+ const demote = [
+ bar.querySelector<HTMLElement>('[data-act="redo"]'),
+ bar.querySelector<HTMLElement>('[data-act="comment"]'),
+ q('.dx-data-dd'), q('.dx-share-dd'), langDd, q('.dx-help-btn'),
+ ].filter((x): x is HTMLElement => !!x)
+
+ // The authored desktop layout, captured once the bar is assembled. Unfolding
+ // REPLAYS it rather than guessing where each button belonged (slides found
+ // that guessing moved Comment between groups and put Save after Help).
+ const authored = new Map<HTMLElement, HTMLElement[]>()
+ const homeOf = new Map<HTMLElement, HTMLElement>()
+ for (const g of [bar.querySelector<HTMLElement>('.dx-history')!, insert, end]) {
+ authored.set(g, [...g.children] as HTMLElement[])
+ for (const k of g.children) homeOf.set(k as HTMLElement, g)
+ }
+
+ let phoneOn: boolean | null = null
+ const applyPhone = (on: boolean): void => {
+ if (phoneOn === on) return
+ const fresh = phoneOn === null
+ phoneOn = on
+ if (on) {
+ while (insert.firstChild) insertMenu.appendChild(insert.firstChild)
+ for (const b of demote) {
+ // an icon-only control gets its tooltip as a caption inside the menu,
+ // minus the shortcut: "Redo (⇧⌘Z)" -> "Redo"
+ const face = b.classList.contains('dx-dd') ? b.firstElementChild as HTMLElement | null : b
+ if (face && !face.querySelector('span') && face.title) {
+ const lab = document.createElement('span')
+ lab.dataset.phoneLabel = '1'
+ lab.textContent = face.title.split('(')[0].split('—')[0].trim()
+ face.appendChild(lab)
+ }
+ moreMenu.appendChild(b)
+ }
+ moreMenu.appendChild(fixed)
+ } else if (!fresh) {
+ while (insertMenu.firstChild) insert.appendChild(insertMenu.firstChild)
+ for (const lab of moreMenu.querySelectorAll('[data-phone-label]')) lab.remove()
+ for (const r of moreMenu.querySelectorAll('[data-phone-saveas]')) r.remove()
+ fixed.remove()
+ for (const b of demote) homeOf.get(b)?.appendChild(b)
+ for (const [group, kids] of authored) for (const k of kids) if (k.parentElement === group) group.appendChild(k)
+ moreDd.classList.remove('open')
+ insertDd.classList.remove('open')
+ }
+ }
+
+ let mo: MutationObserver | null = null
+ const fit = (): void => {
+ if (!bar.isConnected) return
+ if (window.innerWidth <= PHONE_W) {
+ bar.classList.add(...TIERS)
+ applyPhone(true)
+ mo?.takeRecords()
+ return
+ }
+ // Re-fitting starts by unfolding, which reparents buttons and would slam a
+ // menu shut under the reader. Skip while one is open.
+ if (bar.querySelector('.dx-dd.open')) return
+ // scrollWidth counts content sticking out of the padding box even with
+ // overflow visible, so this IS the clipped-buttons condition. 1px slack
+ // absorbs subpixel rounding at fractional zoom.
+ const overflow = () => bar.scrollWidth - bar.clientWidth > 1
+ // The title is the only shrinkable item, so flexbox crushes it before
+ // anything overflows: step down while it is squeezed badly, too.
+ const title = bar.querySelector<HTMLElement>('.dx-title')
+ const cramped = () => overflow() || (!!title && title.getBoundingClientRect().width < 120)
+ bar.classList.remove(...TIERS)
+ applyPhone(false)
+ if (cramped()) bar.classList.add('dx-bar-compact')
+ if (cramped()) bar.classList.add('dx-bar-tight')
+ if (overflow()) {
+ bar.classList.add('dx-bar-fold')
+ applyPhone(true)
+ }
+ // the class flips and reparenting queued records of their own; drop them,
+ // or the observer re-runs this forever
+ mo?.takeRecords()
+ }
+
+ // ⋯ carries the Save-as list too on a fold (the split caret does not fit
+ // beside a phone's Save). Filled BEFORE it opens: the list is live state.
+ moreDd.querySelector('.dx-more-trig')!.addEventListener('click', () => {
+ for (const r of moreMenu.querySelectorAll('[data-phone-saveas]')) r.remove()
+ if (!phoneOn || moreDd.classList.contains('open')) return
+ const sep = document.createElement('div')
+ sep.className = 'dx-menu-sep'
+ sep.dataset.phoneSaveas = '1'
+ moreMenu.insertBefore(sep, fixed.isConnected ? fixed : null)
+ const box = document.createElement('div')
+ host.fillSaveAs(box, () => shutMenus(app))
+ for (const n of [...box.children] as HTMLElement[]) {
+ n.dataset.phoneSaveas = '1'
+ moreMenu.insertBefore(n, fixed.isConnected ? fixed : null)
+ }
+ }, true)
+
+ // A command picked from + or ⋯ shuts the menu — a dropdown TRIGGER parked
+ // there (Data, Share, 🌐) opens its own section instead.
+ for (const m of [insertMenu, moreMenu]) {
+ m.addEventListener('click', (e) => {
+ const b = (e.target as Element).closest('.dx-btn')
+ if (!b || !m.contains(b)) return
+ if (b.classList.contains('dx-dd-trig') || b.classList.contains('dx-share')) return
+ if (b.closest('.dx-share-pop')) return
+ queueMicrotask(() => shutMenus(app))
+ })
+ }
+
+ fit()
+ const ro = new ResizeObserver(() => fit())
+ ro.observe(bar)
+ window.addEventListener('resize', fit)
+ mo = new MutationObserver(() => fit())
+ mo.observe(bar, { childList: true, subtree: true, characterData: true, attributes: true, attributeFilter: ['style', 'hidden'] })
+
+ // Where the bar ends, for the fixed-position phone menus.
+ const publish = () => app.style.setProperty('--dx-bar-bottom', `${Math.round(bar.getBoundingClientRect().bottom)}px`)
+ new ResizeObserver(publish).observe(bar)
+ window.addEventListener('resize', publish)
+ publish()
+
+ return { fit, folded: () => !!phoneOn }
+}
+
+// --- the 🌐 menu --------------------------------------------------------------
+
+function languageDropdown(host: TopbarHost): HTMLElement {
+ const wrap = document.createElement('div')
+ wrap.className = 'dx-dd dx-lang-dd'
+ const trig = document.createElement('button')
+ trig.type = 'button'
+ trig.className = 'dx-btn dx-dd-trig dx-lang-trig'
+ trig.title = t('Language')
+ trig.setAttribute('aria-label', t('Language'))
+ trig.innerHTML = ICONS.globe
+ const menu = document.createElement('div')
+ menu.className = 'dx-menu dx-lang-menu'
+ const fill = () => {
+ menu.textContent = ''
+ for (const c of localeChoices()) {
+ const b = document.createElement('button')
+ b.type = 'button'
+ b.className = 'dx-btn'
+ b.dataset.lang = c.code
+ const s = document.createElement('span')
+ s.textContent = c.label
+ b.append(s)
+ if (c.code === locale()) b.classList.add('dx-lang-on')
+ b.addEventListener('click', () => {
+ wrap.classList.remove('open')
+ switchLocale(c.code, host)
+ fill()
+ })
+ menu.append(b)
+ }
+ }
+ fill()
+ wrap.append(trig, menu)
+ trig.addEventListener('click', (e) => {
+ e.stopPropagation()
+ const opening = !wrap.classList.contains('open')
+ shutMenus(host.app, wrap)
+ wrap.classList.toggle('open', opening)
+ })
+ return wrap
+}
+
+/**
+ * Switch the interface language NOW, without a reload.
+ *
+ * Slides rebuilds its whole editor from code. Dash cannot: main.ts builds the
+ * app once, from one template, with several hundred listeners hanging off it,
+ * and re-running boot would mint a second store and a second sync session.
+ * Reloading is worse — a file:// page reloads from DISK and the unsaved edits
+ * go with it.
+ *
+ * So the chrome is translated IN PLACE. Every UI string is English-as-key, so
+ * the text on screen under the OLD locale can be mapped back to its key and
+ * re-translated under the new one: text nodes, and the title, placeholder and
+ * aria-label attributes. A string with a {placeholder} was interpolated and
+ * cannot be matched, so whatever renders those (panels, the tabs, the share
+ * button) is asked to re-render through `afterLocale`. An ambiguous match —
+ * two keys rendering the same text in the old language and differently in the
+ * new — is left alone rather than guessed.
+ */
+export function switchLocale(code: string, host: Pick<TopbarHost, 'afterLocale'>): void {
+ const from = locale()
+ if (code === from) return
+ // the reverse map is built under the OLD locale, before the switch
+ const rev = new Map<string, string[]>()
+ for (const key of Object.keys(PACKED)) {
+ if (key.includes('{')) continue
+ const shown = translateKey(key)
+ const list = rev.get(shown)
+ if (list) list.push(key)
+ else rev.set(shown, [key])
+ }
+ setLocale(code)
+ const translate = (s: string): string | null => {
+ const v = s.trim()
+ if (!v) return null
+ const keys = rev.get(v)
+ if (!keys) return null
+ const outs = new Set(keys.map((k) => translateKey(k)))
+ if (outs.size !== 1) return null
+ const out = [...outs][0]
+ return out === v ? null : s.replace(v, out)
+ }
+ const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT)
+ const texts: Text[] = []
+ for (let n = walker.nextNode(); n; n = walker.nextNode()) texts.push(n as Text)
+ for (const n of texts) {
+ const p = n.parentElement
+ // never the document: a cell's text or a sheet name that happens to equal
+ // a UI string is the author's, not ours
+ if (!p || p.closest('.dg-sizer, .dg-head-row, .dx-grid .dg-cell, input, textarea, [contenteditable="true"]')) continue
+ const out = translate(n.data)
+ if (out !== null) n.data = out
+ }
+ for (const el of document.body.querySelectorAll<HTMLElement>('[title], [placeholder], [aria-label], [data-tip]')) {
+ if (el.closest('.dg-sizer')) continue
+ // data-tip: a gated tool's own tooltip, parked while a reason replaces it
+ for (const a of ['title', 'placeholder', 'aria-label', 'data-tip']) {
+ const v = el.getAttribute(a)
+ if (v === null) continue
+ const out = translate(v)
+ if (out !== null) el.setAttribute(a, out)
+ }
+ }
+ host.afterLocale()
+}
diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md
index 5a75035b..3ad28fe5 100644
--- a/docs/DECISIONS.md
+++ b/docs/DECISIONS.md
@@ -11545,6 +11545,41 @@ installed jsdom.
step red. It also checks that every allowlist entry's rig still prints its
line, and that every rig step in every CI file runs through the wrapper.
+## 2026-10-20 — dash: the shell takes slides' chrome (Share popover, measured bar, live language)
+
+Dash's bar, Save menu and sharing now follow slides and spaces, per the rule
+that slides is the chrome reference. Four things a later session could undo
+by accident:
+
+- **Sharing is a popover, and connecting needs eligibility.** The one-click
+ "Start live session" chip is gone; dash/src/shareui.ts is spaces' Share
+ panel. Nothing connects until Go live (or a live copy is sent). A workbook
+ that arrives SHARED — saved with its session on, an invite, a view-only copy
+ — rejoins its room on open through `SyncSession.shareEligible()`, which is
+ what slides and spaces do. Before this, dash never joined on open, so a copy
+ sent to someone stayed offline. A fresh workbook or template still never
+ connects: the keys are minted a beat after boot, so only the eligibility
+ test stands between the first edit and the relay.
+- **Copies for someone else go through the kernel copy table.**
+ dash/src/docclass.ts is dash's field map (exhaustive over DashDoc's declared
+ keys, enforced by tsc); dash/src/share.ts builds the reading copy ('package'),
+ the invite ('invite') and the view-only copy ('reader') with it, so a
+ top-level field this build does not declare is dropped from all three.
+- **The bar is fitted by measuring, not by breakpoints.** dash/src/topbar.ts
+ ports slides' fitTopbar and fold. Below the fold the BAR scrolls, never the
+ document, and the +/⋯ menus are position: fixed under it. Widgets parked in
+ ⋯ (Share, 🌐, Data) render inline (CLAUDE.md hard-won 9 and 10).
+- **The language switches live by translating in place.** Slides rebuilds its
+ editor. Dash builds its app once from one template, so re-running boot would
+ mint a second store and sync session, and a reload of a file:// page drops
+ unsaved work. Instead the visible strings are mapped back to their
+ English-as-key source under the old locale and re-translated. Interpolated
+ strings are re-rendered by their owners.
+
+Comments take the accent colour. The violet `--cmt` was dash's own and read as
+a third accent next to amber and the selection blue; slides' comment pins are
+amber.
+
## 2026-10-20 — dash: a column header click selects; sorting is a command
In dash a click on a column header (dataset name or spreadsheet letter) selects
diff --git a/docs/dash-collab.md b/docs/dash-collab.md
index 246d005b..437b838e 100644
--- a/docs/dash-collab.md
+++ b/docs/dash-collab.md
@@ -550,8 +550,9 @@ real hole rather than a stylistic one.
7. Construct the session, mount the panel, connect on eligibility, and stamp
the state on save — about six lines:
- `const sync = new SyncSession(store)`, `mountPeople(el, sync, store)`,
- `if (sync.shareEligible()) joinFromDoc(sync, store)`,
+ `const sync = new SyncSession(store)`, the Share popover (`shareui.ts`,
+ whose `tryJoin()` is `if (sync.shareEligible()) joinFromDoc(sync, store)` —
+ done 2026-10-20),
`sync.stampInto(store.doc)` before serializing, and `sync.setSheet(id)` when
the visible sheet changes.
@@ -578,7 +579,8 @@ project. When that project happens, these two files are the callers to
reconcile.
**Written for dash:** the engine (`crdt.ts`), the patch tap and snapshot policy
-(`session.ts`), and the People panel (`people.ts`).
+(`session.ts`), and the Share popover with its People list (`shareui.ts`,
+spaces' panel, which replaced the old `people.ts` chip).
---
diff --git a/scripts/test-dash-actions.ts b/scripts/test-dash-actions.ts
index 4b87b542..de5622f5 100644
--- a/scripts/test-dash-actions.ts
+++ b/scripts/test-dash-actions.ts
@@ -104,7 +104,7 @@ console.log('the table and the toolbar agree')
// 2. the helper barBtn('chart', …)
// 3. assigned property dataset.act = 'help' (help.ts's ? button)
for (const m of src.matchAll(/data-act=["']([a-z0-9-]+)["']/g)) inBar.add(m[1])
- for (const m of src.matchAll(/\bbarBtn\(\s*['"]([a-z0-9-]+)['"]/g)) inBar.add(m[1])
+ for (const m of src.matchAll(/\b(?:barBtn|iconBtn)\(\s*['"]([a-z0-9-]+)['"]/g)) inBar.add(m[1])
for (const m of src.matchAll(/dataset\.act\s*=\s*['"]([a-z0-9-]+)['"]/g)) inBar.add(m[1])
}
ok(inBar.size >= 12, `found the bar's actions in the source (${inBar.size})`)
@@ -162,13 +162,16 @@ console.log('\nthe matrix')
// WRITTEN OUT, not derived. A check that asked the table what the table says
// would pass no matter what the table said; these are the answers a reader of
// docs/dash-sheet-kinds.md would give, independently.
- const dataset: ActionId[] = ['formula', 'chart', 'viz3d', 'pivot', 'story', 'export']
+ // comment: an anchor is a dataset cell (column id + row id), so it is
+ // dataset-scoped like the rest of this row
+ const dataset: ActionId[] = ['formula', 'chart', 'viz3d', 'pivot', 'story', 'export', 'comment']
const workbook: ActionId[] = [
'dashboard', 'undo', 'redo', 'import', 'import-xlsx', 'export-xlsx',
// Print is workbook-scoped: the dialog prints EITHER kind, and its default
// scope is the sheet on screen whatever that sheet is.
'print',
- 'save', 'about', 'settings', 'help',
+ // (Settings left the bar for About's footer and ⋯ — it is not a bar action)
+ 'save', 'about', 'help',
]
ok(dataset.every((a) => actionApplies(a, 'table')),
'every dataset action runs on a dataset')
diff --git a/scripts/test-dash-chrome-browser.mjs b/scripts/test-dash-chrome-browser.mjs
new file mode 100644
index 00000000..376e97ba
--- /dev/null
+++ b/scripts/test-dash-chrome-browser.mjs
@@ -0,0 +1,337 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// dash's shell matches slides' and spaces': the bar's order and look, one-line
+// menus, the Share popover, the 🌐 menu, and a phone bar that never scrolls the
+// page.
+//
+// npm run build:single --prefix dash && node scripts/test-dash-chrome-browser.mjs
+// (DASH_SHELL=/path/to/Bento_Dash.bento.html to point it at another build)
+//
+// WHAT THIS PROVES, measured in the packaged document:
+// 1. THE HOUSE ORDER. Left to right: mark · title · undo · redo · the insert
+// tools · Comment · … · Share · Save · 🌐 · ?. No version text and no
+// settings/theme button in the bar. Save is INK-FILLED (slides' primary).
+// 2. SAVE ▾ IS ONE LINE PER ITEM — an icon, the name, the description as a
+// tooltip — and carries Version history…, Copy document JSON, Replace from
+// JSON… and Start from scratch…, as slides' does.
+// 3. SHARE IS A POPOVER AND NOTHING CONNECTS UNTIL "GO LIVE". Every
+// WebSocket the page constructs is recorded: none at boot, none on opening
+// the popover; "Go live" opens exactly one to the relay (the positive
+// control — it shows the recorder sees connections at all).
+// 4. THE LIVE STATE IS A WORD AT EVERY WIDTH: the Share button's label is
+// visible at 1440 and 1024, and on a folded bar it is a labelled row in ⋯.
+// 5. 🌐 SWITCHES THE LANGUAGE LIVE — no reload (a marker survives), and the
+// bar's labels come back translated.
+// 6. "START FROM SCRATCH…" leaves one blank sheet, and ⌘Z brings the whole
+// workbook back.
+// 7. PHONE (320/360/390, touch): the DOCUMENT never scrolls sideways
+// (scrollWidth ≤ the device width); ⋯ is reachable and carries About, Settings,
+// Language, Help and Share; Share opens INSIDE ⋯ without closing it; the
+// properties panel has a visible ✕ that closes it.
+// 8. ONE ACCENT: the comment colour is the accent, and the Comment tool in
+// the bar opens the composer.
+const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright')
+
+let checks = 0
+let failures = 0
+function ok(cond, msg) {
+ checks++
+ if (!cond) { failures++; console.log(` FAIL ${msg}`) } else console.log(` ok ${msg}`)
+}
+const SHELL = process.env.DASH_SHELL
+ ? new URL(`file://${process.env.DASH_SHELL}`).href
+ : new URL('../dash/dist-single/Bento_Dash.bento.html', import.meta.url).href
+
+const browser = await chromium.launch({ executablePath: process.env.CHROME_PATH, headless: true })
+
+/** A page with every WebSocket recorded (and never really opened). */
+async function fresh({ w = 1440, h = 900, mobile = false, accept = false } = {}) {
+ const ctx = await browser.newContext({ viewport: { width: w, height: h }, isMobile: mobile, hasTouch: mobile })
+ await ctx.addInitScript(() => {
+ window.__ws = []
+ window.WebSocket = class extends EventTarget {
+ constructor(u) { super(); window.__ws.push(String(u)); this.readyState = 0 }
+ send() {} close() {}
+ }
+ })
+ const p = await ctx.newPage()
+ p.on('dialog', (d) => (accept ? d.accept() : d.dismiss()).catch(() => {}))
+ const errors = []
+ p.on('pageerror', (e) => errors.push(e.message))
+ await p.goto(SHELL)
+ await p.waitForSelector('.dx-bar', { timeout: 15000 })
+ await p.waitForTimeout(500)
+ return { p, ctx, errors }
+}
+const tryIt = async (fn) => { try { return await fn() } catch (e) { return `ERR ${String(e.message).split('\n')[0]}` } }
+
+// ============================================================ 1 · order and look
+console.log('the bar, at 1440')
+{
+ const { p, ctx, errors } = await fresh()
+ const m = await p.evaluate(() => {
+ const bar = document.querySelector('.dx-bar')
+ const x = (sel) => { const el = bar.querySelector(sel); if (!el || !el.offsetParent) return null; return el.getBoundingClientRect().x }
+ const ink = (() => { const d = document.createElement('div'); d.style.color = getComputedStyle(document.documentElement).getPropertyValue('--ink'); document.body.append(d); const c = getComputedStyle(d).color; d.remove(); return c })()
+ const save = bar.querySelector('[data-act="save"]')
+ return {
+ xs: {
+ mark: x('.dx-mark'), title: x('.dx-title'), undo: x('[data-act="undo"]'), redo: x('[data-act="redo"]'),
+ formula: x('[data-act="formula"]'), story: x('[data-act="story"]'), comment: x('[data-act="comment"]'),
+ share: x('.dx-share'), save: x('[data-act="save"]'), lang: x('.dx-lang-trig'), help: x('.dx-help-btn'),
+ },
+ text: bar.textContent,
+ settingsInBar: !!bar.querySelector('[data-act="settings"]'),
+ saveBg: save ? getComputedStyle(save).backgroundColor : '', ink,
+ }
+ })
+ const order = ['mark', 'title', 'undo', 'redo', 'formula', 'story', 'comment', 'share', 'save', 'lang', 'help']
+ const missing = order.filter((k) => m.xs[k] == null)
+ ok(missing.length === 0, `every control of the house order is in the bar${missing.length ? ` — missing: ${missing.join(', ')}` : ''}`)
+ const seq = order.filter((k) => m.xs[k] != null)
+ const sorted = [...seq].sort((a, b) => m.xs[a] - m.xs[b])
+ ok(seq.join(' ') === sorted.join(' '), `left to right: ${order.join(' · ')} (measured: ${sorted.join(' · ')})`)
+ ok(!/\bv\d+\.\d+\.\d+/.test(m.text), 'no version text in the bar (it lives in About)')
+ ok(!m.settingsInBar, 'no settings/theme button in the bar (Settings is reached from About and ⋯)')
+ ok(m.saveBg === m.ink, `Save is ink-filled, the suite's primary (background ${m.saveBg}, --ink ${m.ink})`)
+ ok(errors.length === 0, `no page errors${errors.length ? `: ${errors[0]}` : ''}`)
+ await ctx.close()
+}
+
+// ============================================================ 2 · Save ▾
+console.log('\nthe Save ▾ menu')
+{
+ const { p, ctx } = await fresh()
+ await p.locator('.dxs-caret').click()
+ await p.waitForTimeout(150)
+ const rows = await p.evaluate(() => [...document.querySelectorAll('.dxs-menu .dxs-item')].map((b) => ({
+ name: (b.querySelector('.dx-mi-name') ?? b).textContent.trim(),
+ h: b.getBoundingClientRect().height,
+ tip: b.title,
+ icon: !!b.querySelector('svg'),
+ small: !!b.querySelector('small'),
+ shownText: [...b.querySelectorAll('*')].filter((n) => n.childElementCount === 0 && n.offsetParent && n.getBoundingClientRect().height > 2).map((n) => n.textContent.trim()).filter(Boolean),
+ })))
+ ok(rows.length >= 8, `the menu has its rows (${rows.length})`)
+ const tall = rows.filter((r) => r.h > 34 || r.small || r.shownText.length > 1)
+ ok(tall.length === 0, `every row is ONE line (≤34px, one visible run of text)${tall.length ? ` — two-line: ${tall.map((r) => `${r.name} ${Math.round(r.h)}px`).join(', ')}` : ''}`)
+ ok(rows.every((r) => r.icon), 'every row has an icon')
+ ok(rows.filter((r) => r.name !== 'Save').every((r) => r.tip.length > 10), 'every row\'s description is its TOOLTIP')
+ for (const want of ['Version history…', 'Copy document JSON', 'Replace from JSON…', 'Start from scratch…']) {
+ ok(rows.some((r) => r.name === want), `"${want}" is in Save ▾, as in slides`)
+ }
+ await ctx.close()
+}
+
+// ============================================================ 3 · Share gating
+console.log('\nShare: a popover, and nothing connects until "Go live"')
+{
+ const { p, ctx } = await fresh()
+ ok((await p.evaluate(() => window.__ws.length)) === 0, 'a fresh workbook opens NO socket at boot')
+ // …nor on an EDIT. The collaboration keys are minted a beat after boot, so
+ // "sharing on" is true from then on; only the eligibility gate (the file
+ // arrived shared, or the reader chose to share) stands between the first
+ // keystroke and the relay. Measured without that gate: this edit connected.
+ await p.locator('.dg-row .dg-cell[data-ci]').nth(2).click()
+ await p.keyboard.type('edited')
+ await p.keyboard.press('Enter')
+ await p.waitForTimeout(300)
+ ok((await p.evaluate(() => window.__ws.length)) === 0, 'and an edit does not connect it either')
+ const opened = await tryIt(async () => { await p.locator('.dx-share').click(); await p.waitForTimeout(200); return true })
+ ok(opened === true, `the Share button opens a popover (${opened})`)
+ const pop = await p.evaluate(() => {
+ const el = document.querySelector('.dx-share-pop')
+ if (!el || !el.offsetParent) return null
+ return {
+ name: !!el.querySelector('input'),
+ text: el.textContent,
+ acts: [...el.querySelectorAll('[data-share]')].map((b) => b.dataset.share),
+ }
+ })
+ ok(!!pop && pop.name, 'the popover asks for your name')
+ ok(!!pop && /People/.test(pop.text) && /Share a copy/i.test(pop.text), 'it lists People and offers "Share a copy"')
+ ok(!!pop && ['reading', 'invite', 'viewonly', 'golive'].every((a) => pop.acts.includes(a)),
+ `reading copy · invite to edit · view-only copy · Go live are all there (${pop ? pop.acts.join(', ') : 'no popover'})`)
+ ok((await p.evaluate(() => window.__ws.length)) === 0, 'opening the popover connects nothing')
+ await tryIt(() => p.locator('[data-share="golive"]').click())
+ await p.waitForTimeout(400)
+ const ws = await p.evaluate(() => window.__ws)
+ ok(ws.length === 1 && /^wss:\/\/[^/]+\/d\/w/.test(ws[0]), `"Go live" opens exactly one socket, to the room (positive control: ${ws.length} recorded)`)
+ const lab = await p.evaluate(() => document.querySelector('.dx-share-lab')?.textContent)
+ ok(lab === 'Live', `and the button now SAYS so: "${lab}"`)
+ // A FILE THAT ARRIVES SHARED REJOINS ITS ROOM — which is what makes an invite
+ // or a view-only copy worth sending. Saved from the live page, reopened: one
+ // socket at boot, with no click. (The fresh workbook above opened none.)
+ const html = await p.evaluate(() => window.bento.serialize())
+ await ctx.close()
+ const { writeFileSync, mkdtempSync } = await import('node:fs')
+ const { join } = await import('node:path')
+ const { tmpdir } = await import('node:os')
+ const file = join(mkdtempSync(join(tmpdir(), 'dash-chrome-')), 'shared.bento.html')
+ writeFileSync(file, html)
+ const ctx2 = await browser.newContext({ viewport: { width: 1440, height: 900 } })
+ await ctx2.addInitScript(() => {
+ window.__ws = []
+ window.WebSocket = class extends EventTarget {
+ constructor(u) { super(); window.__ws.push(String(u)); this.readyState = 0 }
+ send() {} close() {}
+ }
+ })
+ const p2 = await ctx2.newPage()
+ await p2.goto(new URL(`file://${file}`).href)
+ await p2.waitForSelector('.dx-bar', { timeout: 15000 })
+ await p2.waitForTimeout(600)
+ const ws2 = await p2.evaluate(() => window.__ws)
+ ok(ws2.length === 1, `a saved SHARED workbook rejoins its room on open (${ws2.length} socket at boot)`)
+ await ctx2.close()
+}
+
+// ============================================================ 4 · the word at every width
+console.log('\nthe live state is a word at every width')
+for (const w of [1440, 1024, 768]) {
+ const { p, ctx } = await fresh({ w })
+ const r = await p.evaluate(() => {
+ const lab = document.querySelector('.dx-share-lab')
+ const inMore = !!lab?.closest('.dx-more-menu')
+ const vis = lab && lab.getBoundingClientRect().width > 8 && getComputedStyle(lab).display !== 'none'
+ return { inMore, vis, text: lab?.textContent ?? '' }
+ })
+ if (r.inMore) {
+ await tryIt(() => p.locator('.dx-more-trig').click())
+ await p.waitForTimeout(150)
+ const v = await p.evaluate(() => { const l = document.querySelector('.dx-more-menu .dx-share-lab'); return !!l && l.getBoundingClientRect().width > 8 })
+ ok(v && r.text.length > 0, `${w}px: the bar is folded and Share is a LABELLED row in ⋯ ("${r.text}")`)
+ } else {
+ ok(r.vis && r.text.length > 0, `${w}px: the Share button carries its word in the bar ("${r.text}")`)
+ }
+ await ctx.close()
+}
+
+// ============================================================ 5 · 🌐, live
+console.log('\nthe 🌐 menu switches the language without a reload')
+{
+ const { p, ctx } = await fresh()
+ await p.evaluate(() => { window.__marker = 'still-here' })
+ const did = await tryIt(async () => {
+ await p.locator('.dx-lang-trig').click()
+ await p.locator('.dx-lang-menu [data-lang="ja"]').click()
+ await p.waitForTimeout(300)
+ return true
+ })
+ ok(did === true, `🌐 is in the bar and offers 日本語 (${did})`)
+ const r = await p.evaluate(() => ({
+ marker: window.__marker,
+ save: document.querySelector('.dx-save-lab')?.textContent,
+ formula: document.querySelector('[data-act="formula"] span')?.textContent,
+ }))
+ ok(r.marker === 'still-here', 'no reload happened (a reload of a file:// page would drop unsaved work)')
+ ok(r.save === '保存' && r.formula === '数式', `the bar is Japanese at once — Save "${r.save}", Formula "${r.formula}"`)
+ await p.evaluate(() => localStorage.removeItem('bento-lang'))
+ await ctx.close()
+}
+
+// ============================================================ 6 · Start from scratch
+console.log('\nStart from scratch…')
+{
+ const { p, ctx } = await fresh({ accept: true })
+ const before = await p.evaluate(() => [...document.querySelectorAll('.dx-tab')].length)
+ const did = await tryIt(async () => {
+ await p.locator('.dxs-caret').click()
+ await p.locator('.dxs-item', { hasText: 'Start from scratch…' }).click()
+ await p.waitForTimeout(300)
+ return true
+ })
+ const after = await p.evaluate(() => ({ tabs: document.querySelectorAll('.dx-tab').length, cells: [...document.querySelectorAll('.dg-row .dg-cell[data-ci]')].filter((c) => c.textContent.trim()).length }))
+ ok(did === true && before > 1 && after.tabs === 1 && after.cells === 0, `one blank sheet is left (tabs ${before} → ${after.tabs}, filled cells ${after.cells})`)
+ await p.keyboard.press('ControlOrMeta+z')
+ await p.waitForTimeout(300)
+ const back = await p.evaluate(() => document.querySelectorAll('.dx-tab').length)
+ ok(back === before, `⌘Z brings the whole workbook back (${back} tabs)`)
+ await ctx.close()
+}
+
+// ============================================================ 7 · phone
+console.log('\nphone widths')
+for (const w of [320, 360, 390]) {
+ const { p, ctx, errors } = await fresh({ w, h: 780, mobile: true })
+ // Against the DEVICE width, not innerWidth: on a mobile viewport the layout
+ // viewport GROWS to fit overflowing content (measured on the old bar: 509px
+ // of document reported innerWidth 509 at a 390px device), so innerWidth
+ // would pass the very bug this checks for.
+ const m = await p.evaluate(() => ({ sw: document.documentElement.scrollWidth, iw: innerWidth }))
+ ok(m.sw <= w && m.iw <= w, `${w}px: the document never scrolls sideways (scrollWidth ${m.sw}, layout viewport ${m.iw}, device ${w})`)
+ const more = await tryIt(async () => {
+ const t = p.locator('.dx-more-trig')
+ await t.scrollIntoViewIfNeeded()
+ await t.tap()
+ await p.waitForTimeout(200)
+ return true
+ })
+ ok(more === true, `${w}px: ⋯ is reachable (${more})`)
+ const items = await p.evaluate(() => {
+ const menu = document.querySelector('.dx-more-menu')
+ // position: fixed on a phone, so offsetParent is null — measure the box
+ const r = menu?.getBoundingClientRect()
+ if (!menu || !r.width || getComputedStyle(menu).display === 'none') return null
+ return { text: menu.textContent, inside: r.left >= 0 && r.right <= innerWidth + 0.5, share: !!menu.querySelector('.dx-share'), lang: !!menu.querySelector('.dx-lang-trig') }
+ })
+ ok(!!items && items.inside, `${w}px: ⋯ opens on screen`)
+ ok(!!items && /About/.test(items.text) && /Settings/.test(items.text) && items.lang && /shortcuts/i.test(items.text) && items.share,
+ `${w}px: ⋯ carries About, Settings, Language, Help and Share`)
+ if (w === 390) {
+ await tryIt(() => p.locator('.dx-more-menu .dx-share').tap())
+ await p.waitForTimeout(200)
+ const st = await p.evaluate(() => ({
+ more: document.querySelector('.dx-more-dd')?.classList.contains('open'),
+ pop: (document.querySelector('.dx-share-pop')?.getBoundingClientRect().height ?? 0) > 40,
+ }))
+ ok(st.more && st.pop, `Share opens INSIDE ⋯ without closing it (⋯ open ${st.more}, popover shown ${st.pop})`)
+ await p.mouse.click(200, 600)
+ const panel = await tryIt(async () => {
+ await p.locator('.dx-format-btn').tap()
+ await p.waitForTimeout(300)
+ const x = await p.evaluate(() => {
+ const b = document.querySelector('.dp-panel .dx-panel-close')
+ if (!b) return null
+ const r = b.getBoundingClientRect()
+ return { shown: r.width > 20 && r.right <= innerWidth && r.top >= 0, shut: document.querySelector('.dp-panel.dp-right').classList.contains('dp-shut') }
+ })
+ if (!x) return 'no close button'
+ if (x.shut) return 'Format did not open the panel'
+ if (!x.shown) return 'the close button is not on screen'
+ await p.locator('.dp-panel .dx-panel-close').tap()
+ await p.waitForTimeout(300)
+ return await p.evaluate(() => document.querySelector('.dp-panel.dp-right').classList.contains('dp-shut')) ? true : 'still open'
+ })
+ ok(panel === true, `the properties panel opens from Format and has a ✕ that closes it (${panel})`)
+ }
+ ok(errors.length === 0, `${w}px: no page errors${errors.length ? `: ${errors[0]}` : ''}`)
+ await ctx.close()
+}
+
+// ============================================================ 8 · one accent, and Comment
+console.log('\none accent, and Comment is a tool')
+{
+ const { p, ctx } = await fresh()
+ const c = await p.evaluate(() => {
+ const d = document.createElement('div')
+ document.body.append(d)
+ const res = (v) => { d.style.color = `var(${v})`; return getComputedStyle(d).color }
+ const out = { cmt: res('--cmt'), accent: res('--accent') }
+ d.remove()
+ return out
+ })
+ ok(c.cmt === c.accent, `comments wear the accent, not a second colour (${c.cmt} vs ${c.accent})`)
+ const did = await tryIt(async () => {
+ await p.locator('.dg-row .dg-cell').nth(3).click()
+ await p.locator('[data-act="comment"]').click()
+ await p.waitForTimeout(200)
+ return await p.evaluate(() => !!document.querySelector('.dxc-pop textarea'))
+ })
+ ok(did === true, `the Comment tool in the bar opens the composer (${did})`)
+ await ctx.close()
+}
+
+await browser.close()
+console.log(`\n${checks - failures}/${checks} checks passed`)
+if (failures) process.exit(1)
diff --git a/scripts/test-dash-fields-browser.mjs b/scripts/test-dash-fields-browser.mjs
index 87637055..777d7527 100644
--- a/scripts/test-dash-fields-browser.mjs
+++ b/scripts/test-dash-fields-browser.mjs
@@ -8,7 +8,7 @@
// docs/DECISIONS.md 2026-10-17, "the suite's one field look"). WHAT THIS PROVES,
// measured in the packaged document, in light AND dark theme:
// 1. every visible field on every surface — the formula bar, the properties
-// panel on a dataset and on a spreadsheet, About with Replace from JSON,
+// panel on a dataset and on a spreadsheet, About, Replace from JSON,
// Settings, find, the column filter, the formula column, chart, pivot, 3D,
// a story step, the comment composer, tab rename, conditional formatting,
// split into columns, print — has a 1px SOLID border in the computed
@@ -85,6 +85,7 @@ function problems(f, tok) {
const cell = (p, n) => p.locator('.dg-cell').nth(n)
const byText = (p, txt) => p.getByText(txt, { exact: true }).first().click({ timeout: 4000 })
+const openReplaceJson = async (p) => { await p.locator('.dxs-caret').click(); await p.locator('.dxs-item', { hasText: 'Replace from JSON…' }).click() }
const ctxItem = async (p, label) => { await cell(p, 12).click({ button: 'right' }); await byText(p, label) }
// each surface gets a fresh page; `open` brings it up, and `min` is the floor
@@ -95,8 +96,11 @@ const ctxItem = async (p, label) => { await cell(p, 12).click({ button: 'right'
const SURFACES = [
{ name: 'formula bar', scope: '.dx-formula', min: 1, open: (p) => cell(p, 12).click() },
{ name: 'properties panel (dataset)', scope: '.dp-panel', min: 6, open: (p) => cell(p, 12).click() },
- { name: 'About, with Replace from JSON', scope: '.dx-about', min: 2, open: async (p) => { await p.locator('[data-act="about"]').click(); await byText(p, 'Replace from JSON…') } },
- { name: 'Settings', scope: '.dx-about', min: 2, open: (p) => p.locator('[data-act="settings"]').click() },
+ { name: 'About', scope: '.dx-about', min: 2, open: (p) => p.locator('[data-act="about"]').click() },
+ // Replace from JSON lives in the Save ▾ menu now, as in slides
+ { name: 'Replace from JSON', scope: '.dx-about', min: 1, open: (p) => openReplaceJson(p) },
+ // Settings is reached from About's footer (it left the bar, as in slides)
+ { name: 'Settings', scope: '.dx-about', min: 2, open: async (p) => { await p.locator('[data-act="about"]').click(); await p.locator('.dx-about-foot .dx-btn', { hasText: 'Settings' }).click() } },
{ name: 'find', scope: '.dx-find', min: 1, open: async (p) => { await cell(p, 12).click(); await p.keyboard.press('ControlOrMeta+f') } },
{ name: 'column filter', scope: '.dx-pop', min: 1, open: (p) => p.locator('.dg-filter').first().click() },
{ name: 'formula column', scope: '.dx-about, .dx-pop, .dx-ask, .dp-panel', min: 1, open: (p) => p.locator('[data-act="formula"]').click() },
@@ -104,7 +108,7 @@ const SURFACES = [
{ name: 'pivot', scope: '.dp-panel', min: 4, open: (p) => p.locator('[data-act="pivot"]').click() },
{ name: '3D', scope: '.dp-panel', min: 4, open: (p) => p.locator('[data-act="viz3d"]').click() },
{ name: 'story step', scope: '.ds-step', min: 1, open: async (p) => { await p.locator('[data-act="story"]').click(); await p.locator('[data-act="capture"]').first().click() } },
- { name: 'comment composer', scope: '[class^="dxc"]', min: 1, open: async (p) => { await cell(p, 12).click(); await p.locator('.dxc-pill').click(); await byText(p, '+ Comment on the selected cell') } },
+ { name: 'comment composer', scope: '[class^="dxc"]', min: 1, open: async (p) => { await cell(p, 12).click(); await p.locator('[data-act="comment"]').click() } },
{ name: 'tab rename', scope: '.dx-tab-rename, .dx-tab', min: 1, open: (p) => p.locator('.dx-tab').first().dblclick() },
{ name: 'conditional formatting', scope: '.dp-panel', min: 4, open: (p) => ctxItem(p, 'More conditional formatting…') },
{ name: 'split into columns', scope: '.dx-ask', min: 1, open: (p) => ctxItem(p, 'Split into columns…') },
@@ -185,7 +189,7 @@ try {
// a textarea, on the surface that has one
{
const tp = await fresh()
- await tp.locator('[data-act="about"]').click(); await byText(tp, 'Replace from JSON…'); await tp.waitForTimeout(200)
+ await openReplaceJson(tp); await tp.waitForTimeout(200)
const ring = await tp.evaluate(() => {
const el = document.querySelector('.dx-about textarea')
if (!el) return null
diff --git a/scripts/test-dash-i18n.ts b/scripts/test-dash-i18n.ts
index 10045191..f73cd38a 100644
--- a/scripts/test-dash-i18n.ts
+++ b/scripts/test-dash-i18n.ts
@@ -200,7 +200,6 @@ const INDIRECT: Array<{ arg: string; file: string; name: string; pick: 'values'
// format, so it reads the same table again — a fourth spelling of the same
// indirection rather than a fourth table.
{ arg: 'TYPE_LABEL[type]', file: 'format.ts', name: 'TYPE_LABEL', pick: 'values' },
- { arg: 'role', file: 'sync/people.ts', name: 'ROLE_LABEL', pick: 'values' },
]
/**
@@ -238,17 +237,17 @@ const KEEP_ENGLISH = new Map<string, string>([
* countable as translated because they are.
*/
const SAME_AS_ENGLISH: Record<string, string[]> = {
- es: ['Total', 'editor', 'General', 'Series'],
+ es: ['Total', 'Editor', 'General', 'Series'],
fr: ['Auto', 'Date', 'Format', 'Orientation', 'Portrait', 'Source', 'Surface', 'Total', 'Type'],
// Japanese and Simplified-Chinese Excel name a new sheet "Sheet2" too, and a
// name that matches the reader's own Excel is the whole point of the key.
ja: ['OK', 'Sheet{n}'],
'zh-Hans': ['Sheet{n}'],
- de: ['Dashboard', 'Format', 'Name', 'OK', 'Symbol', 'Text', 'Updates'],
- it: ['Dashboard', 'File', 'Formula', 'Max', 'Min', 'OK', 'vs', 'editor'],
- // 'Total' and 'editor' are the same word in Portuguese; 'OK' and 'vs' are
+ de: ['Dashboard', 'Format', 'Live', 'Name', 'OK', 'Symbol', 'Text', 'Updates'],
+ it: ['Dashboard', 'Editor', 'File', 'Formula', 'Max', 'Min', 'OK', 'vs'],
+ // 'Total' and 'Editor' are the same word in Portuguese; 'OK' and 'vs' are
// borrowed unchanged, as they are in the Italian list above.
- pt: ['OK', 'Total', 'editor', 'vs'],
+ pt: ['Editor', 'OK', 'Total', 'vs'],
}
// --- sweeping the source -----------------------------------------------------
diff --git a/scripts/test-dash-share.ts b/scripts/test-dash-share.ts
new file mode 100644
index 00000000..c95b88e1
--- /dev/null
+++ b/scripts/test-dash-share.ts
@@ -0,0 +1,106 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// What each copy dash's Share popover writes is allowed to carry.
+//
+// node scripts/test-dash-share.ts
+//
+// The popover (dash/src/shareui.ts) offers three copies for SOMEONE ELSE, and
+// each is built in dash/src/share.ts through the kernel's copy table with
+// dash's field map (dash/src/docclass.ts). A copy is already on another disk by
+// the time anyone looks at it, so what it carries is checked here, on the real
+// builders:
+//
+// reading read-only, NO collab block at all, nothing this build does not know
+// invite the room and read key + an owner-signed INVITE; never ownerPriv
+// or a legacy writerPriv; live (on: true); not read-only
+// viewonly role 'reader', read-only, no private half, no sync stamp, live
+//
+// and in every one, a top-level field the map does not declare is DROPPED
+// (fail closed). Positive control: the same fixture through the 'file' tier —
+// the owner's own round trip — still carries ownerPriv and the unknown field,
+// so the fixture really holds what the copies are shown not to.
+
+import { registerHooks } from 'node:module'
+
+registerHooks({
+ load(url, context, next) {
+ if (url.endsWith('.css')) return { format: 'module', source: 'export {}', shortCircuit: true }
+ return next(url, context)
+ },
+})
+
+const { readingCopy, inviteCopy, readerCopy, isOwner } = await import('../dash/src/share.ts')
+const { mintCollab } = await import('../dash/src/sync/online.ts')
+const { projectForCopy } = await import('../kernel/src/docfields.ts')
+const { DASH_FIELDS } = await import('../dash/src/docclass.ts')
+const { starterDoc } = await import('../dash/src/starter.ts')
+type DashDoc = import('../dash/src/model.ts').DashDoc
+
+let checks = 0
+let failures = 0
+function ok(cond: unknown, msg: string) {
+ checks++
+ if (!cond) { failures++; console.log(` FAIL ${msg}`) } else console.log(` ok ${msg}`)
+}
+
+const base = starterDoc() as DashDoc
+const collab = await mintCollab() as Record<string, unknown>
+// a legacy writer key and a stamped sync state, as an older shared file has
+collab.writerPub = 'legacy-pub'
+collab.writerPriv = 'legacy-PRIVATE'
+collab.sync = { v: 99, stamped: true }
+const doc = { ...base, collab, futureSecret: 'a field this build has never heard of' } as unknown as DashDoc
+const before = JSON.stringify(doc)
+const json = (x: unknown) => JSON.stringify(x)
+
+console.log('positive control: the fixture really carries what the copies must drop')
+{
+ const file = projectForCopy(JSON.parse(before), DASH_FIELDS, 'file') as Record<string, unknown>
+ ok(json(file).includes('"ownerPriv"') && json(file).includes('legacy-PRIVATE') && 'futureSecret' in file,
+ 'the owner\'s own file keeps ownerPriv, the legacy writerPriv and the unknown field')
+ ok(isOwner(doc), 'and this copy is the room\'s owner')
+}
+
+console.log('\nreading copy')
+{
+ const out = readingCopy(doc) as Record<string, unknown>
+ ok(out.readonly === true, 'opens read-only')
+ ok(!('collab' in out), 'carries NO collaboration block — it never joins anything')
+ ok(!('futureSecret' in out), 'drops a field this build does not declare')
+ ok(Array.isArray(out.sheets) && (out.sheets as unknown[]).length === base.sheets.length, 'keeps every sheet')
+ ok(!('template' in out), 'is not a template')
+}
+
+console.log('\ninvite to edit')
+{
+ const out = await inviteCopy(doc) as Record<string, unknown> | null
+ const c = (out?.collab ?? {}) as Record<string, unknown>
+ ok(!!out, 'the owner can mint one')
+ ok(!json(out).includes('ownerPriv') && !json(out).includes('legacy-PRIVATE'), 'carries neither ownerPriv nor the legacy writerPriv')
+ ok(!!c.invite && typeof (c.invite as Record<string, unknown>).sig === 'string', 'carries an owner-SIGNED invite in their place')
+ ok(c.room === collab.room && c.key === collab.key, 'keeps the room and the read key')
+ ok(c.on === true, 'is live from the moment it opens')
+ ok(out?.readonly !== true && !('template' in (out ?? {})), 'is neither read-only nor a template (a template forks out of the room on open)')
+ ok(out?.docId === doc.docId, 'keeps the workbook\'s identity — it is the same workbook')
+ ok(!('futureSecret' in (out ?? {})), 'drops a field this build does not declare')
+ const member = { ...doc, collab: { ...collab, ownerPriv: undefined } } as unknown as DashDoc
+ ok((await inviteCopy(member)) === null, 'a copy that is not the owner cannot mint one (null, never the source)')
+}
+
+console.log('\nview-only copy')
+{
+ const out = readerCopy(doc) as Record<string, unknown> | null
+ const c = (out?.collab ?? {}) as Record<string, unknown>
+ ok(!!out && c.role === 'reader', 'role is reader')
+ ok(out?.readonly === true, 'opens read-only')
+ ok(!json(out).includes('Priv') && !('invite' in c) && !('sync' in c), 'no private half, no invite, no sync stamp')
+ ok(c.room === collab.room && c.key === collab.key && c.on === true, 'follows the room, live')
+ ok(!('futureSecret' in (out ?? {})), 'drops a field this build does not declare')
+ ok(readerCopy({ ...base } as DashDoc) === null, 'a workbook with no room has nothing to follow (null)')
+}
+
+ok(JSON.stringify(doc) === before, '\nno builder changed the open workbook')
+
+console.log(`\n${checks - failures}/${checks} checks passed`)
+if (failures) process.exit(1)
diff --git a/scripts/test-dash-stopsharing.ts b/scripts/test-dash-stopsharing.ts
index f983267a..f3c817ed 100644
--- a/scripts/test-dash-stopsharing.ts
+++ b/scripts/test-dash-stopsharing.ts
@@ -1,40 +1,39 @@
#!/usr/bin/env node
// SPDX-License-Identifier: MIT
// Copyright (c) 2026 The Bento authors
-// The off switch for a live session survives every window width.
+// The off switch for a live session survives every window width, and the
+// state it reports is a WORD, never a dot on its own.
//
// node scripts/test-dash-stopsharing.ts
//
-// WHY THIS EXISTS. A polish sweep drove the app at 880px with a session
-// running: `collab.on` was true, the room was live on `wss://sync.bento.page`,
-// and the string "Stop sharing" appeared NOWHERE in the document. The only
-// trace of a running session was an 8px green dot. `sync.css` hid
-// `.dx-people-toggle` outright below 900px to buy width in the top bar, and
-// that toggle is the only control that stops sharing.
+// HISTORY. A polish sweep drove the app at 880px with a session running and the
+// string "Stop sharing" appeared NOWHERE in the document: sync.css hid the
+// people chip's toggle below 900px to buy bar width, and that toggle was the
+// only control that stopped sharing. The chip was then fixed to stand down only
+// while NOT live — and the 2026-10-20 review still measured it as a bare grey
+// dot at 768px, hidden entirely on a phone, and going live on ONE click with no
+// popover at all.
//
-// The nearest thing left was About's "Offline mode — block every network
-// feature", which also kills the signed update check: to stop one workbook
-// being shared you had to switch off the app's networking.
+// It is gone now. Sharing is spaces' Share popover (dash/src/shareui.ts): a
+// labelled button that opens a panel with Go live / Stop sharing inside it, and
+// which the phone fold parks in ⋯ rather than hiding. This rig holds the three
+// properties that made the old chip a bug, as SOURCE checks; the widths
+// themselves are measured in a browser by scripts/test-dash-chrome-browser.mjs.
//
-// THE RULE, and it is narrow on purpose. A control that reports nothing may
-// stand down at a narrow width — that is what the responsive ladder is for, and
-// the 390px measurement behind these rules (the chip cost 20px the bar did not
-// have and pushed About off the edge) is real and still honoured. A control
-// that STOPS SOMETHING ALREADY HAPPENING may not. So the collapse is scoped to
-// `:not(.dx-live)`, and `.dx-live` is on the chip exactly when there is a
-// session to stop.
-//
-// Checked as CSS text, because this is a media-query question: `dash-dom.ts` is
-// a parser and a node tree, not a layout engine, and cannot tell you what a
-// viewport width does to a declaration.
+// 1. While a session is running, the popover offers "Stop sharing".
+// 2. The button always carries a WORD for the state — "Share" or "Live".
+// 3. No stylesheet rule hides the Share control or its word at any width.
-import { readFileSync } from 'node:fs'
+import { readFileSync, readdirSync } from 'node:fs'
import { fileURLToPath } from 'node:url'
import { dirname, join } from 'node:path'
const root = join(dirname(fileURLToPath(import.meta.url)), '..')
-const css = readFileSync(join(root, 'dash/src/sync.css'), 'utf8').replace(/\/\*[\s\S]*?\*\//g, '')
-const people = readFileSync(join(root, 'dash/src/sync/people.ts'), 'utf8')
+const ui = readFileSync(join(root, 'dash/src/shareui.ts'), 'utf8')
+const main = readFileSync(join(root, 'dash/src/main.ts'), 'utf8')
+const cssDir = join(root, 'dash/src')
+const css = readdirSync(cssDir).filter((f) => f.endsWith('.css'))
+ .map((f) => readFileSync(join(cssDir, f), 'utf8')).join('\n').replace(/\/\*[\s\S]*?\*\//g, '')
let checks = 0
let failures = 0
@@ -44,44 +43,43 @@ function ok(cond: boolean, msg: string) {
else console.log(` ok ${msg}`)
}
-console.log('the chip says when there is a session to stop')
+console.log('the popover offers the off switch whenever there is a session to stop')
{
- ok(/classList\.toggle\('dx-live'/.test(people),
- 'the host takes `dx-live` while sharing — a class on a child cannot save a parent that is display:none')
- ok(/dx-people-toggle\$\{live \? ' dx-live' : ''\}/.test(people),
- 'and so does the toggle itself, for the rules that hide only the button')
+ // `st === 'off'` gets Go live; EVERY other writable state gets Stop sharing.
+ ok(/if \(st === 'off'\) \{[\s\S]{0,400}?t\('Go live'\)[\s\S]{0,400}?\} else \{[\s\S]{0,200}?t\('Stop sharing'\)/.test(ui),
+ 'the session row is "Go live" when off and "Stop sharing" otherwise — never neither')
+ ok(/stopSharing\(this\.host\.session, store\)/.test(ui), 'and "Stop sharing" really calls stopSharing')
}
-console.log('\nno width hides the off switch')
+console.log('\nthe state is a word')
{
- // Every rule in this stylesheet that hides something in the people chip must
- // either be scoped away from a live session, or not be inside a width query.
- let hiding = 0
- for (const block of css.matchAll(/@media[^{]*max-width[^{]*\{([\s\S]*?)\n\}/g)) {
- for (const rule of block[1].matchAll(/([^{}]*)\{([^{}]*)\}/g)) {
- const sel = rule[1].trim()
- const body = rule[2]
- // ONLY THE ROUTE TO THE BUTTON. `.dx-people-title` is the word "Live"
- // beside the dot and `.dx-people-name` is a peer's name — both are
- // decoration and hiding them at a narrow width is the ladder working.
- // What may not disappear is the toggle, or the chip that contains it.
- if (!/\.dx-people-toggle|\.dx-people(?![-\w])/.test(sel)) continue
- if (!/display\s*:\s*none/.test(body)) continue
- hiding++
- ok(/:not\(\.dx-live\)/.test(sel),
- `"${sel}" hides part of the sharing chip at a narrow width without exempting a LIVE session — ` +
- 'that is how "Stop sharing" left the document at 880px')
- }
- }
- // GUARD IS LIVE: if the selectors are ever renamed this loop finds nothing
- // and every check above it passes vacuously.
- ok(hiding >= 2, `the width rules that hide the chip were found and checked (${hiding})`)
+ ok(/lab\.textContent = [^\n]*t\('Live'\) : t\('Share'\)/.test(ui),
+ 'the button\'s label is "Live" while connected and "Share" otherwise')
+ ok(!/t\('Start live session'\)/.test(main + ui),
+ 'the one-click "Start live session" chip is gone (it went live with no popover)')
}
-console.log('\nand the label is the one a reader would look for')
+console.log('\nno width hides the Share control or its word')
{
- ok(/t\('Stop sharing'\)/.test(people), 'the live label is "Stop sharing", not a symbol')
- ok(/t\('Start live session'\)/.test(people), 'and the idle one says what it will do')
+ let hiding = 0
+ for (const rule of css.matchAll(/([^{}]*)\{([^{}]*)\}/g)) {
+ const sel = rule[1].trim()
+ if (!/display\s*:\s*none/.test(rule[2])) continue
+ for (const part of sel.split(',')) {
+ // `.dx-share-n:empty` is the peer COUNT with nothing in it, not the word
+ if (/\.dx-share(?:-dd|-lab)?(?![-\w])/.test(part) || /\.dx-share-lab/.test(part)) {
+ hiding++
+ ok(false, `"${part.trim()}" hides the Share control or its label`)
+ }
+ }
+ }
+ ok(hiding === 0, 'no display:none rule targets .dx-share, .dx-share-dd or .dx-share-lab')
+ // the compact tier hides every bar label — this word must be exempt from it
+ ok(/\.dx-bar\.dx-bar-compact \.dx-btn > \.dx-share-lab/.test(css),
+ 'the compact tier, which hides button labels, explicitly keeps the Share/Live word')
+ // GUARD IS LIVE: the selectors this sweep keys on must exist, or it passes vacuously
+ ok(/\.dx-share\b/.test(css) && /dx-share-lab/.test(ui),
+ 'the selectors this sweep checks are the ones the UI really uses')
}
console.log(`\n${checks - failures}/${checks} checks passed`)
diff --git a/scripts/test-dash-surfaces.ts b/scripts/test-dash-surfaces.ts
index d5b41a10..a2c2ea45 100644
--- a/scripts/test-dash-surfaces.ts
+++ b/scripts/test-dash-surfaces.ts
@@ -214,8 +214,10 @@ const setHeads = setCard.querySelectorAll('h2').map((n) => n.textContent)
closeAll()
{
- ok(aboutHeads.join('|') === 'This file|Document properties|Version history|Take it elsewhere',
- `About holds the file's own four sections and no others (got: ${aboutHeads.join(' · ')})`)
+ // Version history and the JSON round trip moved to the Save menu (slides'
+ // arrangement — they are operations on the document as a FILE).
+ ok(aboutHeads.join('|') === 'This file|Document properties',
+ `About holds the file's own two sections and no others (got: ${aboutHeads.join(' · ')})`)
ok(setHeads.join('|') === 'Settings|Language|Appearance|Updates',
`Settings holds the reader's own preferences and no others (got: ${setHeads.join(' · ')})`)
ok(!aboutHeads.some((h) => setHeads.includes(h)),
@@ -243,7 +245,7 @@ closeAll()
// a standing instruction about how every save from here on is written, which
// is what the Save menu is a list of. It must be in exactly one place.
const menu = src('saveui.ts')
- ok(/item\(t\('Set a password…'\)/.test(menu) && /item\(t\('Remove password…'\)/.test(menu),
+ ok(/ICONS\.lock, t\('Set a password…'\)/.test(menu) && /ICONS\.lock, t\('Remove password…'\)/.test(menu),
'the password is an item in the Save menu, beside the other decisions about how this file gets written')
ok(!aboutText.includes('password') && !setText.includes('password'),
'and it is not in either dialog as well — one door, or they drift')
@@ -263,16 +265,38 @@ closeAll()
'About no longer offers "Save a copy…" — the Save menu owns saving, under that exact label')
ok(!aboutText.includes('Duplicate as new workbook'),
'nor a second spelling of the identity fork')
- ok(aboutText.includes('Copy document JSON') && aboutText.includes('Replace from JSON'),
- 'what stayed is the thing that is not a save at all: the document as text, for an AI or another tool')
+ // …and the document as text went the same way, as in slides: Version
+ // history, Copy document JSON and Replace from JSON are Save-menu rows that
+ // open about.ts's own (tested) implementations.
+ ok(!aboutText.includes('Copy document JSON') && !aboutText.includes('Version history'),
+ 'About no longer carries the JSON round trip or the version list — one door each')
+ {
+ const m = src('saveui.ts')
+ ok(/t\('Version history…'\)[\s\S]{0,200}?openVersionHistory\(/.test(m)
+ && /t\('Copy document JSON'\)[\s\S]{0,300}?copyDocJson\(/.test(m)
+ && /t\('Replace from JSON…'\)[\s\S]{0,200}?openReplaceJson\(/.test(m),
+ 'the Save menu opens them, through about.ts\'s implementations rather than copies of them')
+ }
ok(/beside Save/.test(aboutText),
'and the reader who came looking for a copy is told where it went')
const menu = src('saveui.ts')
- ok(/import \{ duplicateWorkbook \} from '\.\/about\.ts'/.test(menu)
+ ok(/import \{ duplicateWorkbook\b[^}]*\} from '\.\/about\.ts'/.test(menu)
&& /duplicateWorkbook\(store\.doc, newDocId\(\)\)/.test(menu),
'the fork has ONE implementation — the tested one in about.ts — and the menu calls it')
}
+// The two dialogs the Save menu opens stand on their own.
+{
+ const v = await open(() => about.openVersionHistory(hooks))
+ ok(v.getAttribute('aria-label') === 'Version history' && /No versions kept yet/.test(v.textContent),
+ 'Version history… opens its own dialog, with the local timeline (empty here)')
+ closeAll()
+ const r = await open(() => about.openReplaceJson(hooks))
+ ok(r.querySelectorAll('textarea').length === 1 && /Replace workbook/.test(r.textContent),
+ 'Replace from JSON… opens straight onto the paste box')
+ closeAll()
+}
+
// ============================================================ the ways in
{
const app = doc.createElement('div')
diff --git a/scripts/test-dash-theme.ts b/scripts/test-dash-theme.ts
index df0f2de0..95660f7f 100644
--- a/scripts/test-dash-theme.ts
+++ b/scripts/test-dash-theme.ts
@@ -72,6 +72,7 @@ const SET_ELSEWHERE: Record<string, string> = {
'--row-h': 'grid.ts setProperty from its ROW_H constant (styles.css carries a fallback)',
'--dp-w': 'panels.ts, the dragged panel width',
'--dbx-cols': 'dashboard.ts, the tile grid column count',
+ '--dx-bar-bottom': 'topbar.ts, where the top bar ends — the phone menus are position: fixed under it',
'--tray-safe-top': 'bento/tray’s WKWebView host — tray/ios/EditorViewController.swift',
'--tray-safe-right': 'bento/tray’s WKWebView host',
'--tray-safe-bottom': 'bento/tray’s WKWebView host',
@@ -349,7 +350,9 @@ console.log('\nthe dark palette is a block keyed off data-theme, and it mirrors
ok(dark.size >= 35, `the dark block carries the palette, not a fragment of it (${dark.size} tokens)`)
for (const name of ['--bg', '--panel', '--surface', '--hover', '--line', '--line-strong',
'--ink', '--ink-2', '--muted', '--sel', '--sel-ring', '--accent-ink', '--bar-opacity',
- '--find-hit', '--find-cur', '--cmt', '--cmt-wash']) {
+ // --cmt / --cmt-wash left this list when comments took the accent: they are
+ // var(--accent) / var(--accent-wash) now, and THOSE are on it (or follow it)
+ '--find-hit', '--find-cur', '--accent-wash']) {
ok(dark.has(name), `${name} has a dark value — a themed token that fell out of the transform stays light on a dark ground`)
}
// The reverse: a token that exists ONLY in the dark block has no light value
diff --git a/scripts/test-export-secrets.ts b/scripts/test-export-secrets.ts
index fd72a100..183f13b6 100644
--- a/scripts/test-export-secrets.ts
+++ b/scripts/test-export-secrets.ts
@@ -519,7 +519,10 @@ function exportedBody(src: string, name: string): string {
// reintroduce neither the delete-stripper nor a spread-the-source bypass. (dash's
// builders live in sync/online.ts — its own guard is below. The cross-app sweep
// that no builder in ANY app bypasses the allowlist follows it.)
-for (const app of ['spaces', 'type', 'slides']) {
+// dash joined 2026-10-20: its Share popover's whole-document copies live in
+// dash/src/share.ts (behaviour: scripts/test-dash-share.ts); the collab-block
+// builders in sync/online.ts keep their own guard below.
+for (const app of ['spaces', 'type', 'slides', 'dash']) {
const rel = `${app}/src/share.ts`
const src = read(rel)
ok(!/stripCollabSecrets/.test(src), `${rel}: the delete-based stripper is gone — the kernel allowlist replaces it`)
@@ -610,6 +613,7 @@ for (const app of ['spaces', 'type', 'slides']) {
['type/src/share.ts', ['readerCopy', 'inviteCopy']],
['slides/src/share.ts', ['readerCopy', 'inviteCopy']],
['dash/src/sync/online.ts', ['readerCopy', 'inviteCopy']],
+ ['dash/src/share.ts', ['readerCopy', 'inviteCopy']],
]
let bypasses = 0
for (const [rel, fns] of BUILDERS) {