Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

bento/type: autosave, thumbnails, eight languages, and two panel bugs (#394)

nyblnet4f073a33c1cc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce0403bd..360c787c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -842,6 +842,27 @@ jobs:
# font stack from opening a second declaration in a style attribute.
run: node scripts/test-type-font.ts
+ - name: Type autosave rig
+ # A crash must not cost the work since the last ⌘S. Pins the content
+ # key that decides whether a snapshot disagrees with the loaded file,
+ # and that an encrypted document is NEVER snapshotted — plaintext in
+ # IndexedDB beside a file whose whole point is that it is encrypted.
+ run: node scripts/test-type-autosave.ts
+
+ - name: Type preview rig
+ # Thumbnailers run no JavaScript, so a saved file carries a still of
+ # page one plus a parser-blocking remover. Pins the ordering (nothing
+ # paintable between host and remover), that a second save REPLACES
+ # rather than appends, and that an encrypted document gets none.
+ run: node scripts/test-type-preview.ts
+
+ - name: Type i18n rig
+ # Eight languages in one file: every catalogue holds the same keys,
+ # every {placeholder} survives translation, no key outlives the string
+ # it came from, and the packed table matches the catalogues it was
+ # built from.
+ run: node scripts/test-type-i18n.ts
+
- name: Type styles rig
# Named paragraph styles, and the additivity rule: a document with no
# doc.styles must render byte-identically to before the feature.
diff --git a/scripts/build-type-i18n.mjs b/scripts/build-type-i18n.mjs
new file mode 100644
index 00000000..9fe97ef7
--- /dev/null
+++ b/scripts/build-type-i18n.mjs
@@ -0,0 +1,163 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// Generates type/src/i18n/packed.ts from the per-locale catalogs.
+//
+// node scripts/build-type-i18n.mjs write the packed table
+// node scripts/build-type-i18n.mjs --check fail if it is out of date (CI)
+//
+// WHY PACK. English-string-as-key means the source sentence is the key in every
+// locale, so N plain catalogs store the same English text N times — and deflate
+// cannot dedupe it, because the catalogs span far more than its 32KB window. The
+// packed form stores each key ONCE with an array of translations by column, and
+// `0` for "no translation, use English".
+//
+// The key universe is swept from the SOURCE, not from the catalogs, so a string
+// added to the UI and forgotten in the catalogs shows up as missing rather than
+// silently shipping English. Mirrors scripts/build-spaces-i18n.mjs — same shape,
+// same reasoning, different app.
+
+import { readFileSync, writeFileSync, readdirSync, existsSync, mkdirSync } from 'node:fs'
+import { join, dirname } from 'node:path'
+import { fileURLToPath } from 'node:url'
+
+const root = join(dirname(fileURLToPath(import.meta.url)), '..')
+const srcDir = join(root, 'type/src')
+const i18nDir = join(srcDir, 'i18n')
+const OUT = join(i18nDir, 'packed.ts')
+
+/** Locale columns, in order. English is the key, so it is not a column. */
+export const LOCALES = ['ja', 'zh-Hans', 'zh-Hant', 'es', 'fr', 'de', 'it', 'pt']
+
+/**
+ * Every `t('…')` call in the app source, including ones built from adjacent
+ * string-literal fragments joined by `+` (about.ts wraps a few long strings
+ * that way for line-length). A plain regex over the opening quote alone would
+ * capture only the FIRST fragment of those and silently produce a key that
+ * never matches what t() is actually called with at runtime — so this walks
+ * the call character-by-character instead of trusting one regex match.
+ */
+function sweepKeys() {
+ const keys = new Set()
+ const walk = (dir) => {
+ for (const entry of readdirSync(dir, { withFileTypes: true })) {
+ const full = join(dir, entry.name)
+ if (entry.isDirectory()) { if (entry.name !== 'i18n') walk(full); continue }
+ if (!entry.name.endsWith('.ts')) continue
+ collectFromFile(full, keys)
+ }
+ }
+ walk(srcDir)
+ return [...keys].sort()
+}
+
+function collectFromFile(file, keys) {
+ const src = readFileSync(file, 'utf8')
+ const callRe = /\bt\(/g
+ let m
+ while ((m = callRe.exec(src))) {
+ let i = m.index + 2
+ const skipWs = () => { while (i < src.length && /\s/.test(src[i])) i++ }
+ skipWs()
+ if (src[i] !== "'" && src[i] !== '"' && src[i] !== '`') continue
+ let full = ''
+ let ok = true
+ let hadTemplate = false
+ for (;;) {
+ skipWs()
+ const q = src[i]
+ if (q === "'" || q === '"' || q === '`') {
+ let j = i + 1
+ let raw = ''
+ while (j < src.length) {
+ if (src[j] === '\\') { raw += src[j] + src[j + 1]; j += 2; continue }
+ if (src[j] === q) { j++; break }
+ raw += src[j]; j++
+ }
+ if (q === '`') { hadTemplate = true }
+ else if (q === "'") full += raw.replace(/\\'/g, "'").replace(/\\\\/g, '\\')
+ else { try { full += JSON.parse('"' + raw + '"') } catch { full += raw } }
+ i = j
+ } else { ok = false; break }
+ skipWs()
+ if (src[i] === '+') { i++; continue }
+ break
+ }
+ if (!ok || hadTemplate) continue // dynamic key or template literal — not extractable, not swept
+ keys.add(full)
+ }
+}
+
+/** Read one locale catalog by evaluating its object literal. */
+function readCatalog(code) {
+ const file = join(i18nDir, `${code}.ts`)
+ if (!existsSync(file)) return {}
+ const src = readFileSync(file, 'utf8')
+ const start = src.indexOf('{', src.indexOf(`export const `))
+ const end = src.lastIndexOf('}')
+ if (start < 0 || end < 0) return {}
+ // the catalogs are generated, so this is a literal object of string pairs
+ return Function(`"use strict"; return (${src.slice(start, end + 1)})`)()
+}
+
+const keys = sweepKeys()
+const catalogs = Object.fromEntries(LOCALES.map((c) => [c, readCatalog(c)]))
+
+const rows = []
+const missing = Object.fromEntries(LOCALES.map((c) => [c, 0]))
+for (const key of keys) {
+ const row = LOCALES.map((c) => {
+ const v = catalogs[c][key]
+ if (typeof v === 'string' && v.length) return v
+ missing[c]++
+ return 0
+ })
+ rows.push([key, row])
+}
+
+const body = `// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// GENERATED by scripts/build-type-i18n.mjs — do not edit. Run it after
+// changing a catalog or adding a t() string; CI fails if this is out of date.
+//
+// One row per English key: the key is stored ONCE and the translations follow
+// by column. \`0\` means "no translation in that locale" and falls back to the
+// English key, which is also the source text — so a missing entry degrades to
+// a readable string rather than a blank.
+
+export const PACKED_LOCALES = ${JSON.stringify(LOCALES)} as const
+
+export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
+${rows.map(([k, r]) => ` ${JSON.stringify(k)}: ${JSON.stringify(r)},`).join('\n')}
+}
+`
+
+const current = existsSync(OUT) ? readFileSync(OUT, 'utf8') : null
+const report = LOCALES.map((c) => {
+ const done = keys.length - missing[c]
+ const pct = keys.length ? Math.round((done / keys.length) * 1000) / 10 : 100
+ return ` ${c.padEnd(8)} ${String(done).padStart(3)}/${keys.length} ${pct}%`
+}).join('\n')
+
+if (process.argv.includes('--check')) {
+ if (current !== body) {
+ console.error('type packed.ts is out of date.\nRun: node scripts/build-type-i18n.mjs')
+ process.exit(1)
+ }
+ // Core catalogs ship INSIDE every saved file and cannot be corrected without
+ // a release, so an incomplete one is a build failure, not a warning.
+ const short = LOCALES.filter((c) => missing[c] > 0)
+ if (short.length) {
+ console.error(`incomplete core catalogs: ${short.map((c) => `${c} (${missing[c]} missing)`).join(', ')}`)
+ console.error(report)
+ process.exit(1)
+ }
+ console.log(`type i18n up to date (${keys.length} strings × ${LOCALES.length} locales, all complete)`)
+} else {
+ mkdirSync(i18nDir, { recursive: true })
+ writeFileSync(OUT, body)
+ console.log(`packed ${keys.length} strings × ${LOCALES.length} locales -> ${OUT}`)
+ console.log(report)
+}
diff --git a/scripts/postbuild-compress.mjs b/scripts/postbuild-compress.mjs
index 72d271fe..00d00cf2 100644
--- a/scripts/postbuild-compress.mjs
+++ b/scripts/postbuild-compress.mjs
@@ -127,10 +127,31 @@ if (!mod) throw new Error('module script not found')
// back to a literal, so this cannot be worked around in the app source.
const headPart = html.slice(0, html.indexOf('</head>'))
const linkedRe = /<style[^>]*\brel="stylesheet"[^>]*>([\s\S]*?)<\/style>/
-const styleM = headPart.match(linkedRe)
- // Fallback for a build that does not carry the attribute; unchanged behaviour.
- ?? headPart.match(/<style[^>]*>([\s\S]*?)<\/style>/)
-if (!styleM) throw new Error('app stylesheet not found in head')
+// The fallback requires `>` or whitespace after the tag name, and that detail
+// is load-bearing. `<style[^>]*>` also matches `<style"`, and the kernel's
+// preview machinery contains exactly that as a STRING CONSTANT — tree-shaken
+// away until an app calls registerPreview, which is why this only surfaced
+// when bento/type grew a preview. The module script is inlined into <head>
+// ABOVE the real stylesheet, so the fallback matched a JS literal at offset
+// 2923 instead of the stylesheet at 296275, packed 293KB of JavaScript into
+// the #bento-rt-css payload, and left the real CSS uncompressed inside the JS
+// — shipping every document 147KB larger with the app still working, so
+// nothing looked wrong. A real tag is `<style>` or `<style …>`; a string
+// constant is not.
+// Searched across the WHOLE document, not just <head>. The linked stylesheet
+// carries rel="stylesheet", which is unambiguous wherever it sits — and it
+// does not always sit in the head: for bento/type, vite emits it in the BODY
+// at offset 384674 while </head> is at 309927, so a head-scoped search never
+// saw it. What it found in the head instead was `<style>${…}</style>` from
+// print.ts's page template, minified into the module script: an 8-character
+// match that packed an empty payload and left the real 34KB sheet shipping as
+// plaintext in every saved file.
+//
+// The head-scoped fallback stays for a build that carries no rel attribute,
+// which is the only case it was ever reached for.
+const styleM = html.match(linkedRe)
+ ?? headPart.match(/<style(?=[\s>])[^>]*>([\s\S]*?)<\/style>/)
+if (!styleM) throw new Error('app stylesheet not found')
const js = mod[1]
const css = styleM[1]
@@ -148,8 +169,20 @@ const title = html.match(/<title>[\s\S]*?<\/title>/)?.[0] ?? `<title>${titleFall
const splashDiv = html.match(/<div id="bento-splash"[\s\S]*?<\/div>\s*<\/div>/)?.[0] ?? ''
const splashCss = (() => {
const bodyPart = html.slice(html.indexOf('<body'))
- const m = bodyPart.match(/<style[^>]*>([\s\S]*?)<\/style>/)
- return m ? m[1] : ''
+ // The first <style> in the body is USUALLY the splash's own few rules — but
+ // it is not always. Vite emits the app stylesheet wherever it likes, and for
+ // bento/type it lands in the BODY, so "first style in body" picked up the
+ // whole 34KB sheet and inlined it here as plaintext. Combined with the
+ // payload extracted above, the app's CSS then shipped TWICE in every saved
+ // file.
+ //
+ // rel="stylesheet" is what marks the app sheet, so skip anything wearing it
+ // and take the next block instead.
+ for (const m of bodyPart.matchAll(/<style([^>]*)>([\s\S]*?)<\/style>/g)) {
+ if (/\brel="stylesheet"/.test(m[1])) continue
+ return m[2]
+ }
+ return ''
})()
const SLIDES_TOOLING = `<!--
diff --git a/scripts/test-type-autosave.ts b/scripts/test-type-autosave.ts
new file mode 100644
index 00000000..43446f39
--- /dev/null
+++ b/scripts/test-type-autosave.ts
@@ -0,0 +1,115 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// bento/type autosave + crash-recovery rig. node scripts/test-type-autosave.ts
+//
+// Storage mechanics (IndexedDB, per-app database naming, legacy migration)
+// are already proven by scripts/test-autosave.ts against the shared kernel
+// module — this rig does not re-test IndexedDB. What is app-specific, and
+// what this pins instead:
+//
+// 1. docContentKey ignores volatile fields (modified, signatures, sync,
+// collab, preview, autosave — canon.ts's VOLATILE set) but is sensitive
+// to real content, so the boot-time "is this actually different from
+// what's on disk" check neither nags on every reload nor stays silent
+// when there really is unsaved work.
+// 2. canSnapshot() — the encryption guard — refuses the moment the kernel's
+// encryption state goes active, and un-refuses when it clears. This is
+// the one line responsible for "never write plaintext to IndexedDB
+// beside a file whose whole purpose is that it is not legible".
+// 3. Restoring a recovered snapshot through store.replace() round-trips
+// the document EXACTLY (byte-for-byte JSON) and lands as ONE undo step
+// — never a silent, un-undoable swap of the document under the author.
+
+import { configureApp } from '../kernel/src/app.ts'
+import { setEncryptionPassword } from '../kernel/src/save.ts'
+import { docContentKey, canSnapshot } from '../type/src/autosave.ts'
+import { emptyDoc, uid, type TypeDoc } from '../type/src/model.ts'
+import { Store } from '../type/src/store.ts'
+
+configureApp({ appId: 'bento-type-test', appName: 'bento/type (test)', manifestUrl: 'https://example.invalid/m.json' })
+
+let checks = 0, failures = 0
+const ok = (c: boolean, m: string) => { checks++; if (!c) { failures++; console.log(` FAIL ${m}`) } else console.log(` ok ${m}`) }
+const H = (s: string) => console.log(`\n=== ${s} ===`)
+
+const doc = (): TypeDoc => {
+ const d = emptyDoc()
+ d.title = 'Master Services Agreement'
+ d.body = [{ id: uid(), kind: 'para', text: 'Payment is due within 30 days.' }]
+ return d
+}
+
+H('docContentKey ignores fields that churn without a real edit')
+{
+ const a = doc()
+ const b: TypeDoc = JSON.parse(JSON.stringify(a))
+ // Touch every volatile field canon.ts's VOLATILE set names, none of which
+ // is a content edit — a save, a sync round-trip, and re-signing all churn
+ // these without the author having typed anything.
+ a.modified = '2026-01-01T00:00:00.000Z'
+ b.modified = '2099-12-31T23:59:59.000Z'
+ a.signatures = []
+ b.signatures = [{ alg: 'ES256', pub: 'x', name: 'Alice', content: 'x', prev: '', sig: 'x' }]
+ ;(a as any).collab = { room: 'r1', key: 'k1' }
+ ;(b as any).collab = { room: 'r2', key: 'k2', sync: { v: 1 } }
+ ok(docContentKey(a) === docContentKey(b),
+ 'modified/signatures/collab differ but the content key agrees')
+
+ const c = doc()
+ c.body[0].text = 'Payment is due within 45 days.'
+ ok(docContentKey(a) !== docContentKey(c),
+ 'an actual edit to body text changes the content key')
+
+ const d2 = doc()
+ d2.title = 'A Different Title'
+ ok(docContentKey(a) !== docContentKey(d2),
+ 'a title change changes the content key too — title is real content, not chrome')
+}
+
+H('docContentKey is stable across independent JSON round-trips')
+{
+ const a = doc()
+ const roundTripped: TypeDoc = JSON.parse(JSON.stringify(a))
+ ok(docContentKey(a) === docContentKey(roundTripped),
+ 'serializing and re-parsing an unedited document keeps the same key (no false "unsaved changes" banner on a clean reload)')
+}
+
+H('canSnapshot refuses while encryption is active')
+{
+ ok(canSnapshot(), 'snapshots are allowed with no password set (the common case today)')
+ setEncryptionPassword('correct horse battery staple')
+ ok(!canSnapshot(), 'encryption active — canSnapshot refuses, so runAutosave never reaches putRecovery')
+ setEncryptionPassword(null)
+ ok(canSnapshot(), 'clearing the password restores snapshotting')
+}
+
+H('restoring a recovered snapshot round-trips the document exactly')
+{
+ const original = doc()
+ original.footnotes[uid('n')] = 'A footnote, so nested content round-trips too.'
+ original.body[0].marks = [{ t: 'b', from: 0, to: 7 }]
+
+ // This is exactly what checkRecovery does: JSON.stringify into a Snapshot,
+ // JSON.parse back out, and hand the result to store.replace().
+ const snapshotJson = JSON.stringify(original)
+ const recovered: TypeDoc = JSON.parse(snapshotJson)
+ ok(docContentKey(recovered) === docContentKey(original),
+ 'the round-tripped snapshot has the same content key as the original')
+
+ const openDoc = doc()
+ openDoc.body[0].text = 'A different document, currently open in the editor.'
+ const store = new Store(openDoc) // a DIFFERENT doc is "currently open"
+ const before = store.undoDepth
+ store.replace(recovered)
+ ok(JSON.stringify(store.doc) === snapshotJson,
+ 'store.doc after replace() is byte-identical to the snapshot JSON')
+ ok(store.doc.body[0].text === original.body[0].text, 'restored body text matches')
+ ok(Object.keys(store.doc.footnotes).length === 1, 'restored footnotes survive the round trip')
+ ok(store.undoDepth === before + 1, 'replace() pushed exactly one undo step — restore is ONE ⌘Z away from undone')
+ ok(store.undo(), 'undo succeeds')
+ ok(store.doc.body[0].text === openDoc.body[0].text, 'undo reverts the restore back to what was open before it')
+}
+
+console.log(`\n${checks - failures}/${checks} checks passed`)
+if (failures) process.exit(1)
diff --git a/scripts/test-type-i18n.ts b/scripts/test-type-i18n.ts
new file mode 100644
index 00000000..f13d3949
--- /dev/null
+++ b/scripts/test-type-i18n.ts
@@ -0,0 +1,193 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// bento/type localization rig.
+//
+// node scripts/test-type-i18n.ts
+//
+// WHAT ROTS. English-string-as-key catalogs decay in four silent ways:
+//
+// · a source string changes by a full stop or an ellipsis and the catalogs
+// keep translating the OLD key — the lookup misses and the reader gets
+// English, forever, with nothing failing;
+// · a translator's file drifts from the others — one language quietly loses
+// a key nobody re-added;
+// · a translation drops a `{placeholder}` — the reader gets a sentence with
+// a variable missing, or the interpolation throws;
+// · a key is removed from the source but survives in a catalog — dead
+// weight that looks like coverage but corresponds to nothing.
+//
+// The key universe is swept from type/src/**, not read off any one catalog —
+// same char-by-char walk as scripts/build-type-i18n.mjs (a regex over just the
+// opening quote silently truncates the concatenated strings in about.ts).
+
+import { readdirSync, readFileSync } from 'node:fs'
+import { join, dirname } from 'node:path'
+import { fileURLToPath } from 'node:url'
+
+const root = join(dirname(fileURLToPath(import.meta.url)), '..')
+const srcDir = join(root, 'type/src')
+const i18nDir = join(srcDir, 'i18n')
+const LOCALES = ['ja', 'zh-Hans', 'zh-Hant', 'es', 'fr', 'de', 'it', 'pt']
+
+let failures = 0
+let checks = 0
+function ok(cond: boolean, msg: string) {
+ checks++
+ if (!cond) { failures++; console.log(` FAIL ${msg}`) }
+}
+
+// --- sweep every t('…') in the source, concatenated fragments included ------
+function collectFromFile(file: string, keys: Set<string>) {
+ const src = readFileSync(file, 'utf8')
+ const callRe = /\bt\(/g
+ let m: RegExpExecArray | null
+ while ((m = callRe.exec(src))) {
+ let i = m.index + 2
+ const skipWs = () => { while (i < src.length && /\s/.test(src[i])) i++ }
+ skipWs()
+ if (src[i] !== "'" && src[i] !== '"' && src[i] !== '`') continue
+ let full = ''
+ let ok2 = true
+ let hadTemplate = false
+ for (;;) {
+ skipWs()
+ const q = src[i]
+ if (q === "'" || q === '"' || q === '`') {
+ let j = i + 1
+ let raw = ''
+ while (j < src.length) {
+ if (src[j] === '\\') { raw += src[j] + src[j + 1]; j += 2; continue }
+ if (src[j] === q) { j++; break }
+ raw += src[j]; j++
+ }
+ if (q === '`') hadTemplate = true
+ else if (q === "'") full += raw.replace(/\\'/g, "'").replace(/\\\\/g, '\\')
+ else { try { full += JSON.parse('"' + raw + '"') } catch { full += raw } }
+ i = j
+ } else { ok2 = false; break }
+ skipWs()
+ if (src[i] === '+') { i++; continue }
+ break
+ }
+ if (!ok2 || hadTemplate) continue
+ keys.add(full)
+ }
+}
+
+function sweepKeys(): Set<string> {
+ const keys = new Set<string>()
+ const walk = (dir: string) => {
+ for (const entry of readdirSync(dir, { withFileTypes: true })) {
+ const full = join(dir, entry.name)
+ if (entry.isDirectory()) { if (entry.name !== 'i18n') walk(full); continue }
+ if (!entry.name.endsWith('.ts')) continue
+ collectFromFile(full, keys)
+ }
+ }
+ walk(srcDir)
+ return keys
+}
+
+/** Evaluate a generated catalog module (a plain object literal) without ts-node. */
+function readCatalog(code: string): Record<string, string> {
+ const file = join(i18nDir, `${code}.ts`)
+ const src = readFileSync(file, 'utf8')
+ const start = src.indexOf('{', src.indexOf('export const '))
+ const end = src.lastIndexOf('}')
+ // eslint-disable-next-line no-new-func
+ return Function(`"use strict"; return (${src.slice(start, end + 1)})`)()
+}
+
+console.log('bento/type i18n coverage\n')
+
+const sourceKeys = sweepKeys()
+ok(sourceKeys.size > 0, `source sweep found ${sourceKeys.size} t() keys`)
+
+const catalogs = Object.fromEntries(LOCALES.map((l) => [l, readCatalog(l)]))
+const placeholderRe = /\{[a-zA-Z]+\}/g
+
+// --- 1. every catalog has the same key set (no drift between locales) -------
+for (const loc of LOCALES) {
+ const catKeys = new Set(Object.keys(catalogs[loc]))
+ for (const other of LOCALES) {
+ if (other === loc) continue
+ const otherKeys = new Set(Object.keys(catalogs[other]))
+ const missingHere = [...otherKeys].filter((k) => !catKeys.has(k))
+ ok(missingHere.length === 0,
+ `${loc}.ts has every key ${other}.ts has` + (missingHere.length ? ` (missing ${missingHere.length}, e.g. ${JSON.stringify(missingHere[0])})` : ''))
+ }
+}
+
+// --- 2. no key is missing from a catalog that English (the source) has -----
+for (const loc of LOCALES) {
+ const catKeys = new Set(Object.keys(catalogs[loc]))
+ const missing = [...sourceKeys].filter((k) => !catKeys.has(k))
+ ok(missing.length === 0,
+ `${loc}.ts covers every source string` + (missing.length ? ` (missing ${missing.length}, e.g. ${JSON.stringify(missing[0])})` : ''))
+}
+
+// --- 3. every {placeholder} in an English string survives translation ------
+let placeholderFailures = 0
+for (const key of sourceKeys) {
+ const wanted = new Set(key.match(placeholderRe) ?? [])
+ if (wanted.size === 0) continue
+ for (const loc of LOCALES) {
+ const val = catalogs[loc][key]
+ if (val === undefined) continue // already reported by check 2
+ const got = new Set(val.match(placeholderRe) ?? [])
+ const lost = [...wanted].filter((p) => !got.has(p))
+ const added = [...got].filter((p) => !wanted.has(p))
+ if (lost.length || added.length) {
+ placeholderFailures++
+ console.log(` FAIL ${loc}: placeholder mismatch in ${JSON.stringify(key)}` +
+ (lost.length ? ` — missing ${lost.join(', ')}` : '') +
+ (added.length ? ` — unexpected ${added.join(', ')}` : ''))
+ }
+ }
+}
+checks++
+if (placeholderFailures) failures++
+else console.log(` ok every {placeholder} survives translation, all locales`)
+
+// --- 4. no catalog carries a key that no longer exists in the source -------
+for (const loc of LOCALES) {
+ const stale = Object.keys(catalogs[loc]).filter((k) => !sourceKeys.has(k))
+ ok(stale.length === 0,
+ `${loc}.ts has no stale keys` + (stale.length ? ` (${stale.length} stale, e.g. ${JSON.stringify(stale[0])})` : ''))
+}
+
+// --- 5. the packed table (what actually ships) matches the catalogs --------
+// A stale packed.ts would pass every check above and still ship English —
+// build-type-i18n.mjs is the only writer of packed.ts, so this just proves
+// nobody forgot to re-run it after editing a catalog.
+{
+ const packedSrc = readFileSync(join(i18nDir, 'packed.ts'), 'utf8')
+ const packedLocales = JSON.parse(packedSrc.match(/PACKED_LOCALES\s*=\s*(\[[^\]]*\])/)![1].replace(/'/g, '"'))
+ ok(JSON.stringify(packedLocales) === JSON.stringify(LOCALES), 'packed.ts locale columns match LOCALES')
+ const rows = [...packedSrc.matchAll(/^ {2}("(?:[^"\\]|\\.)*"):\s*(\[[\s\S]*?\]),$/gm)]
+ const packedKeys = new Set<string>()
+ let packedMismatch = 0
+ for (const [, kRaw, arrRaw] of rows) {
+ const k = JSON.parse(kRaw)
+ packedKeys.add(k)
+ let vals: (string | number)[]
+ try { vals = JSON.parse(arrRaw) } catch { continue }
+ LOCALES.forEach((loc, i) => {
+ const expected = catalogs[loc][k]
+ const got = vals.length > i ? vals[i] : 0
+ const gotStr = got === 0 ? undefined : got
+ if (gotStr !== expected) packedMismatch++
+ })
+ }
+ ok(packedMismatch === 0, `packed.ts translations match the per-locale catalogs` + (packedMismatch ? ` (${packedMismatch} mismatched cell(s) — run: node scripts/build-type-i18n.mjs)` : ''))
+ const missingFromPacked = [...sourceKeys].filter((k) => !packedKeys.has(k))
+ const staleInPacked = [...packedKeys].filter((k) => !sourceKeys.has(k))
+ ok(missingFromPacked.length === 0 && staleInPacked.length === 0,
+ 'packed.ts key set matches the source sweep exactly' +
+ (missingFromPacked.length ? ` (packed.ts missing ${missingFromPacked.length})` : '') +
+ (staleInPacked.length ? ` (packed.ts has ${staleInPacked.length} stale)` : ''))
+}
+
+console.log(`\n${checks - failures}/${checks} checks passed`)
+if (failures) process.exit(1)
diff --git a/scripts/test-type-preview.ts b/scripts/test-type-preview.ts
new file mode 100644
index 00000000..85e9fb25
--- /dev/null
+++ b/scripts/test-type-preview.ts
@@ -0,0 +1,230 @@
+#!/usr/bin/env node
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// bento/type first-page preview rig.
+//
+// node scripts/test-type-preview.ts (Node ≥ 23.6 strips types natively)
+//
+// WHAT THIS PROVES. Every save writes a static rendering of page one into the
+// shell so file managers can thumbnail the document (kernel/src/save.ts for the
+// placement, type/src/preview.ts for the drawing — see that file's header for
+// the full rationale). Everything about this feature fails SILENTLY — nobody
+// proofreads markup they cannot see — and none of it is recoverable once a
+// file is on disk:
+//
+// 1. THE ENCRYPTION VETO. An encrypted document must never carry a
+// plaintext rendering of page one. Getting this wrong publishes the
+// opening paragraphs of a contract in plaintext beside the ciphertext
+// that exists to hide them, and the owner has no way to notice.
+// 2. THE OUTPUT REFUSAL. The preview is built from author content — marks,
+// links, images, embeds. A `<script>`, an `on*` handler, or a live
+// `data-*` attribute reaching the file is either a code-execution
+// surface in a document that promised to be inert without its own
+// runtime, or a hook the runtime never installs (dead weight at best,
+// a tell at worst).
+// 3. THE PLACEMENT CONTRACT, owned by the kernel (kernel/src/save.ts
+// writePreview): the preview host is followed IMMEDIATELY by its
+// parser-blocking remover, with nothing paintable between them, and a
+// second save REPLACES the first preview rather than stacking another
+// one beside it. type registers nothing special here — it hands the
+// kernel an element — so this section proves the WIRING reaches the
+// kernel's real serialize path, not a second implementation of it.
+//
+// Laying the page out (real pagination, real line boxes) needs actual layout,
+// which jsdom does not do — `getBoundingClientRect` returns all-zero rects, so
+// pagination degenerates to "the whole document is page one" whenever no
+// layout engine is present. That is an honest limitation, not a false pass:
+// every invariant below still holds over whatever content the degenerate case
+// produces, and where jsdom itself is absent, the DOM-dependent section is
+// skipped with a note, exactly as scripts/test-type-font.ts already does for
+// its own DOM round trip. Real pagination is verified in a browser (see the
+// PR's own manual check) and by the paginator's own rig,
+// scripts/test-type-layout.ts.
+
+import { register } from 'node:module';
+register('./lib/ts-resolve-hooks.mjs', import.meta.url);
+
+import { isEncryptionActive, setEncryptionPassword } from '../kernel/src/save.ts';
+import { emptyDoc, type TypeDoc, type Block } from '../type/src/model.ts';
+
+let checks = 0, bad = 0;
+const ok = (cond: boolean, msg: string) => {
+ checks++;
+ if (cond) console.log(` ok ${msg}`);
+ else { bad++; console.log(` FAIL ${msg}`); }
+};
+
+const block = (over: Partial<Block>): Block =>
+ ({ id: over.id ?? `b${Math.random().toString(36).slice(2, 8)}`, kind: 'para', text: '', ...over });
+
+const doc = (over: Partial<TypeDoc> = {}): TypeDoc => ({ ...emptyDoc(), ...over });
+
+// Never write these literals (AGENTS.md #1): fixtures need them as data.
+const SCRIPT_OPEN = '<scr' + 'ipt';
+const SCRIPT_CLOSE = '</scr' + 'ipt';
+
+console.log('\n— the encryption veto, which buildTypePreview checks itself —');
+{
+ const { buildTypePreview } = await import('../type/src/preview.ts');
+ ok(!isEncryptionActive(), 'starts unencrypted, so the fixture below is meaningful');
+ setEncryptionPassword('hunter2');
+ ok(isEncryptionActive(), 'the flag is now on');
+ const withBody = doc({ body: [block({ kind: 'h1', text: 'Confidential Merger Terms' })] });
+ ok(buildTypePreview(withBody) === null, 'an encrypted document gets NO preview, even with real content');
+ setEncryptionPassword(null);
+ ok(!isEncryptionActive(), 'cleared for the rest of this file');
+}
+
+console.log('\n— an empty document gets no preview either —');
+{
+ const { buildTypePreview } = await import('../type/src/preview.ts');
+ const blank = doc({ body: [] });
+ ok(buildTypePreview(blank) === null, 'no body at all -> null, same as a pristine shell with nothing typed yet');
+ // Both branches above return before touching `document` — asserted by the
+ // fact this ran at all: this rig has no DOM shim in scope yet.
+ ok(typeof (globalThis as { document?: unknown }).document === 'undefined',
+ 'both checks above ran with no DOM present, proving they never reach into one');
+}
+
+console.log(`\n${checks - bad}/${checks} checks passed`);
+
+// ─────────────────────────────────────────────── the DOM-dependent section
+
+const { JSDOM } = await (async () => {
+ try { return await import('jsdom'); } catch { return { JSDOM: null as never }; }
+})();
+
+if (!JSDOM) {
+ console.log('\n— skipped: jsdom is not installed —');
+ console.log(' -- the static-markup, ordering and replace-vs-append checks below need a DOM;');
+ console.log(' -- verified instead in a real browser (see the PR notes) and by');
+ console.log(' -- scripts/test-type-layout.ts for the paginator itself.');
+} else {
+ const dom = new JSDOM(
+ '<!doctype html><html><head><title>t</title></head><body><div id="bento-splash"></div></body></html>',
+ );
+ const g = globalThis as {
+ document?: unknown; window?: unknown; HTMLElement?: unknown; Node?: unknown;
+ NodeFilter?: unknown; performance?: unknown;
+ };
+ g.document = dom.window.document;
+ g.window = dom.window;
+ g.HTMLElement = dom.window.HTMLElement;
+ g.Node = dom.window.Node;
+ g.NodeFilter = dom.window.NodeFilter;
+ if (!g.performance) g.performance = { now: () => Date.now() } as unknown;
+
+ const { buildTypePreview, PREVIEW_BUDGET } = await import('../type/src/preview.ts');
+ const save = await import('../kernel/src/save.ts');
+ const { configureApp } = await import('../kernel/src/app.ts');
+ configureApp({ appId: 'bento-type-test', appName: 'Bento Type (test)', manifestUrl: 'about:blank' });
+
+ ok(PREVIEW_BUDGET > 0 && PREVIEW_BUDGET <= 256 * 1024, 'the budget is a real, bounded number, not a vibe');
+
+ const richDoc = (): TypeDoc => doc({
+ title: 'Distribution Agreement',
+ body: [
+ block({ kind: 'h1', text: 'Distribution Agreement' }),
+ block({
+ kind: 'para',
+ text: 'This agreement is made between the parties, click here for details.',
+ marks: [{ t: 'b', from: 0, to: 4 } as never],
+ }),
+ block({
+ kind: 'para',
+ text: 'A malicious clause',
+ marks: [{ t: 'a', from: 0, to: 4, href: 'javascript:alert(1)' } as never],
+ }),
+ block({
+ kind: 'image',
+ text: '',
+ image: { src: 'data:image/png;base64,AAAA', alt: 'A seal' } as never,
+ }),
+ block({
+ kind: 'image',
+ text: '',
+ image: { src: 'https://evil.example/track.png', alt: 'remote' } as never,
+ }),
+ ],
+ });
+
+ console.log('\n— the markup itself: nothing that could run, load, or leak —');
+ {
+ const el = buildTypePreview(richDoc());
+ ok(!!el, 'a document with real content gets a preview');
+ const html = el!.outerHTML;
+ ok(!html.toLowerCase().includes(SCRIPT_OPEN.toLowerCase()), 'no <script> anywhere in the preview markup');
+ ok(!/\son[a-z]+\s*=/i.test(html), 'no on* handler attributes');
+ ok(!/\sdata-[a-z-]+\s*=/i.test(html), 'no runtime data-* attributes survive staticizing');
+ ok(!/\scontenteditable\s*=/i.test(html), 'no contenteditable attribute');
+ ok(!/\shref\s*=/i.test(html), 'no href — a preview must not be a live link, javascript: or otherwise');
+ ok(!html.includes('evil.example'), 'a remote image URL never reaches the file');
+ ok(html.includes('data:image/png;base64,AAAA'), 'an already-embedded data: image is kept — it costs no request');
+ ok(html.includes('Distribution Agreement'), 'the actual document content is what got rendered');
+ }
+
+ console.log('\n— replace, never append: two saves leave exactly one preview —');
+ {
+ // Wire the real kernel path, the way registry.ts really does, so this
+ // proves the WIRING and the kernel's placement contract together rather
+ // than re-implementing writePreview's own rig.
+ save.registerPreview(d => buildTypePreview(d as unknown as TypeDoc));
+ save.capturePristine();
+ const d = richDoc();
+ const first = save.serializeFile(d as never);
+ // Three hits, not two: the host's own attribute, the remover script's
+ // attribute, AND the attribute name spelled out inside the remover's own
+ // JS text (it selects `[data-bento-preview]` to delete both). That is the
+ // kernel's own literal (kernel/src/save.ts PREVIEW_REMOVER) — this pins
+ // the COUNT so a stacked second preview (6 hits) is caught below, not the
+ // exact constant, which is the kernel's to change.
+ const hostCount1 = (first.match(/data-bento-preview/g) ?? []).length;
+ ok(hostCount1 === 3, `exactly one host + one remover after the first save (got ${hostCount1} occurrences)`);
+
+ // A second save must REPLACE, not stack another preview on top —
+ // capturePristine is NOT called again here, mirroring how a real second
+ // save reuses the boot-time snapshot rather than re-snapshotting itself.
+ const second = save.serializeFile({ ...d, title: 'Distribution Agreement (revised)' } as never);
+ const hostCount2 = (second.match(/data-bento-preview/g) ?? []).length;
+ ok(hostCount2 === 3, `still exactly one host + one remover after a SECOND save (got ${hostCount2}), not two stacked previews`);
+ }
+
+ console.log('\n— ordering: the remover follows the host with nothing paintable between —');
+ {
+ save.registerPreview(d => buildTypePreview(d as unknown as TypeDoc));
+ save.capturePristine();
+ const html = save.serializeFile(richDoc() as never);
+ const hostOpen = html.indexOf('data-bento-preview');
+ ok(hostOpen >= 0, 'a preview was written');
+ // Between the host's own closing and the remover's opening there must be
+ // nothing but that element's own close tag and the remover's open tag —
+ // i.e. the remover script is the host's very next sibling.
+ const afterHost = html.slice(hostOpen);
+ const removerRel = afterHost.indexOf(SCRIPT_OPEN);
+ ok(removerRel > 0, 'a remover script follows the host somewhere after it');
+ // The host is a (possibly deeply nested) <div>; its OWN closing tag —
+ // not some inner element's — must be the thing immediately preceding the
+ // remover's opening `<script`. Anything else between them is markup a
+ // scriptless renderer could paint before the remover ever runs.
+ const immediatelyBefore = afterHost.slice(Math.max(0, removerRel - '</div>'.length), removerRel);
+ ok(immediatelyBefore.toLowerCase() === '</div>',
+ `the host's own </div> is the remover's immediate predecessor (got "${immediatelyBefore}")`);
+ ok(afterHost.indexOf(SCRIPT_CLOSE) > removerRel, 'and the remover script is actually closed');
+ }
+
+ console.log('\n— an encrypted save carries no preview at all, end to end —');
+ {
+ save.registerPreview(d => buildTypePreview(d as unknown as TypeDoc));
+ save.capturePristine();
+ setEncryptionPassword('hunter2');
+ try {
+ const html = await save.serializeDocInto(dom.window.document, richDoc() as never);
+ ok(!html.includes('data-bento-preview'), 'no preview markers anywhere in an encrypted save');
+ } finally {
+ setEncryptionPassword(null);
+ }
+ }
+}
+
+console.log(`\n${checks - bad}/${checks} checks passed`);
+if (bad) process.exit(1);
diff --git a/type/src/about.ts b/type/src/about.ts
index 21b5ea7f..67fe243a 100644
--- a/type/src/about.ts
+++ b/type/src/about.ts
@@ -24,6 +24,7 @@ import { wordCount, docForExport } from './model.ts';
import { t } from './i18n.ts';
import { knownAuthor, setAuthorName } from './comments.ts';
import './comments.css';
+import { listVersions, type Snapshot } from './autosave.ts';
export interface AboutHooks {
store: Store;
@@ -205,6 +206,21 @@ export function openAbout({ store, pages, onReplaceDoc }: AboutHooks): void {
'The document is the interchange unit: hand this JSON to an AI, get one back, ' +
'and paste it in. `window.bento` exposes the same thing to scripts.'), 't-note'));
+ // ---- version history -----------------------------------------------------
+ //
+ // Browses the auto-save timeline autosave.ts keeps in IndexedDB (never in
+ // the file, never online). Restoring reuses `onReplaceDoc` exactly as
+ // "Replace from JSON…" does above — `Snapshot.json` already IS a bento/type
+ // document JSON string — so this needed no new hook into main.ts: parseDoc
+ // validates it, store.replace makes it undoable, editor.render() repaints.
+ const historyRow = document.createElement('div');
+ historyRow.className = 't-row';
+ historyRow.append(button(t('Version history…'), () => openVersionHistory({ store, onReplaceDoc, close })));
+ card.append(historyRow);
+ card.append(p(t(
+ 'Versions are saved automatically as you edit, kept only in this browser, ' +
+ 'and never uploaded. Restoring is undoable with ⌘Z.'), 't-note'));
+
// ---- credits ------------------------------------------------------------
card.append(h(t('Credits')));
card.append(p(t(
@@ -224,3 +240,79 @@ export function openAbout({ store, pages, onReplaceDoc }: AboutHooks): void {
});
document.body.append(back);
}
+
+/**
+ * Version history — a second small dialog over the About card, listing the
+ * auto-save timeline newest-first. Kept separate from `openAbout` rather than
+ * inlined: the row list is fetched async (IndexedDB), and About itself must
+ * render synchronously the moment the wordmark is clicked.
+ */
+async function openVersionHistory(
+ { store, onReplaceDoc, close: closeAbout }: { store: Store; onReplaceDoc(json: string): void; close(): void },
+): Promise<void> {
+ const versions = await listVersions(store.doc.docId);
+
+ const back = document.createElement('div');
+ back.className = 't-overlay';
+ const card = document.createElement('div');
+ card.className = 't-dlg';
+ card.setAttribute('role', 'dialog');
+ card.setAttribute('aria-label', t('Version history'));
+ const close = () => back.remove();
+
+ const h = document.createElement('h2');
+ h.className = 't-dlg-h';
+ h.textContent = t('Version history');
+ card.append(h);
+
+ if (!versions.length) {
+ const empty = document.createElement('p');
+ empty.className = 't-note';
+ empty.textContent = t('No saved versions yet — they accumulate as you edit.');
+ card.append(empty);
+ } else {
+ const list = document.createElement('div');
+ versions.forEach((v: Snapshot, i: number) => {
+ const rowEl = document.createElement('button');
+ rowEl.type = 'button';
+ rowEl.className = 't-btn';
+ rowEl.style.cssText = 'display:flex;width:100%;justify-content:space-between;gap:10px;margin:4px 0;';
+ const when = new Date(v.at).toLocaleString([], { month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit' });
+ const label = document.createElement('span');
+ label.textContent = i === 0 ? t('{when} (most recent)', { when }) : when;
+ const doIt = document.createElement('span');
+ doIt.className = 't-note';
+ doIt.textContent = t('Restore');
+ rowEl.append(label, doIt);
+ rowEl.addEventListener('click', () => {
+ onReplaceDoc(v.json);
+ close();
+ closeAbout();
+ });
+ list.append(rowEl);
+ });
+ card.append(list);
+ }
+
+ const fine = document.createElement('p');
+ fine.className = 't-note';
+ fine.textContent = t('Stored only in this browser, never in the file or online.');
+ card.append(fine);
+
+ const foot = document.createElement('div');
+ foot.className = 't-dlg-foot';
+ const closeBtn = document.createElement('button');
+ closeBtn.className = 't-btn t-primary';
+ closeBtn.type = 'button';
+ closeBtn.textContent = t('Close');
+ closeBtn.addEventListener('click', close);
+ foot.append(closeBtn);
+ card.append(foot);
+
+ back.append(card);
+ back.addEventListener('click', e => { if (e.target === back) close(); });
+ document.addEventListener('keydown', function esc2(e) {
+ if (e.key === 'Escape') { e.stopPropagation(); close(); document.removeEventListener('keydown', esc2); }
+ });
+ document.body.append(back);
+}
diff --git a/type/src/autosave.ts b/type/src/autosave.ts
new file mode 100644
index 00000000..9cb2756e
--- /dev/null
+++ b/type/src/autosave.ts
@@ -0,0 +1,171 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// Autosave + crash recovery for bento/type.
+//
+// Today, closing the tab or crashing loses everything since the last manual
+// ⌘S — for a word processor that is the worst gap on the list. The STORAGE
+// already exists in the shared kernel (kernel/src/autosave.ts: IndexedDB, two
+// stores — a single latest-per-docId `recovery` and a capped `versions`
+// timeline). This module is the app-side wiring: when to snapshot, what
+// counts as "the same content", and the Restore/Discard banner on boot.
+// Modelled directly on slides/src/autosave.ts — read that file's header
+// before changing the shape of this one.
+//
+// docContentKey stays HERE, not in the kernel, for the same reason slides
+// keeps its own: "what counts as content" is a per-app model question the
+// kernel must never see. UNLIKE slides, bento/type already has a canonical,
+// volatile-field-excluding serialization built for the signature chain —
+// canon.ts's `canonicalize`, which drops exactly the fields that churn
+// without a real edit (modified, sync, collab, preview, signatures,
+// autosave — see canon.ts's VOLATILE set). Reusing it means there is only
+// ONE notion of "same content" in this app, not two that could quietly
+// drift apart.
+//
+// Feature registration: this module is wired through the feature registry
+// (features.ts registerReady), not main.ts — see registry.ts for the one
+// import line that switches it on. It never touches main.ts.
+//
+// Registered once, at import time, mirroring every other feature module.
+
+import { isEncryptionActive } from '../../kernel/src/save.ts';
+import {
+ putRecovery, getRecovery, clearRecovery, addVersion, listVersions, pruneOld,
+ clearVersions, type Snapshot,
+} from '../../kernel/src/autosave.ts';
+import { canonicalize } from './canon.ts';
+import { registerReady, type FeatureContext } from './features.ts';
+import type { TypeDoc } from './model.ts';
+import { t } from './i18n.ts';
+
+export { putRecovery, getRecovery, clearRecovery, addVersion, listVersions, pruneOld, clearVersions };
+export type { Snapshot };
+
+/**
+ * The content that actually matters for "did this change" — everything
+ * except the volatile fields canon.ts already knows to exclude (see its
+ * VOLATILE set: modified, sync, collab, preview, signatures, autosave).
+ *
+ * Reusing `canonicalize` rather than hand-picking fields (as slides does)
+ * means a new content field added to TypeDoc later is covered automatically
+ * — the same fail-safe reasoning canon.ts documents for the signature chain
+ * applies here for free.
+ */
+export function docContentKey(doc: TypeDoc): string {
+ return canonicalize(doc);
+}
+
+/**
+ * May the CURRENT document's plaintext touch IndexedDB right now?
+ *
+ * bento/type has no encryption feature yet — `isEncryptionActive()` can
+ * never return true today — but the guard costs nothing and is the one line
+ * that must already be correct the day encryption ships, exactly as it is in
+ * slides/src/autosave.ts. Never remove this without confirming that day has
+ * not arrived. Exported (rather than kept as a private `if`) so the rig can
+ * assert the guard directly against the kernel's real encryption state,
+ * instead of trusting that the call site was written correctly.
+ */
+export function canSnapshot(): boolean {
+ return !isEncryptionActive();
+}
+
+const AUTOSAVE_DEBOUNCE_MS = 2500;
+const VERSION_THROTTLE_MS = 120_000; // one version snapshot per 2 minutes of edits, like slides
+
+let autosaveTimer: ReturnType<typeof setTimeout> | 0 = 0;
+let lastVersionAt = 0;
+
+function scheduleAutosave(ctx: FeatureContext) {
+ if (ctx.store.doc.readonly) return;
+ if (autosaveTimer) clearTimeout(autosaveTimer);
+ autosaveTimer = setTimeout(() => { void runAutosave(ctx); }, AUTOSAVE_DEBOUNCE_MS);
+}
+
+async function runAutosave(ctx: FeatureContext): Promise<void> {
+ const doc = ctx.store.doc;
+ if (doc.readonly) return;
+ // Never write an encrypted document's plaintext to IndexedDB — that would
+ // put a legible copy on disk beside a file whose whole purpose is that it
+ // is not legible. See canSnapshot() above.
+ if (!canSnapshot()) return;
+ const stored = await putRecovery(doc);
+ if (!stored) return; // no usable IndexedDB here (private browsing, some file:// contexts)
+ if (Date.now() - lastVersionAt > VERSION_THROTTLE_MS) {
+ lastVersionAt = Date.now();
+ await addVersion(doc);
+ }
+}
+
+async function checkRecovery(ctx: FeatureContext): Promise<void> {
+ const doc = ctx.store.doc;
+ const snap = await getRecovery(doc.docId);
+ if (!snap) return;
+ let recovered: TypeDoc;
+ try { recovered = JSON.parse(snap.json) as TypeDoc; } catch { return; }
+ // The file on disk already has these edits (this save cycle wrote both) —
+ // nothing to offer back. Compared with the shared content key, not a
+ // byte comparison, so volatile churn (modified timestamps, sync state)
+ // never trips a false banner.
+ if (docContentKey(recovered) === docContentKey(doc)) return;
+ showRecoveryBanner(ctx, snap, recovered);
+}
+
+let styleInjected = false;
+function ensureStyle(): void {
+ if (styleInjected) return;
+ styleInjected = true;
+ const style = document.createElement('style');
+ style.textContent = `
+.t-recover {
+ position: fixed; left: 50%; top: 14px; transform: translateX(-50%);
+ display: flex; align-items: center; gap: 10px;
+ background: var(--field); color: var(--ink);
+ border: 1px solid var(--line); border-radius: 10px;
+ padding: 9px 12px; font-size: 13px;
+ box-shadow: 0 10px 34px rgb(0 0 0 / .28), 0 2px 8px rgb(0 0 0 / .12);
+ z-index: 210; max-width: min(560px, calc(100vw - 32px));
+}
+.t-recover > span:first-child { flex: 1 1 auto; }
+`;
+ document.head.appendChild(style);
+}
+
+function showRecoveryBanner(ctx: FeatureContext, snap: Snapshot, recovered: TypeDoc): void {
+ ensureStyle();
+ document.querySelector('.t-recover')?.remove();
+ const bar = document.createElement('div');
+ bar.className = 't-recover';
+ bar.setAttribute('role', 'alert');
+ const when = new Date(snap.at).toLocaleString([], { hour: '2-digit', minute: '2-digit', month: 'short', day: 'numeric' });
+ const msg = document.createElement('span');
+ msg.textContent = t('Unsaved changes from {when} were found.', { when });
+ const restore = document.createElement('button');
+ restore.className = 't-btn t-primary';
+ restore.type = 'button';
+ restore.textContent = t('Restore');
+ restore.addEventListener('click', () => {
+ // Through the store, so this is one ⌘Z away from undone — never a
+ // silent, un-undoable swap of the document under the author.
+ ctx.store.replace(recovered);
+ ctx.refresh();
+ bar.remove();
+ ctx.toast(t('Restored your unsaved changes'));
+ });
+ const dismiss = document.createElement('button');
+ dismiss.className = 't-btn';
+ dismiss.type = 'button';
+ dismiss.textContent = t('Discard');
+ dismiss.addEventListener('click', () => { void clearRecovery(ctx.store.doc.docId); bar.remove(); });
+ bar.append(msg, restore, dismiss);
+ document.body.appendChild(bar);
+}
+
+function wireAutosave(ctx: FeatureContext): void {
+ if (ctx.store.doc.readonly) return; // a player file has nothing to protect
+ void pruneOld();
+ void checkRecovery(ctx);
+ ctx.store.on(() => scheduleAutosave(ctx));
+}
+
+registerReady(wireAutosave);
diff --git a/type/src/cite.ts b/type/src/cite.ts
index e5473187..144dc837 100644
--- a/type/src/cite.ts
+++ b/type/src/cite.ts
@@ -592,7 +592,7 @@ function mountPanel(host: HTMLElement, ctx: FeatureContext): void {
registerPanel({
id: 'cite',
- label: t('Sources'),
+ get label() { return t('Sources'); },
host: 'citeHost',
order: 40,
mount: mountPanel,
@@ -602,7 +602,7 @@ registerPanel({
registerTool({
id: 'cite',
icon: ICON,
- title: t('Insert citation'),
+ get title() { return t('Insert citation'); },
group: 'insert',
label: () => t('Citation'),
order: 40,
@@ -611,7 +611,7 @@ registerTool({
registerMenuItem({
id: 'cite-import',
- label: t('Import BibTeX…'),
+ get label() { return t('Import BibTeX…'); },
order: 40,
run: ctx => openImport(ctx, () => {}),
});
diff --git a/type/src/collab.ts b/type/src/collab.ts
index 7a361a2f..91889cc9 100644
--- a/type/src/collab.ts
+++ b/type/src/collab.ts
@@ -42,6 +42,7 @@ import { SyncSession, hostStore, type Peer, type SyncNotice } from './sync/sessi
import type { Store } from './store.ts';
import type { Editor } from './editor.ts';
import type { TypeDoc } from './model.ts';
+import { t } from './i18n.ts';
// ─────────────────────────────────────────────────────────────── small DOM
@@ -145,8 +146,8 @@ export function initCollab(store: Store, editor: Editor): void {
const presenceBox = el('div', 'tc-presence');
const wrap = el('div', 'tc-wrap');
const shareB = el('button', 'tc-share-btn');
- shareB.textContent = 'Share';
- shareB.title = 'Share — invite people to edit live, or send a view-only copy';
+ shareB.textContent = t('Share');
+ shareB.title = t('Share — invite people to edit live, or send a view-only copy');
const popover = el('div', 'tc-pop');
wrap.append(shareB, popover);
const host = spacer?.parentElement ?? bar;
@@ -172,15 +173,15 @@ export function initCollab(store: Store, editor: Editor): void {
const tr = onlineTransport();
if (!tr) {
shareB.classList.remove('live', 'connecting');
- shareB.title = 'Not sharing yet — click to start a live session';
+ shareB.title = t('Not sharing yet — click to start a live session');
return;
}
tr.onStatus = () => wireOnlineStatus();
shareB.classList.toggle('live', tr.status === 'open');
shareB.classList.toggle('connecting', tr.status !== 'open');
shareB.title = tr.status === 'open'
- ? 'Live — this document is being shared'
- : 'Connecting to the live session…';
+ ? t('Live — this document is being shared')
+ : t('Connecting to the live session…');
if (wrap.classList.contains('open')) renderPanel();
}
@@ -254,7 +255,7 @@ export function initCollab(store: Store, editor: Editor): void {
await goLive();
const c = store.doc.collab;
if (!(c?.room && c.key && c.v === 2 && c.ownerPriv)) {
- toast('Only the document owner can mint editor invites');
+ toast(t('Only the document owner can mint editor invites'));
return;
}
session.stampInto(store.doc);
@@ -264,24 +265,24 @@ export function initCollab(store: Store, editor: Editor): void {
clone.collab!.on = true;
try {
const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone, { suffix: 'invite' });
- if (ok) toast('Editor copy saved — recipients join live with edit access');
+ if (ok) toast(t('Editor copy saved — recipients join live with edit access'));
} catch {
- toast('Saving failed');
+ toast(t('Saving failed'));
}
}
async function saveViewOnlyCopy() {
await goLive();
const c = store.doc.collab;
- if (!c?.room || !c.key) { toast('This document has no live session to follow'); return; }
+ if (!c?.room || !c.key) { toast(t('This document has no live session to follow')); return; }
const clone: TypeDoc = JSON.parse(JSON.stringify(store.doc));
clone.collab = { ...c, role: 'reader', on: true, sync: undefined };
stripCollabSecrets(clone, { keepRoom: true });
try {
const ok = await writeUpdatedFileAs(await serializeAuto(clone), clone, { suffix: 'viewonly' });
- if (ok) toast('View-only copy saved — it follows the live session');
+ if (ok) toast(t('View-only copy saved — it follows the live session'));
} catch {
- toast('Saving failed');
+ toast(t('Saving failed'));
}
}
@@ -289,12 +290,12 @@ export function initCollab(store: Store, editor: Editor): void {
popover.replaceChildren();
const nameRow = el('div', 'tc-name-row');
- nameRow.title = 'Shown next to your cursor and in the People list — stored only in this browser.';
+ nameRow.title = t('Shown next to your cursor and in the People list — stored only in this browser.');
const nameLabel = el('label');
- nameLabel.textContent = 'Your name';
+ nameLabel.textContent = t('Your name');
const nameInput = el('input');
nameInput.type = 'text';
- nameInput.placeholder = 'Guest';
+ nameInput.placeholder = t('Guest');
nameInput.value = lsGet('bento-author') ?? '';
nameInput.addEventListener('change', () => {
lsSet('bento-author', nameInput.value.trim());
@@ -304,7 +305,7 @@ export function initCollab(store: Store, editor: Editor): void {
popover.appendChild(nameRow);
const cme = store.doc.collab;
- const roleLabel = (r?: string) => r === 'owner' ? 'Owner' : r === 'viewer' ? 'Viewer' : r === 'editor' ? 'Editor' : '';
+ const roleLabel = (r?: string) => r === 'owner' ? t('Owner') : r === 'viewer' ? t('Viewer') : r === 'editor' ? t('Editor') : '';
if (cme) {
let myRole: 'owner' | 'editor' | 'viewer' | undefined;
@@ -313,11 +314,11 @@ export function initCollab(store: Store, editor: Editor): void {
else if (cme.v === 2 && cme.invite) myRole = 'editor';
if (myRole) {
const label = el('div', 'tc-label');
- label.textContent = 'People';
+ label.textContent = t('People');
popover.appendChild(label);
const me = el('div', 'tc-peer tc-me');
const who = el('span', 'who');
- who.textContent = `${lsGet('bento-author') || 'Guest'} (you)`;
+ who.textContent = t('{name} (you)', { name: lsGet('bento-author') || t('Guest') });
const where = el('span', 'where');
where.textContent = roleLabel(myRole);
me.append(who, where);
@@ -337,7 +338,7 @@ export function initCollab(store: Store, editor: Editor): void {
const where = el('span', 'where');
where.textContent = [roleLabel(peer.role), blockLabel(store.doc, peer.slide)].filter(Boolean).join(' · ');
row.append(dot, who, where);
- row.title = `${peer.name} — click to follow`;
+ row.title = t('{name} — click to follow', { name: peer.name });
row.addEventListener('click', () => {
const node = paper?.querySelector<HTMLElement>(`[data-id="${CSS.escape(peer.slide)}"]`);
node?.scrollIntoView({ behavior: 'smooth', block: 'center' });
@@ -348,8 +349,8 @@ export function initCollab(store: Store, editor: Editor): void {
}
if (offlineEnabled()) {
- note('Offline mode is on — nothing leaves this computer.');
- note('Tabs on this machine still sync; turn offline mode off to collaborate online.');
+ note(t('Offline mode is on — nothing leaves this computer.'));
+ note(t('Tabs on this machine still sync; turn offline mode off to collaborate online.'));
return;
}
@@ -359,43 +360,43 @@ export function initCollab(store: Store, editor: Editor): void {
status.classList.add('tc-status');
if (on) {
const n = session.peers().length + 1;
- status.textContent = tr!.status === 'open' ? `● Live — ${n} connected` : '● Connecting…';
+ status.textContent = tr!.status === 'open' ? t('● Live — {n} connected', { n: String(n) }) : t('● Connecting…');
status.classList.toggle('ok', tr!.status === 'open');
} else {
- status.textContent = '○ Not live — turns on when you share';
+ status.textContent = t('○ Not live — turns on when you share');
}
const canWrite = !!cme && cme.role !== 'reader';
if (canWrite) {
const label = el('div', 'tc-label');
- label.textContent = 'Share a copy';
+ label.textContent = t('Share a copy');
popover.appendChild(label);
- action('Invite to edit…', true, () => void inviteToEdit(),
- 'Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.');
- action('View-only copy…', false, () => void saveViewOnlyCopy(),
- 'A live viewer: follows every edit as it happens but can never change the document.');
+ action(t('Invite to edit…'), true, () => void inviteToEdit(),
+ t('Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.'));
+ action(t('View-only copy…'), false, () => void saveViewOnlyCopy(),
+ t('A live viewer: follows every edit as it happens but can never change the document.'));
} else {
- note('This is a view-only copy — it follows the live session but can’t change the document.');
+ note(t('This is a view-only copy — it follows the live session but can’t change the document.'));
}
if (canWrite) {
popover.appendChild(el('div', 'tc-sep'));
if (on) {
- action('Stop sharing', false, () => {
+ action(t('Stop sharing'), false, () => {
stopSharing(session, hostStore(store));
wireOnlineStatus();
renderPanel();
- }, 'Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.');
+ }, t('Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.'));
} else {
- action('Go live', false, () => void goLive().then(renderPanel),
- 'Connect to the live session without saving a new copy — copies you sent earlier will meet you there.');
+ action(t('Go live'), false, () => void goLive().then(renderPanel),
+ t('Connect to the live session without saving a new copy — copies you sent earlier will meet you there.'));
}
- action('Reset access…', false, async () => {
- if (!confirm('Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.')) return;
+ action(t('Reset access…'), false, async () => {
+ if (!confirm(t('Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.'))) return;
await rotateKeys(session, hostStore(store));
- toast('Access reset — only copies saved from now on can join');
+ toast(t('Access reset — only copies saved from now on can join'));
renderPanel();
- }, 'Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.');
+ }, t('Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.'));
}
}
diff --git a/type/src/i18n.ts b/type/src/i18n.ts
index a0614f5a..41a49a8f 100644
--- a/type/src/i18n.ts
+++ b/type/src/i18n.ts
@@ -13,31 +13,66 @@
// viewer's locale is resolved. That rule is why the chrome sets its labels from
// script rather than from the markup template.
//
-// NO CATALOGS YET, DELIBERATELY, and this is the interesting part.
+// The per-locale catalogs in ./i18n/*.ts are the SOURCE OF TRUTH (that is what
+// a translator reviews and a contributor submits). What SHIPS is the key-once
+// packing of them, generated by scripts/build-type-i18n.mjs — importing the
+// per-locale files here instead would put every English key in the bundle
+// seven times over. Regenerate after editing any catalog:
//
-// The sweep (every user-visible string routed through t()) and the translation
-// (those strings rendered into eight languages) are two different jobs, and
-// doing them together here would mean doing the second one twice. bento/type is
-// missing lists, tables, images, links and find — each of which brings its own
-// UI strings — so the string set is about to move a lot. Translating an
-// 85-string app that is on its way to a few hundred wastes the translation and,
-// worse, leaves half-translated chrome in the shipped file, which reads as
-// broken in a way plain English does not.
+// node scripts/build-type-i18n.mjs
//
-// So: the sweep lands now, because it must precede any translation and because
-// an un-swept string is invisible to the extractor later. The catalogs land
-// when the tier-1 features are in and the strings have stopped moving. Until
-// then the picker offers nothing, rather than offering languages that would
-// return English — an empty menu is honest and a dead one is not.
-//
-// The engine handles this exact case: with no packed table, t() returns its
-// argument, which IS the English source text.
+// CATALOGS LANDED (was: deliberately none). The comment that used to live here
+// explained why translating an 85-string app on its way to a few hundred would
+// waste the work and ship half-translated chrome — lists, tables, images,
+// links and find were all still to come. They are in now: comments, citations,
+// mathematics, cross-references, tables, images, tracked changes, named
+// styles, embeds, collaboration, the selection toolbar, the block grip. The
+// string set has stopped moving, so the sweep (already done, ahead of this)
+// and the translation (this) no longer have to be done twice.
+import { PACKED, PACKED_LOCALES } from './i18n/packed.ts';
import { registerI18n } from '../../kernel/src/i18n.ts';
+import type { LocaleChoice } from '../../kernel/src/i18n.ts';
+
+export type { Catalog } from '../../kernel/src/i18n.ts';
+
+/** Offered in the About picker, each labelled in its own language. */
+const CHOICES: LocaleChoice[] = [
+ { code: 'en', label: 'English' },
+ { code: 'ja', label: '日本語' },
+ { code: 'zh-Hans', label: '简体中文' },
+ { code: 'zh-Hant', label: '繁體中文' },
+ { code: 'es', label: 'Español' },
+ { code: 'fr', label: 'Français' },
+ { code: 'de', label: 'Deutsch' },
+ { code: 'it', label: 'Italiano' },
+];
registerI18n({
- choices: [{ code: 'en', label: 'English' }],
+ packed: {
+ locales: PACKED_LOCALES,
+ table: PACKED,
+ // Regional codes a browser actually reports, mapped onto a bundled column.
+ // Without these a zh-TW or zh-HK reader falls all the way back to English
+ // despite the traditional catalog being right there.
+ alias: {
+ zh: 'zh-Hans',
+ 'zh-CN': 'zh-Hans',
+ 'zh-SG': 'zh-Hans',
+ 'zh-TW': 'zh-Hant',
+ 'zh-HK': 'zh-Hant',
+ 'zh-MO': 'zh-Hant',
+ },
+ },
+ choices: CHOICES,
});
+/**
+ * The BUNDLED locales only. Call sites that need the live list — including any
+ * language a future runtime pack added — must use `localeChoices()` instead:
+ * this const is frozen at import and can never grow.
+ */
+export const LOCALE_CHOICES = CHOICES;
+
export { t, locale, setLocale, localeChoices } from '../../kernel/src/i18n.ts';
export type { LocaleChoice } from '../../kernel/src/i18n.ts';
diff --git a/type/src/i18n/de.ts b/type/src/i18n/de.ts
new file mode 100644
index 00000000..fe305132
--- /dev/null
+++ b/type/src/i18n/de.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// German — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const de: Catalog = {
+ " (downloads a copy)": " (lädt eine Kopie herunter)",
+ "(empty paragraph)": "(leerer Absatz)",
+ "(no heading)": "(keine Überschrift)",
+ "(untitled)": "(unbenannt)",
+ "1 change": "1 Änderung",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "Dies ist eine selbst angegebene Angabe, keine verifizierte Identität – es ist der Name, der neben Ihren Kommentaren und nachverfolgten Änderungen angezeigt wird, und jeder kann hier einen beliebigen Namen eingeben. Er wird in diesem Browser gemerkt, gilt sofort und wird selbst nie in der Datei gespeichert (nur die Kommentare und Änderungen, die er signiert, werden gespeichert).",
+ "About bento/type": "Info zu bento/type",
+ "About bento/type — version, updates, language": "Info zu bento/type – Version, Updates, Sprache",
+ "About this document": "Info zu diesem Dokument",
+ "Accept": "Annehmen",
+ "Accept (⌘⌥A)": "Annehmen (⌘⌥A)",
+ "Accept all": "Alle annehmen",
+ "Add column": "Spalte hinzufügen",
+ "Add row": "Zeile hinzufügen",
+ "Align": "Ausrichtung",
+ "Alignment": "Ausrichtung",
+ "All markup": "Alle Änderungen",
+ "All {all} resolved": "Alle {all} gelöst",
+ "Already at the end.": "Bereits am Ende.",
+ "Already at the top.": "Bereits am Anfang.",
+ "Alt text": "Alternativtext",
+ "Alt+Shift+↑ / ↓": "Alt+Umschalt+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "Ein Update ist eine NEUE Datei, die neben dieser heruntergeladen wird – das Original bleibt unverändert, sodass ein fehlerhaftes Update durch Löschen rückgängig gemacht wird. Jede Version wird vor der Anwendung signaturgeprüft.",
+ "Appearance": "Erscheinungsbild",
+ "Applied style": "Angewendete Formatvorlage",
+ "Apply": "Anwenden",
+ "Author–year — APA-ish": "Autor–Jahr (APA-ähnlich)",
+ "Auto": "Automatisch",
+ "Bento artifact": "Bento-Artefakt",
+ "Body": "Fließtext",
+ "Bold": "Fett",
+ "Bold (⌘B)": "Fett (⌘B)",
+ "Book (1.62)": "Buch (1,62)",
+ "Both — “Table 2 (page 7)”": "Beides – „Tabelle 2 (Seite 7)“",
+ "Bulleted list": "Aufzählungsliste",
+ "Cancel": "Abbrechen",
+ "Caption": "Beschriftung",
+ "Caption this table or figure": "Beschriftung für diese Tabelle oder Abbildung hinzufügen",
+ "Centre": "Zentriert",
+ "Check for updates": "Nach Updates suchen",
+ "Checking…": "Wird geprüft…",
+ "Citation": "Zitat",
+ "Cite here": "Hier zitieren",
+ "Cited but not in this document": "Zitiert, aber nicht in diesem Dokument",
+ "Cite…": "Zitieren…",
+ "Clear direct formatting": "Direkte Formatierung löschen",
+ "Close": "Schließen",
+ "Code": "Code",
+ "Colour": "Farbe",
+ "Comment on the selected text (⌘⇧M)": "Ausgewählten Text kommentieren (⌘⇧M)",
+ "Comment on “{quote}”": "„{quote}“ kommentieren",
+ "Comments": "Kommentare",
+ "Comments hidden": "Kommentare ausgeblendet",
+ "Comments shown": "Kommentare angezeigt",
+ "Contents": "Inhalt",
+ "Contents inserted. Page numbers fill in as the document paginates.": "Inhaltsverzeichnis eingefügt. Seitenzahlen werden ausgefüllt, sobald das Dokument paginiert wird.",
+ "Copy document JSON": "Dokument-JSON kopieren",
+ "Could not check right now.": "Konnte gerade nicht geprüft werden.",
+ "Credits": "Danksagung",
+ "Cross-reference": "Querverweis",
+ "Custom": "Benutzerdefiniert",
+ "Dark": "Dunkel",
+ "Default": "Standard",
+ "Default size (px)": "Standardgröße (px)",
+ "Default typeface": "Standardschriftart",
+ "Delete": "Löschen",
+ "Delete this comment?": "Diesen Kommentar löschen?",
+ "Delete this thread": "Diesen Thread löschen",
+ "Delete this whole thread?": "Diesen gesamten Thread löschen?",
+ "Delete your comment": "Ihren Kommentar löschen",
+ "Display": "Anzeige",
+ "Document": "Dokument",
+ "Document default": "Dokumentstandard",
+ "Document id": "Dokument-ID",
+ "Document title": "Dokumenttitel",
+ "Drag to move, click for options": "Ziehen zum Verschieben, klicken für Optionen",
+ "Edit": "Bearbeiten",
+ "Edit your comment": "Ihren Kommentar bearbeiten",
+ "Edit “{name}”": "„{name}“ bearbeiten",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "Das Bearbeiten einer Formatvorlage ändert jeden Absatz, der sie verwendet – auch solche, die nie explizit eine Vorlage festgelegt haben und einfach den Standard ihrer Art nutzen.",
+ "Embed a Bento chart, deck or page": "Bento-Diagramm, -Präsentation oder -Seite einbetten",
+ "Embedded from {app}": "Eingebettet aus {app}",
+ "Equation added — edit it in the Math panel": "Gleichung hinzugefügt – im Mathematik-Panel bearbeiten",
+ "Equation block": "Gleichungsblock",
+ "Figure": "Abbildung",
+ "Figures": "Abbildungen",
+ "File": "Datei",
+ "Find": "Suchen",
+ "Find and replace (⌘F)": "Suchen und Ersetzen (⌘F)",
+ "Find in document": "Im Dokument suchen",
+ "First line": "Erste Zeile",
+ "First-line indent (px)": "Erstzeileneinzug (px)",
+ "Follow the system": "Systemeinstellung übernehmen",
+ "Format — show or hide the properties panel": "Format – Eigenschaftenbereich ein-/ausblenden",
+ "Formatting": "Formatierung",
+ "Formula": "Formel",
+ "Formula (⌘M)": "Formel (⌘M)",
+ "Formula added — edit it in the Math panel": "Formel hinzugefügt – im Mathematik-Panel bearbeiten",
+ "From {app}": "Von {app}",
+ "Header row": "Kopfzeile",
+ "Heading 1": "Überschrift 1",
+ "Heading 2": "Überschrift 2",
+ "Heading 3": "Überschrift 3",
+ "Headings": "Überschriften",
+ "Headings appear here.": "Überschriften erscheinen hier.",
+ "Hide comments": "Kommentare ausblenden",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "Dies betrifft nur die Ansicht des Dokuments, keine Änderung daran – nichts davon wird in der Datei gespeichert.",
+ "Import": "Importieren",
+ "Import BibTeX": "BibTeX importieren",
+ "Import BibTeX…": "BibTeX importieren…",
+ "Insert": "Einfügen",
+ "Insert a block below this one": "Block darunter einfügen",
+ "Insert a cross-reference": "Querverweis einfügen",
+ "Insert a cross-reference to a caption": "Querverweis auf eine Beschriftung einfügen",
+ "Insert a display equation on its own line": "Eine eigenständige Gleichungszeile einfügen",
+ "Insert a picture": "Bild einfügen",
+ "Insert a picture, table, formula, citation…": "Bild, Tabelle, Formel, Zitat einfügen…",
+ "Insert a table": "Tabelle einfügen",
+ "Insert a table of contents": "Inhaltsverzeichnis einfügen",
+ "Insert below": "Darunter einfügen",
+ "Insert citation": "Zitat einfügen",
+ "Italic": "Kursiv",
+ "Italic (⌘I)": "Kursiv (⌘I)",
+ "Justified": "Blocksatz",
+ "Keep together": "Zusammenhalten",
+ "Keep with next": "Mit nächstem zusammenhalten",
+ "Label — “Table 2”": "Beschriftung – „Tabelle 2“",
+ "Landscape": "Querformat",
+ "Layout": "Layout",
+ "Left": "Links",
+ "Left / right (in)": "Links / rechts (Zoll)",
+ "Left / right (mm)": "Links / rechts (mm)",
+ "Light": "Hell",
+ "Line spacing": "Zeilenabstand",
+ "Link (⌘K)": "Link (⌘K)",
+ "Link address": "Link-Adresse",
+ "Margins": "Ränder",
+ "Margins…": "Ränder…",
+ "Match case": "Groß-/Kleinschreibung beachten",
+ "Math": "Mathematik",
+ "Medium": "Medium",
+ "Modified": "Geändert",
+ "More — revisions, signing, print": "Mehr – Überarbeitungen, Signieren, Drucken",
+ "Move down": "Nach unten verschieben",
+ "Move this block": "Diesen Block verschieben",
+ "Move up": "Nach oben verschieben",
+ "Name": "Name",
+ "Navigate": "Navigieren",
+ "Next change (⌘⌥N)": "Nächste Änderung (⌘⌥N)",
+ "Next match (Enter)": "Nächster Treffer (Eingabe)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "Noch keine Beschriftungen. Setzen Sie den Cursor in eine Tabelle und klicken Sie auf die Schaltfläche für Beschriftungen; Nummerierung und alle Verweise folgen automatisch.",
+ "No markup": "Keine Änderungen anzeigen",
+ "No matches": "Keine Treffer",
+ "No sources yet. Paste a .bib file to get started.": "Noch keine Quellen. Fügen Sie eine .bib-Datei ein, um zu beginnen.",
+ "No tracked changes": "Keine nachverfolgten Änderungen",
+ "Nothing is cited yet, so the list is empty.": "Es wurde noch nichts zitiert, daher ist die Liste leer.",
+ "Nothing matches.": "Keine Übereinstimmung.",
+ "Nothing that looks like a BibTeX entry.": "Nichts, das wie ein BibTeX-Eintrag aussieht.",
+ "Nothing to refer to yet — caption a table first": "Noch nichts zum Verweisen vorhanden – zuerst eine Tabelle beschriften",
+ "Nothing was imported.": "Es wurde nichts importiert.",
+ "Number sections": "Abschnitte nummerieren",
+ "Number this heading": "Diese Überschrift nummerieren",
+ "Numbered as": "Nummeriert als",
+ "Numbered list": "Nummerierte Liste",
+ "Numeric [1] — IEEE-ish": "Numerisch [1] (IEEE-ähnlich)",
+ "Off by default: most documents already carry their numbers in the heading text.": "Standardmäßig deaktiviert: Die meisten Dokumente tragen ihre Nummern bereits im Überschriftentext.",
+ "Open": "Öffnen",
+ "Orientation": "Ausrichtung",
+ "Original": "Original",
+ "Outline — show or hide the document map": "Gliederung – Dokumentkarte ein-/ausblenden",
+ "Page": "Seite",
+ "Page break before": "Seitenumbruch davor",
+ "Page break inserted": "Seitenumbruch eingefügt",
+ "Page break removed": "Seitenumbruch entfernt",
+ "Page breaking": "Seitenumbruch",
+ "Page or section, optional — e.g. p. 34": "Seite oder Abschnitt, optional – z. B. S. 34",
+ "Page setup": "Seite einrichten",
+ "Page size": "Seitengröße",
+ "Page — “page 7”": "Seite – „Seite 7“",
+ "Pages": "Seiten",
+ "Paragraph": "Absatz",
+ "Paragraph defaults": "Absatzstandards",
+ "Paragraphs follow these unless they say otherwise.": "Absätze folgen diesen Einstellungen, sofern nichts anderes festgelegt ist.",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "Fügen Sie unten BibTeX ein. @article, @book, @inproceedings, @techreport und @misc werden unterstützt; jeder andere Typ wird als @misc importiert, damit er weiterhin zitierbar bleibt.",
+ "Paste BibTeX…": "BibTeX einfügen…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "Fügen Sie das JSON eines bento/type-Dokuments ein. Dies ersetzt das Dokument und kann mit ⌘Z rückgängig gemacht werden.",
+ "Picture": "Bild",
+ "Portrait": "Hochformat",
+ "Previous change (⌘⌥P)": "Vorherige Änderung (⌘⌥P)",
+ "Previous match (⇧Enter)": "Vorheriger Treffer (⇧Eingabe)",
+ "Print or PDF…": "Drucken oder PDF…",
+ "Properties": "Eigenschaften",
+ "Put the caret in a heading first.": "Setzen Sie den Cursor zuerst in eine Überschrift.",
+ "Put the caret in a paragraph first": "Setzen Sie den Cursor zuerst in einen Absatz",
+ "Put the caret in the document first": "Setzen Sie den Cursor zuerst in das Dokument",
+ "Put the caret in the table or paragraph to caption": "Setzen Sie den Cursor in die zu beschriftende Tabelle oder den Absatz",
+ "Put the caret on a tracked change first": "Setzen Sie den Cursor zuerst auf eine nachverfolgte Änderung",
+ "Put the caret where the citation goes first": "Setzen Sie den Cursor zuerst an die Stelle für das Zitat",
+ "Put the caret where the formula should go": "Setzen Sie den Cursor an die Stelle für die Formel",
+ "Put the caret where the reference goes": "Setzen Sie den Cursor zuerst an die Stelle für den Verweis",
+ "Quote": "Zitat",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "Wird von Bildschirmlesegeräten vorgelesen und bleibt als Text erhalten, falls das Bild verloren geht.",
+ "Redo (⇧⌘Z)": "Wiederholen (⇧⌘Z)",
+ "References, as they will print": "Literaturverzeichnis, wie es gedruckt wird",
+ "Regular": "Normal",
+ "Reject": "Ablehnen",
+ "Reject (⌘⌥D)": "Ablehnen (⌘⌥D)",
+ "Reject all": "Alle ablehnen",
+ "Remove": "Entfernen",
+ "Reopen": "Wieder öffnen",
+ "Replace": "Ersetzen",
+ "Replace all": "Alle ersetzen",
+ "Replace every match, as one undo step": "Ersetzt jeden Treffer in einem einzigen Rückgängig-Schritt",
+ "Replace from JSON…": "Aus JSON ersetzen…",
+ "Replace this match": "Diesen Treffer ersetzen",
+ "Replace with": "Ersetzen durch",
+ "Replaced 1 match": "1 Treffer ersetzt",
+ "Replaced {n} matches": "{n} Treffer ersetzt",
+ "Reply": "Antworten",
+ "Reply…": "Antworten…",
+ "Resolve": "Lösen",
+ "Results": "Ergebnisse",
+ "Review": "Überprüfung",
+ "Review changes…": "Änderungen überprüfen…",
+ "Right": "Rechts",
+ "Save": "Speichern",
+ "Save (⌘S)": "Speichern (⌘S)",
+ "Save to {file}": "In {file} speichern",
+ "Saved": "Gespeichert",
+ "Saved to {file}": "In {file} gespeichert",
+ "Search author, title or key": "Nach Autor, Titel oder Schlüssel suchen",
+ "Section numbering is off.": "Die Abschnittsnummerierung ist deaktiviert.",
+ "Sections are numbered.": "Die Abschnitte sind nummeriert.",
+ "Select some text and press ⌘⇧M to comment on it.": "Wählen Sie Text aus und drücken Sie ⌘⇧M, um ihn zu kommentieren.",
+ "Select some text first, then comment on it": "Wählen Sie zuerst etwas Text aus und kommentieren Sie ihn dann",
+ "Select some text to change its typeface or size. The document default is below.": "Wählen Sie Text aus, um Schriftart oder -größe zu ändern. Der Dokumentstandard steht unten.",
+ "Select something to see its properties.": "Wählen Sie etwas aus, um seine Eigenschaften zu sehen.",
+ "Select the words you want to link": "Wählen Sie die Wörter aus, die Sie verlinken möchten",
+ "Semibold": "Halbfett",
+ "Show comments": "Kommentare einblenden",
+ "Signatures": "Signaturen",
+ "Sign…": "Signieren…",
+ "Size": "Größe",
+ "Size (px)": "Größe (px)",
+ "Snapshot": "Momentaufnahme",
+ "Someone": "Jemand",
+ "Sources": "Quellen",
+ "Sources ({n})": "Quellen ({n})",
+ "Space after": "Abstand danach",
+ "Space after (px)": "Abstand danach (px)",
+ "Space before": "Abstand davor",
+ "Space before (px)": "Abstand davor (px)",
+ "Start this paragraph on a new page.": "Dieser Absatz beginnt auf einer neuen Seite.",
+ "Strikethrough": "Durchgestrichen",
+ "Style": "Formatvorlage",
+ "Style updated from this paragraph": "Formatvorlage anhand dieses Absatzes aktualisiert",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "Unterstützt: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), griechische Buchstaben, Matrizen, Fallunterscheidungen.",
+ "Table": "Tabelle",
+ "Tables and figures are numbered separately, in document order.": "Tabellen und Abbildungen werden getrennt in Dokumentreihenfolge nummeriert.",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "Übernimmt die aktuelle Formatierung dieses Absatzes als Formatvorlage – jeder Absatz mit dieser Vorlage folgt dann.",
+ "Text": "Text",
+ "Text area: {w} × {h} {unit}": "Textbereich: {w} × {h} {unit}",
+ "That JSON could not be read.": "Dieses JSON konnte nicht gelesen werden.",
+ "That JSON was empty.": "Dieses JSON war leer.",
+ "That file could not be read as a picture.": "Diese Datei konnte nicht als Bild gelesen werden.",
+ "That file does not look like a Bento document.": "Diese Datei sieht nicht wie ein Bento-Dokument aus.",
+ "That is already a caption": "Das ist bereits eine Beschriftung",
+ "That is not a bento/type document: {detail}": "Dies ist kein bento/type-Dokument: {detail}",
+ "That is not an address this document can link to": "Dies ist keine Adresse, zu der dieses Dokument verlinken kann",
+ "That sheet is larger than any printer takes.": "Dieses Blatt ist größer, als jeder Drucker verarbeiten kann.",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "Dieses Blatt ist kleiner als 2 Zoll – wählen Sie eine größere Seite.",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "Das Dokument ist die Austauscheinheit: Geben Sie dieses JSON an eine KI weiter, holen Sie eines zurück und fügen Sie es ein. `window.bento` stellt Skripten dasselbe bereit.",
+ "The first paragraph already starts a page": "Der erste Absatz beginnt bereits eine Seite",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "Die Formel an der Cursorposition. TeX-ähnlicher Quelltext; das Dokument speichert den Quelltext, niemals das Bild.",
+ "The table of contents needs the core render hook.": "Das Inhaltsverzeichnis benötigt den zentralen Render-Hook.",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "Das Design gehört Ihnen, nicht dem Dokument – es wird in diesem Browser gemerkt und nie in der Datei gespeichert. Die SEITE bleibt in beiden Fällen weiß, denn Papier ist weiß, und wer mitten in der Nacht einen Vertrag prüft, muss trotzdem sehen, was gedruckt wird.",
+ "Theme": "Design",
+ "Theme: {mode} — click to cycle auto/light/dark": "Design: {mode} – klicken, um zwischen Automatisch/Hell/Dunkel zu wechseln",
+ "These render as [?key] in the document so they cannot be missed.": "Diese werden im Dokument als [?key] angezeigt, damit sie nicht übersehen werden.",
+ "This already has a caption": "Dies hat bereits eine Beschriftung",
+ "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.": "Dieser Browser kann die Datei nicht zurückschreiben, daher erstellt jedes Speichern eine neue Kopie. Chrome und Edge auf einem Computer können direkt speichern.",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "Dieser Build kann Beschriftungen noch nicht rendern – wenden Sie den Kern-Patch oben in xref.ts an",
+ "This document has no sources yet. Import some BibTeX first.": "Dieses Dokument hat noch keine Quellen. Importieren Sie zuerst etwas BibTeX.",
+ "This embed could not be displayed safely.": "Dieses eingebettete Element konnte nicht sicher angezeigt werden.",
+ "This embed is missing its data.": "Diesem eingebetteten Element fehlen die Daten.",
+ "This file": "Diese Datei",
+ "This heading is no longer numbered.": "Diese Überschrift ist nicht mehr nummeriert.",
+ "This heading is numbered again.": "Diese Überschrift ist wieder nummeriert.",
+ "This paragraph and the one after it stay on the same page.": "Dieser Absatz und der nachfolgende bleiben auf derselben Seite.",
+ "This paragraph has direct formatting of its own, on top of its style.": "Dieser Absatz hat zusätzlich zu seiner Formatvorlage eine eigene direkte Formatierung.",
+ "This paragraph is never split across a page break.": "Dieser Absatz wird nie durch einen Seitenumbruch getrennt.",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "Dieses Bild ist {size} groß, und das Einbetten macht das Dokument entsprechend größer. Trotzdem einfügen?",
+ "This reference points at something that is no longer in the document": "Dieser Verweis zeigt auf etwas, das nicht mehr im Dokument ist",
+ "Those side margins leave no room for text.": "Diese seitlichen Ränder lassen keinen Platz für Text.",
+ "Those top and bottom margins leave no room for text.": "Diese oberen und unteren Ränder lassen keinen Platz für Text.",
+ "Top / bottom (in)": "Oben / unten (Zoll)",
+ "Top / bottom (mm)": "Oben / unten (mm)",
+ "Track changes": "Änderungen nachverfolgen",
+ "Tracked changes": "Nachverfolgte Änderungen",
+ "Tracking is on. Edits you make from now on are recorded here.": "Die Nachverfolgung ist aktiviert. Änderungen, die Sie ab jetzt vornehmen, werden hier erfasst.",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "Aktivieren Sie „Änderungen nachverfolgen“ im Eigenschaftenbereich, oder erstellen Sie über ⋯ eine Momentaufnahme und verwenden Sie Änderungen überprüfen.",
+ "Typeface": "Schriftart",
+ "US Legal": "US Legal",
+ "US Letter": "US Letter",
+ "Underline (⌘U)": "Unterstrichen (⌘U)",
+ "Undo (⌘Z)": "Rückgängig (⌘Z)",
+ "Untitled": "Unbenannt",
+ "Up to date — v{v}.": "Aktuell – v{v}.",
+ "Update style to match this paragraph": "Formatvorlage an diesen Absatz anpassen",
+ "Update this file": "Diese Datei aktualisieren",
+ "Updates": "Updates",
+ "Use document defaults": "Dokumentstandards verwenden",
+ "Version {v} is available.": "Version {v} ist verfügbar.",
+ "Visit bento.page (opens in a new tab)": "bento.page besuchen (öffnet einen neuen Tab)",
+ "Weight": "Schriftstärke",
+ "What the picture shows": "Was das Bild zeigt",
+ "Whole word": "Ganzes Wort",
+ "Width (%)": "Breite (%)",
+ "Width × height (in)": "Breite × Höhe (Zoll)",
+ "Width × height (mm)": "Breite × Höhe (mm)",
+ "You": "Sie",
+ "Your name": "Ihr Name",
+ "Your name, so your comments are attributed": "Ihr Name, damit Ihre Kommentare zugeordnet werden können",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type steht unter der MIT-Lizenz. Der Zeilenumbruch verwendet den Knuth–Plass-Algorithmus über tex-linebreak; die Trennmuster stammen von Liang. Alles läuft in dieser Datei – nichts wird abgerufen und nichts wird irgendwohin gesendet.",
+ "cited {n} times": "{n} Mal zitiert",
+ "default": "Standard",
+ "deleted": "gelöscht",
+ "https://example.com": "https://example.com",
+ "in": "Zoll",
+ "inserted": "eingefügt",
+ "mixed": "gemischt",
+ "mm": "mm",
+ "not cited": "nicht zitiert",
+ "pt": "pt",
+ "the text this was about is gone": "der zugehörige Text ist nicht mehr vorhanden",
+ "v{app} · format v{fmt}": "v{app} · Format v{fmt}",
+ "{added} added, {replaced} updated": "{added} hinzugefügt, {replaced} aktualisiert",
+ "{key} is cited in this document. Remove it anyway?": "{key} wird in diesem Dokument zitiert. Trotzdem entfernen?",
+ "{m} changes": "{m} Änderungen",
+ "{n} broken reference(s)": "{n} defekte(r) Verweis(e)",
+ "{n} more": "{n} weitere",
+ "{n} of {m}": "{n} von {m}",
+ "{n} of {total}": "{n} von {total}",
+ "{n} replies": "{n} Antworten",
+ "{open} open of {all}": "{open} von {all} offen",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} Seite(n) · {words} Wörter · {blocks} Blöcke · {notes} Fußnote(n). Dokument, Editor und Satzsystem befinden sich alle in dieser einen Datei.",
+ "{rows} rows × {cols} columns": "{rows} Zeilen × {cols} Spalten",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size}, {orient} · Textbereich {w} × {h} {unit}",
+ "— mixed —": "— gemischt —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "Verwerfen",
+ "Restore": "Wiederherstellen",
+ "Restored your unsaved changes": "Nicht gespeicherte Änderungen wurden wiederhergestellt",
+ "Unsaved changes from {when} were found.": "Nicht gespeicherte Änderungen von {when} wurden gefunden.",
+ "Version history": "Versionsverlauf",
+ "Version history…": "Versionsverlauf…",
+ "No saved versions yet — they accumulate as you edit.": "Noch keine gespeicherten Versionen – sie sammeln sich an, während Sie bearbeiten.",
+ "Stored only in this browser, never in the file or online.": "Wird nur in diesem Browser gespeichert, nie in der Datei oder online.",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "Versionen werden beim Bearbeiten automatisch gespeichert, nur in diesem Browser aufbewahrt und nie hochgeladen. Das Wiederherstellen lässt sich mit ⌘Z rückgängig machen.",
+ "{when} (most recent)": "{when} (neueste)",
+ "Snapshot redline": "Snapshot-Vergleich",
+ "Share": "Freigeben",
+ "Share — invite people to edit live, or send a view-only copy": "Freigeben – laden Sie andere zum Live-Bearbeiten ein oder senden Sie eine schreibgeschützte Kopie",
+ "Not sharing yet — click to start a live session": "Noch nicht freigegeben – klicken, um eine Live-Sitzung zu starten",
+ "Live — this document is being shared": "Live – dieses Dokument wird freigegeben",
+ "Connecting to the live session…": "Verbindung zur Live-Sitzung wird hergestellt …",
+ "● Live — {n} connected": "● Live – {n} verbunden",
+ "● Connecting…": "● Verbinden …",
+ "○ Not live — turns on when you share": "○ Nicht live – wird beim Freigeben aktiviert",
+ "People": "Personen",
+ "Guest": "Gast",
+ "{name} (you)": "{name} (Sie)",
+ "{name} — click to follow": "{name} – klicken, um zu folgen",
+ "Owner": "Besitzer",
+ "Editor": "Bearbeiter",
+ "Viewer": "Betrachter",
+ "Share a copy": "Kopie freigeben",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Wird neben Ihrem Cursor und in der Personenliste angezeigt – nur in diesem Browser gespeichert.",
+ "Only the document owner can mint editor invites": "Nur die Besitzerin oder der Besitzer des Dokuments kann Bearbeitungseinladungen erstellen",
+ "Editor copy saved — recipients join live with edit access": "Bearbeiterkopie gespeichert – Empfänger treten der Live-Sitzung mit Bearbeitungszugriff bei",
+ "View-only copy saved — it follows the live session": "Schreibgeschützte Kopie gespeichert – sie folgt der Live-Sitzung",
+ "This document has no live session to follow": "Dieses Dokument hat keine Live-Sitzung, der man folgen könnte",
+ "Access reset — only copies saved from now on can join": "Zugriff zurückgesetzt – nur ab jetzt gespeicherte Kopien können beitreten",
+ "Saving failed": "Speichern fehlgeschlagen",
+ "Invite to edit…": "Zum Bearbeiten einladen …",
+ "View-only copy…": "Schreibgeschützte Kopie …",
+ "Go live": "Live gehen",
+ "Stop sharing": "Freigabe beenden",
+ "Reset access…": "Zugriff zurücksetzen …",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "Speichert eine Kopie zum Versenden. Wer sie öffnet, bearbeitet dieses Dokument live mit Ihnen; Sie bleiben Besitzer und können die Person aus der Personenliste entfernen.",
+ "A live viewer: follows every edit as it happens but can never change the document.": "Ein Live-Betrachter: folgt jeder Änderung in Echtzeit, kann das Dokument aber nie ändern.",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "Dies ist eine schreibgeschützte Kopie – sie folgt der Live-Sitzung, kann das Dokument aber nicht ändern.",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "Trennt dieses Dokument von der Live-Sitzung. Kopien behalten ihren letzten Stand und können wieder beitreten, wenn Sie erneut live gehen.",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Verbinden Sie sich mit der Live-Sitzung, ohne eine neue Kopie zu speichern – zuvor gesendete Kopien treffen Sie dort.",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Zugriff zurücksetzen? Alle bereits gesendeten Kopien synchronisieren nicht mehr; nur danach gespeicherte Kopien können beitreten.",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Erzeugt völlig neue Schlüssel. Alle zuvor gesendeten Kopien synchronisieren endgültig nicht mehr; teilen Sie danach neue Kopien.",
+ "Offline mode is on — nothing leaves this computer.": "Der Offlinemodus ist aktiv – nichts verlässt diesen Computer.",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "Tabs auf diesem Rechner synchronisieren weiterhin; schalten Sie den Offlinemodus aus, um online zusammenzuarbeiten.",
+}
diff --git a/type/src/i18n/es.ts b/type/src/i18n/es.ts
new file mode 100644
index 00000000..78b059af
--- /dev/null
+++ b/type/src/i18n/es.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Spanish — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const es: Catalog = {
+ " (downloads a copy)": " (descarga una copia)",
+ "(empty paragraph)": "(párrafo vacío)",
+ "(no heading)": "(sin encabezado)",
+ "(untitled)": "(sin título)",
+ "1 change": "1 cambio",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "Es una declaración que tú mismo introduces, no una identidad: es el nombre que aparece junto a tus comentarios y cambios control de cambios, y cualquiera puede escribir el nombre que quiera aquí. Se recuerda en este navegador, se aplica de inmediato y nunca se guarda por sí mismo en el archivo (solo se guardan los comentarios y cambios que firma).",
+ "About bento/type": "Acerca de bento/type",
+ "About bento/type — version, updates, language": "Acerca de bento/type: versión, actualizaciones, idioma",
+ "About this document": "Acerca de este documento",
+ "Accept": "Aceptar",
+ "Accept (⌘⌥A)": "Aceptar (⌘⌥A)",
+ "Accept all": "Aceptar todo",
+ "Add column": "Añadir columna",
+ "Add row": "Añadir fila",
+ "Align": "Alinear",
+ "Alignment": "Alineación",
+ "All markup": "Todas las marcas",
+ "All {all} resolved": "Se resolvieron las {all}",
+ "Already at the end.": "Ya está al final.",
+ "Already at the top.": "Ya está al principio.",
+ "Alt text": "Texto alternativo",
+ "Alt+Shift+↑ / ↓": "Alt+Mayús+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "Una actualización es un archivo NUEVO, descargado junto a este; el original queda intacto, así que una mala actualización se deshace simplemente eliminándolo. Cada versión se verifica con firma antes de aplicarse.",
+ "Appearance": "Apariencia",
+ "Applied style": "Estilo aplicado",
+ "Apply": "Aplicar",
+ "Author–year — APA-ish": "Autor-año (estilo APA)",
+ "Auto": "Automático",
+ "Bento artifact": "Artefacto de Bento",
+ "Body": "Cuerpo",
+ "Bold": "Negrita",
+ "Bold (⌘B)": "Negrita (⌘B)",
+ "Book (1.62)": "Libro (1,62)",
+ "Both — “Table 2 (page 7)”": "Ambos: «Tabla 2 (página 7)»",
+ "Bulleted list": "Lista con viñetas",
+ "Cancel": "Cancelar",
+ "Caption": "Título",
+ "Caption this table or figure": "Añadir título a esta tabla o figura",
+ "Centre": "Centrado",
+ "Check for updates": "Buscar actualizaciones",
+ "Checking…": "Comprobando…",
+ "Citation": "Cita",
+ "Cite here": "Citar aquí",
+ "Cited but not in this document": "Citada pero no está en este documento",
+ "Cite…": "Citar…",
+ "Clear direct formatting": "Borrar formato directo",
+ "Close": "Cerrar",
+ "Code": "Código",
+ "Colour": "Color",
+ "Comment on the selected text (⌘⇧M)": "Comentar el texto seleccionado (⌘⇧M)",
+ "Comment on “{quote}”": "Comentar «{quote}»",
+ "Comments": "Comentarios",
+ "Comments hidden": "Comentarios ocultos",
+ "Comments shown": "Comentarios visibles",
+ "Contents": "Contenido",
+ "Contents inserted. Page numbers fill in as the document paginates.": "Contenido insertado. Los números de página se completan a medida que el documento se pagina.",
+ "Copy document JSON": "Copiar el JSON del documento",
+ "Could not check right now.": "No se pudo comprobar en este momento.",
+ "Credits": "Créditos",
+ "Cross-reference": "Referencia cruzada",
+ "Custom": "Personalizado",
+ "Dark": "Oscuro",
+ "Default": "Predeterminado",
+ "Default size (px)": "Tamaño predeterminado (px)",
+ "Default typeface": "Tipo de letra predeterminado",
+ "Delete": "Eliminar",
+ "Delete this comment?": "¿Eliminar este comentario?",
+ "Delete this thread": "Eliminar este hilo",
+ "Delete this whole thread?": "¿Eliminar todo este hilo?",
+ "Delete your comment": "Eliminar tu comentario",
+ "Display": "Visualización",
+ "Document": "Documento",
+ "Document default": "Valor predeterminado del documento",
+ "Document id": "ID del documento",
+ "Document title": "Título del documento",
+ "Drag to move, click for options": "Arrastra para mover, haz clic para ver opciones",
+ "Edit": "Editar",
+ "Edit your comment": "Editar tu comentario",
+ "Edit “{name}”": "Editar «{name}»",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "Editar un estilo cambia todos los párrafos que lo usan, incluidos los que nunca establecieron un estilo explícitamente y solo usan el predeterminado de su tipo.",
+ "Embed a Bento chart, deck or page": "Insertar un gráfico, presentación o página de Bento",
+ "Embedded from {app}": "Insertado desde {app}",
+ "Equation added — edit it in the Math panel": "Ecuación añadida: edítala en el panel de matemáticas",
+ "Equation block": "Bloque de ecuación",
+ "Figure": "Figura",
+ "Figures": "Figuras",
+ "File": "Archivo",
+ "Find": "Buscar",
+ "Find and replace (⌘F)": "Buscar y reemplazar (⌘F)",
+ "Find in document": "Buscar en el documento",
+ "First line": "Primera línea",
+ "First-line indent (px)": "Sangría de primera línea (px)",
+ "Follow the system": "Seguir el sistema",
+ "Format — show or hide the properties panel": "Formato: mostrar u ocultar el panel de propiedades",
+ "Formatting": "Formato",
+ "Formula": "Fórmula",
+ "Formula (⌘M)": "Fórmula (⌘M)",
+ "Formula added — edit it in the Math panel": "Fórmula añadida: edítala en el panel de matemáticas",
+ "From {app}": "Desde {app}",
+ "Header row": "Fila de encabezado",
+ "Heading 1": "Título 1",
+ "Heading 2": "Título 2",
+ "Heading 3": "Título 3",
+ "Headings": "Títulos",
+ "Headings appear here.": "Los títulos aparecen aquí.",
+ "Hide comments": "Ocultar comentarios",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "Es solo cómo ves el documento, no un cambio en él: nada de esto se guarda en el archivo.",
+ "Import": "Importar",
+ "Import BibTeX": "Importar BibTeX",
+ "Import BibTeX…": "Importar BibTeX…",
+ "Insert": "Insertar",
+ "Insert a block below this one": "Insertar un bloque debajo de este",
+ "Insert a cross-reference": "Insertar una referencia cruzada",
+ "Insert a cross-reference to a caption": "Insertar una referencia cruzada a un título",
+ "Insert a display equation on its own line": "Insertar una ecuación en su propia línea",
+ "Insert a picture": "Insertar una imagen",
+ "Insert a picture, table, formula, citation…": "Insertar una imagen, tabla, fórmula, cita…",
+ "Insert a table": "Insertar una tabla",
+ "Insert a table of contents": "Insertar una tabla de contenido",
+ "Insert below": "Insertar debajo",
+ "Insert citation": "Insertar cita",
+ "Italic": "Cursiva",
+ "Italic (⌘I)": "Cursiva (⌘I)",
+ "Justified": "Justificado",
+ "Keep together": "Mantener unido",
+ "Keep with next": "Mantener con el siguiente",
+ "Label — “Table 2”": "Etiqueta: «Tabla 2»",
+ "Landscape": "Horizontal",
+ "Layout": "Diseño",
+ "Left": "Izquierda",
+ "Left / right (in)": "Izquierda / derecha (in)",
+ "Left / right (mm)": "Izquierda / derecha (mm)",
+ "Light": "Claro",
+ "Line spacing": "Interlineado",
+ "Link (⌘K)": "Enlace (⌘K)",
+ "Link address": "Dirección del enlace",
+ "Margins": "Márgenes",
+ "Margins…": "Márgenes…",
+ "Match case": "Coincidir mayúsculas",
+ "Math": "Matemáticas",
+ "Medium": "Medio",
+ "Modified": "Modificado",
+ "More — revisions, signing, print": "Más: revisiones, firma, impresión",
+ "Move down": "Mover hacia abajo",
+ "Move this block": "Mover este bloque",
+ "Move up": "Mover hacia arriba",
+ "Name": "Nombre",
+ "Navigate": "Navegar",
+ "Next change (⌘⌥N)": "Cambio siguiente (⌘⌥N)",
+ "Next match (Enter)": "Siguiente coincidencia (Intro)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "Aún no hay títulos. Coloca el cursor en una tabla y pulsa el botón de título; la numeración y todas sus referencias se actualizan automáticamente.",
+ "No markup": "Sin marcas",
+ "No matches": "Sin coincidencias",
+ "No sources yet. Paste a .bib file to get started.": "Aún no hay fuentes. Pega un archivo .bib para empezar.",
+ "No tracked changes": "Sin cambios control de cambios",
+ "Nothing is cited yet, so the list is empty.": "Aún no se ha citado nada, por lo que la lista está vacía.",
+ "Nothing matches.": "No hay coincidencias.",
+ "Nothing that looks like a BibTeX entry.": "No hay nada que parezca una entrada BibTeX.",
+ "Nothing to refer to yet — caption a table first": "Aún no hay nada que referenciar: primero añade un título a una tabla",
+ "Nothing was imported.": "No se importó nada.",
+ "Number sections": "Numerar secciones",
+ "Number this heading": "Numerar este título",
+ "Numbered as": "Numerado como",
+ "Numbered list": "Lista numerada",
+ "Numeric [1] — IEEE-ish": "Numérico [1] (estilo IEEE)",
+ "Off by default: most documents already carry their numbers in the heading text.": "Desactivado de forma predeterminada: la mayoría de los documentos ya llevan sus números en el texto del título.",
+ "Open": "Abrir",
+ "Orientation": "Orientación",
+ "Original": "Original",
+ "Outline — show or hide the document map": "Esquema: mostrar u ocultar el mapa del documento",
+ "Page": "Página",
+ "Page break before": "Salto de página antes",
+ "Page break inserted": "Salto de página insertado",
+ "Page break removed": "Salto de página eliminado",
+ "Page breaking": "Salto de página",
+ "Page or section, optional — e.g. p. 34": "Página o sección, opcional; p. ej., p. 34",
+ "Page setup": "Configurar página",
+ "Page size": "Tamaño de página",
+ "Page — “page 7”": "Página: «página 7»",
+ "Pages": "Páginas",
+ "Paragraph": "Párrafo",
+ "Paragraph defaults": "Valores predeterminados de párrafo",
+ "Paragraphs follow these unless they say otherwise.": "Los párrafos siguen estos valores salvo que indiquen lo contrario.",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "Pega el BibTeX a continuación. Se admiten @article, @book, @inproceedings, @techreport y @misc; cualquier otro tipo se importa como @misc para que aún pueda citarse.",
+ "Paste BibTeX…": "Pegar BibTeX…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "Pega el JSON de un documento de bento/type. Esto reemplaza el documento y se puede deshacer con ⌘Z.",
+ "Picture": "Imagen",
+ "Portrait": "Vertical",
+ "Previous change (⌘⌥P)": "Cambio anterior (⌘⌥P)",
+ "Previous match (⇧Enter)": "Coincidencia anterior (⇧Intro)",
+ "Print or PDF…": "Imprimir o PDF…",
+ "Properties": "Propiedades",
+ "Put the caret in a heading first.": "Primero coloca el cursor en un título.",
+ "Put the caret in a paragraph first": "Coloca primero el cursor en un párrafo",
+ "Put the caret in the document first": "Coloca primero el cursor en el documento",
+ "Put the caret in the table or paragraph to caption": "Coloca el cursor en la tabla o el párrafo que quieras titular",
+ "Put the caret on a tracked change first": "Coloca primero el cursor en un cambio control de cambios",
+ "Put the caret where the citation goes first": "Coloca primero el cursor donde irá la cita",
+ "Put the caret where the formula should go": "Coloca el cursor donde debe ir la fórmula",
+ "Put the caret where the reference goes": "Coloca primero el cursor donde irá la referencia",
+ "Quote": "Cita",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "Lo leen los lectores de pantalla y se conserva como texto si la imagen se pierde.",
+ "Redo (⇧⌘Z)": "Rehacer (⇧⌘Z)",
+ "References, as they will print": "Referencias, tal como se imprimirán",
+ "Regular": "Normal",
+ "Reject": "Rechazar",
+ "Reject (⌘⌥D)": "Rechazar (⌘⌥D)",
+ "Reject all": "Rechazar todo",
+ "Remove": "Quitar",
+ "Reopen": "Reabrir",
+ "Replace": "Reemplazar",
+ "Replace all": "Reemplazar todo",
+ "Replace every match, as one undo step": "Reemplaza todas las coincidencias en un solo paso de deshacer",
+ "Replace from JSON…": "Reemplazar desde JSON…",
+ "Replace this match": "Reemplazar esta coincidencia",
+ "Replace with": "Reemplazar con",
+ "Replaced 1 match": "Se reemplazó 1 coincidencia",
+ "Replaced {n} matches": "Se reemplazaron {n} coincidencias",
+ "Reply": "Responder",
+ "Reply…": "Responder…",
+ "Resolve": "Resolver",
+ "Results": "Resultados",
+ "Review": "Revisar",
+ "Review changes…": "Revisar cambios…",
+ "Right": "Derecha",
+ "Save": "Guardar",
+ "Save (⌘S)": "Guardar (⌘S)",
+ "Save to {file}": "Guardar en {file}",
+ "Saved": "Guardado",
+ "Saved to {file}": "Guardado en {file}",
+ "Search author, title or key": "Buscar por autor, título o clave",
+ "Section numbering is off.": "La numeración de secciones está desactivada.",
+ "Sections are numbered.": "Las secciones están numeradas.",
+ "Select some text and press ⌘⇧M to comment on it.": "Selecciona texto y pulsa ⌘⇧M para comentarlo.",
+ "Select some text first, then comment on it": "Selecciona primero algo de texto y luego coméntalo",
+ "Select some text to change its typeface or size. The document default is below.": "Selecciona texto para cambiar su tipo de letra o tamaño. El valor predeterminado del documento aparece abajo.",
+ "Select something to see its properties.": "Selecciona algo para ver sus propiedades.",
+ "Select the words you want to link": "Selecciona las palabras que quieres enlazar",
+ "Semibold": "Seminegrita",
+ "Show comments": "Mostrar comentarios",
+ "Signatures": "Firmas",
+ "Sign…": "Firmar…",
+ "Size": "Tamaño",
+ "Size (px)": "Tamaño (px)",
+ "Snapshot": "Instantánea",
+ "Someone": "Alguien",
+ "Sources": "Fuentes",
+ "Sources ({n})": "Fuentes ({n})",
+ "Space after": "Espacio después",
+ "Space after (px)": "Espacio después (px)",
+ "Space before": "Espacio antes",
+ "Space before (px)": "Espacio antes (px)",
+ "Start this paragraph on a new page.": "Este párrafo comenzará en una página nueva.",
+ "Strikethrough": "Tachado",
+ "Style": "Estilo",
+ "Style updated from this paragraph": "Estilo actualizado a partir de este párrafo",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "Compatible con: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), letras griegas, matrices, casos.",
+ "Table": "Tabla",
+ "Tables and figures are numbered separately, in document order.": "Las tablas y las figuras se numeran por separado, en el orden del documento.",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "Toma el formato actual de este párrafo y conviértelo en el estilo; todos los párrafos que usan este estilo se actualizarán.",
+ "Text": "Texto",
+ "Text area: {w} × {h} {unit}": "Área de texto: {w} × {h} {unit}",
+ "That JSON could not be read.": "No se pudo leer ese JSON.",
+ "That JSON was empty.": "Ese JSON estaba vacío.",
+ "That file could not be read as a picture.": "No se pudo leer ese archivo como una imagen.",
+ "That file does not look like a Bento document.": "Ese archivo no parece ser un documento de Bento.",
+ "That is already a caption": "Eso ya es un título",
+ "That is not a bento/type document: {detail}": "No es un documento de bento/type: {detail}",
+ "That is not an address this document can link to": "Esa no es una dirección a la que este documento pueda enlazar",
+ "That sheet is larger than any printer takes.": "Esa hoja es más grande de lo que admite cualquier impresora.",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "Esa hoja mide menos de 2 pulgadas: elige una página más grande.",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "El documento es la unidad de intercambio: entrega este JSON a una IA, recibe otro y pégalo aquí. `window.bento` expone lo mismo a los scripts.",
+ "The first paragraph already starts a page": "El primer párrafo ya empieza una página",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "La fórmula en el cursor. Fuente similar a TeX; el documento guarda el código fuente, nunca la imagen.",
+ "The table of contents needs the core render hook.": "La tabla de contenido necesita el gancho de renderizado principal.",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "El tema es tuyo, no del documento: se recuerda en este navegador y nunca se guarda en el archivo. La PÁGINA sigue siendo blanca en ambos casos, porque el papel es blanco y quien revisa un contrato a medianoche aún debe ver lo que se imprimirá.",
+ "Theme": "Tema",
+ "Theme: {mode} — click to cycle auto/light/dark": "Tema: {mode}: haz clic para alternar entre automático/claro/oscuro",
+ "These render as [?key] in the document so they cannot be missed.": "Se muestran como [?key] en el documento para que no pasen desapercibidas.",
+ "This already has a caption": "Esto ya tiene un título",
+ "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.": "Este navegador no puede reescribir el archivo, así que cada vez que guardas se crea una copia nueva. Chrome y Edge en un ordenador pueden guardar en el mismo archivo.",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "Esta compilación aún no puede renderizar títulos: aplica el parche del núcleo indicado al principio de xref.ts",
+ "This document has no sources yet. Import some BibTeX first.": "Este documento aún no tiene fuentes. Importa primero algo de BibTeX.",
+ "This embed could not be displayed safely.": "Este contenido incrustado no se pudo mostrar de forma segura.",
+ "This embed is missing its data.": "A este contenido incrustado le faltan datos.",
+ "This file": "Este archivo",
+ "This heading is no longer numbered.": "Este título ya no está numerado.",
+ "This heading is numbered again.": "Este título vuelve a estar numerado.",
+ "This paragraph and the one after it stay on the same page.": "Este párrafo y el siguiente permanecen en la misma página.",
+ "This paragraph has direct formatting of its own, on top of its style.": "Este párrafo tiene formato directo propio, además de su estilo.",
+ "This paragraph is never split across a page break.": "Este párrafo nunca se divide por un salto de página.",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "Esta imagen pesa {size}, e insertarla aumentará el documento en esa cantidad. ¿Insertarla de todos modos?",
+ "This reference points at something that is no longer in the document": "Esta referencia apunta a algo que ya no está en el documento",
+ "Those side margins leave no room for text.": "Esos márgenes laterales no dejan espacio para el texto.",
+ "Those top and bottom margins leave no room for text.": "Esos márgenes superior e inferior no dejan espacio para el texto.",
+ "Top / bottom (in)": "Superior / inferior (in)",
+ "Top / bottom (mm)": "Superior / inferior (mm)",
+ "Track changes": "Control de cambios",
+ "Tracked changes": "Cambios control de cambios",
+ "Tracking is on. Edits you make from now on are recorded here.": "El seguimiento está activado. Las ediciones que hagas a partir de ahora se registran aquí.",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "Activa «Control de cambios» en el panel de propiedades, o toma una Instantánea desde ⋯ y usa Revisar cambios.",
+ "Typeface": "Tipo de letra",
+ "US Legal": "Legal (EE. UU.)",
+ "US Letter": "Carta (EE. UU.)",
+ "Underline (⌘U)": "Subrayado (⌘U)",
+ "Undo (⌘Z)": "Deshacer (⌘Z)",
+ "Untitled": "Sin título",
+ "Up to date — v{v}.": "Al día: v{v}.",
+ "Update style to match this paragraph": "Actualizar el estilo para que coincida con este párrafo",
+ "Update this file": "Actualizar este archivo",
+ "Updates": "Actualizaciones",
+ "Use document defaults": "Usar los valores predeterminados del documento",
+ "Version {v} is available.": "La versión {v} está disponible.",
+ "Visit bento.page (opens in a new tab)": "Visitar bento.page (se abre en una pestaña nueva)",
+ "Weight": "Grosor",
+ "What the picture shows": "Qué muestra la imagen",
+ "Whole word": "Solo palabras completas",
+ "Width (%)": "Ancho (%)",
+ "Width × height (in)": "Ancho × alto (in)",
+ "Width × height (mm)": "Ancho × alto (mm)",
+ "You": "Tú",
+ "Your name": "Tu nombre",
+ "Your name, so your comments are attributed": "Tu nombre, para atribuir tus comentarios",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type tiene licencia MIT. El salto de línea usa el algoritmo Knuth–Plass a través de tex-linebreak; los patrones de guionización son los de Liang. Todo funciona en este archivo: no se obtiene nada externo ni se envía nada a ningún sitio.",
+ "cited {n} times": "citada {n} veces",
+ "default": "predeterminado",
+ "deleted": "eliminado",
+ "https://example.com": "https://example.com",
+ "in": "in",
+ "inserted": "insertado",
+ "mixed": "mixto",
+ "mm": "mm",
+ "not cited": "sin citar",
+ "pt": "pt",
+ "the text this was about is gone": "el texto al que se refería ha desaparecido",
+ "v{app} · format v{fmt}": "v{app} · formato v{fmt}",
+ "{added} added, {replaced} updated": "{added} añadidas, {replaced} actualizadas",
+ "{key} is cited in this document. Remove it anyway?": "{key} está citada en este documento. ¿Quitarla de todos modos?",
+ "{m} changes": "{m} cambios",
+ "{n} broken reference(s)": "{n} referencia(s) rota(s)",
+ "{n} more": "{n} más",
+ "{n} of {m}": "{n} de {m}",
+ "{n} of {total}": "{n} de {total}",
+ "{n} replies": "{n} respuestas",
+ "{open} open of {all}": "{open} abiertas de {all}",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} página(s) · {words} palabras · {blocks} bloques · {notes} nota(s) al pie. El documento, el editor y el compositor tipográfico están todos en este único archivo.",
+ "{rows} rows × {cols} columns": "{rows} filas × {cols} columnas",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size}, {orient} · área de texto {w} × {h} {unit}",
+ "— mixed —": "— mixto —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "Descartar",
+ "Restore": "Restaurar",
+ "Restored your unsaved changes": "Se han restaurado los cambios sin guardar",
+ "Unsaved changes from {when} were found.": "Se han encontrado cambios sin guardar de {when}.",
+ "Version history": "Historial de versiones",
+ "Version history…": "Historial de versiones…",
+ "No saved versions yet — they accumulate as you edit.": "Aún no hay versiones guardadas: se acumulan a medida que editas.",
+ "Stored only in this browser, never in the file or online.": "Se guarda solo en este navegador, nunca en el archivo ni en línea.",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "Las versiones se guardan automáticamente mientras editas, se conservan solo en este navegador y nunca se suben. Restaurar se puede deshacer con ⌘Z.",
+ "{when} (most recent)": "{when} (más reciente)",
+ "Snapshot redline": "Comparación con la instantánea",
+ "Share": "Compartir",
+ "Share — invite people to edit live, or send a view-only copy": "Compartir: invita a otras personas a editar en directo o envía una copia de solo lectura",
+ "Not sharing yet — click to start a live session": "Aún no se comparte: haz clic para iniciar una sesión en directo",
+ "Live — this document is being shared": "En directo: este documento se está compartiendo",
+ "Connecting to the live session…": "Conectando con la sesión en directo…",
+ "● Live — {n} connected": "● En directo: {n} conectados",
+ "● Connecting…": "● Conectando…",
+ "○ Not live — turns on when you share": "○ No está en directo: se activa al compartir",
+ "People": "Personas",
+ "Guest": "Invitado",
+ "{name} (you)": "{name} (tú)",
+ "{name} — click to follow": "{name}: haz clic para seguir",
+ "Owner": "Propietario",
+ "Editor": "Editor",
+ "Viewer": "Lector",
+ "Share a copy": "Compartir una copia",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Se muestra junto a tu cursor y en la lista de personas; se guarda solo en este navegador.",
+ "Only the document owner can mint editor invites": "Solo el propietario del documento puede crear invitaciones de edición",
+ "Editor copy saved — recipients join live with edit access": "Copia de edición guardada: quien la reciba se unirá en directo con acceso de edición",
+ "View-only copy saved — it follows the live session": "Copia de solo lectura guardada: sigue la sesión en directo",
+ "This document has no live session to follow": "Este documento no tiene ninguna sesión en directo que seguir",
+ "Access reset — only copies saved from now on can join": "Acceso restablecido: solo podrán unirse las copias guardadas a partir de ahora",
+ "Saving failed": "Error al guardar",
+ "Invite to edit…": "Invitar a editar…",
+ "View-only copy…": "Copia de solo lectura…",
+ "Go live": "Iniciar sesión en directo",
+ "Stop sharing": "Dejar de compartir",
+ "Reset access…": "Restablecer acceso…",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "Guarda una copia para enviar. Quien la abra editará este documento en directo contigo; tú sigues siendo el propietario y puedes quitarle el acceso desde la lista de personas.",
+ "A live viewer: follows every edit as it happens but can never change the document.": "Un lector en directo: sigue cada edición en el momento, pero nunca puede cambiar el documento.",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "Esta es una copia de solo lectura: sigue la sesión en directo, pero no puede cambiar el documento.",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "Desconecta este documento de la sesión en directo. Las copias conservan su último estado y pueden volver a unirse si inicias otra sesión.",
+ "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 directo sin guardar una copia nueva: las copias que enviaste antes te encontrarán allí.",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "¿Restablecer el acceso? Todas las copias que hayas enviado dejarán de sincronizarse; solo podrán unirse las guardadas después de esto.",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Genera claves totalmente nuevas. Todas las copias enviadas antes dejan de sincronizarse para siempre; comparte copias nuevas después.",
+ "Offline mode is on — nothing leaves this computer.": "El modo sin conexión está activado: nada sale de este ordenador.",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "Las pestañas de este equipo siguen sincronizándose; desactiva el modo sin conexión para colaborar en línea.",
+}
diff --git a/type/src/i18n/fr.ts b/type/src/i18n/fr.ts
new file mode 100644
index 00000000..9557de9a
--- /dev/null
+++ b/type/src/i18n/fr.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// French — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const fr: Catalog = {
+ " (downloads a copy)": " (télécharge une copie)",
+ "(empty paragraph)": "(paragraphe vide)",
+ "(no heading)": "(pas de titre)",
+ "(untitled)": "(sans titre)",
+ "1 change": "1 modification",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "Il s'agit d'une déclaration que vous saisissez vous-même, pas d'une identité vérifiée : c'est le nom affiché à côté de vos commentaires et de vos modifications suivies, et n'importe qui peut saisir n'importe quel nom ici. Il est mémorisé dans ce navigateur, s'applique immédiatement et n'est jamais lui-même enregistré dans le fichier (seuls les commentaires et modifications qu'il signe le sont).",
+ "About bento/type": "À propos de bento/type",
+ "About bento/type — version, updates, language": "À propos de bento/type : version, mises à jour, langue",
+ "About this document": "À propos de ce document",
+ "Accept": "Accepter",
+ "Accept (⌘⌥A)": "Accepter (⌘⌥A)",
+ "Accept all": "Tout accepter",
+ "Add column": "Ajouter une colonne",
+ "Add row": "Ajouter une ligne",
+ "Align": "Alignement",
+ "Alignment": "Alignement",
+ "All markup": "Toutes les modifications",
+ "All {all} resolved": "Les {all} sont résolus",
+ "Already at the end.": "Déjà à la fin.",
+ "Already at the top.": "Déjà au début.",
+ "Alt text": "Texte alternatif",
+ "Alt+Shift+↑ / ↓": "Alt+Maj+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "Une mise à jour est un NOUVEAU fichier téléchargé à côté de celui-ci — l'original reste intact, donc une mauvaise mise à jour s'annule en le supprimant. Chaque version est vérifiée par signature avant d'être appliquée.",
+ "Appearance": "Apparence",
+ "Applied style": "Style appliqué",
+ "Apply": "Appliquer",
+ "Author–year — APA-ish": "Auteur-année (style APA)",
+ "Auto": "Automatique",
+ "Bento artifact": "Artefact Bento",
+ "Body": "Corps de texte",
+ "Bold": "Gras",
+ "Bold (⌘B)": "Gras (⌘B)",
+ "Book (1.62)": "Livre (1,62)",
+ "Both — “Table 2 (page 7)”": "Les deux : « Tableau 2 (page 7) »",
+ "Bulleted list": "Liste à puces",
+ "Cancel": "Annuler",
+ "Caption": "Légende",
+ "Caption this table or figure": "Ajouter une légende à ce tableau ou cette figure",
+ "Centre": "Centré",
+ "Check for updates": "Rechercher des mises à jour",
+ "Checking…": "Vérification…",
+ "Citation": "Citation",
+ "Cite here": "Citer ici",
+ "Cited but not in this document": "Citée mais absente de ce document",
+ "Cite…": "Citer…",
+ "Clear direct formatting": "Effacer la mise en forme directe",
+ "Close": "Fermer",
+ "Code": "Code",
+ "Colour": "Couleur",
+ "Comment on the selected text (⌘⇧M)": "Commenter le texte sélectionné (⌘⇧M)",
+ "Comment on “{quote}”": "Commenter « {quote} »",
+ "Comments": "Commentaires",
+ "Comments hidden": "Commentaires masqués",
+ "Comments shown": "Commentaires affichés",
+ "Contents": "Sommaire",
+ "Contents inserted. Page numbers fill in as the document paginates.": "Sommaire inséré. Les numéros de page se complètent au fur et à mesure de la pagination du document.",
+ "Copy document JSON": "Copier le JSON du document",
+ "Could not check right now.": "Impossible de vérifier pour le moment.",
+ "Credits": "Crédits",
+ "Cross-reference": "Renvoi",
+ "Custom": "Personnalisé",
+ "Dark": "Sombre",
+ "Default": "Par défaut",
+ "Default size (px)": "Taille par défaut (px)",
+ "Default typeface": "Police par défaut",
+ "Delete": "Supprimer",
+ "Delete this comment?": "Supprimer ce commentaire ?",
+ "Delete this thread": "Supprimer ce fil",
+ "Delete this whole thread?": "Supprimer tout ce fil ?",
+ "Delete your comment": "Supprimer votre commentaire",
+ "Display": "Affichage",
+ "Document": "Document",
+ "Document default": "Valeur par défaut du document",
+ "Document id": "ID du document",
+ "Document title": "Titre du document",
+ "Drag to move, click for options": "Faites glisser pour déplacer, cliquez pour les options",
+ "Edit": "Modifier",
+ "Edit your comment": "Modifier votre commentaire",
+ "Edit “{name}”": "Modifier « {name} »",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "Modifier un style change tous les paragraphes qui l'utilisent — y compris ceux qui n'ont jamais défini de style explicitement et utilisent simplement celui par défaut de leur type.",
+ "Embed a Bento chart, deck or page": "Intégrer un graphique, une présentation ou une page Bento",
+ "Embedded from {app}": "Intégré depuis {app}",
+ "Equation added — edit it in the Math panel": "Équation ajoutée — modifiez-la dans le panneau Mathématiques",
+ "Equation block": "Bloc d'équation",
+ "Figure": "Figure",
+ "Figures": "Figures",
+ "File": "Fichier",
+ "Find": "Rechercher",
+ "Find and replace (⌘F)": "Rechercher et remplacer (⌘F)",
+ "Find in document": "Rechercher dans le document",
+ "First line": "Première ligne",
+ "First-line indent (px)": "Retrait de première ligne (px)",
+ "Follow the system": "Suivre le système",
+ "Format — show or hide the properties panel": "Format — afficher ou masquer le panneau des propriétés",
+ "Formatting": "Mise en forme",
+ "Formula": "Formule",
+ "Formula (⌘M)": "Formule (⌘M)",
+ "Formula added — edit it in the Math panel": "Formule ajoutée — modifiez-la dans le panneau Mathématiques",
+ "From {app}": "Depuis {app}",
+ "Header row": "Ligne d'en-tête",
+ "Heading 1": "Titre 1",
+ "Heading 2": "Titre 2",
+ "Heading 3": "Titre 3",
+ "Headings": "Titres",
+ "Headings appear here.": "Les titres apparaissent ici.",
+ "Hide comments": "Masquer les commentaires",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "C'est la façon dont vous visualisez le document, pas une modification de celui-ci — rien ici n'est enregistré dans le fichier.",
+ "Import": "Importer",
+ "Import BibTeX": "Importer BibTeX",
+ "Import BibTeX…": "Importer BibTeX…",
+ "Insert": "Insérer",
+ "Insert a block below this one": "Insérer un bloc en dessous de celui-ci",
+ "Insert a cross-reference": "Insérer un renvoi",
+ "Insert a cross-reference to a caption": "Insérer un renvoi vers une légende",
+ "Insert a display equation on its own line": "Insérer une équation sur sa propre ligne",
+ "Insert a picture": "Insérer une image",
+ "Insert a picture, table, formula, citation…": "Insérer une image, un tableau, une formule, une citation…",
+ "Insert a table": "Insérer un tableau",
+ "Insert a table of contents": "Insérer une table des matières",
+ "Insert below": "Insérer en dessous",
+ "Insert citation": "Insérer une citation",
+ "Italic": "Italique",
+ "Italic (⌘I)": "Italique (⌘I)",
+ "Justified": "Justifié",
+ "Keep together": "Ne pas scinder",
+ "Keep with next": "Solidaire du suivant",
+ "Label — “Table 2”": "Étiquette : « Tableau 2 »",
+ "Landscape": "Paysage",
+ "Layout": "Mise en page",
+ "Left": "Gauche",
+ "Left / right (in)": "Gauche / droite (po)",
+ "Left / right (mm)": "Gauche / droite (mm)",
+ "Light": "Clair",
+ "Line spacing": "Interligne",
+ "Link (⌘K)": "Lien (⌘K)",
+ "Link address": "Adresse du lien",
+ "Margins": "Marges",
+ "Margins…": "Marges…",
+ "Match case": "Respecter la casse",
+ "Math": "Mathématiques",
+ "Medium": "Medium",
+ "Modified": "Modifié",
+ "More — revisions, signing, print": "Plus — révisions, signature, impression",
+ "Move down": "Déplacer vers le bas",
+ "Move this block": "Déplacer ce bloc",
+ "Move up": "Déplacer vers le haut",
+ "Name": "Nom",
+ "Navigate": "Naviguer",
+ "Next change (⌘⌥N)": "Modification suivante (⌘⌥N)",
+ "Next match (Enter)": "Occurrence suivante (Entrée)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "Pas encore de légende. Placez le curseur dans un tableau et cliquez sur le bouton de légende ; la numérotation et tous les renvois suivent automatiquement.",
+ "No markup": "Aucune modification affichée",
+ "No matches": "Aucune occurrence",
+ "No sources yet. Paste a .bib file to get started.": "Pas encore de sources. Collez un fichier .bib pour commencer.",
+ "No tracked changes": "Aucune modification suivie",
+ "Nothing is cited yet, so the list is empty.": "Rien n'est encore cité, la liste est donc vide.",
+ "Nothing matches.": "Aucune correspondance.",
+ "Nothing that looks like a BibTeX entry.": "Rien qui ressemble à une entrée BibTeX.",
+ "Nothing to refer to yet — caption a table first": "Rien à référencer pour l'instant — légendez d'abord un tableau",
+ "Nothing was imported.": "Rien n'a été importé.",
+ "Number sections": "Numéroter les sections",
+ "Number this heading": "Numéroter ce titre",
+ "Numbered as": "Numéroté comme",
+ "Numbered list": "Liste numérotée",
+ "Numeric [1] — IEEE-ish": "Numérique [1] (style IEEE)",
+ "Off by default: most documents already carry their numbers in the heading text.": "Désactivé par défaut : la plupart des documents portent déjà leurs numéros dans le texte du titre.",
+ "Open": "Ouvrir",
+ "Orientation": "Orientation",
+ "Original": "Original",
+ "Outline — show or hide the document map": "Plan — afficher ou masquer le plan du document",
+ "Page": "Page",
+ "Page break before": "Saut de page avant",
+ "Page break inserted": "Saut de page inséré",
+ "Page break removed": "Saut de page supprimé",
+ "Page breaking": "Saut de page",
+ "Page or section, optional — e.g. p. 34": "Page ou section, facultatif — ex. p. 34",
+ "Page setup": "Mise en page",
+ "Page size": "Format de page",
+ "Page — “page 7”": "Page : « page 7 »",
+ "Pages": "Pages",
+ "Paragraph": "Paragraphe",
+ "Paragraph defaults": "Valeurs par défaut du paragraphe",
+ "Paragraphs follow these unless they say otherwise.": "Les paragraphes suivent ces réglages sauf indication contraire.",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "Collez le BibTeX ci-dessous. @article, @book, @inproceedings, @techreport et @misc sont pris en charge ; tout autre type est importé comme @misc afin de rester citable.",
+ "Paste BibTeX…": "Coller du BibTeX…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "Collez le JSON d'un document bento/type. Cela remplace le document et peut être annulé avec ⌘Z.",
+ "Picture": "Image",
+ "Portrait": "Portrait",
+ "Previous change (⌘⌥P)": "Modification précédente (⌘⌥P)",
+ "Previous match (⇧Enter)": "Occurrence précédente (⇧Entrée)",
+ "Print or PDF…": "Imprimer ou PDF…",
+ "Properties": "Propriétés",
+ "Put the caret in a heading first.": "Placez d'abord le curseur dans un titre.",
+ "Put the caret in a paragraph first": "Placez d'abord le curseur dans un paragraphe",
+ "Put the caret in the document first": "Placez d'abord le curseur dans le document",
+ "Put the caret in the table or paragraph to caption": "Placez le curseur dans le tableau ou le paragraphe à légender",
+ "Put the caret on a tracked change first": "Placez d'abord le curseur sur une modification suivie",
+ "Put the caret where the citation goes first": "Placez d'abord le curseur à l'endroit où la citation doit apparaître",
+ "Put the caret where the formula should go": "Placez le curseur à l'endroit où la formule doit apparaître",
+ "Put the caret where the reference goes": "Placez d'abord le curseur à l'endroit où la référence doit apparaître",
+ "Quote": "Citation",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "Lu à voix haute par les lecteurs d'écran, et conservé comme texte si l'image venait à disparaître.",
+ "Redo (⇧⌘Z)": "Rétablir (⇧⌘Z)",
+ "References, as they will print": "Références, telles qu'elles seront imprimées",
+ "Regular": "Normal",
+ "Reject": "Rejeter",
+ "Reject (⌘⌥D)": "Rejeter (⌘⌥D)",
+ "Reject all": "Tout rejeter",
+ "Remove": "Retirer",
+ "Reopen": "Rouvrir",
+ "Replace": "Remplacer",
+ "Replace all": "Tout remplacer",
+ "Replace every match, as one undo step": "Remplace toutes les occurrences en une seule étape d'annulation",
+ "Replace from JSON…": "Remplacer depuis JSON…",
+ "Replace this match": "Remplacer cette occurrence",
+ "Replace with": "Remplacer par",
+ "Replaced 1 match": "1 occurrence remplacée",
+ "Replaced {n} matches": "{n} occurrences remplacées",
+ "Reply": "Répondre",
+ "Reply…": "Répondre…",
+ "Resolve": "Résoudre",
+ "Results": "Résultats",
+ "Review": "Révision",
+ "Review changes…": "Réviser les modifications…",
+ "Right": "Droite",
+ "Save": "Enregistrer",
+ "Save (⌘S)": "Enregistrer (⌘S)",
+ "Save to {file}": "Enregistrer dans {file}",
+ "Saved": "Enregistré",
+ "Saved to {file}": "Enregistré dans {file}",
+ "Search author, title or key": "Rechercher par auteur, titre ou clé",
+ "Section numbering is off.": "La numérotation des sections est désactivée.",
+ "Sections are numbered.": "Les sections sont numérotées.",
+ "Select some text and press ⌘⇧M to comment on it.": "Sélectionnez du texte et appuyez sur ⌘⇧M pour le commenter.",
+ "Select some text first, then comment on it": "Sélectionnez d'abord du texte, puis commentez-le",
+ "Select some text to change its typeface or size. The document default is below.": "Sélectionnez du texte pour changer sa police ou sa taille. La valeur par défaut du document figure ci-dessous.",
+ "Select something to see its properties.": "Sélectionnez un élément pour voir ses propriétés.",
+ "Select the words you want to link": "Sélectionnez les mots à lier",
+ "Semibold": "Demi-gras",
+ "Show comments": "Afficher les commentaires",
+ "Signatures": "Signatures",
+ "Sign…": "Signer…",
+ "Size": "Taille",
+ "Size (px)": "Taille (px)",
+ "Snapshot": "Instantané",
+ "Someone": "Quelqu'un",
+ "Sources": "Sources",
+ "Sources ({n})": "Sources ({n})",
+ "Space after": "Espace après",
+ "Space after (px)": "Espace après (px)",
+ "Space before": "Espace avant",
+ "Space before (px)": "Espace avant (px)",
+ "Start this paragraph on a new page.": "Ce paragraphe commencera sur une nouvelle page.",
+ "Strikethrough": "Barré",
+ "Style": "Style",
+ "Style updated from this paragraph": "Style mis à jour à partir de ce paragraphe",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "Pris en charge : \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), lettres grecques, matrices, cas.",
+ "Table": "Tableau",
+ "Tables and figures are numbered separately, in document order.": "Les tableaux et les figures sont numérotés séparément, dans l'ordre du document.",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "Reprend la mise en forme actuelle de ce paragraphe pour en faire le style — tous les paragraphes utilisant ce style suivront.",
+ "Text": "Texte",
+ "Text area: {w} × {h} {unit}": "Zone de texte : {w} × {h} {unit}",
+ "That JSON could not be read.": "Ce JSON n'a pas pu être lu.",
+ "That JSON was empty.": "Ce JSON était vide.",
+ "That file could not be read as a picture.": "Ce fichier n'a pas pu être lu comme une image.",
+ "That file does not look like a Bento document.": "Ce fichier ne ressemble pas à un document Bento.",
+ "That is already a caption": "C'est déjà une légende",
+ "That is not a bento/type document: {detail}": "Ce n'est pas un document bento/type : {detail}",
+ "That is not an address this document can link to": "Ce n'est pas une adresse vers laquelle ce document peut créer un lien",
+ "That sheet is larger than any printer takes.": "Cette feuille est plus grande que ce qu'accepte n'importe quelle imprimante.",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "Cette feuille fait moins de 2 pouces — choisissez une page plus grande.",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "Le document est l'unité d'échange : donnez ce JSON à une IA, récupérez-en un et collez-le ici. `window.bento` expose la même chose aux scripts.",
+ "The first paragraph already starts a page": "Le premier paragraphe commence déjà une page",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "La formule au niveau du curseur. Source de type TeX ; le document stocke la source, jamais l'image.",
+ "The table of contents needs the core render hook.": "La table des matières nécessite le point d'ancrage de rendu principal.",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "Le thème vous appartient, pas au document — il est mémorisé dans ce navigateur et jamais enregistré dans le fichier. La PAGE reste blanche dans les deux cas, car le papier est blanc et quelqu'un qui relit un contrat à minuit doit quand même voir ce qui sera imprimé.",
+ "Theme": "Thème",
+ "Theme: {mode} — click to cycle auto/light/dark": "Thème : {mode} — cliquez pour alterner automatique/clair/sombre",
+ "These render as [?key] in the document so they cannot be missed.": "Ils s'affichent sous la forme [?key] dans le document afin qu'on ne puisse pas les manquer.",
+ "This already has a caption": "Ceci a déjà une légende",
+ "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.": "Ce navigateur ne peut pas réécrire le fichier, donc chaque enregistrement crée une nouvelle copie. Chrome et Edge sur ordinateur peuvent enregistrer sur place.",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "Cette version ne peut pas encore afficher les légendes — appliquez le correctif du noyau indiqué en haut de xref.ts",
+ "This document has no sources yet. Import some BibTeX first.": "Ce document n'a pas encore de sources. Importez d'abord du BibTeX.",
+ "This embed could not be displayed safely.": "Cet élément intégré n'a pas pu être affiché en toute sécurité.",
+ "This embed is missing its data.": "Cet élément intégré n'a pas ses données.",
+ "This file": "Ce fichier",
+ "This heading is no longer numbered.": "Ce titre n'est plus numéroté.",
+ "This heading is numbered again.": "Ce titre est de nouveau numéroté.",
+ "This paragraph and the one after it stay on the same page.": "Ce paragraphe et le suivant restent sur la même page.",
+ "This paragraph has direct formatting of its own, on top of its style.": "Ce paragraphe possède sa propre mise en forme directe, en plus de son style.",
+ "This paragraph is never split across a page break.": "Ce paragraphe n'est jamais scindé par un saut de page.",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "Cette image pèse {size}, et l'intégrer augmentera d'autant la taille du document. L'insérer quand même ?",
+ "This reference points at something that is no longer in the document": "Cette référence pointe vers un élément qui n'est plus dans le document",
+ "Those side margins leave no room for text.": "Ces marges latérales ne laissent aucune place au texte.",
+ "Those top and bottom margins leave no room for text.": "Ces marges du haut et du bas ne laissent aucune place au texte.",
+ "Top / bottom (in)": "Haut / bas (po)",
+ "Top / bottom (mm)": "Haut / bas (mm)",
+ "Track changes": "Suivi des modifications",
+ "Tracked changes": "Modifications suivies",
+ "Tracking is on. Edits you make from now on are recorded here.": "Le suivi est activé. Les modifications que vous apportez désormais sont enregistrées ici.",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "Activez « Suivi des modifications » dans le panneau des propriétés, ou prenez un instantané depuis ⋯ et utilisez Réviser les modifications.",
+ "Typeface": "Police",
+ "US Legal": "Légal US",
+ "US Letter": "Lettre US",
+ "Underline (⌘U)": "Souligné (⌘U)",
+ "Undo (⌘Z)": "Annuler (⌘Z)",
+ "Untitled": "Sans titre",
+ "Up to date — v{v}.": "À jour — v{v}.",
+ "Update style to match this paragraph": "Mettre à jour le style pour correspondre à ce paragraphe",
+ "Update this file": "Mettre à jour ce fichier",
+ "Updates": "Mises à jour",
+ "Use document defaults": "Utiliser les valeurs par défaut du document",
+ "Version {v} is available.": "La version {v} est disponible.",
+ "Visit bento.page (opens in a new tab)": "Visiter bento.page (ouvre un nouvel onglet)",
+ "Weight": "Graisse",
+ "What the picture shows": "Ce que montre l'image",
+ "Whole word": "Mot entier",
+ "Width (%)": "Largeur (%)",
+ "Width × height (in)": "Largeur × hauteur (po)",
+ "Width × height (mm)": "Largeur × hauteur (mm)",
+ "You": "Vous",
+ "Your name": "Votre nom",
+ "Your name, so your comments are attributed": "Votre nom, pour attribuer vos commentaires",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type est sous licence MIT. La coupure de ligne utilise l'algorithme de Knuth–Plass via tex-linebreak ; les motifs de césure sont ceux de Liang. Tout s'exécute dans ce fichier — rien n'est récupéré, rien n'est envoyé où que ce soit.",
+ "cited {n} times": "citée {n} fois",
+ "default": "par défaut",
+ "deleted": "supprimé",
+ "https://example.com": "https://example.com",
+ "in": "po",
+ "inserted": "inséré",
+ "mixed": "mixte",
+ "mm": "mm",
+ "not cited": "non citée",
+ "pt": "pt",
+ "the text this was about is gone": "le texte concerné a disparu",
+ "v{app} · format v{fmt}": "v{app} · format v{fmt}",
+ "{added} added, {replaced} updated": "{added} ajoutées, {replaced} mises à jour",
+ "{key} is cited in this document. Remove it anyway?": "{key} est citée dans ce document. La supprimer quand même ?",
+ "{m} changes": "{m} modifications",
+ "{n} broken reference(s)": "{n} référence(s) rompue(s)",
+ "{n} more": "{n} de plus",
+ "{n} of {m}": "{n} sur {m}",
+ "{n} of {total}": "{n} sur {total}",
+ "{n} replies": "{n} réponses",
+ "{open} open of {all}": "{open} ouverts sur {all}",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} page(s) · {words} mots · {blocks} blocs · {notes} note(s) de bas de page. Le document, l'éditeur et le compositeur sont tous dans ce seul fichier.",
+ "{rows} rows × {cols} columns": "{rows} lignes × {cols} colonnes",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size}, {orient} · zone de texte {w} × {h} {unit}",
+ "— mixed —": "— mixte —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "Ignorer",
+ "Restore": "Restaurer",
+ "Restored your unsaved changes": "Vos modifications non enregistrées ont été restaurées",
+ "Unsaved changes from {when} were found.": "Des modifications non enregistrées de {when} ont été trouvées.",
+ "Version history": "Historique des versions",
+ "Version history…": "Historique des versions…",
+ "No saved versions yet — they accumulate as you edit.": "Aucune version enregistrée pour l'instant : elles s'accumulent au fil de vos modifications.",
+ "Stored only in this browser, never in the file or online.": "Conservé uniquement dans ce navigateur, jamais dans le fichier ni en ligne.",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "Les versions sont enregistrées automatiquement au fil de vos modifications, conservées uniquement dans ce navigateur et jamais téléversées. La restauration est annulable avec ⌘Z.",
+ "{when} (most recent)": "{when} (le plus récent)",
+ "Snapshot redline": "Comparaison avec l'instantané",
+ "Share": "Partager",
+ "Share — invite people to edit live, or send a view-only copy": "Partager — invitez d'autres personnes à modifier en direct, ou envoyez une copie en lecture seule",
+ "Not sharing yet — click to start a live session": "Pas encore partagé — cliquez pour démarrer une session en direct",
+ "Live — this document is being shared": "En direct — ce document est partagé",
+ "Connecting to the live session…": "Connexion à la session en direct…",
+ "● Live — {n} connected": "● En direct — {n} connectés",
+ "● Connecting…": "● Connexion…",
+ "○ Not live — turns on when you share": "○ Pas en direct — s'active lorsque vous partagez",
+ "People": "Personnes",
+ "Guest": "Invité",
+ "{name} (you)": "{name} (vous)",
+ "{name} — click to follow": "{name} — cliquez pour suivre",
+ "Owner": "Propriétaire",
+ "Editor": "Éditeur",
+ "Viewer": "Lecteur",
+ "Share a copy": "Partager une copie",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Affiché à côté de votre curseur et dans la liste des personnes — conservé uniquement dans ce navigateur.",
+ "Only the document owner can mint editor invites": "Seul le propriétaire du document peut créer des invitations de modification",
+ "Editor copy saved — recipients join live with edit access": "Copie éditeur enregistrée — les destinataires rejoignent la session en direct avec accès en modification",
+ "View-only copy saved — it follows the live session": "Copie en lecture seule enregistrée — elle suit la session en direct",
+ "This document has no live session to follow": "Ce document n'a aucune session en direct à suivre",
+ "Access reset — only copies saved from now on can join": "Accès réinitialisé — seules les copies enregistrées à partir de maintenant peuvent rejoindre",
+ "Saving failed": "Échec de l'enregistrement",
+ "Invite to edit…": "Inviter à modifier…",
+ "View-only copy…": "Copie en lecture seule…",
+ "Go live": "Passer en direct",
+ "Stop sharing": "Arrêter le partage",
+ "Reset access…": "Réinitialiser l'accès…",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "Enregistre une copie à envoyer. La personne qui l'ouvre modifie ce document en direct avec vous ; vous restez propriétaire et pouvez la retirer depuis la liste des personnes.",
+ "A live viewer: follows every edit as it happens but can never change the document.": "Un lecteur en direct : suit chaque modification en temps réel, mais ne peut jamais modifier le document.",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "Ceci est une copie en lecture seule — elle suit la session en direct mais ne peut pas modifier le document.",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "Déconnecte ce document de la session en direct. Les copies conservent leur dernier état et peuvent revenir si vous repassez en direct.",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Rejoignez la session en direct sans enregistrer de nouvelle copie — les copies envoyées précédemment vous y retrouveront.",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Réinitialiser l'accès ? Toutes les copies déjà envoyées cessent de se synchroniser ; seules celles enregistrées ensuite pourront rejoindre.",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Génère des clés entièrement nouvelles. Toutes les copies envoyées auparavant cessent définitivement de se synchroniser ; partagez ensuite de nouvelles copies.",
+ "Offline mode is on — nothing leaves this computer.": "Le mode hors ligne est activé — rien ne quitte cet ordinateur.",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "Les onglets de cet ordinateur continuent de se synchroniser ; désactivez le mode hors ligne pour collaborer en ligne.",
+}
diff --git a/type/src/i18n/it.ts b/type/src/i18n/it.ts
new file mode 100644
index 00000000..ba809d60
--- /dev/null
+++ b/type/src/i18n/it.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Italian — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const it: Catalog = {
+ " (downloads a copy)": " (scarica una copia)",
+ "(empty paragraph)": "(paragrafo vuoto)",
+ "(no heading)": "(nessun titolo)",
+ "(untitled)": "(senza titolo)",
+ "1 change": "1 modifica",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "Si tratta di un'indicazione autodichiarata, non di un'identità verificata: è il nome mostrato accanto ai tuoi commenti e alle modifiche registrate, e chiunque può digitare qui il nome che vuole. Viene ricordato in questo browser, si applica immediatamente e non viene mai salvato di per sé nel file (vengono salvati solo i commenti e le modifiche che firma).",
+ "About bento/type": "Informazioni su bento/type",
+ "About bento/type — version, updates, language": "Informazioni su bento/type: versione, aggiornamenti, lingua",
+ "About this document": "Informazioni sul documento",
+ "Accept": "Accetta",
+ "Accept (⌘⌥A)": "Accetta (⌘⌥A)",
+ "Accept all": "Accetta tutto",
+ "Add column": "Aggiungi colonna",
+ "Add row": "Aggiungi riga",
+ "Align": "Allinea",
+ "Alignment": "Allineamento",
+ "All markup": "Tutte le revisioni",
+ "All {all} resolved": "Tutte le {all} risolte",
+ "Already at the end.": "Già alla fine.",
+ "Already at the top.": "Già all'inizio.",
+ "Alt text": "Testo alternativo",
+ "Alt+Shift+↑ / ↓": "Alt+Maiusc+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "Un aggiornamento è un file NUOVO, scaricato accanto a questo: l'originale resta intatto, quindi un aggiornamento difettoso si annulla semplicemente eliminandolo. Ogni versione viene verificata con firma prima di essere applicata.",
+ "Appearance": "Aspetto",
+ "Applied style": "Stile applicato",
+ "Apply": "Applica",
+ "Author–year — APA-ish": "Autore-anno (stile APA)",
+ "Auto": "Automatico",
+ "Bento artifact": "Artefatto Bento",
+ "Body": "Corpo",
+ "Bold": "Grassetto",
+ "Bold (⌘B)": "Grassetto (⌘B)",
+ "Book (1.62)": "Libro (1,62)",
+ "Both — “Table 2 (page 7)”": "Entrambi: «Tabella 2 (pagina 7)»",
+ "Bulleted list": "Elenco puntato",
+ "Cancel": "Annulla",
+ "Caption": "Didascalia",
+ "Caption this table or figure": "Aggiungi didascalia a questa tabella o figura",
+ "Centre": "Al centro",
+ "Check for updates": "Controlla aggiornamenti",
+ "Checking…": "Verifica in corso…",
+ "Citation": "Citazione",
+ "Cite here": "Cita qui",
+ "Cited but not in this document": "Citata ma non presente in questo documento",
+ "Cite…": "Cita…",
+ "Clear direct formatting": "Cancella formattazione diretta",
+ "Close": "Chiudi",
+ "Code": "Codice",
+ "Colour": "Colore",
+ "Comment on the selected text (⌘⇧M)": "Commenta il testo selezionato (⌘⇧M)",
+ "Comment on “{quote}”": "Commenta «{quote}»",
+ "Comments": "Commenti",
+ "Comments hidden": "Commenti nascosti",
+ "Comments shown": "Commenti visibili",
+ "Contents": "Sommario",
+ "Contents inserted. Page numbers fill in as the document paginates.": "Sommario inserito. I numeri di pagina si compilano man mano che il documento viene impaginato.",
+ "Copy document JSON": "Copia il JSON del documento",
+ "Could not check right now.": "Impossibile controllare in questo momento.",
+ "Credits": "Crediti",
+ "Cross-reference": "Riferimento incrociato",
+ "Custom": "Personalizzato",
+ "Dark": "Scuro",
+ "Default": "Predefinito",
+ "Default size (px)": "Dimensione predefinita (px)",
+ "Default typeface": "Carattere predefinito",
+ "Delete": "Elimina",
+ "Delete this comment?": "Eliminare questo commento?",
+ "Delete this thread": "Elimina questa discussione",
+ "Delete this whole thread?": "Eliminare l'intera discussione?",
+ "Delete your comment": "Elimina il tuo commento",
+ "Display": "Visualizzazione",
+ "Document": "Documento",
+ "Document default": "Valore predefinito del documento",
+ "Document id": "ID documento",
+ "Document title": "Titolo del documento",
+ "Drag to move, click for options": "Trascina per spostare, fai clic per le opzioni",
+ "Edit": "Modifica",
+ "Edit your comment": "Modifica il tuo commento",
+ "Edit “{name}”": "Modifica «{name}»",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "Modificare uno stile cambia ogni paragrafo che lo usa, compresi quelli che non hanno mai impostato esplicitamente uno stile e usano semplicemente quello predefinito del loro tipo.",
+ "Embed a Bento chart, deck or page": "Incorpora un grafico, una presentazione o una pagina Bento",
+ "Embedded from {app}": "Incorporato da {app}",
+ "Equation added — edit it in the Math panel": "Equazione aggiunta: modificala nel pannello Matematica",
+ "Equation block": "Blocco equazione",
+ "Figure": "Figura",
+ "Figures": "Figure",
+ "File": "File",
+ "Find": "Trova",
+ "Find and replace (⌘F)": "Trova e sostituisci (⌘F)",
+ "Find in document": "Trova nel documento",
+ "First line": "Prima riga",
+ "First-line indent (px)": "Rientro prima riga (px)",
+ "Follow the system": "Segui il sistema",
+ "Format — show or hide the properties panel": "Formato: mostra o nascondi il pannello delle proprietà",
+ "Formatting": "Formattazione",
+ "Formula": "Formula",
+ "Formula (⌘M)": "Formula (⌘M)",
+ "Formula added — edit it in the Math panel": "Formula aggiunta: modificala nel pannello Matematica",
+ "From {app}": "Da {app}",
+ "Header row": "Riga di intestazione",
+ "Heading 1": "Titolo 1",
+ "Heading 2": "Titolo 2",
+ "Heading 3": "Titolo 3",
+ "Headings": "Titoli",
+ "Headings appear here.": "I titoli appaiono qui.",
+ "Hide comments": "Nascondi commenti",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "È solo il modo in cui visualizzi il documento, non una modifica ad esso: nulla qui viene salvato nel file.",
+ "Import": "Importa",
+ "Import BibTeX": "Importa BibTeX",
+ "Import BibTeX…": "Importa BibTeX…",
+ "Insert": "Inserisci",
+ "Insert a block below this one": "Inserisci un blocco sotto questo",
+ "Insert a cross-reference": "Inserisci un riferimento incrociato",
+ "Insert a cross-reference to a caption": "Inserisci un riferimento incrociato a una didascalia",
+ "Insert a display equation on its own line": "Inserisci un'equazione su una riga propria",
+ "Insert a picture": "Inserisci un'immagine",
+ "Insert a picture, table, formula, citation…": "Inserisci immagine, tabella, formula, citazione…",
+ "Insert a table": "Inserisci una tabella",
+ "Insert a table of contents": "Inserisci un sommario",
+ "Insert below": "Inserisci sotto",
+ "Insert citation": "Inserisci citazione",
+ "Italic": "Corsivo",
+ "Italic (⌘I)": "Corsivo (⌘I)",
+ "Justified": "Giustificato",
+ "Keep together": "Non dividere",
+ "Keep with next": "Solidale con il successivo",
+ "Label — “Table 2”": "Etichetta: «Tabella 2»",
+ "Landscape": "Orizzontale",
+ "Layout": "Layout",
+ "Left": "Sinistra",
+ "Left / right (in)": "Sinistra / destra (in)",
+ "Left / right (mm)": "Sinistra / destra (mm)",
+ "Light": "Chiaro",
+ "Line spacing": "Interlinea",
+ "Link (⌘K)": "Collegamento (⌘K)",
+ "Link address": "Indirizzo del collegamento",
+ "Margins": "Margini",
+ "Margins…": "Margini…",
+ "Match case": "Maiuscole/minuscole",
+ "Math": "Matematica",
+ "Medium": "Medio",
+ "Modified": "Modificato",
+ "More — revisions, signing, print": "Altro: revisioni, firma, stampa",
+ "Move down": "Sposta giù",
+ "Move this block": "Sposta questo blocco",
+ "Move up": "Sposta su",
+ "Name": "Nome",
+ "Navigate": "Naviga",
+ "Next change (⌘⌥N)": "Modifica successiva (⌘⌥N)",
+ "Next match (Enter)": "Corrispondenza successiva (Invio)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "Ancora nessuna didascalia. Posiziona il cursore in una tabella e premi il pulsante didascalia; la numerazione e tutti i riferimenti la seguiranno automaticamente.",
+ "No markup": "Nessuna revisione",
+ "No matches": "Nessuna corrispondenza",
+ "No sources yet. Paste a .bib file to get started.": "Ancora nessuna fonte. Incolla un file .bib per iniziare.",
+ "No tracked changes": "Nessuna modifica registrata",
+ "Nothing is cited yet, so the list is empty.": "Non è stato ancora citato nulla, quindi l'elenco è vuoto.",
+ "Nothing matches.": "Nessuna corrispondenza.",
+ "Nothing that looks like a BibTeX entry.": "Niente che assomigli a una voce BibTeX.",
+ "Nothing to refer to yet — caption a table first": "Ancora nulla a cui fare riferimento: aggiungi prima una didascalia a una tabella",
+ "Nothing was imported.": "Non è stato importato nulla.",
+ "Number sections": "Numera le sezioni",
+ "Number this heading": "Numera questo titolo",
+ "Numbered as": "Numerato come",
+ "Numbered list": "Elenco numerato",
+ "Numeric [1] — IEEE-ish": "Numerico [1] (stile IEEE)",
+ "Off by default: most documents already carry their numbers in the heading text.": "Disattivato per impostazione predefinita: la maggior parte dei documenti riporta già i numeri nel testo del titolo.",
+ "Open": "Apri",
+ "Orientation": "Orientamento",
+ "Original": "Originale",
+ "Outline — show or hide the document map": "Struttura: mostra o nascondi la mappa del documento",
+ "Page": "Pagina",
+ "Page break before": "Interruzione di pagina prima",
+ "Page break inserted": "Interruzione di pagina inserita",
+ "Page break removed": "Interruzione di pagina rimossa",
+ "Page breaking": "Interruzione di pagina",
+ "Page or section, optional — e.g. p. 34": "Pagina o sezione, facoltativo — es. p. 34",
+ "Page setup": "Imposta pagina",
+ "Page size": "Dimensione pagina",
+ "Page — “page 7”": "Pagina: «pagina 7»",
+ "Pages": "Pagine",
+ "Paragraph": "Paragrafo",
+ "Paragraph defaults": "Valori predefiniti del paragrafo",
+ "Paragraphs follow these unless they say otherwise.": "I paragrafi seguono queste impostazioni salvo diversa indicazione.",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "Incolla il BibTeX qui sotto. @article, @book, @inproceedings, @techreport e @misc sono supportati; qualsiasi altro tipo viene importato come @misc così può comunque essere citato.",
+ "Paste BibTeX…": "Incolla BibTeX…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "Incolla il JSON di un documento bento/type. Questo sostituisce il documento e può essere annullato con ⌘Z.",
+ "Picture": "Immagine",
+ "Portrait": "Verticale",
+ "Previous change (⌘⌥P)": "Modifica precedente (⌘⌥P)",
+ "Previous match (⇧Enter)": "Corrispondenza precedente (⇧Invio)",
+ "Print or PDF…": "Stampa o PDF…",
+ "Properties": "Proprietà",
+ "Put the caret in a heading first.": "Posiziona prima il cursore in un titolo.",
+ "Put the caret in a paragraph first": "Posiziona prima il cursore in un paragrafo",
+ "Put the caret in the document first": "Posiziona prima il cursore nel documento",
+ "Put the caret in the table or paragraph to caption": "Posiziona il cursore nella tabella o nel paragrafo da didascalizzare",
+ "Put the caret on a tracked change first": "Posiziona prima il cursore su una modifica registrata",
+ "Put the caret where the citation goes first": "Posiziona prima il cursore dove deve andare la citazione",
+ "Put the caret where the formula should go": "Posiziona il cursore dove deve andare la formula",
+ "Put the caret where the reference goes": "Posiziona prima il cursore dove deve andare il riferimento",
+ "Quote": "Citazione",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "Viene letto ad alta voce dagli screen reader e resta come testo se l'immagine va persa.",
+ "Redo (⇧⌘Z)": "Ripeti (⇧⌘Z)",
+ "References, as they will print": "Bibliografia, come verrà stampata",
+ "Regular": "Normale",
+ "Reject": "Rifiuta",
+ "Reject (⌘⌥D)": "Rifiuta (⌘⌥D)",
+ "Reject all": "Rifiuta tutto",
+ "Remove": "Rimuovi",
+ "Reopen": "Riapri",
+ "Replace": "Sostituisci",
+ "Replace all": "Sostituisci tutto",
+ "Replace every match, as one undo step": "Sostituisce tutte le corrispondenze in un solo passaggio di annullamento",
+ "Replace from JSON…": "Sostituisci da JSON…",
+ "Replace this match": "Sostituisci questa corrispondenza",
+ "Replace with": "Sostituisci con",
+ "Replaced 1 match": "Sostituita 1 corrispondenza",
+ "Replaced {n} matches": "Sostituite {n} corrispondenze",
+ "Reply": "Rispondi",
+ "Reply…": "Rispondi…",
+ "Resolve": "Risolvi",
+ "Results": "Risultati",
+ "Review": "Revisione",
+ "Review changes…": "Rivedi modifiche…",
+ "Right": "Destra",
+ "Save": "Salva",
+ "Save (⌘S)": "Salva (⌘S)",
+ "Save to {file}": "Salva su {file}",
+ "Saved": "Salvato",
+ "Saved to {file}": "Salvato su {file}",
+ "Search author, title or key": "Cerca per autore, titolo o chiave",
+ "Section numbering is off.": "La numerazione delle sezioni è disattivata.",
+ "Sections are numbered.": "Le sezioni sono numerate.",
+ "Select some text and press ⌘⇧M to comment on it.": "Seleziona del testo e premi ⌘⇧M per commentarlo.",
+ "Select some text first, then comment on it": "Seleziona prima del testo, poi commentalo",
+ "Select some text to change its typeface or size. The document default is below.": "Seleziona del testo per cambiarne il carattere o la dimensione. Il valore predefinito del documento è indicato sotto.",
+ "Select something to see its properties.": "Seleziona qualcosa per vederne le proprietà.",
+ "Select the words you want to link": "Seleziona le parole a cui aggiungere il collegamento",
+ "Semibold": "Semigrassetto",
+ "Show comments": "Mostra commenti",
+ "Signatures": "Firme",
+ "Sign…": "Firma…",
+ "Size": "Dimensione",
+ "Size (px)": "Dimensione (px)",
+ "Snapshot": "Istantanea",
+ "Someone": "Qualcuno",
+ "Sources": "Fonti",
+ "Sources ({n})": "Fonti ({n})",
+ "Space after": "Spazio dopo",
+ "Space after (px)": "Spazio dopo (px)",
+ "Space before": "Spazio prima",
+ "Space before (px)": "Spazio prima (px)",
+ "Start this paragraph on a new page.": "Questo paragrafo inizierà su una nuova pagina.",
+ "Strikethrough": "Barrato",
+ "Style": "Stile",
+ "Style updated from this paragraph": "Stile aggiornato in base a questo paragrafo",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "Supportati: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), lettere greche, matrici, casi.",
+ "Table": "Tabella",
+ "Tables and figures are numbered separately, in document order.": "Tabelle e figure sono numerate separatamente, nell'ordine del documento.",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "Applica la formattazione attuale di questo paragrafo come stile: tutti i paragrafi che usano questo stile lo seguiranno.",
+ "Text": "Testo",
+ "Text area: {w} × {h} {unit}": "Area di testo: {w} × {h} {unit}",
+ "That JSON could not be read.": "Impossibile leggere quel JSON.",
+ "That JSON was empty.": "Quel JSON era vuoto.",
+ "That file could not be read as a picture.": "Impossibile leggere quel file come immagine.",
+ "That file does not look like a Bento document.": "Quel file non sembra un documento Bento.",
+ "That is already a caption": "Questa è già una didascalia",
+ "That is not a bento/type document: {detail}": "Non è un documento bento/type: {detail}",
+ "That is not an address this document can link to": "Non è un indirizzo a cui questo documento può collegarsi",
+ "That sheet is larger than any printer takes.": "Quel foglio è più grande di quanto qualsiasi stampante possa gestire.",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "Quel foglio è più piccolo di 2 pollici: scegli una pagina più grande.",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "Il documento è l'unità di interscambio: consegna questo JSON a un'IA, riceverne uno e incollalo qui. `window.bento` espone la stessa cosa agli script.",
+ "The first paragraph already starts a page": "Il primo paragrafo inizia già una pagina",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "La formula alla posizione del cursore. Sorgente in stile TeX; il documento memorizza il sorgente, mai l'immagine.",
+ "The table of contents needs the core render hook.": "Il sommario richiede l'hook di rendering principale.",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "Il tema è tuo, non del documento: viene ricordato in questo browser e non viene mai salvato nel file. La PAGINA resta bianca in entrambi i casi, perché la carta è bianca e chi rilegge un contratto a mezzanotte deve comunque vedere cosa verrà stampato.",
+ "Theme": "Tema",
+ "Theme: {mode} — click to cycle auto/light/dark": "Tema: {mode}: fai clic per alternare automatico/chiaro/scuro",
+ "These render as [?key] in the document so they cannot be missed.": "Vengono visualizzati come [?key] nel documento in modo che non possano passare inosservati.",
+ "This already has a caption": "Questo ha già una didascalia",
+ "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.": "Questo browser non può riscrivere il file, quindi ogni salvataggio crea una nuova copia. Chrome ed Edge su computer possono salvare direttamente nel file.",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "Questa build non può ancora renderizzare le didascalie: applica la patch del core indicata in cima a xref.ts",
+ "This document has no sources yet. Import some BibTeX first.": "Questo documento non ha ancora fonti. Importa prima del BibTeX.",
+ "This embed could not be displayed safely.": "Questo elemento incorporato non può essere visualizzato in modo sicuro.",
+ "This embed is missing its data.": "A questo elemento incorporato mancano i dati.",
+ "This file": "Questo file",
+ "This heading is no longer numbered.": "Questo titolo non è più numerato.",
+ "This heading is numbered again.": "Questo titolo è di nuovo numerato.",
+ "This paragraph and the one after it stay on the same page.": "Questo paragrafo e quello successivo restano nella stessa pagina.",
+ "This paragraph has direct formatting of its own, on top of its style.": "Questo paragrafo ha una propria formattazione diretta, oltre al suo stile.",
+ "This paragraph is never split across a page break.": "Questo paragrafo non viene mai diviso da un'interruzione di pagina.",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "Questa immagine è di {size}, e incorporarla renderà il documento più grande di altrettanto. Inserirla comunque?",
+ "This reference points at something that is no longer in the document": "Questo riferimento punta a qualcosa che non è più nel documento",
+ "Those side margins leave no room for text.": "Questi margini laterali non lasciano spazio al testo.",
+ "Those top and bottom margins leave no room for text.": "Questi margini superiore e inferiore non lasciano spazio al testo.",
+ "Top / bottom (in)": "Superiore / inferiore (in)",
+ "Top / bottom (mm)": "Superiore / inferiore (mm)",
+ "Track changes": "Registra modifiche",
+ "Tracked changes": "Modifiche registrate",
+ "Tracking is on. Edits you make from now on are recorded here.": "Il tracciamento è attivo. Le modifiche che apporti da ora in poi vengono registrate qui.",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "Attiva \"Registra modifiche\" nel pannello delle proprietà, oppure crea un'istantanea da ⋯ e usa Rivedi modifiche.",
+ "Typeface": "Carattere",
+ "US Legal": "Legale USA",
+ "US Letter": "Lettera USA",
+ "Underline (⌘U)": "Sottolineato (⌘U)",
+ "Undo (⌘Z)": "Annulla (⌘Z)",
+ "Untitled": "Senza titolo",
+ "Up to date — v{v}.": "Aggiornato — v{v}.",
+ "Update style to match this paragraph": "Aggiorna lo stile in base a questo paragrafo",
+ "Update this file": "Aggiorna questo file",
+ "Updates": "Aggiornamenti",
+ "Use document defaults": "Usa i valori predefiniti del documento",
+ "Version {v} is available.": "La versione {v} è disponibile.",
+ "Visit bento.page (opens in a new tab)": "Visita bento.page (si apre in una nuova scheda)",
+ "Weight": "Peso",
+ "What the picture shows": "Cosa mostra l'immagine",
+ "Whole word": "Parola intera",
+ "Width (%)": "Larghezza (%)",
+ "Width × height (in)": "Larghezza × altezza (in)",
+ "Width × height (mm)": "Larghezza × altezza (mm)",
+ "You": "Tu",
+ "Your name": "Il tuo nome",
+ "Your name, so your comments are attributed": "Il tuo nome, per attribuire i tuoi commenti",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type è concesso in licenza MIT. L'interruzione di riga usa l'algoritmo di Knuth–Plass tramite tex-linebreak; i modelli di sillabazione sono quelli di Liang. Tutto viene eseguito in questo file: non viene recuperato né inviato nulla altrove.",
+ "cited {n} times": "citata {n} volte",
+ "default": "predefinito",
+ "deleted": "eliminato",
+ "https://example.com": "https://example.com",
+ "in": "in",
+ "inserted": "inserito",
+ "mixed": "misto",
+ "mm": "mm",
+ "not cited": "non citata",
+ "pt": "pt",
+ "the text this was about is gone": "il testo a cui si riferiva non c'è più",
+ "v{app} · format v{fmt}": "v{app} · formato v{fmt}",
+ "{added} added, {replaced} updated": "{added} aggiunte, {replaced} aggiornate",
+ "{key} is cited in this document. Remove it anyway?": "{key} è citata in questo documento. Rimuoverla comunque?",
+ "{m} changes": "{m} modifiche",
+ "{n} broken reference(s)": "{n} riferimento/i non valido/i",
+ "{n} more": "{n} altri",
+ "{n} of {m}": "{n} di {m}",
+ "{n} of {total}": "{n} di {total}",
+ "{n} replies": "{n} risposte",
+ "{open} open of {all}": "{open} aperti su {all}",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} pagina/e · {words} parole · {blocks} blocchi · {notes} nota/e a piè di pagina. Il documento, l'editor e il compositore tipografico sono tutti in questo unico file.",
+ "{rows} rows × {cols} columns": "{rows} righe × {cols} colonne",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size}, {orient} · area di testo {w} × {h} {unit}",
+ "— mixed —": "— misto —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "Scarta",
+ "Restore": "Ripristina",
+ "Restored your unsaved changes": "Le modifiche non salvate sono state ripristinate",
+ "Unsaved changes from {when} were found.": "Sono state trovate modifiche non salvate del {when}.",
+ "Version history": "Cronologia versioni",
+ "Version history…": "Cronologia versioni…",
+ "No saved versions yet — they accumulate as you edit.": "Nessuna versione salvata per ora: si accumulano man mano che modifichi.",
+ "Stored only in this browser, never in the file or online.": "Memorizzato solo in questo browser, mai nel file né online.",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "Le versioni vengono salvate automaticamente mentre modifichi, conservate solo in questo browser e mai caricate online. Il ripristino è annullabile con ⌘Z.",
+ "{when} (most recent)": "{when} (più recente)",
+ "Snapshot redline": "Confronto con l'istantanea",
+ "Share": "Condividi",
+ "Share — invite people to edit live, or send a view-only copy": "Condividi — invita altre persone a modificare in tempo reale o invia una copia di sola lettura",
+ "Not sharing yet — click to start a live session": "Non ancora condiviso: fai clic per avviare una sessione in tempo reale",
+ "Live — this document is being shared": "In diretta: questo documento è condiviso",
+ "Connecting to the live session…": "Connessione alla sessione in tempo reale…",
+ "● Live — {n} connected": "● In diretta: {n} connessi",
+ "● Connecting…": "● Connessione…",
+ "○ Not live — turns on when you share": "○ Non in diretta: si attiva quando condividi",
+ "People": "Persone",
+ "Guest": "Ospite",
+ "{name} (you)": "{name} (tu)",
+ "{name} — click to follow": "{name}: fai clic per seguire",
+ "Owner": "Proprietario",
+ "Editor": "Editor",
+ "Viewer": "Lettore",
+ "Share a copy": "Condividi una copia",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "Mostrato accanto al cursore e nell'elenco delle persone: memorizzato solo in questo browser.",
+ "Only the document owner can mint editor invites": "Solo il proprietario del documento può creare inviti di modifica",
+ "Editor copy saved — recipients join live with edit access": "Copia per l'editor salvata: chi la riceve entra in diretta con accesso in modifica",
+ "View-only copy saved — it follows the live session": "Copia di sola lettura salvata: segue la sessione in diretta",
+ "This document has no live session to follow": "Questo documento non ha una sessione in diretta da seguire",
+ "Access reset — only copies saved from now on can join": "Accesso reimpostato: possono entrare solo le copie salvate da ora in poi",
+ "Saving failed": "Salvataggio non riuscito",
+ "Invite to edit…": "Invita a modificare…",
+ "View-only copy…": "Copia di sola lettura…",
+ "Go live": "Vai in diretta",
+ "Stop sharing": "Interrompi condivisione",
+ "Reset access…": "Reimposta accesso…",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "Salva una copia da inviare. Chi la apre modifica questo documento in diretta con te; tu resti il proprietario e puoi rimuoverlo dall'elenco delle persone.",
+ "A live viewer: follows every edit as it happens but can never change the document.": "Un lettore in diretta: segue ogni modifica in tempo reale, ma non può mai cambiare il documento.",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "Questa è una copia di sola lettura: segue la sessione in diretta ma non può cambiare il documento.",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "Disconnette questo documento dalla sessione in diretta. Le copie mantengono il loro ultimo stato e possono rientrare se torni in diretta.",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "Connettiti alla sessione in diretta senza salvare una nuova copia: le copie inviate in precedenza ti raggiungeranno lì.",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "Reimpostare l'accesso? Tutte le copie già inviate smettono di sincronizzarsi; possono entrare solo quelle salvate dopo.",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Genera chiavi completamente nuove. Tutte le copie inviate in precedenza smettono definitivamente di sincronizzarsi; condividi poi copie nuove.",
+ "Offline mode is on — nothing leaves this computer.": "La modalità offline è attiva: nulla esce da questo computer.",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "Le schede su questo computer continuano a sincronizzarsi; disattiva la modalità offline per collaborare online.",
+}
diff --git a/type/src/i18n/ja.ts b/type/src/i18n/ja.ts
new file mode 100644
index 00000000..8af62082
--- /dev/null
+++ b/type/src/i18n/ja.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Japanese — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const ja: Catalog = {
+ " (downloads a copy)": "(コピーをダウンロード)",
+ "(empty paragraph)": "(空の段落)",
+ "(no heading)": "(見出しなし)",
+ "(untitled)": "(無題)",
+ "1 change": "変更 1 件",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "自己申告の名前であり、本人確認ではありません — コメントや変更履歴の横に表示される名前で、誰でも自由に入力できます。このブラウザに記憶され、すぐに反映されますが、この名前自体がファイルに保存されることはありません(それが記名したコメントや変更のみが保存されます)。",
+ "About bento/type": "bento/type について",
+ "About bento/type — version, updates, language": "bento/type について — バージョン、更新、言語",
+ "About this document": "この文書について",
+ "Accept": "承諾",
+ "Accept (⌘⌥A)": "承諾 (⌘⌥A)",
+ "Accept all": "すべて承諾",
+ "Add column": "列を追加",
+ "Add row": "行を追加",
+ "Align": "配置",
+ "Alignment": "配置",
+ "All markup": "すべての変更履歴",
+ "All {all} resolved": "{all} 件すべて解決済み",
+ "Already at the end.": "すでに末尾です。",
+ "Already at the top.": "すでに先頭です。",
+ "Alt text": "代替テキスト",
+ "Alt+Shift+↑ / ↓": "Alt+Shift+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "更新は「新しいファイル」としてこのファイルの隣にダウンロードされます — 元のファイルは変更されないため、問題のある更新は削除するだけで元に戻せます。すべてのリリースは適用前に署名検証されます。",
+ "Appearance": "外観",
+ "Applied style": "適用中のスタイル",
+ "Apply": "適用",
+ "Author–year — APA-ish": "著者–年(APA風)",
+ "Auto": "自動",
+ "Bento artifact": "Bento アーティファクト",
+ "Body": "本文",
+ "Bold": "太字",
+ "Bold (⌘B)": "太字 (⌘B)",
+ "Book (1.62)": "書籍 (1.62)",
+ "Both — “Table 2 (page 7)”": "両方 — 「表 2(7 ページ)」",
+ "Bulleted list": "箇条書き",
+ "Cancel": "キャンセル",
+ "Caption": "キャプション",
+ "Caption this table or figure": "この表または図にキャプションを付ける",
+ "Centre": "中央揃え",
+ "Check for updates": "更新を確認",
+ "Checking…": "確認中…",
+ "Citation": "引用",
+ "Cite here": "ここに引用",
+ "Cited but not in this document": "引用されているがこの文書にはない",
+ "Cite…": "引用…",
+ "Clear direct formatting": "直接指定した書式をクリア",
+ "Close": "閉じる",
+ "Code": "コード",
+ "Colour": "色",
+ "Comment on the selected text (⌘⇧M)": "選択したテキストにコメント (⌘⇧M)",
+ "Comment on “{quote}”": "「{quote}」にコメント",
+ "Comments": "コメント",
+ "Comments hidden": "コメントを非表示",
+ "Comments shown": "コメントを表示",
+ "Contents": "目次",
+ "Contents inserted. Page numbers fill in as the document paginates.": "目次を挿入しました。ページ番号は文書のページ割り付けに応じて入ります。",
+ "Copy document JSON": "文書の JSON をコピー",
+ "Could not check right now.": "現在確認できませんでした。",
+ "Credits": "クレジット",
+ "Cross-reference": "相互参照",
+ "Custom": "カスタム",
+ "Dark": "ダーク",
+ "Default": "既定",
+ "Default size (px)": "既定サイズ (px)",
+ "Default typeface": "既定の書体",
+ "Delete": "削除",
+ "Delete this comment?": "このコメントを削除しますか?",
+ "Delete this thread": "このスレッドを削除",
+ "Delete this whole thread?": "このスレッド全体を削除しますか?",
+ "Delete your comment": "自分のコメントを削除",
+ "Display": "表示",
+ "Document": "文書",
+ "Document default": "文書の既定値",
+ "Document id": "文書 ID",
+ "Document title": "文書のタイトル",
+ "Drag to move, click for options": "ドラッグで移動、クリックでオプション",
+ "Edit": "編集",
+ "Edit your comment": "自分のコメントを編集",
+ "Edit “{name}”": "「{name}」を編集",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "スタイルを編集すると、それを使用しているすべての段落に反映されます — スタイルを明示的に設定せず、その種類の既定値を使っているだけの段落も含まれます。",
+ "Embed a Bento chart, deck or page": "Bento のグラフ、デッキ、ページを埋め込む",
+ "Embedded from {app}": "{app} から埋め込み",
+ "Equation added — edit it in the Math panel": "数式を追加しました — 数式パネルで編集してください",
+ "Equation block": "数式ブロック",
+ "Figure": "図",
+ "Figures": "図",
+ "File": "ファイル",
+ "Find": "検索",
+ "Find and replace (⌘F)": "検索と置換 (⌘F)",
+ "Find in document": "文書内を検索",
+ "First line": "1 行目",
+ "First-line indent (px)": "1 行目のインデント (px)",
+ "Follow the system": "システムに従う",
+ "Format — show or hide the properties panel": "書式 — プロパティパネルの表示/非表示",
+ "Formatting": "書式",
+ "Formula": "数式",
+ "Formula (⌘M)": "数式 (⌘M)",
+ "Formula added — edit it in the Math panel": "数式を追加しました — 数式パネルで編集してください",
+ "From {app}": "{app} から",
+ "Header row": "見出し行",
+ "Heading 1": "見出し 1",
+ "Heading 2": "見出し 2",
+ "Heading 3": "見出し 3",
+ "Headings": "見出し",
+ "Headings appear here.": "見出しはここに表示されます。",
+ "Hide comments": "コメントを非表示",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "文書の見え方の設定であり、文書自体を変更するものではありません — ここでの設定はファイルに保存されません。",
+ "Import": "インポート",
+ "Import BibTeX": "BibTeX をインポート",
+ "Import BibTeX…": "BibTeX をインポート…",
+ "Insert": "挿入",
+ "Insert a block below this one": "この下にブロックを挿入",
+ "Insert a cross-reference": "相互参照を挿入",
+ "Insert a cross-reference to a caption": "キャプションへの相互参照を挿入",
+ "Insert a display equation on its own line": "独立した行に数式を挿入",
+ "Insert a picture": "画像を挿入",
+ "Insert a picture, table, formula, citation…": "画像、表、数式、引用を挿入…",
+ "Insert a table": "表を挿入",
+ "Insert a table of contents": "目次を挿入",
+ "Insert below": "下に挿入",
+ "Insert citation": "引用を挿入",
+ "Italic": "斜体",
+ "Italic (⌘I)": "斜体 (⌘I)",
+ "Justified": "両端揃え",
+ "Keep together": "段落を分割しない",
+ "Keep with next": "次の段落と分離しない",
+ "Label — “Table 2”": "ラベル — 「表 2」",
+ "Landscape": "横向き",
+ "Layout": "レイアウト",
+ "Left": "左揃え",
+ "Left / right (in)": "左 / 右(インチ)",
+ "Left / right (mm)": "左 / 右(mm)",
+ "Light": "ライト",
+ "Line spacing": "行間",
+ "Link (⌘K)": "リンク (⌘K)",
+ "Link address": "リンク先アドレス",
+ "Margins": "余白",
+ "Margins…": "余白…",
+ "Match case": "大文字と小文字を区別",
+ "Math": "数式",
+ "Medium": "ミディアム",
+ "Modified": "変更後",
+ "More — revisions, signing, print": "その他 — 変更履歴、署名、印刷",
+ "Move down": "下に移動",
+ "Move this block": "このブロックを移動",
+ "Move up": "上に移動",
+ "Name": "名前",
+ "Navigate": "移動",
+ "Next change (⌘⌥N)": "次の変更 (⌘⌥N)",
+ "Next match (Enter)": "次を検索 (Enter)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "まだキャプションはありません。表の中にカーソルを置いてキャプションボタンを押してください。番号付けとそれへの参照はすべて自動的に追従します。",
+ "No markup": "変更履歴を非表示",
+ "No matches": "一致なし",
+ "No sources yet. Paste a .bib file to get started.": "まだソースがありません。.bib ファイルを貼り付けて始めましょう。",
+ "No tracked changes": "変更履歴はありません",
+ "Nothing is cited yet, so the list is empty.": "まだ何も引用されていないため、リストは空です。",
+ "Nothing matches.": "一致するものがありません。",
+ "Nothing that looks like a BibTeX entry.": "BibTeX のエントリらしきものが見つかりません。",
+ "Nothing to refer to yet — caption a table first": "まだ参照できるものがありません — まず表にキャプションを付けてください",
+ "Nothing was imported.": "何もインポートされませんでした。",
+ "Number sections": "セクションに番号を付ける",
+ "Number this heading": "この見出しに番号を付ける",
+ "Numbered as": "番号付け",
+ "Numbered list": "段落番号",
+ "Numeric [1] — IEEE-ish": "数値 [1](IEEE風)",
+ "Off by default: most documents already carry their numbers in the heading text.": "既定ではオフです — ほとんどの文書では見出しのテキストにすでに番号が含まれているためです。",
+ "Open": "開く",
+ "Orientation": "向き",
+ "Original": "変更前",
+ "Outline — show or hide the document map": "アウトライン — 文書マップの表示/非表示",
+ "Page": "ページ",
+ "Page break before": "段落の前で改ページ",
+ "Page break inserted": "改ページを挿入しました",
+ "Page break removed": "改ページを削除しました",
+ "Page breaking": "改ページ",
+ "Page or section, optional — e.g. p. 34": "ページまたはセクション(任意)— 例:p. 34",
+ "Page setup": "ページ設定",
+ "Page size": "ページサイズ",
+ "Page — “page 7”": "ページ — 「7 ページ」",
+ "Pages": "ページ",
+ "Paragraph": "段落",
+ "Paragraph defaults": "段落の既定値",
+ "Paragraphs follow these unless they say otherwise.": "段落は、個別に指定しない限りこの設定に従います。",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "以下に BibTeX を貼り付けてください。@article、@book、@inproceedings、@techreport、@misc に対応しています。それ以外の種類は @misc としてインポートされ、引用は可能です。",
+ "Paste BibTeX…": "BibTeX を貼り付け…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "bento/type 文書の JSON を貼り付けてください。文書全体が置き換わりますが、⌘Z で元に戻せます。",
+ "Picture": "画像",
+ "Portrait": "縦向き",
+ "Previous change (⌘⌥P)": "前の変更 (⌘⌥P)",
+ "Previous match (⇧Enter)": "前を検索 (⇧Enter)",
+ "Print or PDF…": "印刷または PDF…",
+ "Properties": "プロパティ",
+ "Put the caret in a heading first.": "まず見出しにカーソルを置いてください。",
+ "Put the caret in a paragraph first": "まず段落にカーソルを置いてください",
+ "Put the caret in the document first": "まず文書内にカーソルを置いてください",
+ "Put the caret in the table or paragraph to caption": "キャプションを付ける表または段落にカーソルを置いてください",
+ "Put the caret on a tracked change first": "まず変更履歴の箇所にカーソルを置いてください",
+ "Put the caret where the citation goes first": "まず引用を挿入する位置にカーソルを置いてください",
+ "Put the caret where the formula should go": "数式を挿入する位置にカーソルを置いてください",
+ "Put the caret where the reference goes": "まず参照を挿入する位置にカーソルを置いてください",
+ "Quote": "引用",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "スクリーンリーダーで読み上げられ、画像が失われた場合はテキストとして残ります。",
+ "Redo (⇧⌘Z)": "やり直し (⇧⌘Z)",
+ "References, as they will print": "印刷される通りの参考文献",
+ "Regular": "レギュラー",
+ "Reject": "元に戻す",
+ "Reject (⌘⌥D)": "元に戻す (⌘⌥D)",
+ "Reject all": "すべて元に戻す",
+ "Remove": "削除",
+ "Reopen": "再度開く",
+ "Replace": "置換",
+ "Replace all": "すべて置換",
+ "Replace every match, as one undo step": "すべての一致を 1 回の操作で置換",
+ "Replace from JSON…": "JSON から置換…",
+ "Replace this match": "この一致を置換",
+ "Replace with": "置換後の文字列",
+ "Replaced 1 match": "1 件を置換しました",
+ "Replaced {n} matches": "{n} 件を置換しました",
+ "Reply": "返信",
+ "Reply…": "返信…",
+ "Resolve": "解決",
+ "Results": "結果",
+ "Review": "レビュー",
+ "Review changes…": "変更をレビュー…",
+ "Right": "右揃え",
+ "Save": "保存",
+ "Save (⌘S)": "保存 (⌘S)",
+ "Save to {file}": "{file} に保存",
+ "Saved": "保存済み",
+ "Saved to {file}": "{file} に保存しました",
+ "Search author, title or key": "著者、タイトル、キーで検索",
+ "Section numbering is off.": "セクション番号はオフです。",
+ "Sections are numbered.": "セクションに番号が付いています。",
+ "Select some text and press ⌘⇧M to comment on it.": "テキストを選択して ⌘⇧M を押すとコメントできます。",
+ "Select some text first, then comment on it": "まずテキストを選択してからコメントしてください",
+ "Select some text to change its typeface or size. The document default is below.": "書体やサイズを変更するテキストを選択してください。文書の既定値は下に表示されています。",
+ "Select something to see its properties.": "何かを選択するとプロパティが表示されます。",
+ "Select the words you want to link": "リンクしたい語句を選択してください",
+ "Semibold": "セミボールド",
+ "Show comments": "コメントを表示",
+ "Signatures": "署名",
+ "Sign…": "署名…",
+ "Size": "サイズ",
+ "Size (px)": "サイズ (px)",
+ "Snapshot": "スナップショット",
+ "Someone": "匿名の人物",
+ "Sources": "出典",
+ "Sources ({n})": "出典({n})",
+ "Space after": "段落後の間隔",
+ "Space after (px)": "段落後の間隔 (px)",
+ "Space before": "段落前の間隔",
+ "Space before (px)": "段落前の間隔 (px)",
+ "Start this paragraph on a new page.": "この段落を新しいページから開始します。",
+ "Strikethrough": "取り消し線",
+ "Style": "スタイル",
+ "Style updated from this paragraph": "この段落の書式でスタイルを更新しました",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "対応:\\frac \\sqrt ^ _ \\sum \\int \\left( \\right)、ギリシャ文字、行列、場合分け。",
+ "Table": "表",
+ "Tables and figures are numbered separately, in document order.": "表と図は文書内の順序でそれぞれ別々に番号付けされます。",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "この段落の現在の書式をスタイルとして採用します — このスタイルを使うすべての段落に反映されます。",
+ "Text": "テキスト",
+ "Text area: {w} × {h} {unit}": "テキストエリア:{w} × {h} {unit}",
+ "That JSON could not be read.": "その JSON を読み込めませんでした。",
+ "That JSON was empty.": "その JSON は空でした。",
+ "That file could not be read as a picture.": "そのファイルは画像として読み込めませんでした。",
+ "That file does not look like a Bento document.": "そのファイルは Bento 文書ではないようです。",
+ "That is already a caption": "それはすでにキャプションです",
+ "That is not a bento/type document: {detail}": "bento/type の文書ではありません:{detail}",
+ "That is not an address this document can link to": "この文書からリンクできるアドレスではありません",
+ "That sheet is larger than any printer takes.": "その用紙サイズはどのプリンターにも対応していません。",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "その用紙サイズは 2 インチ未満です — もっと大きいページを選んでください。",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "文書そのものが交換単位です — この JSON を AI に渡して受け取った JSON を貼り付けてください。スクリプトからは `window.bento` で同じものを利用できます。",
+ "The first paragraph already starts a page": "最初の段落はすでにページの先頭です",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "カーソル位置の数式です。TeX 風のソースであり、文書には画像ではなくソースが保存されます。",
+ "The table of contents needs the core render hook.": "目次にはコアのレンダーフックが必要です。",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "テーマはあなた自身のものであり、文書のものではありません — このブラウザに記憶されるだけで、ファイルには決して保存されません。ページ自体はどちらのテーマでも白のままです。紙は白いものであり、深夜に契約書を校正する人にも印刷結果がそのまま見える必要があるからです。",
+ "Theme": "テーマ",
+ "Theme: {mode} — click to cycle auto/light/dark": "テーマ:{mode} — クリックで自動/ライト/ダークを切り替え",
+ "These render as [?key] in the document so they cannot be missed.": "これらは文書内に [?key] として表示されるため見逃すことはありません。",
+ "This already has a caption": "これにはすでにキャプションがあります",
+ "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 ならその場に保存できます。",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "このビルドではまだキャプションを描画できません — xref.ts の先頭に記載されているコアパッチを適用してください",
+ "This document has no sources yet. Import some BibTeX first.": "この文書にはまだ出典がありません。まず BibTeX をインポートしてください。",
+ "This embed could not be displayed safely.": "この埋め込みは安全に表示できませんでした。",
+ "This embed is missing its data.": "この埋め込みにはデータがありません。",
+ "This file": "このファイル",
+ "This heading is no longer numbered.": "この見出しは番号付けされなくなりました。",
+ "This heading is numbered again.": "この見出しは再び番号付けされました。",
+ "This paragraph and the one after it stay on the same page.": "この段落とその次の段落は同じページに保持されます。",
+ "This paragraph has direct formatting of its own, on top of its style.": "この段落にはスタイルとは別に直接指定された書式があります。",
+ "This paragraph is never split across a page break.": "この段落は改ページで分割されません。",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "この画像は {size} あり、埋め込むと文書がその分大きくなります。それでも挿入しますか?",
+ "This reference points at something that is no longer in the document": "この参照は文書内に存在しないものを指しています",
+ "Those side margins leave no room for text.": "左右の余白が広すぎて本文のスペースがありません。",
+ "Those top and bottom margins leave no room for text.": "上下の余白が広すぎて本文のスペースがありません。",
+ "Top / bottom (in)": "上 / 下(インチ)",
+ "Top / bottom (mm)": "上 / 下(mm)",
+ "Track changes": "変更履歴の記録",
+ "Tracked changes": "変更履歴",
+ "Tracking is on. Edits you make from now on are recorded here.": "記録はオンです。これ以降の編集はここに記録されます。",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "プロパティパネルで「変更履歴の記録」をオンにするか、⋯ から「スナップショット」を取得して「変更をレビュー」を使用してください。",
+ "Typeface": "書体",
+ "US Legal": "US リーガル",
+ "US Letter": "US レター",
+ "Underline (⌘U)": "下線 (⌘U)",
+ "Undo (⌘Z)": "元に戻す (⌘Z)",
+ "Untitled": "無題",
+ "Up to date — v{v}.": "最新です — v{v}。",
+ "Update style to match this paragraph": "この段落に合わせてスタイルを更新",
+ "Update this file": "このファイルを更新",
+ "Updates": "更新",
+ "Use document defaults": "文書の既定値を使用",
+ "Version {v} is available.": "バージョン {v} が利用可能です。",
+ "Visit bento.page (opens in a new tab)": "bento.page を開く(新しいタブ)",
+ "Weight": "太さ",
+ "What the picture shows": "画像の内容",
+ "Whole word": "単語単位で検索",
+ "Width (%)": "幅 (%)",
+ "Width × height (in)": "幅 × 高さ(インチ)",
+ "Width × height (mm)": "幅 × 高さ(mm)",
+ "You": "あなた",
+ "Your name": "名前",
+ "Your name, so your comments are attributed": "コメントの記名に使う名前",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type は MIT ライセンスです。改行処理は tex-linebreak 経由の Knuth–Plass アルゴリズムを使用し、ハイフネーションパターンは Liang のものです。すべてこのファイル内で完結しており、何も取得されず、どこにも送信されません。",
+ "cited {n} times": "{n} 回引用",
+ "default": "既定",
+ "deleted": "削除",
+ "https://example.com": "https://example.com",
+ "in": "インチ",
+ "inserted": "挿入",
+ "mixed": "混在",
+ "mm": "mm",
+ "not cited": "未引用",
+ "pt": "pt",
+ "the text this was about is gone": "対象のテキストは削除されました",
+ "v{app} · format v{fmt}": "v{app} ・ フォーマット v{fmt}",
+ "{added} added, {replaced} updated": "{added} 件追加、{replaced} 件更新",
+ "{key} is cited in this document. Remove it anyway?": "{key} はこの文書で引用されています。それでも削除しますか?",
+ "{m} changes": "変更 {m} 件",
+ "{n} broken reference(s)": "無効な参照 {n} 件",
+ "{n} more": "他 {n} 件",
+ "{n} of {m}": "{m} 件中 {n} 件目",
+ "{n} of {total}": "{total} 件中 {n} 件目",
+ "{n} replies": "返信 {n} 件",
+ "{open} open of {all}": "{all} 件中 {open} 件が未解決",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} ページ ・ {words} 語 ・ {blocks} ブロック ・ 脚注 {notes} 件。文書・エディタ・組版エンジンはすべてこの 1 ファイルに収められています。",
+ "{rows} rows × {cols} columns": "{rows} 行 × {cols} 列",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size}、{orient} ・ テキストエリア {w} × {h} {unit}",
+ "— mixed —": "— 混在 —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "破棄",
+ "Restore": "復元",
+ "Restored your unsaved changes": "保存されていない変更を復元しました",
+ "Unsaved changes from {when} were found.": "{when} の保存されていない変更が見つかりました。",
+ "Version history": "バージョン履歴",
+ "Version history…": "バージョン履歴…",
+ "No saved versions yet — they accumulate as you edit.": "保存されたバージョンはまだありません — 編集するにつれて蓄積されます。",
+ "Stored only in this browser, never in the file or online.": "このブラウザにのみ保存され、ファイルやオンラインには保存されません。",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "バージョンは編集中に自動保存され、このブラウザにのみ保持され、アップロードされることはありません。復元は ⌘Z で元に戻せます。",
+ "{when} (most recent)": "{when}(最新)",
+ "Snapshot redline": "スナップショット比較",
+ "Share": "共有",
+ "Share — invite people to edit live, or send a view-only copy": "共有 — 他のユーザーをライブ編集に招待するか、閲覧専用のコピーを送ります",
+ "Not sharing yet — click to start a live session": "まだ共有していません — クリックしてライブセッションを開始",
+ "Live — this document is being shared": "ライブ — この文書は共有中です",
+ "Connecting to the live session…": "ライブセッションに接続しています…",
+ "● Live — {n} connected": "● ライブ — {n} 人が接続中",
+ "● Connecting…": "● 接続中…",
+ "○ Not live — turns on when you share": "○ ライブではありません — 共有するとオンになります",
+ "People": "ユーザー",
+ "Guest": "ゲスト",
+ "{name} (you)": "{name}(あなた)",
+ "{name} — click to follow": "{name} — クリックして追跡",
+ "Owner": "所有者",
+ "Editor": "編集者",
+ "Viewer": "閲覧者",
+ "Share a copy": "コピーを共有",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "カーソルの横とユーザー一覧に表示されます — このブラウザにのみ保存されます。",
+ "Only the document owner can mint editor invites": "編集者用の招待を作成できるのは文書の所有者だけです",
+ "Editor copy saved — recipients join live with edit access": "編集者用のコピーを保存しました — 受け取った人は編集権限でライブに参加できます",
+ "View-only copy saved — it follows the live session": "閲覧専用のコピーを保存しました — ライブセッションに追従します",
+ "This document has no live session to follow": "この文書には追従できるライブセッションがありません",
+ "Access reset — only copies saved from now on can join": "アクセスをリセットしました — 今後保存されたコピーのみが参加できます",
+ "Saving failed": "保存に失敗しました",
+ "Invite to edit…": "編集に招待…",
+ "View-only copy…": "閲覧専用のコピー…",
+ "Go live": "ライブを開始",
+ "Stop sharing": "共有を停止",
+ "Reset access…": "アクセスをリセット…",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "送信用のコピーを保存します。それを開いた人はこの文書をあなたとライブで編集できます。所有者はあなたのままで、ユーザー一覧から削除できます。",
+ "A live viewer: follows every edit as it happens but can never change the document.": "ライブの閲覧者です。すべての編集をリアルタイムで追いますが、文書を変更することはできません。",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "これは閲覧専用のコピーです — ライブセッションに追従しますが、文書を変更することはできません。",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "この文書をライブセッションから切断します。コピーは最後の状態を保持し、再びライブを開始すれば再参加できます。",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "新しいコピーを保存せずにライブセッションに接続します — 以前送ったコピーがそこで合流します。",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "アクセスをリセットしますか? 送信済みのすべてのコピーは同期を停止し、これ以降に保存されたコピーのみが参加できます。",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "新しい鍵を発行します。以前送信したコピーは完全に同期を停止するため、その後に新しいコピーを共有してください。",
+ "Offline mode is on — nothing leaves this computer.": "オフラインモードが有効です — このコンピューターから何も送信されません。",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "このマシン上のタブ同士は同期します。オンラインで共同編集するにはオフラインモードを解除してください。",
+}
diff --git a/type/src/i18n/packed.ts b/type/src/i18n/packed.ts
new file mode 100644
index 00000000..2317b404
--- /dev/null
+++ b/type/src/i18n/packed.ts
@@ -0,0 +1,414 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// GENERATED by scripts/build-type-i18n.mjs — do not edit. Run it after
+// changing a catalog or adding a t() string; CI fails if this is out of date.
+//
+// One row per English key: the key is stored ONCE and the translations follow
+// by column. `0` means "no translation in that locale" and falls back to the
+// English key, which is also the source text — so a missing entry degrades to
+// a readable string rather than a blank.
+
+export const PACKED_LOCALES = ["ja","zh-Hans","zh-Hant","es","fr","de","it","pt"] as const
+
+export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
+ " (downloads a copy)": ["(コピーをダウンロード)","(下载副本)","(下載副本)"," (descarga una copia)"," (télécharge une copie)"," (lädt eine Kopie herunter)"," (scarica una copia)"," (baixa uma cópia)"],
+ "(empty paragraph)": ["(空の段落)","(空段落)","(空段落)","(párrafo vacío)","(paragraphe vide)","(leerer Absatz)","(paragrafo vuoto)","(parágrafo vazio)"],
+ "(no heading)": ["(見出しなし)","(无标题)","(無標題)","(sin encabezado)","(pas de titre)","(keine Überschrift)","(nessun titolo)","(sem cabeçalho)"],
+ "(untitled)": ["(無題)","(无标题)","(無標題)","(sin título)","(sans titre)","(unbenannt)","(senza titolo)","(sem título)"],
+ "1 change": ["変更 1 件","1 处修订","1 處修訂","1 cambio","1 modification","1 Änderung","1 modifica","1 alteração"],
+ "A live viewer: follows every edit as it happens but can never change the document.": ["ライブの閲覧者です。すべての編集をリアルタイムで追いますが、文書を変更することはできません。","实时查看者:会实时跟随每一次编辑,但永远无法更改文档。","即時檢視者:會即時跟隨每一次編輯,但永遠無法變更文件。","Un lector en directo: sigue cada edición en el momento, pero nunca puede cambiar el documento.","Un lecteur en direct : suit chaque modification en temps réel, mais ne peut jamais modifier le document.","Ein Live-Betrachter: folgt jeder Änderung in Echtzeit, kann das Dokument aber nie ändern.","Un lettore in diretta: segue ogni modifica in tempo reale, ma non può mai cambiare il documento.","Um visualizador ao vivo: acompanha cada edição em tempo real, mas nunca pode alterar o documento."],
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": ["自己申告の名前であり、本人確認ではありません — コメントや変更履歴の横に表示される名前で、誰でも自由に入力できます。このブラウザに記憶され、すぐに反映されますが、この名前自体がファイルに保存されることはありません(それが記名したコメントや変更のみが保存されます)。","这只是自行填写的名称,并非身份验证——它会显示在你的批注和修订旁边,任何人都可以在此输入任意名称。它会记住在此浏览器中,立即生效,且该名称本身不会保存到文件中(只有它署名的批注和修订才会保存)。","這只是自行填寫的名稱,並非身分驗證 — 它會顯示在你的註解與修訂旁邊,任何人都能在此輸入任意名稱。它會記在這個瀏覽器中,立即套用,但這個名稱本身不會存進檔案(只有它署名的註解與修訂才會被儲存)。","Es una declaración que tú mismo introduces, no una identidad: es el nombre que aparece junto a tus comentarios y cambios control de cambios, y cualquiera puede escribir el nombre que quiera aquí. Se recuerda en este navegador, se aplica de inmediato y nunca se guarda por sí mismo en el archivo (solo se guardan los comentarios y cambios que firma).","Il s'agit d'une déclaration que vous saisissez vous-même, pas d'une identité vérifiée : c'est le nom affiché à côté de vos commentaires et de vos modifications suivies, et n'importe qui peut saisir n'importe quel nom ici. Il est mémorisé dans ce navigateur, s'applique immédiatement et n'est jamais lui-même enregistré dans le fichier (seuls les commentaires et modifications qu'il signe le sont).","Dies ist eine selbst angegebene Angabe, keine verifizierte Identität – es ist der Name, der neben Ihren Kommentaren und nachverfolgten Änderungen angezeigt wird, und jeder kann hier einen beliebigen Namen eingeben. Er wird in diesem Browser gemerkt, gilt sofort und wird selbst nie in der Datei gespeichert (nur die Kommentare und Änderungen, die er signiert, werden gespeichert).","Si tratta di un'indicazione autodichiarata, non di un'identità verificata: è il nome mostrato accanto ai tuoi commenti e alle modifiche registrate, e chiunque può digitare qui il nome che vuole. Viene ricordato in questo browser, si applica immediatamente e non viene mai salvato di per sé nel file (vengono salvati solo i commenti e le modifiche che firma).","Uma declaração feita por você mesmo, não uma identidade — este é o nome exibido ao lado dos seus comentários e alterações controladas, e qualquer pessoa pode digitar qualquer nome aqui. Ele é lembrado neste navegador, aplica-se imediatamente e nunca é salvo no arquivo em si (somente os comentários e as alterações que ele assina são)."],
+ "About bento/type": ["bento/type について","关于 bento/type","關於 bento/type","Acerca de bento/type","À propos de bento/type","Info zu bento/type","Informazioni su bento/type","Sobre o bento/type"],
+ "About bento/type — version, updates, language": ["bento/type について — バージョン、更新、言語","关于 bento/type — 版本、更新、语言","關於 bento/type — 版本、更新、語言","Acerca de bento/type: versión, actualizaciones, idioma","À propos de bento/type : version, mises à jour, langue","Info zu bento/type – Version, Updates, Sprache","Informazioni su bento/type: versione, aggiornamenti, lingua","Sobre o bento/type — versão, atualizações, idioma"],
+ "About this document": ["この文書について","关于此文档","關於此文件","Acerca de este documento","À propos de ce document","Info zu diesem Dokument","Informazioni sul documento","Sobre este documento"],
+ "Accept": ["承諾","接受","接受","Aceptar","Accepter","Annehmen","Accetta","Aceitar"],
+ "Accept (⌘⌥A)": ["承諾 (⌘⌥A)","接受 (⌘⌥A)","接受 (⌘⌥A)","Aceptar (⌘⌥A)","Accepter (⌘⌥A)","Annehmen (⌘⌥A)","Accetta (⌘⌥A)","Aceitar (⌘⌥A)"],
+ "Accept all": ["すべて承諾","全部接受","全部接受","Aceptar todo","Tout accepter","Alle annehmen","Accetta tutto","Aceitar tudo"],
+ "Access reset — only copies saved from now on can join": ["アクセスをリセットしました — 今後保存されたコピーのみが参加できます","已重置访问权限 — 只有此后保存的副本才能加入","已重設存取權 — 只有此後儲存的副本才能加入","Acceso restablecido: solo podrán unirse las copias guardadas a partir de ahora","Accès réinitialisé — seules les copies enregistrées à partir de maintenant peuvent rejoindre","Zugriff zurückgesetzt – nur ab jetzt gespeicherte Kopien können beitreten","Accesso reimpostato: possono entrare solo le copie salvate da ora in poi","Acesso redefinido — apenas cópias salvas de agora em diante podem entrar"],
+ "Add column": ["列を追加","添加列","新增欄","Añadir columna","Ajouter une colonne","Spalte hinzufügen","Aggiungi colonna","Adicionar coluna"],
+ "Add row": ["行を追加","添加行","新增列","Añadir fila","Ajouter une ligne","Zeile hinzufügen","Aggiungi riga","Adicionar linha"],
+ "Align": ["配置","对齐","對齊","Alinear","Alignement","Ausrichtung","Allinea","Alinhar"],
+ "Alignment": ["配置","对齐方式","對齊方式","Alineación","Alignement","Ausrichtung","Allineamento","Alinhamento"],
+ "All markup": ["すべての変更履歴","显示所有标记","顯示所有標記","Todas las marcas","Toutes les modifications","Alle Änderungen","Tutte le revisioni","Todas as marcações"],
+ "All {all} resolved": ["{all} 件すべて解決済み","全部 {all} 条已解决","全部 {all} 則已解決","Se resolvieron las {all}","Les {all} sont résolus","Alle {all} gelöst","Tutte le {all} risolte","Todos os {all} resolvidos"],
+ "Already at the end.": ["すでに末尾です。","已经是末尾。","已經是結尾。","Ya está al final.","Déjà à la fin.","Bereits am Ende.","Già alla fine.","Já está no fim."],
+ "Already at the top.": ["すでに先頭です。","已经是开头。","已經是開頭。","Ya está al principio.","Déjà au début.","Bereits am Anfang.","Già all'inizio.","Já está no início."],
+ "Alt text": ["代替テキスト","替代文字","替代文字","Texto alternativo","Texte alternatif","Alternativtext","Testo alternativo","Texto alternativo"],
+ "Alt+Shift+↑ / ↓": ["Alt+Shift+↑ / ↓","Alt+Shift+↑ / ↓","Alt+Shift+↑ / ↓","Alt+Mayús+↑ / ↓","Alt+Maj+↑ / ↓","Alt+Umschalt+↑ / ↓","Alt+Maiusc+↑ / ↓","Alt+Shift+↑ / ↓"],
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": ["更新は「新しいファイル」としてこのファイルの隣にダウンロードされます — 元のファイルは変更されないため、問題のある更新は削除するだけで元に戻せます。すべてのリリースは適用前に署名検証されます。","更新会作为一个新文件下载到本文件旁边——原文件不受影响,因此撤销一次糟糕的更新只需删除新文件即可。每个版本在应用前都会经过签名验证。","更新會以新檔案形式下載在這個檔案旁邊 — 原始檔案不受影響,因此撤銷一次不良更新只需刪除新檔案即可。每個版本在套用前都會先驗證簽章。","Una actualización es un archivo NUEVO, descargado junto a este; el original queda intacto, así que una mala actualización se deshace simplemente eliminándolo. Cada versión se verifica con firma antes de aplicarse.","Une mise à jour est un NOUVEAU fichier téléchargé à côté de celui-ci — l'original reste intact, donc une mauvaise mise à jour s'annule en le supprimant. Chaque version est vérifiée par signature avant d'être appliquée.","Ein Update ist eine NEUE Datei, die neben dieser heruntergeladen wird – das Original bleibt unverändert, sodass ein fehlerhaftes Update durch Löschen rückgängig gemacht wird. Jede Version wird vor der Anwendung signaturgeprüft.","Un aggiornamento è un file NUOVO, scaricato accanto a questo: l'originale resta intatto, quindi un aggiornamento difettoso si annulla semplicemente eliminandolo. Ogni versione viene verificata con firma prima di essere applicata.","Uma atualização é um arquivo NOVO, baixado ao lado deste — o original permanece intacto, então uma atualização ruim se desfaz excluindo-a. Cada versão tem a assinatura verificada antes de ser aplicada."],
+ "Appearance": ["外観","外观","外觀","Apariencia","Apparence","Erscheinungsbild","Aspetto","Aspeto"],
+ "Applied style": ["適用中のスタイル","已应用的样式","已套用的樣式","Estilo aplicado","Style appliqué","Angewendete Formatvorlage","Stile applicato","Estilo aplicado"],
+ "Apply": ["適用","应用","套用","Aplicar","Appliquer","Anwenden","Applica","Aplicar"],
+ "Author–year — APA-ish": ["著者–年(APA風)","著者–年份(类 APA)","作者–年份(類 APA)","Autor-año (estilo APA)","Auteur-année (style APA)","Autor–Jahr (APA-ähnlich)","Autore-anno (stile APA)","Autor–ano — estilo APA"],
+ "Auto": ["自動","自动","自動","Automático","Automatique","Automatisch","Automatico","Automático"],
+ "Bento artifact": ["Bento アーティファクト","Bento 制品","Bento 成品","Artefacto de Bento","Artefact Bento","Bento-Artefakt","Artefatto Bento","Artefato Bento"],
+ "Body": ["本文","正文","內文","Cuerpo","Corps de texte","Fließtext","Corpo","Corpo"],
+ "Bold": ["太字","加粗","粗體","Negrita","Gras","Fett","Grassetto","Negrito"],
+ "Bold (⌘B)": ["太字 (⌘B)","加粗 (⌘B)","粗體 (⌘B)","Negrita (⌘B)","Gras (⌘B)","Fett (⌘B)","Grassetto (⌘B)","Negrito (⌘B)"],
+ "Book (1.62)": ["書籍 (1.62)","书籍 (1.62)","書籍 (1.62)","Libro (1,62)","Livre (1,62)","Buch (1,62)","Libro (1,62)","Livro (1,62)"],
+ "Both — “Table 2 (page 7)”": ["両方 — 「表 2(7 ページ)」","两者 —“表 2(第 7 页)”","兩者 —「表 2(第 7 頁)」","Ambos: «Tabla 2 (página 7)»","Les deux : « Tableau 2 (page 7) »","Beides – „Tabelle 2 (Seite 7)“","Entrambi: «Tabella 2 (pagina 7)»","Ambos — “Tabela 2 (página 7)”"],
+ "Bulleted list": ["箇条書き","项目符号列表","項目符號清單","Lista con viñetas","Liste à puces","Aufzählungsliste","Elenco puntato","Lista com marcadores"],
+ "Cancel": ["キャンセル","取消","取消","Cancelar","Annuler","Abbrechen","Annulla","Cancelar"],
+ "Caption": ["キャプション","题注","題注","Título","Légende","Beschriftung","Didascalia","Legenda"],
+ "Caption this table or figure": ["この表または図にキャプションを付ける","为该表格或图添加题注","為此表格或圖片新增題注","Añadir título a esta tabla o figura","Ajouter une légende à ce tableau ou cette figure","Beschriftung für diese Tabelle oder Abbildung hinzufügen","Aggiungi didascalia a questa tabella o figura","Legendar esta tabela ou figura"],
+ "Centre": ["中央揃え","居中","置中","Centrado","Centré","Zentriert","Al centro","Centralizado"],
+ "Check for updates": ["更新を確認","检查更新","檢查更新","Buscar actualizaciones","Rechercher des mises à jour","Nach Updates suchen","Controlla aggiornamenti","Verificar atualizações"],
+ "Checking…": ["確認中…","正在检查…","檢查中…","Comprobando…","Vérification…","Wird geprüft…","Verifica in corso…","Verificando…"],
+ "Citation": ["引用","引文","引文","Cita","Citation","Zitat","Citazione","Citação"],
+ "Cite here": ["ここに引用","在此处插入引用","在此處插入引文","Citar aquí","Citer ici","Hier zitieren","Cita qui","Citar aqui"],
+ "Cited but not in this document": ["引用されているがこの文書にはない","已引用但不在本文档中","已引用但不在本文件中","Citada pero no está en este documento","Citée mais absente de ce document","Zitiert, aber nicht in diesem Dokument","Citata ma non presente in questo documento","Citado, mas não está neste documento"],
+ "Cite…": ["引用…","引用…","引用…","Citar…","Citer…","Zitieren…","Cita…","Citar…"],
+ "Clear direct formatting": ["直接指定した書式をクリア","清除直接格式","清除直接格式","Borrar formato directo","Effacer la mise en forme directe","Direkte Formatierung löschen","Cancella formattazione diretta","Limpar formatação direta"],
+ "Close": ["閉じる","关闭","關閉","Cerrar","Fermer","Schließen","Chiudi","Fechar"],
+ "Code": ["コード","代码","程式碼","Código","Code","Code","Codice","Código"],
+ "Colour": ["色","颜色","顏色","Color","Couleur","Farbe","Colore","Cor"],
+ "Comment on the selected text (⌘⇧M)": ["選択したテキストにコメント (⌘⇧M)","为所选文本添加批注 (⌘⇧M)","為所選文字新增註解 (⌘⇧M)","Comentar el texto seleccionado (⌘⇧M)","Commenter le texte sélectionné (⌘⇧M)","Ausgewählten Text kommentieren (⌘⇧M)","Commenta il testo selezionato (⌘⇧M)","Comentar o texto selecionado (⌘⇧M)"],
+ "Comment on “{quote}”": ["「{quote}」にコメント","为“{quote}”添加批注","為「{quote}」新增註解","Comentar «{quote}»","Commenter « {quote} »","„{quote}“ kommentieren","Commenta «{quote}»","Comentar “{quote}”"],
+ "Comments": ["コメント","批注","註解","Comentarios","Commentaires","Kommentare","Commenti","Comentários"],
+ "Comments hidden": ["コメントを非表示","批注已隐藏","註解已隱藏","Comentarios ocultos","Commentaires masqués","Kommentare ausgeblendet","Commenti nascosti","Comentários ocultos"],
+ "Comments shown": ["コメントを表示","批注已显示","註解已顯示","Comentarios visibles","Commentaires affichés","Kommentare angezeigt","Commenti visibili","Comentários visíveis"],
+ "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 directo sin guardar una copia nueva: las copias que enviaste antes te encontrarán allí.","Rejoignez la session en direct sans enregistrer de nouvelle copie — les copies envoyées précédemment vous y retrouveront.","Verbinden Sie sich mit der Live-Sitzung, ohne eine neue Kopie zu speichern – zuvor gesendete Kopien treffen Sie dort.","Connettiti alla sessione in diretta senza salvare una nuova copia: le copie inviate in precedenza ti raggiungeranno lì.","Conecte-se à sessão ao vivo sem salvar uma nova cópia — as cópias que você enviou antes encontrarão você lá."],
+ "Connecting to the live session…": ["ライブセッションに接続しています…","正在连接实时协作…","正在連線到即時協作…","Conectando con la sesión en directo…","Connexion à la session en direct…","Verbindung zur Live-Sitzung wird hergestellt …","Connessione alla sessione in tempo reale…","Conectando à sessão ao vivo…"],
+ "Contents": ["目次","目录","目錄","Contenido","Sommaire","Inhalt","Sommario","Índice"],
+ "Contents inserted. Page numbers fill in as the document paginates.": ["目次を挿入しました。ページ番号は文書のページ割り付けに応じて入ります。","已插入目录。页码将在文档分页时自动填入。","已插入目錄。頁碼會在文件分頁時自動填入。","Contenido insertado. Los números de página se completan a medida que el documento se pagina.","Sommaire inséré. Les numéros de page se complètent au fur et à mesure de la pagination du document.","Inhaltsverzeichnis eingefügt. Seitenzahlen werden ausgefüllt, sobald das Dokument paginiert wird.","Sommario inserito. I numeri di pagina si compilano man mano che il documento viene impaginato.","Sumário inserido. Os números de página são preenchidos conforme o documento é paginado."],
+ "Copy document JSON": ["文書の JSON をコピー","复制文档 JSON","複製文件 JSON","Copiar el JSON del documento","Copier le JSON du document","Dokument-JSON kopieren","Copia il JSON del documento","Copiar JSON do documento"],
+ "Could not check right now.": ["現在確認できませんでした。","目前无法检查。","目前無法檢查。","No se pudo comprobar en este momento.","Impossible de vérifier pour le moment.","Konnte gerade nicht geprüft werden.","Impossibile controllare in questo momento.","Não foi possível verificar agora."],
+ "Credits": ["クレジット","致谢","致謝","Créditos","Crédits","Danksagung","Crediti","Créditos"],
+ "Cross-reference": ["相互参照","交叉引用","交叉參照","Referencia cruzada","Renvoi","Querverweis","Riferimento incrociato","Referência cruzada"],
+ "Custom": ["カスタム","自定义","自訂","Personalizado","Personnalisé","Benutzerdefiniert","Personalizzato","Personalizado"],
+ "Dark": ["ダーク","深色","深色","Oscuro","Sombre","Dunkel","Scuro","Escuro"],
+ "Default": ["既定","默认","預設","Predeterminado","Par défaut","Standard","Predefinito","Padrão"],
+ "Default size (px)": ["既定サイズ (px)","默认大小(像素)","預設大小(像素)","Tamaño predeterminado (px)","Taille par défaut (px)","Standardgröße (px)","Dimensione predefinita (px)","Tamanho padrão (px)"],
+ "Default typeface": ["既定の書体","默认字体","預設字體","Tipo de letra predeterminado","Police par défaut","Standardschriftart","Carattere predefinito","Fonte padrão"],
+ "Delete": ["削除","删除","刪除","Eliminar","Supprimer","Löschen","Elimina","Excluir"],
+ "Delete this comment?": ["このコメントを削除しますか?","要删除此批注吗?","要刪除此註解嗎?","¿Eliminar este comentario?","Supprimer ce commentaire ?","Diesen Kommentar löschen?","Eliminare questo commento?","Excluir este comentário?"],
+ "Delete this thread": ["このスレッドを削除","删除此讨论串","刪除此討論串","Eliminar este hilo","Supprimer ce fil","Diesen Thread löschen","Elimina questa discussione","Excluir esta conversa"],
+ "Delete this whole thread?": ["このスレッド全体を削除しますか?","要删除整个讨论串吗?","要刪除整個討論串嗎?","¿Eliminar todo este hilo?","Supprimer tout ce fil ?","Diesen gesamten Thread löschen?","Eliminare l'intera discussione?","Excluir toda esta conversa?"],
+ "Delete your comment": ["自分のコメントを削除","删除你的批注","刪除你的註解","Eliminar tu comentario","Supprimer votre commentaire","Ihren Kommentar löschen","Elimina il tuo commento","Excluir seu comentário"],
+ "Discard": ["破棄","放弃","捨棄","Descartar","Ignorer","Verwerfen","Scarta","Descartar"],
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": ["この文書をライブセッションから切断します。コピーは最後の状態を保持し、再びライブを開始すれば再参加できます。","断开此文档与实时协作的连接。副本会保留最后的状态,若你再次开始实时协作即可重新加入。","中斷這份文件與即時協作的連線。副本會保留最後的狀態,若你再次開始即時協作即可重新加入。","Desconecta este documento de la sesión en directo. Las copias conservan su último estado y pueden volver a unirse si inicias otra sesión.","Déconnecte ce document de la session en direct. Les copies conservent leur dernier état et peuvent revenir si vous repassez en direct.","Trennt dieses Dokument von der Live-Sitzung. Kopien behalten ihren letzten Stand und können wieder beitreten, wenn Sie erneut live gehen.","Disconnette questo documento dalla sessione in diretta. Le copie mantengono il loro ultimo stato e possono rientrare se torni in diretta.","Desconecta este documento da sessão ao vivo. As cópias mantêm seu último estado e podem voltar a se conectar se você ficar ao vivo novamente."],
+ "Display": ["表示","显示","顯示","Visualización","Affichage","Anzeige","Visualizzazione","Exibição"],
+ "Document": ["文書","文档","文件","Documento","Document","Dokument","Documento","Documento"],
+ "Document default": ["文書の既定値","文档默认值","文件預設值","Valor predeterminado del documento","Valeur par défaut du document","Dokumentstandard","Valore predefinito del documento","Padrão do documento"],
+ "Document id": ["文書 ID","文档 ID","文件 ID","ID del documento","ID du document","Dokument-ID","ID documento","ID do documento"],
+ "Document title": ["文書のタイトル","文档标题","文件標題","Título del documento","Titre du document","Dokumenttitel","Titolo del documento","Título do documento"],
+ "Drag to move, click for options": ["ドラッグで移動、クリックでオプション","拖动以移动,点击查看选项","拖曳以移動,點按查看選項","Arrastra para mover, haz clic para ver opciones","Faites glisser pour déplacer, cliquez pour les options","Ziehen zum Verschieben, klicken für Optionen","Trascina per spostare, fai clic per le opzioni","Arraste para mover, clique para ver opções"],
+ "Edit": ["編集","编辑","編輯","Editar","Modifier","Bearbeiten","Modifica","Editar"],
+ "Edit your comment": ["自分のコメントを編集","编辑你的批注","編輯你的註解","Editar tu comentario","Modifier votre commentaire","Ihren Kommentar bearbeiten","Modifica il tuo commento","Editar seu comentário"],
+ "Edit “{name}”": ["「{name}」を編集","编辑“{name}”","編輯「{name}」","Editar «{name}»","Modifier « {name} »","„{name}“ bearbeiten","Modifica «{name}»","Editar “{name}”"],
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": ["スタイルを編集すると、それを使用しているすべての段落に反映されます — スタイルを明示的に設定せず、その種類の既定値を使っているだけの段落も含まれます。","编辑样式会影响所有使用该样式的段落——包括那些从未显式设置样式、只是沿用其类型默认值的段落。","編輯樣式會影響所有使用該樣式的段落 — 包括那些從未明確設定樣式、只是沿用其類型預設值的段落。","Editar un estilo cambia todos los párrafos que lo usan, incluidos los que nunca establecieron un estilo explícitamente y solo usan el predeterminado de su tipo.","Modifier un style change tous les paragraphes qui l'utilisent — y compris ceux qui n'ont jamais défini de style explicitement et utilisent simplement celui par défaut de leur type.","Das Bearbeiten einer Formatvorlage ändert jeden Absatz, der sie verwendet – auch solche, die nie explizit eine Vorlage festgelegt haben und einfach den Standard ihrer Art nutzen.","Modificare uno stile cambia ogni paragrafo che lo usa, compresi quelli che non hanno mai impostato esplicitamente uno stile e usano semplicemente quello predefinito del loro tipo.","Editar um estilo altera todos os parágrafos que o utilizam — inclusive aqueles que nunca definiram um estilo explicitamente e estão apenas usando o padrão do seu tipo."],
+ "Editor": ["編集者","编辑者","編輯者","Editor","Éditeur","Bearbeiter","Editor","Editor"],
+ "Editor copy saved — recipients join live with edit access": ["編集者用のコピーを保存しました — 受け取った人は編集権限でライブに参加できます","已保存编辑者副本 — 收到的人可以带编辑权限加入实时协作","已儲存編輯者副本 — 收到的人可以帶編輯權限加入即時協作","Copia de edición guardada: quien la reciba se unirá en directo con acceso de edición","Copie éditeur enregistrée — les destinataires rejoignent la session en direct avec accès en modification","Bearbeiterkopie gespeichert – Empfänger treten der Live-Sitzung mit Bearbeitungszugriff bei","Copia per l'editor salvata: chi la riceve entra in diretta con accesso in modifica","Cópia de editor salva — quem receber entra ao vivo com acesso de edição"],
+ "Embed a Bento chart, deck or page": ["Bento のグラフ、デッキ、ページを埋め込む","嵌入 Bento 图表、演示文稿或页面","嵌入 Bento 圖表、簡報或頁面","Insertar un gráfico, presentación o página de Bento","Intégrer un graphique, une présentation ou une page Bento","Bento-Diagramm, -Präsentation oder -Seite einbetten","Incorpora un grafico, una presentazione o una pagina Bento","Incorporar um gráfico, apresentação ou página Bento"],
+ "Embedded from {app}": ["{app} から埋め込み","嵌入自 {app}","嵌入自 {app}","Insertado desde {app}","Intégré depuis {app}","Eingebettet aus {app}","Incorporato da {app}","Incorporado de {app}"],
+ "Equation added — edit it in the Math panel": ["数式を追加しました — 数式パネルで編集してください","已添加公式 — 请在数学面板中编辑","已新增公式 — 請在數學面板中編輯","Ecuación añadida: edítala en el panel de matemáticas","Équation ajoutée — modifiez-la dans le panneau Mathématiques","Gleichung hinzugefügt – im Mathematik-Panel bearbeiten","Equazione aggiunta: modificala nel pannello Matematica","Equação adicionada — edite-a no painel Matemática"],
+ "Equation block": ["数式ブロック","公式块","公式區塊","Bloque de ecuación","Bloc d'équation","Gleichungsblock","Blocco equazione","Bloco de equação"],
+ "Figure": ["図","图","圖","Figura","Figure","Abbildung","Figura","Figura"],
+ "Figures": ["図","图","圖","Figuras","Figures","Abbildungen","Figure","Figuras"],
+ "File": ["ファイル","文件","檔案","Archivo","Fichier","Datei","File","Arquivo"],
+ "Find": ["検索","查找","尋找","Buscar","Rechercher","Suchen","Trova","Localizar"],
+ "Find and replace (⌘F)": ["検索と置換 (⌘F)","查找和替换 (⌘F)","尋找及取代 (⌘F)","Buscar y reemplazar (⌘F)","Rechercher et remplacer (⌘F)","Suchen und Ersetzen (⌘F)","Trova e sostituisci (⌘F)","Localizar e substituir (⌘F)"],
+ "Find in document": ["文書内を検索","在文档中查找","在文件中尋找","Buscar en el documento","Rechercher dans le document","Im Dokument suchen","Trova nel documento","Localizar no documento"],
+ "First line": ["1 行目","首行","第一行","Primera línea","Première ligne","Erste Zeile","Prima riga","Primeira linha"],
+ "First-line indent (px)": ["1 行目のインデント (px)","首行缩进(像素)","第一行縮排(像素)","Sangría de primera línea (px)","Retrait de première ligne (px)","Erstzeileneinzug (px)","Rientro prima riga (px)","Recuo da primeira linha (px)"],
+ "Follow the system": ["システムに従う","跟随系统","跟隨系統","Seguir el sistema","Suivre le système","Systemeinstellung übernehmen","Segui il sistema","Seguir o sistema"],
+ "Format — show or hide the properties panel": ["書式 — プロパティパネルの表示/非表示","格式 — 显示或隐藏属性面板","格式 — 顯示或隱藏屬性面板","Formato: mostrar u ocultar el panel de propiedades","Format — afficher ou masquer le panneau des propriétés","Format – Eigenschaftenbereich ein-/ausblenden","Formato: mostra o nascondi il pannello delle proprietà","Formato — mostrar ou ocultar o painel de propriedades"],
+ "Formatting": ["書式","格式","格式","Formato","Mise en forme","Formatierung","Formattazione","Formatação"],
+ "Formula": ["数式","公式","公式","Fórmula","Formule","Formel","Formula","Fórmula"],
+ "Formula (⌘M)": ["数式 (⌘M)","公式 (⌘M)","公式 (⌘M)","Fórmula (⌘M)","Formule (⌘M)","Formel (⌘M)","Formula (⌘M)","Fórmula (⌘M)"],
+ "Formula added — edit it in the Math panel": ["数式を追加しました — 数式パネルで編集してください","已添加公式 — 请在数学面板中编辑","已新增公式 — 請在數學面板中編輯","Fórmula añadida: edítala en el panel de matemáticas","Formule ajoutée — modifiez-la dans le panneau Mathématiques","Formel hinzugefügt – im Mathematik-Panel bearbeiten","Formula aggiunta: modificala nel pannello Matematica","Fórmula adicionada — edite-a no painel Matemática"],
+ "From {app}": ["{app} から","来自 {app}","來自 {app}","Desde {app}","Depuis {app}","Von {app}","Da {app}","De {app}"],
+ "Go live": ["ライブを開始","开始实时协作","開始即時協作","Iniciar sesión en directo","Passer en direct","Live gehen","Vai in diretta","Ficar ao vivo"],
+ "Guest": ["ゲスト","访客","訪客","Invitado","Invité","Gast","Ospite","Convidado"],
+ "Header row": ["見出し行","标题行","標題列","Fila de encabezado","Ligne d'en-tête","Kopfzeile","Riga di intestazione","Linha de cabeçalho"],
+ "Heading 1": ["見出し 1","标题 1","標題 1","Título 1","Titre 1","Überschrift 1","Titolo 1","Título 1"],
+ "Heading 2": ["見出し 2","标题 2","標題 2","Título 2","Titre 2","Überschrift 2","Titolo 2","Título 2"],
+ "Heading 3": ["見出し 3","标题 3","標題 3","Título 3","Titre 3","Überschrift 3","Titolo 3","Título 3"],
+ "Headings": ["見出し","标题","標題","Títulos","Titres","Überschriften","Titoli","Títulos"],
+ "Headings appear here.": ["見出しはここに表示されます。","标题会显示在这里。","標題會顯示在這裡。","Los títulos aparecen aquí.","Les titres apparaissent ici.","Überschriften erscheinen hier.","I titoli appaiono qui.","Os títulos aparecem aqui."],
+ "Hide comments": ["コメントを非表示","隐藏批注","隱藏註解","Ocultar comentarios","Masquer les commentaires","Kommentare ausblenden","Nascondi commenti","Ocultar comentários"],
+ "How you view a document, not a change to it — nothing here is saved into the file.": ["文書の見え方の設定であり、文書自体を変更するものではありません — ここでの設定はファイルに保存されません。","这只是文档的查看方式,不是对文档的更改——此处的设置不会保存到文件中。","這只是文件的檢視方式,不是對文件的變更 — 這裡的設定不會存進檔案。","Es solo cómo ves el documento, no un cambio en él: nada de esto se guarda en el archivo.","C'est la façon dont vous visualisez le document, pas une modification de celui-ci — rien ici n'est enregistré dans le fichier.","Dies betrifft nur die Ansicht des Dokuments, keine Änderung daran – nichts davon wird in der Datei gespeichert.","È solo il modo in cui visualizzi il documento, non una modifica ad esso: nulla qui viene salvato nel file.","Como você vê um documento, não uma alteração nele — nada aqui é salvo no arquivo."],
+ "Import": ["インポート","导入","匯入","Importar","Importer","Importieren","Importa","Importar"],
+ "Import BibTeX": ["BibTeX をインポート","导入 BibTeX","匯入 BibTeX","Importar BibTeX","Importer BibTeX","BibTeX importieren","Importa BibTeX","Importar BibTeX"],
+ "Import BibTeX…": ["BibTeX をインポート…","导入 BibTeX…","匯入 BibTeX…","Importar BibTeX…","Importer BibTeX…","BibTeX importieren…","Importa BibTeX…","Importar BibTeX…"],
+ "Insert": ["挿入","插入","插入","Insertar","Insérer","Einfügen","Inserisci","Inserir"],
+ "Insert a block below this one": ["この下にブロックを挿入","在此下方插入一个块","在此下方插入一個區塊","Insertar un bloque debajo de este","Insérer un bloc en dessous de celui-ci","Block darunter einfügen","Inserisci un blocco sotto questo","Inserir um bloco abaixo deste"],
+ "Insert a cross-reference": ["相互参照を挿入","插入交叉引用","插入交叉參照","Insertar una referencia cruzada","Insérer un renvoi","Querverweis einfügen","Inserisci un riferimento incrociato","Inserir uma referência cruzada"],
+ "Insert a cross-reference to a caption": ["キャプションへの相互参照を挿入","插入指向题注的交叉引用","插入指向題注的交叉參照","Insertar una referencia cruzada a un título","Insérer un renvoi vers une légende","Querverweis auf eine Beschriftung einfügen","Inserisci un riferimento incrociato a una didascalia","Inserir uma referência cruzada a uma legenda"],
+ "Insert a display equation on its own line": ["独立した行に数式を挿入","插入独占一行的公式","插入獨佔一行的公式","Insertar una ecuación en su propia línea","Insérer une équation sur sa propre ligne","Eine eigenständige Gleichungszeile einfügen","Inserisci un'equazione su una riga propria","Inserir uma equação em destaque, em linha própria"],
+ "Insert a picture": ["画像を挿入","插入图片","插入圖片","Insertar una imagen","Insérer une image","Bild einfügen","Inserisci un'immagine","Inserir uma imagem"],
+ "Insert a picture, table, formula, citation…": ["画像、表、数式、引用を挿入…","插入图片、表格、公式、引用…","插入圖片、表格、公式、引文…","Insertar una imagen, tabla, fórmula, cita…","Insérer une image, un tableau, une formule, une citation…","Bild, Tabelle, Formel, Zitat einfügen…","Inserisci immagine, tabella, formula, citazione…","Inserir imagem, tabela, fórmula, citação…"],
+ "Insert a table": ["表を挿入","插入表格","插入表格","Insertar una tabla","Insérer un tableau","Tabelle einfügen","Inserisci una tabella","Inserir uma tabela"],
+ "Insert a table of contents": ["目次を挿入","插入目录","插入目錄","Insertar una tabla de contenido","Insérer une table des matières","Inhaltsverzeichnis einfügen","Inserisci un sommario","Inserir um sumário"],
+ "Insert below": ["下に挿入","在下方插入","在下方插入","Insertar debajo","Insérer en dessous","Darunter einfügen","Inserisci sotto","Inserir abaixo"],
+ "Insert citation": ["引用を挿入","插入引用","插入引文","Insertar cita","Insérer une citation","Zitat einfügen","Inserisci citazione","Inserir citação"],
+ "Invite to edit…": ["編集に招待…","邀请编辑…","邀請編輯…","Invitar a editar…","Inviter à modifier…","Zum Bearbeiten einladen …","Invita a modificare…","Convidar para editar…"],
+ "Italic": ["斜体","斜体","斜體","Cursiva","Italique","Kursiv","Corsivo","Itálico"],
+ "Italic (⌘I)": ["斜体 (⌘I)","斜体 (⌘I)","斜體 (⌘I)","Cursiva (⌘I)","Italique (⌘I)","Kursiv (⌘I)","Corsivo (⌘I)","Itálico (⌘I)"],
+ "Justified": ["両端揃え","两端对齐","左右對齊","Justificado","Justifié","Blocksatz","Giustificato","Justificado"],
+ "Keep together": ["段落を分割しない","段落不跨页","段落不跨頁","Mantener unido","Ne pas scinder","Zusammenhalten","Non dividere","Manter junto"],
+ "Keep with next": ["次の段落と分離しない","与下段同页","與下段同頁","Mantener con el siguiente","Solidaire du suivant","Mit nächstem zusammenhalten","Solidale con il successivo","Manter com o próximo"],
+ "Label — “Table 2”": ["ラベル — 「表 2」","标签 —“表 2”","標籤 —「表 2」","Etiqueta: «Tabla 2»","Étiquette : « Tableau 2 »","Beschriftung – „Tabelle 2“","Etichetta: «Tabella 2»","Rótulo — “Tabela 2”"],
+ "Landscape": ["横向き","横向","橫向","Horizontal","Paysage","Querformat","Orizzontale","Paisagem"],
+ "Layout": ["レイアウト","布局","版面","Diseño","Mise en page","Layout","Layout","Layout"],
+ "Left": ["左揃え","左对齐","靠左","Izquierda","Gauche","Links","Sinistra","Esquerda"],
+ "Left / right (in)": ["左 / 右(インチ)","左 / 右(英寸)","左 / 右(英吋)","Izquierda / derecha (in)","Gauche / droite (po)","Links / rechts (Zoll)","Sinistra / destra (in)","Esquerda / direita (pol)"],
+ "Left / right (mm)": ["左 / 右(mm)","左 / 右(毫米)","左 / 右(公釐)","Izquierda / derecha (mm)","Gauche / droite (mm)","Links / rechts (mm)","Sinistra / destra (mm)","Esquerda / direita (mm)"],
+ "Light": ["ライト","浅色","淺色","Claro","Clair","Hell","Chiaro","Fino"],
+ "Line spacing": ["行間","行距","行距","Interlineado","Interligne","Zeilenabstand","Interlinea","Espaçamento entre linhas"],
+ "Link (⌘K)": ["リンク (⌘K)","链接 (⌘K)","連結 (⌘K)","Enlace (⌘K)","Lien (⌘K)","Link (⌘K)","Collegamento (⌘K)","Link (⌘K)"],
+ "Link address": ["リンク先アドレス","链接地址","連結位址","Dirección del enlace","Adresse du lien","Link-Adresse","Indirizzo del collegamento","Endereço do link"],
+ "Live — this document is being shared": ["ライブ — この文書は共有中です","实时协作中 — 此文档正在共享","即時協作中 — 這份文件正在共用","En directo: este documento se está compartiendo","En direct — ce document est partagé","Live – dieses Dokument wird freigegeben","In diretta: questo documento è condiviso","Ao vivo — este documento está sendo compartilhado"],
+ "Margins": ["余白","页边距","邊界","Márgenes","Marges","Ränder","Margini","Margens"],
+ "Margins…": ["余白…","页边距…","邊界…","Márgenes…","Marges…","Ränder…","Margini…","Margens…"],
+ "Match case": ["大文字と小文字を区別","区分大小写","區分大小寫","Coincidir mayúsculas","Respecter la casse","Groß-/Kleinschreibung beachten","Maiuscole/minuscole","Diferenciar maiúsculas"],
+ "Math": ["数式","数学","數學","Matemáticas","Mathématiques","Mathematik","Matematica","Matemática"],
+ "Medium": ["ミディアム","中等","中等","Medio","Medium","Medium","Medio","Médio"],
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": ["新しい鍵を発行します。以前送信したコピーは完全に同期を停止するため、その後に新しいコピーを共有してください。","会生成全新的密钥。此前发送的每个副本都将永久停止同步;之后请重新共享新的副本。","會產生全新的金鑰。先前傳送的每個副本都將永久停止同步;之後請重新共用新的副本。","Genera claves totalmente nuevas. Todas las copias enviadas antes dejan de sincronizarse para siempre; comparte copias nuevas después.","Génère des clés entièrement nouvelles. Toutes les copies envoyées auparavant cessent définitivement de se synchroniser ; partagez ensuite de nouvelles copies.","Erzeugt völlig neue Schlüssel. Alle zuvor gesendeten Kopien synchronisieren endgültig nicht mehr; teilen Sie danach neue Kopien.","Genera chiavi completamente nuove. Tutte le copie inviate in precedenza smettono definitivamente di sincronizzarsi; condividi poi copie nuove.","Gera chaves novas em folha. Toda cópia enviada antes para de sincronizar de vez; compartilhe cópias novas depois."],
+ "Modified": ["変更後","已修改","已修改","Modificado","Modifié","Geändert","Modificato","Modificado"],
+ "More — revisions, signing, print": ["その他 — 変更履歴、署名、印刷","更多 — 修订、签名、打印","更多 — 修訂、簽署、列印","Más: revisiones, firma, impresión","Plus — révisions, signature, impression","Mehr – Überarbeitungen, Signieren, Drucken","Altro: revisioni, firma, stampa","Mais — revisões, assinatura, impressão"],
+ "Move down": ["下に移動","下移","下移","Mover hacia abajo","Déplacer vers le bas","Nach unten verschieben","Sposta giù","Mover para baixo"],
+ "Move this block": ["このブロックを移動","移动此块","移動此區塊","Mover este bloque","Déplacer ce bloc","Diesen Block verschieben","Sposta questo blocco","Mover este bloco"],
+ "Move up": ["上に移動","上移","上移","Mover hacia arriba","Déplacer vers le haut","Nach oben verschieben","Sposta su","Mover para cima"],
+ "Name": ["名前","姓名","名稱","Nombre","Nom","Name","Nome","Nome"],
+ "Navigate": ["移動","导航","導覽","Navegar","Naviguer","Navigieren","Naviga","Navegar"],
+ "Next change (⌘⌥N)": ["次の変更 (⌘⌥N)","下一处修订 (⌘⌥N)","下一項修訂 (⌘⌥N)","Cambio siguiente (⌘⌥N)","Modification suivante (⌘⌥N)","Nächste Änderung (⌘⌥N)","Modifica successiva (⌘⌥N)","Próxima alteração (⌘⌥N)"],
+ "Next match (Enter)": ["次を検索 (Enter)","下一个匹配项 (Enter)","下一個相符項目 (Enter)","Siguiente coincidencia (Intro)","Occurrence suivante (Entrée)","Nächster Treffer (Eingabe)","Corrispondenza successiva (Invio)","Próxima ocorrência (Enter)"],
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": ["まだキャプションはありません。表の中にカーソルを置いてキャプションボタンを押してください。番号付けとそれへの参照はすべて自動的に追従します。","尚无题注。将光标置于表格中并点击题注按钮;编号及所有相关引用会自动跟随。","尚未有題注。將游標置於表格中並按下題注按鈕;編號與所有相關參照都會自動跟進。","Aún no hay títulos. Coloca el cursor en una tabla y pulsa el botón de título; la numeración y todas sus referencias se actualizan automáticamente.","Pas encore de légende. Placez le curseur dans un tableau et cliquez sur le bouton de légende ; la numérotation et tous les renvois suivent automatiquement.","Noch keine Beschriftungen. Setzen Sie den Cursor in eine Tabelle und klicken Sie auf die Schaltfläche für Beschriftungen; Nummerierung und alle Verweise folgen automatisch.","Ancora nessuna didascalia. Posiziona il cursore in una tabella e premi il pulsante didascalia; la numerazione e tutti i riferimenti la seguiranno automaticamente.","Ainda não há legendas. Posicione o cursor em uma tabela e pressione o botão de legenda; a numeração e todas as referências a ela são atualizadas automaticamente."],
+ "No markup": ["変更履歴を非表示","不显示标记","不顯示標記","Sin marcas","Aucune modification affichée","Keine Änderungen anzeigen","Nessuna revisione","Sem marcações"],
+ "No matches": ["一致なし","没有匹配项","沒有相符項目","Sin coincidencias","Aucune occurrence","Keine Treffer","Nessuna corrispondenza","Nenhuma ocorrência"],
+ "No saved versions yet — they accumulate as you edit.": ["保存されたバージョンはまだありません — 編集するにつれて蓄積されます。","尚无已保存的版本 — 它们会随着你的编辑逐渐累积。","尚無已儲存的版本 — 會隨著你的編輯逐漸累積。","Aún no hay versiones guardadas: se acumulan a medida que editas.","Aucune version enregistrée pour l'instant : elles s'accumulent au fil de vos modifications.","Noch keine gespeicherten Versionen – sie sammeln sich an, während Sie bearbeiten.","Nessuna versione salvata per ora: si accumulano man mano che modifichi.","Ainda não há versões salvas — elas se acumulam conforme você edita."],
+ "No sources yet. Paste a .bib file to get started.": ["まだソースがありません。.bib ファイルを貼り付けて始めましょう。","尚无来源。粘贴 .bib 文件即可开始。","尚未有來源。貼上 .bib 檔案即可開始。","Aún no hay fuentes. Pega un archivo .bib para empezar.","Pas encore de sources. Collez un fichier .bib pour commencer.","Noch keine Quellen. Fügen Sie eine .bib-Datei ein, um zu beginnen.","Ancora nessuna fonte. Incolla un file .bib per iniziare.","Ainda não há fontes. Cole um arquivo .bib para começar."],
+ "No tracked changes": ["変更履歴はありません","没有修订记录","沒有修訂記錄","Sin cambios control de cambios","Aucune modification suivie","Keine nachverfolgten Änderungen","Nessuna modifica registrata","Nenhuma alteração controlada"],
+ "Not sharing yet — click to start a live session": ["まだ共有していません — クリックしてライブセッションを開始","尚未共享 — 点击开始实时协作","尚未共用 — 按一下開始即時協作","Aún no se comparte: haz clic para iniciar una sesión en directo","Pas encore partagé — cliquez pour démarrer une session en direct","Noch nicht freigegeben – klicken, um eine Live-Sitzung zu starten","Non ancora condiviso: fai clic per avviare una sessione in tempo reale","Ainda não está compartilhando — clique para iniciar uma sessão ao vivo"],
+ "Nothing is cited yet, so the list is empty.": ["まだ何も引用されていないため、リストは空です。","尚未引用任何内容,因此列表为空。","尚未引用任何內容,因此清單是空的。","Aún no se ha citado nada, por lo que la lista está vacía.","Rien n'est encore cité, la liste est donc vide.","Es wurde noch nichts zitiert, daher ist die Liste leer.","Non è stato ancora citato nulla, quindi l'elenco è vuoto.","Nada foi citado ainda, então a lista está vazia."],
+ "Nothing matches.": ["一致するものがありません。","没有匹配项。","沒有相符項目。","No hay coincidencias.","Aucune correspondance.","Keine Übereinstimmung.","Nessuna corrispondenza.","Nada corresponde."],
+ "Nothing that looks like a BibTeX entry.": ["BibTeX のエントリらしきものが見つかりません。","没有看起来像 BibTeX 条目的内容。","沒有看起來像 BibTeX 條目的內容。","No hay nada que parezca una entrada BibTeX.","Rien qui ressemble à une entrée BibTeX.","Nichts, das wie ein BibTeX-Eintrag aussieht.","Niente che assomigli a una voce BibTeX.","Nada que se pareça com uma entrada BibTeX."],
+ "Nothing to refer to yet — caption a table first": ["まだ参照できるものがありません — まず表にキャプションを付けてください","尚无可引用的内容 — 请先为表格添加题注","尚無可參照的內容 — 請先為表格加上題注","Aún no hay nada que referenciar: primero añade un título a una tabla","Rien à référencer pour l'instant — légendez d'abord un tableau","Noch nichts zum Verweisen vorhanden – zuerst eine Tabelle beschriften","Ancora nulla a cui fare riferimento: aggiungi prima una didascalia a una tabella","Ainda não há nada a referenciar — legende uma tabela primeiro"],
+ "Nothing was imported.": ["何もインポートされませんでした。","未导入任何内容。","未匯入任何內容。","No se importó nada.","Rien n'a été importé.","Es wurde nichts importiert.","Non è stato importato nulla.","Nada foi importado."],
+ "Number sections": ["セクションに番号を付ける","为章节编号","為章節編號","Numerar secciones","Numéroter les sections","Abschnitte nummerieren","Numera le sezioni","Numerar seções"],
+ "Number this heading": ["この見出しに番号を付ける","为此标题编号","為此標題編號","Numerar este título","Numéroter ce titre","Diese Überschrift nummerieren","Numera questo titolo","Numerar este título"],
+ "Numbered as": ["番号付け","编号方式","編號方式","Numerado como","Numéroté comme","Nummeriert als","Numerato come","Numerado como"],
+ "Numbered list": ["段落番号","编号列表","編號清單","Lista numerada","Liste numérotée","Nummerierte Liste","Elenco numerato","Lista numerada"],
+ "Numeric [1] — IEEE-ish": ["数値 [1](IEEE風)","数字 [1](类 IEEE)","數字 [1](類 IEEE)","Numérico [1] (estilo IEEE)","Numérique [1] (style IEEE)","Numerisch [1] (IEEE-ähnlich)","Numerico [1] (stile IEEE)","Numérico [1] — estilo IEEE"],
+ "Off by default: most documents already carry their numbers in the heading text.": ["既定ではオフです — ほとんどの文書では見出しのテキストにすでに番号が含まれているためです。","默认关闭:大多数文档的标题文本中已经包含编号。","預設關閉:大多數文件的標題文字中已經包含編號。","Desactivado de forma predeterminada: la mayoría de los documentos ya llevan sus números en el texto del título.","Désactivé par défaut : la plupart des documents portent déjà leurs numéros dans le texte du titre.","Standardmäßig deaktiviert: Die meisten Dokumente tragen ihre Nummern bereits im Überschriftentext.","Disattivato per impostazione predefinita: la maggior parte dei documenti riporta già i numeri nel testo del titolo.","Desativado por padrão: a maioria dos documentos já traz a numeração no texto do título."],
+ "Offline mode is on — nothing leaves this computer.": ["オフラインモードが有効です — このコンピューターから何も送信されません。","离线模式已开启 — 任何内容都不会离开这台电脑。","離線模式已開啟 — 任何內容都不會離開這台電腦。","El modo sin conexión está activado: nada sale de este ordenador.","Le mode hors ligne est activé — rien ne quitte cet ordinateur.","Der Offlinemodus ist aktiv – nichts verlässt diesen Computer.","La modalità offline è attiva: nulla esce da questo computer.","O modo offline está ativado — nada sai deste computador."],
+ "Only the document owner can mint editor invites": ["編集者用の招待を作成できるのは文書の所有者だけです","只有文档所有者才能创建编辑者邀请","只有文件擁有者才能建立編輯者邀請","Solo el propietario del documento puede crear invitaciones de edición","Seul le propriétaire du document peut créer des invitations de modification","Nur die Besitzerin oder der Besitzer des Dokuments kann Bearbeitungseinladungen erstellen","Solo il proprietario del documento può creare inviti di modifica","Somente o proprietário do documento pode gerar convites de edição"],
+ "Open": ["開く","打开","開啟","Abrir","Ouvrir","Öffnen","Apri","Abrir"],
+ "Orientation": ["向き","方向","方向","Orientación","Orientation","Ausrichtung","Orientamento","Orientação"],
+ "Original": ["変更前","原始","原始","Original","Original","Original","Originale","Original"],
+ "Outline — show or hide the document map": ["アウトライン — 文書マップの表示/非表示","大纲 — 显示或隐藏文档结构图","大綱 — 顯示或隱藏文件結構圖","Esquema: mostrar u ocultar el mapa del documento","Plan — afficher ou masquer le plan du document","Gliederung – Dokumentkarte ein-/ausblenden","Struttura: mostra o nascondi la mappa del documento","Estrutura — mostrar ou ocultar o mapa do documento"],
+ "Owner": ["所有者","所有者","擁有者","Propietario","Propriétaire","Besitzer","Proprietario","Dono"],
+ "Page": ["ページ","页面","頁","Página","Page","Seite","Pagina","Página"],
+ "Page break before": ["段落の前で改ページ","段前分页","段落前分頁","Salto de página antes","Saut de page avant","Seitenumbruch davor","Interruzione di pagina prima","Quebra de página antes"],
+ "Page break inserted": ["改ページを挿入しました","已插入分页符","已插入分頁符號","Salto de página insertado","Saut de page inséré","Seitenumbruch eingefügt","Interruzione di pagina inserita","Quebra de página inserida"],
+ "Page break removed": ["改ページを削除しました","已删除分页符","已刪除分頁符號","Salto de página eliminado","Saut de page supprimé","Seitenumbruch entfernt","Interruzione di pagina rimossa","Quebra de página removida"],
+ "Page breaking": ["改ページ","分页","分頁","Salto de página","Saut de page","Seitenumbruch","Interruzione di pagina","Quebra de página"],
+ "Page or section, optional — e.g. p. 34": ["ページまたはセクション(任意)— 例:p. 34","页码或章节(可选)— 例如第 34 页","頁碼或章節(選填)— 例如第 34 頁","Página o sección, opcional; p. ej., p. 34","Page ou section, facultatif — ex. p. 34","Seite oder Abschnitt, optional – z. B. S. 34","Pagina o sezione, facoltativo — es. p. 34","Página ou seção, opcional — ex.: p. 34"],
+ "Page setup": ["ページ設定","页面设置","頁面設定","Configurar página","Mise en page","Seite einrichten","Imposta pagina","Configuração da página"],
+ "Page size": ["ページサイズ","页面大小","頁面大小","Tamaño de página","Format de page","Seitengröße","Dimensione pagina","Tamanho da página"],
+ "Page — “page 7”": ["ページ — 「7 ページ」","页码 —“第 7 页”","頁碼 —「第 7 頁」","Página: «página 7»","Page : « page 7 »","Seite – „Seite 7“","Pagina: «pagina 7»","Página — “página 7”"],
+ "Pages": ["ページ","页数","頁數","Páginas","Pages","Seiten","Pagine","Páginas"],
+ "Paragraph": ["段落","段落","段落","Párrafo","Paragraphe","Absatz","Paragrafo","Parágrafo"],
+ "Paragraph defaults": ["段落の既定値","段落默认值","段落預設值","Valores predeterminados de párrafo","Valeurs par défaut du paragraphe","Absatzstandards","Valori predefiniti del paragrafo","Padrões de parágrafo"],
+ "Paragraphs follow these unless they say otherwise.": ["段落は、個別に指定しない限りこの設定に従います。","段落将遵循这些设置,除非另有指定。","段落將依照這些設定,除非另有指定。","Los párrafos siguen estos valores salvo que indiquen lo contrario.","Les paragraphes suivent ces réglages sauf indication contraire.","Absätze folgen diesen Einstellungen, sofern nichts anderes festgelegt ist.","I paragrafi seguono queste impostazioni salvo diversa indicazione.","Os parágrafos seguem estes valores, salvo indicação em contrário."],
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": ["以下に BibTeX を貼り付けてください。@article、@book、@inproceedings、@techreport、@misc に対応しています。それ以外の種類は @misc としてインポートされ、引用は可能です。","在下方粘贴 BibTeX。已支持 @article、@book、@inproceedings、@techreport 和 @misc;其他类型将作为 @misc 导入,仍可正常引用。","在下方貼上 BibTeX。已支援 @article、@book、@inproceedings、@techreport 及 @misc;其他類型會以 @misc 匯入,仍可正常引用。","Pega el BibTeX a continuación. Se admiten @article, @book, @inproceedings, @techreport y @misc; cualquier otro tipo se importa como @misc para que aún pueda citarse.","Collez le BibTeX ci-dessous. @article, @book, @inproceedings, @techreport et @misc sont pris en charge ; tout autre type est importé comme @misc afin de rester citable.","Fügen Sie unten BibTeX ein. @article, @book, @inproceedings, @techreport und @misc werden unterstützt; jeder andere Typ wird als @misc importiert, damit er weiterhin zitierbar bleibt.","Incolla il BibTeX qui sotto. @article, @book, @inproceedings, @techreport e @misc sono supportati; qualsiasi altro tipo viene importato come @misc così può comunque essere citato.","Cole o BibTeX abaixo. @article, @book, @inproceedings, @techreport e @misc são modelados; qualquer outro tipo é importado como @misc para que ainda seja possível citá-lo."],
+ "Paste BibTeX…": ["BibTeX を貼り付け…","粘贴 BibTeX…","貼上 BibTeX…","Pegar BibTeX…","Coller du BibTeX…","BibTeX einfügen…","Incolla BibTeX…","Colar BibTeX…"],
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": ["bento/type 文書の JSON を貼り付けてください。文書全体が置き換わりますが、⌘Z で元に戻せます。","粘贴 bento/type 文档的 JSON。这会替换当前文档,可用 ⌘Z 撤销。","貼上 bento/type 文件的 JSON。這會取代目前文件,可用 ⌘Z 復原。","Pega el JSON de un documento de bento/type. Esto reemplaza el documento y se puede deshacer con ⌘Z.","Collez le JSON d'un document bento/type. Cela remplace le document et peut être annulé avec ⌘Z.","Fügen Sie das JSON eines bento/type-Dokuments ein. Dies ersetzt das Dokument und kann mit ⌘Z rückgängig gemacht werden.","Incolla il JSON di un documento bento/type. Questo sostituisce il documento e può essere annullato con ⌘Z.","Cole o JSON de um documento bento/type. Isso substitui o documento e pode ser desfeito com ⌘Z."],
+ "People": ["ユーザー","协作者","協作者","Personas","Personnes","Personen","Persone","Pessoas"],
+ "Picture": ["画像","图片","圖片","Imagen","Image","Bild","Immagine","Imagem"],
+ "Portrait": ["縦向き","纵向","縱向","Vertical","Portrait","Hochformat","Verticale","Retrato"],
+ "Previous change (⌘⌥P)": ["前の変更 (⌘⌥P)","上一处修订 (⌘⌥P)","上一項修訂 (⌘⌥P)","Cambio anterior (⌘⌥P)","Modification précédente (⌘⌥P)","Vorherige Änderung (⌘⌥P)","Modifica precedente (⌘⌥P)","Alteração anterior (⌘⌥P)"],
+ "Previous match (⇧Enter)": ["前を検索 (⇧Enter)","上一个匹配项 (⇧Enter)","上一個相符項目 (⇧Enter)","Coincidencia anterior (⇧Intro)","Occurrence précédente (⇧Entrée)","Vorheriger Treffer (⇧Eingabe)","Corrispondenza precedente (⇧Invio)","Ocorrência anterior (⇧Enter)"],
+ "Print or PDF…": ["印刷または PDF…","打印或导出 PDF…","列印或匯出 PDF…","Imprimir o PDF…","Imprimer ou PDF…","Drucken oder PDF…","Stampa o PDF…","Imprimir ou PDF…"],
+ "Properties": ["プロパティ","属性","屬性","Propiedades","Propriétés","Eigenschaften","Proprietà","Propriedades"],
+ "Put the caret in a heading first.": ["まず見出しにカーソルを置いてください。","请先将光标置于标题中。","請先將游標置於標題中。","Primero coloca el cursor en un título.","Placez d'abord le curseur dans un titre.","Setzen Sie den Cursor zuerst in eine Überschrift.","Posiziona prima il cursore in un titolo.","Posicione o cursor em um título primeiro."],
+ "Put the caret in a paragraph first": ["まず段落にカーソルを置いてください","请先将光标置于段落中","請先將游標置於段落中","Coloca primero el cursor en un párrafo","Placez d'abord le curseur dans un paragraphe","Setzen Sie den Cursor zuerst in einen Absatz","Posiziona prima il cursore in un paragrafo","Posicione o cursor em um parágrafo primeiro"],
+ "Put the caret in the document first": ["まず文書内にカーソルを置いてください","请先将光标置于文档中","請先將游標置於文件中","Coloca primero el cursor en el documento","Placez d'abord le curseur dans le document","Setzen Sie den Cursor zuerst in das Dokument","Posiziona prima il cursore nel documento","Posicione o cursor no documento primeiro"],
+ "Put the caret in the table or paragraph to caption": ["キャプションを付ける表または段落にカーソルを置いてください","将光标置于要添加题注的表格或段落中","將游標置於要加上題注的表格或段落中","Coloca el cursor en la tabla o el párrafo que quieras titular","Placez le curseur dans le tableau ou le paragraphe à légender","Setzen Sie den Cursor in die zu beschriftende Tabelle oder den Absatz","Posiziona il cursore nella tabella o nel paragrafo da didascalizzare","Posicione o cursor na tabela ou no parágrafo a legendar"],
+ "Put the caret on a tracked change first": ["まず変更履歴の箇所にカーソルを置いてください","请先将光标置于某处修订上","請先將游標置於某項修訂上","Coloca primero el cursor en un cambio control de cambios","Placez d'abord le curseur sur une modification suivie","Setzen Sie den Cursor zuerst auf eine nachverfolgte Änderung","Posiziona prima il cursore su una modifica registrata","Posicione o cursor sobre uma alteração controlada primeiro"],
+ "Put the caret where the citation goes first": ["まず引用を挿入する位置にカーソルを置いてください","请先将光标置于要插入引用的位置","請先將游標置於要插入引文的位置","Coloca primero el cursor donde irá la cita","Placez d'abord le curseur à l'endroit où la citation doit apparaître","Setzen Sie den Cursor zuerst an die Stelle für das Zitat","Posiziona prima il cursore dove deve andare la citazione","Posicione o cursor onde a citação deve entrar"],
+ "Put the caret where the formula should go": ["数式を挿入する位置にカーソルを置いてください","请将光标置于要插入公式的位置","請將游標置於要插入公式的位置","Coloca el cursor donde debe ir la fórmula","Placez le curseur à l'endroit où la formule doit apparaître","Setzen Sie den Cursor an die Stelle für die Formel","Posiziona il cursore dove deve andare la formula","Posicione o cursor onde a fórmula deve entrar"],
+ "Put the caret where the reference goes": ["まず参照を挿入する位置にカーソルを置いてください","请先将光标置于要插入引用的位置","請先將游標置於要插入參照的位置","Coloca primero el cursor donde irá la referencia","Placez d'abord le curseur à l'endroit où la référence doit apparaître","Setzen Sie den Cursor zuerst an die Stelle für den Verweis","Posiziona prima il cursore dove deve andare il riferimento","Posicione o cursor onde a referência deve entrar"],
+ "Quote": ["引用","引述","引述","Cita","Citation","Zitat","Citazione","Citação"],
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": ["スクリーンリーダーで読み上げられ、画像が失われた場合はテキストとして残ります。","会被屏幕阅读器读出,且在图片丢失时会作为文字保留。","會被螢幕報讀軟體讀出,且在圖片遺失時會作為文字保留。","Lo leen los lectores de pantalla y se conserva como texto si la imagen se pierde.","Lu à voix haute par les lecteurs d'écran, et conservé comme texte si l'image venait à disparaître.","Wird von Bildschirmlesegeräten vorgelesen und bleibt als Text erhalten, falls das Bild verloren geht.","Viene letto ad alta voce dagli screen reader e resta come testo se l'immagine va persa.","Lido em voz alta por leitores de tela e mantido como texto caso a imagem se perca."],
+ "Redo (⇧⌘Z)": ["やり直し (⇧⌘Z)","重做 (⇧⌘Z)","重做 (⇧⌘Z)","Rehacer (⇧⌘Z)","Rétablir (⇧⌘Z)","Wiederholen (⇧⌘Z)","Ripeti (⇧⌘Z)","Refazer (⇧⌘Z)"],
+ "References, as they will print": ["印刷される通りの参考文献","参考文献列表(打印外观)","參考文獻清單(列印外觀)","Referencias, tal como se imprimirán","Références, telles qu'elles seront imprimées","Literaturverzeichnis, wie es gedruckt wird","Bibliografia, come verrà stampata","Referências, como serão impressas"],
+ "Regular": ["レギュラー","常规","一般","Normal","Normal","Normal","Normale","Regular"],
+ "Reject": ["元に戻す","拒绝","拒絕","Rechazar","Rejeter","Ablehnen","Rifiuta","Rejeitar"],
+ "Reject (⌘⌥D)": ["元に戻す (⌘⌥D)","拒绝 (⌘⌥D)","拒絕 (⌘⌥D)","Rechazar (⌘⌥D)","Rejeter (⌘⌥D)","Ablehnen (⌘⌥D)","Rifiuta (⌘⌥D)","Rejeitar (⌘⌥D)"],
+ "Reject all": ["すべて元に戻す","全部拒绝","全部拒絕","Rechazar todo","Tout rejeter","Alle ablehnen","Rifiuta tutto","Rejeitar tudo"],
+ "Remove": ["削除","移除","移除","Quitar","Retirer","Entfernen","Rimuovi","Remover"],
+ "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 every match, as one undo step": ["すべての一致を 1 回の操作で置換","将所有匹配项作为一步操作全部替换","將所有相符項目作為單一步驟全部取代","Reemplaza todas las coincidencias en un solo paso de deshacer","Remplace toutes les occurrences en une seule étape d'annulation","Ersetzt jeden Treffer in einem einzigen Rückgängig-Schritt","Sostituisce tutte le corrispondenze in un solo passaggio di annullamento","Substituir todas as ocorrências, como uma única ação de desfazer"],
+ "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 match": ["この一致を置換","替换此匹配项","取代此相符項目","Reemplazar esta coincidencia","Remplacer cette occurrence","Diesen Treffer ersetzen","Sostituisci questa corrispondenza","Substituir esta ocorrência"],
+ "Replace with": ["置換後の文字列","替换为","取代為","Reemplazar con","Remplacer par","Ersetzen durch","Sostituisci con","Substituir por"],
+ "Replaced 1 match": ["1 件を置換しました","已替换 1 处","已取代 1 處","Se reemplazó 1 coincidencia","1 occurrence remplacée","1 Treffer ersetzt","Sostituita 1 corrispondenza","1 ocorrência substituída"],
+ "Replaced {n} matches": ["{n} 件を置換しました","已替换 {n} 处","已取代 {n} 處","Se reemplazaron {n} coincidencias","{n} occurrences remplacées","{n} Treffer ersetzt","Sostituite {n} corrispondenze","{n} ocorrências substituídas"],
+ "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 que hayas enviado dejarán de sincronizarse; solo podrán unirse las guardadas después de esto.","Réinitialiser l'accès ? Toutes les copies déjà envoyées cessent de se synchroniser ; seules celles enregistrées ensuite pourront rejoindre.","Zugriff zurücksetzen? Alle bereits gesendeten Kopien synchronisieren nicht mehr; nur danach gespeicherte Kopien können beitreten.","Reimpostare l'accesso? Tutte le copie già inviate smettono di sincronizzarsi; possono entrare solo quelle salvate dopo.","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","Lösen","Risolvi","Resolver"],
+ "Restore": ["復元","恢复","還原","Restaurar","Restaurer","Wiederherstellen","Ripristina","Restaurar"],
+ "Restored your unsaved changes": ["保存されていない変更を復元しました","已恢复未保存的更改","已還原未儲存的變更","Se han restaurado los cambios sin guardar","Vos modifications non enregistrées ont été restaurées","Nicht gespeicherte Änderungen wurden wiederhergestellt","Le modifiche non salvate sono state ripristinate","Suas alterações não salvas foram restauradas"],
+ "Results": ["結果","结果","結果","Resultados","Résultats","Ergebnisse","Risultati","Resultados"],
+ "Review": ["レビュー","审阅","校閱","Revisar","Révision","Überprüfung","Revisione","Revisão"],
+ "Review changes…": ["変更をレビュー…","审阅修订…","校閱修訂…","Revisar cambios…","Réviser les modifications…","Änderungen überprüfen…","Rivedi modifiche…","Revisar alterações…"],
+ "Right": ["右揃え","右对齐","靠右","Derecha","Droite","Rechts","Destra","Direita"],
+ "Save": ["保存","保存","儲存","Guardar","Enregistrer","Speichern","Salva","Salvar"],
+ "Save (⌘S)": ["保存 (⌘S)","保存 (⌘S)","儲存 (⌘S)","Guardar (⌘S)","Enregistrer (⌘S)","Speichern (⌘S)","Salva (⌘S)","Salvar (⌘S)"],
+ "Save to {file}": ["{file} に保存","保存到 {file}","儲存至 {file}","Guardar en {file}","Enregistrer dans {file}","In {file} speichern","Salva su {file}","Salvar em {file}"],
+ "Saved": ["保存済み","已保存","已儲存","Guardado","Enregistré","Gespeichert","Salvato","Salvo"],
+ "Saved to {file}": ["{file} に保存しました","已保存到 {file}","已儲存至 {file}","Guardado en {file}","Enregistré dans {file}","In {file} gespeichert","Salvato su {file}","Salvo em {file}"],
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": ["送信用のコピーを保存します。それを開いた人はこの文書をあなたとライブで編集できます。所有者はあなたのままで、ユーザー一覧から削除できます。","保存一个可发送的副本。打开它的人可以与你实时协作编辑本文档;你仍是所有者,并可从协作者列表中移除他们。","儲存一個可傳送的副本。開啟它的人可以與你即時協作編輯這份文件;你仍是擁有者,並可從協作者清單中移除他們。","Guarda una copia para enviar. Quien la abra editará este documento en directo contigo; tú sigues siendo el propietario y puedes quitarle el acceso desde la lista de personas.","Enregistre une copie à envoyer. La personne qui l'ouvre modifie ce document en direct avec vous ; vous restez propriétaire et pouvez la retirer depuis la liste des personnes.","Speichert eine Kopie zum Versenden. Wer sie öffnet, bearbeitet dieses Dokument live mit Ihnen; Sie bleiben Besitzer und können die Person aus der Personenliste entfernen.","Salva una copia da inviare. Chi la apre modifica questo documento in diretta con te; tu resti il proprietario e puoi rimuoverlo dall'elenco delle persone.","Salva uma cópia para enviar. Quem a abrir edita este documento ao vivo com você; você continua sendo o proprietário e pode removê-la da lista de Pessoas."],
+ "Saving failed": ["保存に失敗しました","保存失败","儲存失敗","Error al guardar","Échec de l'enregistrement","Speichern fehlgeschlagen","Salvataggio non riuscito","Falha ao salvar"],
+ "Search author, title or key": ["著者、タイトル、キーで検索","按作者、标题或键搜索","按作者、標題或鍵搜尋","Buscar por autor, título o clave","Rechercher par auteur, titre ou clé","Nach Autor, Titel oder Schlüssel suchen","Cerca per autore, titolo o chiave","Buscar autor, título ou chave"],
+ "Section numbering is off.": ["セクション番号はオフです。","章节编号已关闭。","章節編號已關閉。","La numeración de secciones está desactivada.","La numérotation des sections est désactivée.","Die Abschnittsnummerierung ist deaktiviert.","La numerazione delle sezioni è disattivata.","A numeração de seções está desativada."],
+ "Sections are numbered.": ["セクションに番号が付いています。","章节已编号。","章節已編號。","Las secciones están numeradas.","Les sections sont numérotées.","Die Abschnitte sind nummeriert.","Le sezioni sono numerate.","As seções estão numeradas."],
+ "Select some text and press ⌘⇧M to comment on it.": ["テキストを選択して ⌘⇧M を押すとコメントできます。","选中一些文本,然后按 ⌘⇧M 添加批注。","選取一些文字,然後按 ⌘⇧M 新增註解。","Selecciona texto y pulsa ⌘⇧M para comentarlo.","Sélectionnez du texte et appuyez sur ⌘⇧M pour le commenter.","Wählen Sie Text aus und drücken Sie ⌘⇧M, um ihn zu kommentieren.","Seleziona del testo e premi ⌘⇧M per commentarlo.","Selecione um trecho e pressione ⌘⇧M para comentá-lo."],
+ "Select some text first, then comment on it": ["まずテキストを選択してからコメントしてください","请先选中一些文本,然后再添加批注","請先選取一些文字,然後再新增註解","Selecciona primero algo de texto y luego coméntalo","Sélectionnez d'abord du texte, puis commentez-le","Wählen Sie zuerst etwas Text aus und kommentieren Sie ihn dann","Seleziona prima del testo, poi commentalo","Selecione um trecho primeiro e depois comente-o"],
+ "Select some text to change its typeface or size. The document default is below.": ["書体やサイズを変更するテキストを選択してください。文書の既定値は下に表示されています。","选中一些文本以更改其字体或大小。文档的默认设置见下方。","選取一些文字以變更其字體或大小。文件的預設值如下方所示。","Selecciona texto para cambiar su tipo de letra o tamaño. El valor predeterminado del documento aparece abajo.","Sélectionnez du texte pour changer sa police ou sa taille. La valeur par défaut du document figure ci-dessous.","Wählen Sie Text aus, um Schriftart oder -größe zu ändern. Der Dokumentstandard steht unten.","Seleziona del testo per cambiarne il carattere o la dimensione. Il valore predefinito del documento è indicato sotto.","Selecione um trecho para mudar sua fonte ou tamanho. O padrão do documento está abaixo."],
+ "Select something to see its properties.": ["何かを選択するとプロパティが表示されます。","选中一些内容以查看其属性。","選取一些內容以查看其屬性。","Selecciona algo para ver sus propiedades.","Sélectionnez un élément pour voir ses propriétés.","Wählen Sie etwas aus, um seine Eigenschaften zu sehen.","Seleziona qualcosa per vederne le proprietà.","Selecione algo para ver suas propriedades."],
+ "Select the words you want to link": ["リンクしたい語句を選択してください","选中要添加链接的文字","選取要加上連結的文字","Selecciona las palabras que quieres enlazar","Sélectionnez les mots à lier","Wählen Sie die Wörter aus, die Sie verlinken möchten","Seleziona le parole a cui aggiungere il collegamento","Selecione as palavras que deseja vincular"],
+ "Semibold": ["セミボールド","半粗体","半粗體","Seminegrita","Demi-gras","Halbfett","Semigrassetto","Seminegrito"],
+ "Share": ["共有","共享","共用","Compartir","Partager","Freigeben","Condividi","Compartilhar"],
+ "Share a copy": ["コピーを共有","共享副本","共用副本","Compartir una copia","Partager une copie","Kopie freigeben","Condividi una copia","Compartilhar uma cópia"],
+ "Share — invite people to edit live, or send a view-only copy": ["共有 — 他のユーザーをライブ編集に招待するか、閲覧専用のコピーを送ります","共享 — 邀请他人实时协作编辑,或发送只读副本","共用 — 邀請他人即時協作編輯,或傳送唯讀副本","Compartir: invita a otras personas a editar en directo o envía una copia de solo lectura","Partager — invitez d'autres personnes à modifier en direct, ou envoyez une copie en lecture seule","Freigeben – laden Sie andere zum Live-Bearbeiten ein oder senden Sie eine schreibgeschützte Kopie","Condividi — invita altre persone a modificare in tempo reale o invia una copia di sola lettura","Compartilhar — convide pessoas para editar ao vivo ou envie uma cópia somente leitura"],
+ "Show comments": ["コメントを表示","显示批注","顯示註解","Mostrar comentarios","Afficher les commentaires","Kommentare einblenden","Mostra commenti","Mostrar comentários"],
+ "Shown next to your cursor and in the People list — stored only in this browser.": ["カーソルの横とユーザー一覧に表示されます — このブラウザにのみ保存されます。","显示在你的光标旁边和协作者列表中 — 仅保存在此浏览器中。","顯示在你的游標旁邊與協作者清單中 — 僅儲存在這個瀏覽器中。","Se muestra junto a tu cursor y en la lista de personas; se guarda solo en este navegador.","Affiché à côté de votre curseur et dans la liste des personnes — conservé uniquement dans ce navigateur.","Wird neben Ihrem Cursor und in der Personenliste angezeigt – nur in diesem Browser gespeichert.","Mostrato accanto al cursore e nell'elenco delle persone: memorizzato solo in questo browser.","Exibido ao lado do seu cursor e na lista de Pessoas — guardado apenas neste navegador."],
+ "Signatures": ["署名","签名","簽署","Firmas","Signatures","Signaturen","Firme","Assinaturas"],
+ "Sign…": ["署名…","签名…","簽署…","Firmar…","Signer…","Signieren…","Firma…","Assinar…"],
+ "Size": ["サイズ","大小","大小","Tamaño","Taille","Größe","Dimensione","Tamanho"],
+ "Size (px)": ["サイズ (px)","大小(像素)","大小(像素)","Tamaño (px)","Taille (px)","Größe (px)","Dimensione (px)","Tamanho (px)"],
+ "Snapshot": ["スナップショット","快照","快照","Instantánea","Instantané","Momentaufnahme","Istantanea","Instantâneo"],
+ "Snapshot redline": ["スナップショット比較","快照修订对比","快照修訂比對","Comparación con la instantánea","Comparaison avec l'instantané","Snapshot-Vergleich","Confronto con l'istantanea","Comparação com o instantâneo"],
+ "Someone": ["匿名の人物","某人","某人","Alguien","Quelqu'un","Jemand","Qualcuno","Alguém"],
+ "Sources": ["出典","来源","來源","Fuentes","Sources","Quellen","Fonti","Fontes"],
+ "Sources ({n})": ["出典({n})","来源({n})","來源({n})","Fuentes ({n})","Sources ({n})","Quellen ({n})","Fonti ({n})","Fontes ({n})"],
+ "Space after": ["段落後の間隔","段后间距","段落後間距","Espacio después","Espace après","Abstand danach","Spazio dopo","Espaço depois"],
+ "Space after (px)": ["段落後の間隔 (px)","段后间距(像素)","段落後間距(像素)","Espacio después (px)","Espace après (px)","Abstand danach (px)","Spazio dopo (px)","Espaço depois (px)"],
+ "Space before": ["段落前の間隔","段前间距","段落前間距","Espacio antes","Espace avant","Abstand davor","Spazio prima","Espaço antes"],
+ "Space before (px)": ["段落前の間隔 (px)","段前间距(像素)","段落前間距(像素)","Espacio antes (px)","Espace avant (px)","Abstand davor (px)","Spazio prima (px)","Espaço antes (px)"],
+ "Start this paragraph on a new page.": ["この段落を新しいページから開始します。","此段落将从新的一页开始。","此段落將從新的一頁開始。","Este párrafo comenzará en una página nueva.","Ce paragraphe commencera sur une nouvelle page.","Dieser Absatz beginnt auf einer neuen Seite.","Questo paragrafo inizierà su una nuova pagina.","Iniciar este parágrafo em uma nova página."],
+ "Stop sharing": ["共有を停止","停止共享","停止共用","Dejar de compartir","Arrêter le partage","Freigabe beenden","Interrompi condivisione","Parar de compartilhar"],
+ "Stored only in this browser, never in the file or online.": ["このブラウザにのみ保存され、ファイルやオンラインには保存されません。","仅存储在此浏览器中,不会存入文件或上传到网络。","僅儲存在這個瀏覽器中,不會存入檔案或上傳到網路。","Se guarda solo en este navegador, nunca en el archivo ni en línea.","Conservé uniquement dans ce navigateur, jamais dans le fichier ni en ligne.","Wird nur in diesem Browser gespeichert, nie in der Datei oder online.","Memorizzato solo in questo browser, mai nel file né online.","Armazenado apenas neste navegador, nunca no arquivo nem online."],
+ "Strikethrough": ["取り消し線","删除线","刪除線","Tachado","Barré","Durchgestrichen","Barrato","Tachado"],
+ "Style": ["スタイル","样式","樣式","Estilo","Style","Formatvorlage","Stile","Estilo"],
+ "Style updated from this paragraph": ["この段落の書式でスタイルを更新しました","已根据此段落更新样式","已根據此段落更新樣式","Estilo actualizado a partir de este párrafo","Style mis à jour à partir de ce paragraphe","Formatvorlage anhand dieses Absatzes aktualisiert","Stile aggiornato in base a questo paragrafo","Estilo atualizado a partir deste parágrafo"],
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": ["対応:\\frac \\sqrt ^ _ \\sum \\int \\left( \\right)、ギリシャ文字、行列、場合分け。","支持:\\frac \\sqrt ^ _ \\sum \\int \\left( \\right),希腊字母、矩阵、分段函数。","支援:\\frac \\sqrt ^ _ \\sum \\int \\left( \\right),希臘字母、矩陣、分段函數。","Compatible con: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), letras griegas, matrices, casos.","Pris en charge : \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), lettres grecques, matrices, cas.","Unterstützt: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), griechische Buchstaben, Matrizen, Fallunterscheidungen.","Supportati: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right), lettere greche, matrici, casi.","Suportado: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) grego, matrizes, casos."],
+ "Table": ["表","表格","表格","Tabla","Tableau","Tabelle","Tabella","Tabela"],
+ "Tables and figures are numbered separately, in document order.": ["表と図は文書内の順序でそれぞれ別々に番号付けされます。","表格和图分别独立编号,按文档中的顺序排列。","表格與圖分別獨立編號,按文件中的順序排列。","Las tablas y las figuras se numeran por separado, en el orden del documento.","Les tableaux et les figures sont numérotés séparément, dans l'ordre du document.","Tabellen und Abbildungen werden getrennt in Dokumentreihenfolge nummeriert.","Tabelle e figure sono numerate separatamente, nell'ordine del documento.","Tabelas e figuras são numeradas separadamente, na ordem do documento."],
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": ["このマシン上のタブ同士は同期します。オンラインで共同編集するにはオフラインモードを解除してください。","本机上的标签页之间仍会同步;要在线协作请关闭离线模式。","本機上的分頁之間仍會同步;要線上協作請關閉離線模式。","Las pestañas de este equipo siguen sincronizándose; desactiva el modo sin conexión para colaborar en línea.","Les onglets de cet ordinateur continuent de se synchroniser ; désactivez le mode hors ligne pour collaborer en ligne.","Tabs auf diesem Rechner synchronisieren weiterhin; schalten Sie den Offlinemodus aus, um online zusammenzuarbeiten.","Le schede su questo computer continuano a sincronizzarsi; disattiva la modalità offline per collaborare online.","As abas nesta máquina continuam sincronizadas; desative o modo offline para colaborar online."],
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": ["この段落の現在の書式をスタイルとして採用します — このスタイルを使うすべての段落に反映されます。","将此段落当前的格式设为样式——所有使用此样式的段落都会随之更新。","將此段落目前的格式設為樣式 — 所有使用此樣式的段落都會隨之更新。","Toma el formato actual de este párrafo y conviértelo en el estilo; todos los párrafos que usan este estilo se actualizarán.","Reprend la mise en forme actuelle de ce paragraphe pour en faire le style — tous les paragraphes utilisant ce style suivront.","Übernimmt die aktuelle Formatierung dieses Absatzes als Formatvorlage – jeder Absatz mit dieser Vorlage folgt dann.","Applica la formattazione attuale di questo paragrafo come stile: tutti i paragrafi che usano questo stile lo seguiranno.","Pega a formatação atual deste parágrafo e a torna o estilo — todos os parágrafos que usam este estilo passam a segui-la."],
+ "Text": ["テキスト","文本","文字","Texto","Texte","Text","Testo","Texto"],
+ "Text area: {w} × {h} {unit}": ["テキストエリア:{w} × {h} {unit}","文本区域:{w} × {h} {unit}","文字區域:{w} × {h} {unit}","Área de texto: {w} × {h} {unit}","Zone de texte : {w} × {h} {unit}","Textbereich: {w} × {h} {unit}","Area di testo: {w} × {h} {unit}","Área de texto: {w} × {h} {unit}"],
+ "That JSON could not be read.": ["その JSON を読み込めませんでした。","无法读取该 JSON。","無法讀取該 JSON。","No se pudo leer ese JSON.","Ce JSON n'a pas pu être lu.","Dieses JSON konnte nicht gelesen werden.","Impossibile leggere quel JSON.","Não foi possível ler esse JSON."],
+ "That JSON was empty.": ["その JSON は空でした。","该 JSON 为空。","該 JSON 是空的。","Ese JSON estaba vacío.","Ce JSON était vide.","Dieses JSON war leer.","Quel JSON era vuoto.","Esse JSON estava vazio."],
+ "That file could not be read as a picture.": ["そのファイルは画像として読み込めませんでした。","无法将该文件作为图片读取。","無法將該檔案作為圖片讀取。","No se pudo leer ese archivo como una imagen.","Ce fichier n'a pas pu être lu comme une image.","Diese Datei konnte nicht als Bild gelesen werden.","Impossibile leggere quel file come immagine.","Não foi possível ler esse arquivo como imagem."],
+ "That file does not look like a Bento document.": ["そのファイルは Bento 文書ではないようです。","该文件看起来不是 Bento 文档。","該檔案看起來不是 Bento 文件。","Ese archivo no parece ser un documento de Bento.","Ce fichier ne ressemble pas à un document Bento.","Diese Datei sieht nicht wie ein Bento-Dokument aus.","Quel file non sembra un documento Bento.","Esse arquivo não parece ser um documento Bento."],
+ "That is already a caption": ["それはすでにキャプションです","这已经是题注","這已經是題注","Eso ya es un título","C'est déjà une légende","Das ist bereits eine Beschriftung","Questa è già una didascalia","Isso já é uma legenda"],
+ "That is not a bento/type document: {detail}": ["bento/type の文書ではありません:{detail}","这不是 bento/type 文档:{detail}","這不是 bento/type 文件:{detail}","No es un documento de bento/type: {detail}","Ce n'est pas un document bento/type : {detail}","Dies ist kein bento/type-Dokument: {detail}","Non è un documento bento/type: {detail}","Isso não é um documento bento/type: {detail}"],
+ "That is not an address this document can link to": ["この文書からリンクできるアドレスではありません","这不是本文档可以链接到的地址","這不是本文件可以連結到的位址","Esa no es una dirección a la que este documento pueda enlazar","Ce n'est pas une adresse vers laquelle ce document peut créer un lien","Dies ist keine Adresse, zu der dieses Dokument verlinken kann","Non è un indirizzo a cui questo documento può collegarsi","Esse não é um endereço ao qual este documento pode vincular"],
+ "That sheet is larger than any printer takes.": ["その用紙サイズはどのプリンターにも対応していません。","该纸张尺寸超出了任何打印机的支持范围。","該紙張尺寸超出任何印表機的支援範圍。","Esa hoja es más grande de lo que admite cualquier impresora.","Cette feuille est plus grande que ce qu'accepte n'importe quelle imprimante.","Dieses Blatt ist größer, als jeder Drucker verarbeiten kann.","Quel foglio è più grande di quanto qualsiasi stampante possa gestire.","Essa folha é maior do que qualquer impressora aceita."],
+ "That sheet is smaller than 2 inches — pick a bigger page.": ["その用紙サイズは 2 インチ未満です — もっと大きいページを選んでください。","该纸张尺寸小于 2 英寸——请选择更大的页面。","該紙張尺寸小於 2 英吋 — 請選擇更大的頁面。","Esa hoja mide menos de 2 pulgadas: elige una página más grande.","Cette feuille fait moins de 2 pouces — choisissez une page plus grande.","Dieses Blatt ist kleiner als 2 Zoll – wählen Sie eine größere Seite.","Quel foglio è più piccolo di 2 pollici: scegli una pagina più grande.","Essa folha é menor que 2 polegadas — escolha uma página maior."],
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": ["文書そのものが交換単位です — この JSON を AI に渡して受け取った JSON を貼り付けてください。スクリプトからは `window.bento` で同じものを利用できます。","文档本身就是交换单元:把这段 JSON 交给 AI,拿到返回结果后粘贴回来即可。脚本可通过 `window.bento` 使用同样的接口。","文件本身就是交換單元:把這段 JSON 交給 AI,拿到回傳結果後貼回來即可。指令碼可透過 `window.bento` 使用相同的介面。","El documento es la unidad de intercambio: entrega este JSON a una IA, recibe otro y pégalo aquí. `window.bento` expone lo mismo a los scripts.","Le document est l'unité d'échange : donnez ce JSON à une IA, récupérez-en un et collez-le ici. `window.bento` expose la même chose aux scripts.","Das Dokument ist die Austauscheinheit: Geben Sie dieses JSON an eine KI weiter, holen Sie eines zurück und fügen Sie es ein. `window.bento` stellt Skripten dasselbe bereit.","Il documento è l'unità di interscambio: consegna questo JSON a un'IA, riceverne uno e incollalo qui. `window.bento` espone la stessa cosa agli script.","O documento é a unidade de intercâmbio: entregue este JSON a uma IA, receba outro de volta e cole-o aqui. `window.bento` expõe a mesma coisa para scripts."],
+ "The first paragraph already starts a page": ["最初の段落はすでにページの先頭です","第一段已经是新的一页","第一段已經是新的一頁","El primer párrafo ya empieza una página","Le premier paragraphe commence déjà une page","Der erste Absatz beginnt bereits eine Seite","Il primo paragrafo inizia già una pagina","O primeiro parágrafo já inicia uma página"],
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": ["カーソル位置の数式です。TeX 風のソースであり、文書には画像ではなくソースが保存されます。","光标处的公式。使用类 TeX 语法;文档保存的是源代码,而不是图片。","游標處的公式。使用類 TeX 語法;文件儲存的是原始碼,而非圖片。","La fórmula en el cursor. Fuente similar a TeX; el documento guarda el código fuente, nunca la imagen.","La formule au niveau du curseur. Source de type TeX ; le document stocke la source, jamais l'image.","Die Formel an der Cursorposition. TeX-ähnlicher Quelltext; das Dokument speichert den Quelltext, niemals das Bild.","La formula alla posizione del cursore. Sorgente in stile TeX; il documento memorizza il sorgente, mai l'immagine.","A fórmula no cursor. Código semelhante a TeX; o documento armazena o código-fonte, nunca a imagem."],
+ "The table of contents needs the core render hook.": ["目次にはコアのレンダーフックが必要です。","目录需要核心渲染钩子。","目錄需要核心渲染掛鉤。","La tabla de contenido necesita el gancho de renderizado principal.","La table des matières nécessite le point d'ancrage de rendu principal.","Das Inhaltsverzeichnis benötigt den zentralen Render-Hook.","Il sommario richiede l'hook di rendering principale.","O sumário precisa do hook de renderização do núcleo."],
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": ["テーマはあなた自身のものであり、文書のものではありません — このブラウザに記憶されるだけで、ファイルには決して保存されません。ページ自体はどちらのテーマでも白のままです。紙は白いものであり、深夜に契約書を校正する人にも印刷結果がそのまま見える必要があるからです。","主题是你个人的设置,不是文档的一部分——它只保存在此浏览器中,绝不会写入文件。无论哪种主题,页面本身都保持白色,因为纸张就是白色的,深夜校对合同的人仍需要看清打印后的样子。","主題是你個人的設定,不是文件的一部分 — 它只保存在這個瀏覽器中,絕不會寫入檔案。無論哪種主題,頁面本身都維持白色,因為紙張就是白色的,深夜校對合約的人仍需要看清楚列印後的樣子。","El tema es tuyo, no del documento: se recuerda en este navegador y nunca se guarda en el archivo. La PÁGINA sigue siendo blanca en ambos casos, porque el papel es blanco y quien revisa un contrato a medianoche aún debe ver lo que se imprimirá.","Le thème vous appartient, pas au document — il est mémorisé dans ce navigateur et jamais enregistré dans le fichier. La PAGE reste blanche dans les deux cas, car le papier est blanc et quelqu'un qui relit un contrat à minuit doit quand même voir ce qui sera imprimé.","Das Design gehört Ihnen, nicht dem Dokument – es wird in diesem Browser gemerkt und nie in der Datei gespeichert. Die SEITE bleibt in beiden Fällen weiß, denn Papier ist weiß, und wer mitten in der Nacht einen Vertrag prüft, muss trotzdem sehen, was gedruckt wird.","Il tema è tuo, non del documento: viene ricordato in questo browser e non viene mai salvato nel file. La PAGINA resta bianca in entrambi i casi, perché la carta è bianca e chi rilegge un contratto a mezzanotte deve comunque vedere cosa verrà stampato.","O tema é seu, não do documento — ele é lembrado neste navegador e nunca salvo no arquivo. A PÁGINA permanece branca em ambos, porque o papel é branco e quem revisa um contrato à meia-noite ainda precisa ver o que será impresso."],
+ "Theme": ["テーマ","主题","主題","Tema","Thème","Design","Tema","Tema"],
+ "Theme: {mode} — click to cycle auto/light/dark": ["テーマ:{mode} — クリックで自動/ライト/ダークを切り替え","主题:{mode} — 点击可在自动/浅色/深色间切换","主題:{mode} — 點按可在自動/淺色/深色間切換","Tema: {mode}: haz clic para alternar entre automático/claro/oscuro","Thème : {mode} — cliquez pour alterner automatique/clair/sombre","Design: {mode} – klicken, um zwischen Automatisch/Hell/Dunkel zu wechseln","Tema: {mode}: fai clic per alternare automatico/chiaro/scuro","Tema: {mode} — clique para alternar automático/claro/escuro"],
+ "These render as [?key] in the document so they cannot be missed.": ["これらは文書内に [?key] として表示されるため見逃すことはありません。","这些会在文档中显示为 [?key],因此不会被忽略。","這些會在文件中顯示為 [?key],因此不會被忽略。","Se muestran como [?key] en el documento para que no pasen desapercibidas.","Ils s'affichent sous la forme [?key] dans le document afin qu'on ne puisse pas les manquer.","Diese werden im Dokument als [?key] angezeigt, damit sie nicht übersehen werden.","Vengono visualizzati come [?key] nel documento in modo che non possano passare inosservati.","Elas aparecem como [?key] no documento para não passarem despercebidas."],
+ "This already has a caption": ["これにはすでにキャプションがあります","这已经有题注了","這已經有題注了","Esto ya tiene un título","Ceci a déjà une légende","Dies hat bereits eine Beschriftung","Questo ha già una didascalia","Isto já tem uma legenda"],
+ "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 vez que guardas se crea una copia nueva. Chrome y Edge en un ordenador pueden guardar en el mismo archivo.","Ce navigateur ne peut pas réécrire le fichier, donc chaque enregistrement crée une nouvelle copie. Chrome et Edge sur ordinateur peuvent enregistrer sur place.","Dieser Browser kann die Datei nicht zurückschreiben, daher erstellt jedes Speichern eine neue Kopie. Chrome und Edge auf einem 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 direttamente nel file.","Este navegador não consegue escrever de volta no arquivo, então cada vez que você salva ele cria uma nova cópia. O Chrome e o Edge em um computador conseguem salvar no lugar."],
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": ["このビルドではまだキャプションを描画できません — xref.ts の先頭に記載されているコアパッチを適用してください","此构建版本尚不能渲染题注——请应用 xref.ts 顶部列出的核心补丁","此建置版本尚無法渲染題注 — 請套用 xref.ts 頂端列出的核心修補","Esta compilación aún no puede renderizar títulos: aplica el parche del núcleo indicado al principio de xref.ts","Cette version ne peut pas encore afficher les légendes — appliquez le correctif du noyau indiqué en haut de xref.ts","Dieser Build kann Beschriftungen noch nicht rendern – wenden Sie den Kern-Patch oben in xref.ts an","Questa build non può ancora renderizzare le didascalie: applica la patch del core indicata in cima a xref.ts","Esta versão ainda não consegue renderizar legendas — aplique o patch do núcleo listado no topo de xref.ts"],
+ "This document has no live session to follow": ["この文書には追従できるライブセッションがありません","此文档没有可跟随的实时协作","這份文件沒有可跟隨的即時協作","Este documento no tiene ninguna sesión en directo que seguir","Ce document n'a aucune session en direct à suivre","Dieses Dokument hat keine Live-Sitzung, der man folgen könnte","Questo documento non ha una sessione in diretta da seguire","Este documento não tem sessão ao vivo para acompanhar"],
+ "This document has no sources yet. Import some BibTeX first.": ["この文書にはまだ出典がありません。まず BibTeX をインポートしてください。","本文档尚无来源。请先导入一些 BibTeX。","本文件尚無來源。請先匯入一些 BibTeX。","Este documento aún no tiene fuentes. Importa primero algo de BibTeX.","Ce document n'a pas encore de sources. Importez d'abord du BibTeX.","Dieses Dokument hat noch keine Quellen. Importieren Sie zuerst etwas BibTeX.","Questo documento non ha ancora fonti. Importa prima del BibTeX.","Este documento ainda não tem fontes. Importe algum BibTeX primeiro."],
+ "This embed could not be displayed safely.": ["この埋め込みは安全に表示できませんでした。","无法安全显示此嵌入内容。","無法安全顯示此嵌入內容。","Este contenido incrustado no se pudo mostrar de forma segura.","Cet élément intégré n'a pas pu être affiché en toute sécurité.","Dieses eingebettete Element konnte nicht sicher angezeigt werden.","Questo elemento incorporato non può essere visualizzato in modo sicuro.","Não foi possível exibir esta incorporação com segurança."],
+ "This embed is missing its data.": ["この埋め込みにはデータがありません。","此嵌入内容缺少数据。","此嵌入內容缺少資料。","A este contenido incrustado le faltan datos.","Cet élément intégré n'a pas ses données.","Diesem eingebetteten Element fehlen die Daten.","A questo elemento incorporato mancano i dati.","Faltam os dados desta incorporação."],
+ "This file": ["このファイル","此文件","此檔案","Este archivo","Ce fichier","Diese Datei","Questo file","Este arquivo"],
+ "This heading is no longer numbered.": ["この見出しは番号付けされなくなりました。","此标题不再编号。","此標題不再編號。","Este título ya no está numerado.","Ce titre n'est plus numéroté.","Diese Überschrift ist nicht mehr nummeriert.","Questo titolo non è più numerato.","Este título não está mais numerado."],
+ "This heading is numbered again.": ["この見出しは再び番号付けされました。","此标题已重新编号。","此標題已重新編號。","Este título vuelve a estar numerado.","Ce titre est de nouveau numéroté.","Diese Überschrift ist wieder nummeriert.","Questo titolo è di nuovo numerato.","Este título voltou a ser numerado."],
+ "This is a view-only copy — it follows the live session but can’t change the document.": ["これは閲覧専用のコピーです — ライブセッションに追従しますが、文書を変更することはできません。","这是一个只读副本 — 它会跟随实时协作,但无法更改文档。","這是一個唯讀副本 — 它會跟隨即時協作,但無法變更文件。","Esta es una copia de solo lectura: sigue la sesión en directo, pero no puede cambiar el documento.","Ceci est une copie en lecture seule — elle suit la session en direct mais ne peut pas modifier le document.","Dies ist eine schreibgeschützte Kopie – sie folgt der Live-Sitzung, kann das Dokument aber nicht ändern.","Questa è una copia di sola lettura: segue la sessione in diretta ma non può cambiare il documento.","Esta é uma cópia somente leitura — ela acompanha a sessão ao vivo, mas não pode alterar o documento."],
+ "This paragraph and the one after it stay on the same page.": ["この段落とその次の段落は同じページに保持されます。","此段落与下一段将保持在同一页。","此段落與下一段將保持在同一頁。","Este párrafo y el siguiente permanecen en la misma página.","Ce paragraphe et le suivant restent sur la même page.","Dieser Absatz und der nachfolgende bleiben auf derselben Seite.","Questo paragrafo e quello successivo restano nella stessa pagina.","Este parágrafo e o seguinte permanecem na mesma página."],
+ "This paragraph has direct formatting of its own, on top of its style.": ["この段落にはスタイルとは別に直接指定された書式があります。","此段落在其样式之上还带有直接格式。","此段落在其樣式之上還帶有直接格式。","Este párrafo tiene formato directo propio, además de su estilo.","Ce paragraphe possède sa propre mise en forme directe, en plus de son style.","Dieser Absatz hat zusätzlich zu seiner Formatvorlage eine eigene direkte Formatierung.","Questo paragrafo ha una propria formattazione diretta, oltre al suo stile.","Este parágrafo tem formatação direta própria, além do seu estilo."],
+ "This paragraph is never split across a page break.": ["この段落は改ページで分割されません。","此段落绝不会被分页符拆分。","此段落絕不會被分頁符號拆分。","Este párrafo nunca se divide por un salto de página.","Ce paragraphe n'est jamais scindé par un saut de page.","Dieser Absatz wird nie durch einen Seitenumbruch getrennt.","Questo paragrafo non viene mai diviso da un'interruzione di pagina.","Este parágrafo nunca é dividido por uma quebra de página."],
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": ["この画像は {size} あり、埋め込むと文書がその分大きくなります。それでも挿入しますか?","这张图片大小为 {size},嵌入后文档会相应增大。仍要插入吗?","這張圖片大小為 {size},嵌入後文件會相應增大。仍要插入嗎?","Esta imagen pesa {size}, e insertarla aumentará el documento en esa cantidad. ¿Insertarla de todos modos?","Cette image pèse {size}, et l'intégrer augmentera d'autant la taille du document. L'insérer quand même ?","Dieses Bild ist {size} groß, und das Einbetten macht das Dokument entsprechend größer. Trotzdem einfügen?","Questa immagine è di {size}, e incorporarla renderà il documento più grande di altrettanto. Inserirla comunque?","Esta imagem tem {size}, e incorporá-la aumenta o documento nessa mesma medida. Inserir mesmo assim?"],
+ "This reference points at something that is no longer in the document": ["この参照は文書内に存在しないものを指しています","此引用指向的内容已不在文档中","此參照指向的內容已不在文件中","Esta referencia apunta a algo que ya no está en el documento","Cette référence pointe vers un élément qui n'est plus dans le document","Dieser Verweis zeigt auf etwas, das nicht mehr im Dokument ist","Questo riferimento punta a qualcosa che non è più nel documento","Esta referência aponta para algo que não está mais no documento"],
+ "Those side margins leave no room for text.": ["左右の余白が広すぎて本文のスペースがありません。","左右页边距过大,没有留出文本空间。","左右邊界過大,沒有留出文字空間。","Esos márgenes laterales no dejan espacio para el texto.","Ces marges latérales ne laissent aucune place au texte.","Diese seitlichen Ränder lassen keinen Platz für Text.","Questi margini laterali non lasciano spazio al testo.","Essas margens laterais não deixam espaço para o texto."],
+ "Those top and bottom margins leave no room for text.": ["上下の余白が広すぎて本文のスペースがありません。","上下页边距过大,没有留出文本空间。","上下邊界過大,沒有留出文字空間。","Esos márgenes superior e inferior no dejan espacio para el texto.","Ces marges du haut et du bas ne laissent aucune place au texte.","Diese oberen und unteren Ränder lassen keinen Platz für Text.","Questi margini superiore e inferiore non lasciano spazio al testo.","Essas margens superior e inferior não deixam espaço para o texto."],
+ "Top / bottom (in)": ["上 / 下(インチ)","上 / 下(英寸)","上 / 下(英吋)","Superior / inferior (in)","Haut / bas (po)","Oben / unten (Zoll)","Superiore / inferiore (in)","Superior / inferior (pol)"],
+ "Top / bottom (mm)": ["上 / 下(mm)","上 / 下(毫米)","上 / 下(公釐)","Superior / inferior (mm)","Haut / bas (mm)","Oben / unten (mm)","Superiore / inferiore (mm)","Superior / inferior (mm)"],
+ "Track changes": ["変更履歴の記録","修订","追蹤修訂","Control de cambios","Suivi des modifications","Änderungen nachverfolgen","Registra modifiche","Controlar alterações"],
+ "Tracked changes": ["変更履歴","修订","修訂","Cambios control de cambios","Modifications suivies","Nachverfolgte Änderungen","Modifiche registrate","Alterações controladas"],
+ "Tracking is on. Edits you make from now on are recorded here.": ["記録はオンです。これ以降の編集はここに記録されます。","跟踪已开启。此后的编辑都会记录在此。","追蹤已開啟。此後的編輯都會記錄在這裡。","El seguimiento está activado. Las ediciones que hagas a partir de ahora se registran aquí.","Le suivi est activé. Les modifications que vous apportez désormais sont enregistrées ici.","Die Nachverfolgung ist aktiviert. Änderungen, die Sie ab jetzt vornehmen, werden hier erfasst.","Il tracciamento è attivo. Le modifiche che apporti da ora in poi vengono registrate qui.","O controle está ativado. As edições que você fizer a partir de agora são registradas aqui."],
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": ["プロパティパネルで「変更履歴の記録」をオンにするか、⋯ から「スナップショット」を取得して「変更をレビュー」を使用してください。","在属性面板中开启“修订”,或从 ⋯ 中获取“快照”并使用“审阅修订”。","在屬性面板中開啟「追蹤修訂」,或從 ⋯ 取得「快照」並使用「校閱修訂」。","Activa «Control de cambios» en el panel de propiedades, o toma una Instantánea desde ⋯ y usa Revisar cambios.","Activez « Suivi des modifications » dans le panneau des propriétés, ou prenez un instantané depuis ⋯ et utilisez Réviser les modifications.","Aktivieren Sie „Änderungen nachverfolgen“ im Eigenschaftenbereich, oder erstellen Sie über ⋯ eine Momentaufnahme und verwenden Sie Änderungen überprüfen.","Attiva \"Registra modifiche\" nel pannello delle proprietà, oppure crea un'istantanea da ⋯ e usa Rivedi modifiche.","Ative “Controlar alterações” no painel de propriedades, ou tire um Instantâneo em ⋯ e use Revisar alterações."],
+ "Typeface": ["書体","字体","字體","Tipo de letra","Police","Schriftart","Carattere","Fonte"],
+ "US Legal": ["US リーガル","美国法律用纸","美國法律用紙","Legal (EE. UU.)","Légal US","US Legal","Legale USA","US Legal"],
+ "US Letter": ["US レター","美国信纸","美國信紙","Carta (EE. UU.)","Lettre US","US Letter","Lettera USA","US Letter"],
+ "Underline (⌘U)": ["下線 (⌘U)","下划线 (⌘U)","底線 (⌘U)","Subrayado (⌘U)","Souligné (⌘U)","Unterstrichen (⌘U)","Sottolineato (⌘U)","Sublinhado (⌘U)"],
+ "Undo (⌘Z)": ["元に戻す (⌘Z)","撤销 (⌘Z)","復原 (⌘Z)","Deshacer (⌘Z)","Annuler (⌘Z)","Rückgängig (⌘Z)","Annulla (⌘Z)","Desfazer (⌘Z)"],
+ "Unsaved changes from {when} were found.": ["{when} の保存されていない変更が見つかりました。","找到了 {when} 的未保存更改。","找到了 {when} 的未儲存變更。","Se han encontrado cambios sin guardar de {when}.","Des modifications non enregistrées de {when} ont été trouvées.","Nicht gespeicherte Änderungen von {when} wurden gefunden.","Sono state trovate modifiche non salvate del {when}.","Foram encontradas alterações não salvas de {when}."],
+ "Untitled": ["無題","无标题","無標題","Sin título","Sans titre","Unbenannt","Senza titolo","Sem título"],
+ "Up to date — v{v}.": ["最新です — v{v}。","已是最新 — v{v}。","已是最新 — v{v}。","Al día: v{v}.","À jour — v{v}.","Aktuell – v{v}.","Aggiornato — v{v}.","Atualizado — v{v}."],
+ "Update style to match this paragraph": ["この段落に合わせてスタイルを更新","将样式更新为与此段落一致","將樣式更新為與此段落一致","Actualizar el estilo para que coincida con este párrafo","Mettre à jour le style pour correspondre à ce paragraphe","Formatvorlage an diesen Absatz anpassen","Aggiorna lo stile in base a questo paragrafo","Atualizar o estilo para corresponder a este parágrafo"],
+ "Update this file": ["このファイルを更新","更新此文件","更新此檔案","Actualizar este archivo","Mettre à jour ce fichier","Diese Datei aktualisieren","Aggiorna questo file","Atualizar este arquivo"],
+ "Updates": ["更新","更新","更新","Actualizaciones","Mises à jour","Updates","Aggiornamenti","Atualizações"],
+ "Use document defaults": ["文書の既定値を使用","使用文档默认值","使用文件預設值","Usar los valores predeterminados del documento","Utiliser les valeurs par défaut du document","Dokumentstandards verwenden","Usa i valori predefiniti del documento","Usar os padrões do documento"],
+ "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.": ["バージョン {v} が利用可能です。","有新版本 {v} 可用。","有新版本 {v} 可用。","La versión {v} está disponible.","La version {v} est disponible.","Version {v} ist verfügbar.","La versione {v} è disponibile.","A versão {v} está disponível."],
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": ["バージョンは編集中に自動保存され、このブラウザにのみ保持され、アップロードされることはありません。復元は ⌘Z で元に戻せます。","版本会在你编辑时自动保存,仅保留在此浏览器中,绝不会上传。恢复操作可用 ⌘Z 撤销。","版本會在你編輯時自動儲存,僅保留在這個瀏覽器中,絕不會上傳。還原可用 ⌘Z 復原。","Las versiones se guardan automáticamente mientras editas, se conservan solo en este navegador y nunca se suben. Restaurar se puede deshacer con ⌘Z.","Les versions sont enregistrées automatiquement au fil de vos modifications, conservées uniquement dans ce navigateur et jamais téléversées. La restauration est annulable avec ⌘Z.","Versionen werden beim Bearbeiten automatisch gespeichert, nur in diesem Browser aufbewahrt und nie hochgeladen. Das Wiederherstellen lässt sich mit ⌘Z rückgängig machen.","Le versioni vengono salvate automaticamente mentre modifichi, conservate solo in questo browser e mai caricate online. Il ripristino è annullabile con ⌘Z.","As versões são salvas automaticamente conforme você edita, mantidas apenas neste navegador e nunca enviadas. A restauração pode ser desfeita com ⌘Z."],
+ "View-only copy saved — it follows the live session": ["閲覧専用のコピーを保存しました — ライブセッションに追従します","已保存只读副本 — 它会跟随实时协作","已儲存唯讀副本 — 它會跟隨即時協作","Copia de solo lectura guardada: sigue la sesión en directo","Copie en lecture seule enregistrée — elle suit la session en direct","Schreibgeschützte Kopie gespeichert – sie folgt der Live-Sitzung","Copia di sola lettura salvata: segue la sessione in diretta","Cópia somente leitura salva — ela acompanha a sessão ao vivo"],
+ "View-only copy…": ["閲覧専用のコピー…","只读副本…","唯讀副本…","Copia de solo lectura…","Copie en lecture seule…","Schreibgeschützte Kopie …","Copia di sola lettura…","Cópia somente para visualização…"],
+ "Viewer": ["閲覧者","查看者","檢視者","Lector","Lecteur","Betrachter","Lettore","Visualizador"],
+ "Visit bento.page (opens in a new tab)": ["bento.page を開く(新しいタブ)","访问 bento.page(在新标签页中打开)","前往 bento.page(在新分頁中開啟)","Visitar bento.page (se abre en una pestaña nueva)","Visiter bento.page (ouvre un nouvel onglet)","bento.page besuchen (öffnet einen neuen Tab)","Visita bento.page (si apre in una nuova scheda)","Visitar bento.page (abre em uma nova aba)"],
+ "Weight": ["太さ","字重","字重","Grosor","Graisse","Schriftstärke","Peso","Peso"],
+ "What the picture shows": ["画像の内容","图片内容说明","圖片內容說明","Qué muestra la imagen","Ce que montre l'image","Was das Bild zeigt","Cosa mostra l'immagine","O que a imagem mostra"],
+ "Whole word": ["単語単位で検索","全字匹配","全字相符","Solo palabras completas","Mot entier","Ganzes Wort","Parola intera","Palavra inteira"],
+ "Width (%)": ["幅 (%)","宽度(%)","寬度(%)","Ancho (%)","Largeur (%)","Breite (%)","Larghezza (%)","Largura (%)"],
+ "Width × height (in)": ["幅 × 高さ(インチ)","宽 × 高(英寸)","寬 × 高(英吋)","Ancho × alto (in)","Largeur × hauteur (po)","Breite × Höhe (Zoll)","Larghezza × altezza (in)","Largura × altura (pol)"],
+ "Width × height (mm)": ["幅 × 高さ(mm)","宽 × 高(毫米)","寬 × 高(公釐)","Ancho × alto (mm)","Largeur × hauteur (mm)","Breite × Höhe (mm)","Larghezza × altezza (mm)","Largura × altura (mm)"],
+ "You": ["あなた","你","你","Tú","Vous","Sie","Tu","Você"],
+ "Your name": ["名前","你的姓名","你的名稱","Tu nombre","Votre nom","Ihr Name","Il tuo nome","Seu nome"],
+ "Your name, so your comments are attributed": ["コメントの記名に使う名前","你的姓名,用于标注你的批注","你的名稱,用於標示你的註解","Tu nombre, para atribuir tus comentarios","Votre nom, pour attribuer vos commentaires","Ihr Name, damit Ihre Kommentare zugeordnet werden können","Il tuo nome, per attribuire i tuoi commenti","Seu nome, para que seus comentários sejam atribuídos"],
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": ["bento/type は MIT ライセンスです。改行処理は tex-linebreak 経由の Knuth–Plass アルゴリズムを使用し、ハイフネーションパターンは Liang のものです。すべてこのファイル内で完結しており、何も取得されず、どこにも送信されません。","bento/type 采用 MIT 许可证。断行使用 tex-linebreak 提供的 Knuth–Plass 算法;连字规则采用 Liang 的模式。一切都在此文件内运行——不会获取任何内容,也不会向任何地方发送数据。","bento/type 採用 MIT 授權。斷行使用 tex-linebreak 提供的 Knuth–Plass 演算法;斷字規則採用 Liang 的樣式。一切都在此檔案內運作 — 不會擷取任何內容,也不會向任何地方傳送資料。","bento/type tiene licencia MIT. El salto de línea usa el algoritmo Knuth–Plass a través de tex-linebreak; los patrones de guionización son los de Liang. Todo funciona en este archivo: no se obtiene nada externo ni se envía nada a ningún sitio.","bento/type est sous licence MIT. La coupure de ligne utilise l'algorithme de Knuth–Plass via tex-linebreak ; les motifs de césure sont ceux de Liang. Tout s'exécute dans ce fichier — rien n'est récupéré, rien n'est envoyé où que ce soit.","bento/type steht unter der MIT-Lizenz. Der Zeilenumbruch verwendet den Knuth–Plass-Algorithmus über tex-linebreak; die Trennmuster stammen von Liang. Alles läuft in dieser Datei – nichts wird abgerufen und nichts wird irgendwohin gesendet.","bento/type è concesso in licenza MIT. L'interruzione di riga usa l'algoritmo di Knuth–Plass tramite tex-linebreak; i modelli di sillabazione sono quelli di Liang. Tutto viene eseguito in questo file: non viene recuperato né inviato nulla altrove.","O bento/type é licenciado sob MIT. A quebra de linhas usa o algoritmo de Knuth–Plass via tex-linebreak; os padrões de hifenização são os de Liang. Tudo é executado neste arquivo — nada é buscado e nada é enviado a lugar nenhum."],
+ "cited {n} times": ["{n} 回引用","已被引用 {n} 次","已被引用 {n} 次","citada {n} veces","citée {n} fois","{n} Mal zitiert","citata {n} volte","citado {n} vezes"],
+ "default": ["既定","默认","預設","predeterminado","par défaut","Standard","predefinito","padrão"],
+ "deleted": ["削除","已删除","已刪除","eliminado","supprimé","gelöscht","eliminato","excluído"],
+ "https://example.com": ["https://example.com","https://example.com","https://example.com","https://example.com","https://example.com","https://example.com","https://example.com","https://example.com"],
+ "in": ["インチ","英寸","英吋","in","po","Zoll","in","pol"],
+ "inserted": ["挿入","已插入","已插入","insertado","inséré","eingefügt","inserito","inserido"],
+ "mixed": ["混在","混合","混合","mixto","mixte","gemischt","misto","misto"],
+ "mm": ["mm","毫米","公釐","mm","mm","mm","mm","mm"],
+ "not cited": ["未引用","未引用","未引用","sin citar","non citée","nicht zitiert","non citata","não citado"],
+ "pt": ["pt","磅","pt","pt","pt","pt","pt","pt"],
+ "the text this was about is gone": ["対象のテキストは削除されました","这条批注所指的文本已被删除","這則註解所指的文字已被刪除","el texto al que se refería ha desaparecido","le texte concerné a disparu","der zugehörige Text ist nicht mehr vorhanden","il testo a cui si riferiva non c'è più","o texto a que isto se referia não existe mais"],
+ "v{app} · format v{fmt}": ["v{app} ・ フォーマット v{fmt}","v{app} · 格式 v{fmt}","v{app} · 格式 v{fmt}","v{app} · formato v{fmt}","v{app} · format v{fmt}","v{app} · Format v{fmt}","v{app} · formato v{fmt}","v{app} · formato v{fmt}"],
+ "{added} added, {replaced} updated": ["{added} 件追加、{replaced} 件更新","已添加 {added},已更新 {replaced}","已新增 {added},已更新 {replaced}","{added} añadidas, {replaced} actualizadas","{added} ajoutées, {replaced} mises à jour","{added} hinzugefügt, {replaced} aktualisiert","{added} aggiunte, {replaced} aggiornate","{added} adicionadas, {replaced} atualizadas"],
+ "{key} is cited in this document. Remove it anyway?": ["{key} はこの文書で引用されています。それでも削除しますか?","{key} 已在本文档中被引用。仍要移除吗?","{key} 已在本文件中被引用。仍要移除嗎?","{key} está citada en este documento. ¿Quitarla de todos modos?","{key} est citée dans ce document. La supprimer quand même ?","{key} wird in diesem Dokument zitiert. Trotzdem entfernen?","{key} è citata in questo documento. Rimuoverla comunque?","{key} está citado neste documento. Remover mesmo assim?"],
+ "{m} changes": ["変更 {m} 件","{m} 处修订","{m} 項修訂","{m} cambios","{m} modifications","{m} Änderungen","{m} modifiche","{m} alterações"],
+ "{name} (you)": ["{name}(あなた)","{name}(你)","{name}(你)","{name} (tú)","{name} (vous)","{name} (Sie)","{name} (tu)","{name} (você)"],
+ "{name} — click to follow": ["{name} — クリックして追跡","{name} — 点击跟随","{name} — 按一下跟隨","{name}: haz clic para seguir","{name} — cliquez pour suivre","{name} – klicken, um zu folgen","{name}: fai clic per seguire","{name} — clique para seguir"],
+ "{n} broken reference(s)": ["無効な参照 {n} 件","{n} 处无效引用","{n} 項失效參照","{n} referencia(s) rota(s)","{n} référence(s) rompue(s)","{n} defekte(r) Verweis(e)","{n} riferimento/i non valido/i","{n} referência(s) quebrada(s)"],
+ "{n} more": ["他 {n} 件","还有 {n} 个","還有 {n} 個","{n} más","{n} de plus","{n} weitere","{n} altri","mais {n}"],
+ "{n} of {m}": ["{m} 件中 {n} 件目","第 {n} / {m} 个","第 {n} / {m} 個","{n} de {m}","{n} sur {m}","{n} von {m}","{n} di {m}","{n} de {m}"],
+ "{n} of {total}": ["{total} 件中 {n} 件目","第 {n} / {total} 个","第 {n} / {total} 個","{n} de {total}","{n} sur {total}","{n} von {total}","{n} di {total}","{n} de {total}"],
+ "{n} replies": ["返信 {n} 件","{n} 条回复","{n} 則回覆","{n} respuestas","{n} réponses","{n} Antworten","{n} risposte","{n} respostas"],
+ "{open} open of {all}": ["{all} 件中 {open} 件が未解決","{all} 条中 {open} 条未解决","{all} 則中 {open} 則未解決","{open} abiertas de {all}","{open} ouverts sur {all}","{open} von {all} offen","{open} aperti su {all}","{open} abertos de {all}"],
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": ["{pages} ページ ・ {words} 語 ・ {blocks} ブロック ・ 脚注 {notes} 件。文書・エディタ・組版エンジンはすべてこの 1 ファイルに収められています。","{pages} 页 · {words} 字 · {blocks} 个块 · {notes} 条脚注。文档、编辑器和排版引擎全都在这一个文件中。","{pages} 頁 · {words} 字 · {blocks} 個區塊 · {notes} 則註腳。文件、編輯器與排版引擎全都在這一個檔案中。","{pages} página(s) · {words} palabras · {blocks} bloques · {notes} nota(s) al pie. El documento, el editor y el compositor tipográfico están todos en este único archivo.","{pages} page(s) · {words} mots · {blocks} blocs · {notes} note(s) de bas de page. Le document, l'éditeur et le compositeur sont tous dans ce seul fichier.","{pages} Seite(n) · {words} Wörter · {blocks} Blöcke · {notes} Fußnote(n). Dokument, Editor und Satzsystem befinden sich alle in dieser einen Datei.","{pages} pagina/e · {words} parole · {blocks} blocchi · {notes} nota/e a piè di pagina. Il documento, l'editor e il compositore tipografico sono tutti in questo unico file.","{pages} página(s) · {words} palavras · {blocks} blocos · {notes} nota(s) de rodapé. O documento, o editor e o compositor tipográfico estão todos neste único arquivo."],
+ "{rows} rows × {cols} columns": ["{rows} 行 × {cols} 列","{rows} 行 × {cols} 列","{rows} 列 × {cols} 欄","{rows} filas × {cols} columnas","{rows} lignes × {cols} colonnes","{rows} Zeilen × {cols} Spalten","{rows} righe × {cols} colonne","{rows} linhas × {cols} colunas"],
+ "{size}, {orient} · text area {w} × {h} {unit}": ["{size}、{orient} ・ テキストエリア {w} × {h} {unit}","{size},{orient} · 文本区域 {w} × {h} {unit}","{size},{orient} · 文字區域 {w} × {h} {unit}","{size}, {orient} · área de texto {w} × {h} {unit}","{size}, {orient} · zone de texte {w} × {h} {unit}","{size}, {orient} · Textbereich {w} × {h} {unit}","{size}, {orient} · area di testo {w} × {h} {unit}","{size}, {orient} · área de texto {w} × {h} {unit}"],
+ "{when} (most recent)": ["{when}(最新)","{when}(最新)","{when}(最新)","{when} (más reciente)","{when} (le plus récent)","{when} (neueste)","{when} (più recente)","{when} (mais recente)"],
+ "— mixed —": ["— 混在 —","— 混合 —","— 混合 —","— mixto —","— mixte —","— gemischt —","— misto —","— misto —"],
+ "…": ["…","…","…","…","…","…","…","…"],
+ "⌃⇧↑ / ⌃⇧↓": ["⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓","⌃⇧↑ / ⌃⇧↓"],
+ "○ Not live — turns on when you share": ["○ ライブではありません — 共有するとオンになります","○ 未实时协作 — 共享后开启","○ 未即時協作 — 共用後開啟","○ No está en directo: se activa al compartir","○ Pas en direct — s'active lorsque vous partagez","○ Nicht live – wird beim Freigeben aktiviert","○ Non in diretta: si attiva quando condividi","○ Não está ao vivo — ativa quando você compartilha"],
+ "● Connecting…": ["● 接続中…","● 正在连接…","● 正在連線…","● Conectando…","● Connexion…","● Verbinden …","● Connessione…","● Conectando…"],
+ "● Live — {n} connected": ["● ライブ — {n} 人が接続中","● 实时协作 — 已连接 {n} 人","● 即時協作 — 已連線 {n} 人","● En directo: {n} conectados","● En direct — {n} connectés","● Live – {n} verbunden","● In diretta: {n} connessi","● Ao vivo — {n} conectados"],
+}
diff --git a/type/src/i18n/pt.ts b/type/src/i18n/pt.ts
new file mode 100644
index 00000000..f85ce8eb
--- /dev/null
+++ b/type/src/i18n/pt.ts
@@ -0,0 +1,417 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Portuguese (Brazilian) — machine-drafted, native review welcome.
+// Terminology follows pt-BR, matching slides/src/i18n/pt.ts: arquivo (not
+// ficheiro), tela (not ecrã), salvar (not guardar), compartilhar (not
+// partilhar). European Portuguese differs enough to deserve its own catalog
+// later — see docs/i18n-packs.md.
+//
+// The English string is the KEY: it must match the source byte-for-byte,
+// including punctuation and curly quotes, or the lookup silently falls back
+// to English forever. Placeholders in {braces} are substituted at runtime.
+//
+// Terms: document = documento · block = bloco · caption = legenda ·
+// tracked change = alteração controlada
+import type { Catalog } from '../i18n'
+
+export const pt: Catalog = {
+ " (downloads a copy)": " (baixa uma cópia)",
+ "(empty paragraph)": "(parágrafo vazio)",
+ "(no heading)": "(sem cabeçalho)",
+ "(untitled)": "(sem título)",
+ "1 change": "1 alteração",
+ "A live viewer: follows every edit as it happens but can never change the document.": "Um visualizador ao vivo: acompanha cada edição em tempo real, mas nunca pode alterar o documento.",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "Uma declaração feita por você mesmo, não uma identidade — este é o nome exibido ao lado dos seus comentários e alterações controladas, e qualquer pessoa pode digitar qualquer nome aqui. Ele é lembrado neste navegador, aplica-se imediatamente e nunca é salvo no arquivo em si (somente os comentários e as alterações que ele assina são).",
+ "About bento/type": "Sobre o bento/type",
+ "About bento/type — version, updates, language": "Sobre o bento/type — versão, atualizações, idioma",
+ "About this document": "Sobre este documento",
+ "Accept": "Aceitar",
+ "Accept (⌘⌥A)": "Aceitar (⌘⌥A)",
+ "Accept all": "Aceitar tudo",
+ "Access reset — only copies saved from now on can join": "Acesso redefinido — apenas cópias salvas de agora em diante podem entrar",
+ "Add column": "Adicionar coluna",
+ "Add row": "Adicionar linha",
+ "Align": "Alinhar",
+ "Alignment": "Alinhamento",
+ "All markup": "Todas as marcações",
+ "All {all} resolved": "Todos os {all} resolvidos",
+ "Already at the end.": "Já está no fim.",
+ "Already at the top.": "Já está no início.",
+ "Alt text": "Texto alternativo",
+ "Alt+Shift+↑ / ↓": "Alt+Shift+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "Uma atualização é um arquivo NOVO, baixado ao lado deste — o original permanece intacto, então uma atualização ruim se desfaz excluindo-a. Cada versão tem a assinatura verificada antes de ser aplicada.",
+ "Appearance": "Aspeto",
+ "Applied style": "Estilo aplicado",
+ "Apply": "Aplicar",
+ "Author–year — APA-ish": "Autor–ano — estilo APA",
+ "Auto": "Automático",
+ "Bento artifact": "Artefato Bento",
+ "Body": "Corpo",
+ "Bold": "Negrito",
+ "Bold (⌘B)": "Negrito (⌘B)",
+ "Book (1.62)": "Livro (1,62)",
+ "Both — “Table 2 (page 7)”": "Ambos — “Tabela 2 (página 7)”",
+ "Bulleted list": "Lista com marcadores",
+ "Cancel": "Cancelar",
+ "Caption": "Legenda",
+ "Caption this table or figure": "Legendar esta tabela ou figura",
+ "Centre": "Centralizado",
+ "Check for updates": "Verificar atualizações",
+ "Checking…": "Verificando…",
+ "Citation": "Citação",
+ "Cite here": "Citar aqui",
+ "Cited but not in this document": "Citado, mas não está neste documento",
+ "Cite…": "Citar…",
+ "Clear direct formatting": "Limpar formatação direta",
+ "Close": "Fechar",
+ "Code": "Código",
+ "Colour": "Cor",
+ "Comment on the selected text (⌘⇧M)": "Comentar o texto selecionado (⌘⇧M)",
+ "Comment on “{quote}”": "Comentar “{quote}”",
+ "Comments": "Comentários",
+ "Comments hidden": "Comentários ocultos",
+ "Comments shown": "Comentários visíveis",
+ "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 to the live session…": "Conectando à sessão ao vivo…",
+ "Contents": "Índice",
+ "Contents inserted. Page numbers fill in as the document paginates.": "Sumário inserido. Os números de página são preenchidos conforme o documento é paginado.",
+ "Copy document JSON": "Copiar JSON do documento",
+ "Could not check right now.": "Não foi possível verificar agora.",
+ "Credits": "Créditos",
+ "Cross-reference": "Referência cruzada",
+ "Custom": "Personalizado",
+ "Dark": "Escuro",
+ "Default": "Padrão",
+ "Default size (px)": "Tamanho padrão (px)",
+ "Default typeface": "Fonte padrão",
+ "Delete": "Excluir",
+ "Delete this comment?": "Excluir este comentário?",
+ "Delete this thread": "Excluir esta conversa",
+ "Delete this whole thread?": "Excluir toda esta conversa?",
+ "Delete your comment": "Excluir seu comentário",
+ "Discard": "Descartar",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "Desconecta este documento da sessão ao vivo. As cópias mantêm seu último estado e podem voltar a se conectar se você ficar ao vivo novamente.",
+ "Display": "Exibição",
+ "Document": "Documento",
+ "Document default": "Padrão do documento",
+ "Document id": "ID do documento",
+ "Document title": "Título do documento",
+ "Drag to move, click for options": "Arraste para mover, clique para ver opções",
+ "Edit": "Editar",
+ "Edit your comment": "Editar seu comentário",
+ "Edit “{name}”": "Editar “{name}”",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "Editar um estilo altera todos os parágrafos que o utilizam — inclusive aqueles que nunca definiram um estilo explicitamente e estão apenas usando o padrão do seu tipo.",
+ "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",
+ "Embed a Bento chart, deck or page": "Incorporar um gráfico, apresentação ou página Bento",
+ "Embedded from {app}": "Incorporado de {app}",
+ "Equation added — edit it in the Math panel": "Equação adicionada — edite-a no painel Matemática",
+ "Equation block": "Bloco de equação",
+ "Figure": "Figura",
+ "Figures": "Figuras",
+ "File": "Arquivo",
+ "Find": "Localizar",
+ "Find and replace (⌘F)": "Localizar e substituir (⌘F)",
+ "Find in document": "Localizar no documento",
+ "First line": "Primeira linha",
+ "First-line indent (px)": "Recuo da primeira linha (px)",
+ "Follow the system": "Seguir o sistema",
+ "Format — show or hide the properties panel": "Formato — mostrar ou ocultar o painel de propriedades",
+ "Formatting": "Formatação",
+ "Formula": "Fórmula",
+ "Formula (⌘M)": "Fórmula (⌘M)",
+ "Formula added — edit it in the Math panel": "Fórmula adicionada — edite-a no painel Matemática",
+ "From {app}": "De {app}",
+ "Go live": "Ficar ao vivo",
+ "Guest": "Convidado",
+ "Header row": "Linha de cabeçalho",
+ "Heading 1": "Título 1",
+ "Heading 2": "Título 2",
+ "Heading 3": "Título 3",
+ "Headings": "Títulos",
+ "Headings appear here.": "Os títulos aparecem aqui.",
+ "Hide comments": "Ocultar comentários",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "Como você vê um documento, não uma alteração nele — nada aqui é salvo no arquivo.",
+ "Import": "Importar",
+ "Import BibTeX": "Importar BibTeX",
+ "Import BibTeX…": "Importar BibTeX…",
+ "Insert": "Inserir",
+ "Insert a block below this one": "Inserir um bloco abaixo deste",
+ "Insert a cross-reference": "Inserir uma referência cruzada",
+ "Insert a cross-reference to a caption": "Inserir uma referência cruzada a uma legenda",
+ "Insert a display equation on its own line": "Inserir uma equação em destaque, em linha própria",
+ "Insert a picture": "Inserir uma imagem",
+ "Insert a picture, table, formula, citation…": "Inserir imagem, tabela, fórmula, citação…",
+ "Insert a table": "Inserir uma tabela",
+ "Insert a table of contents": "Inserir um sumário",
+ "Insert below": "Inserir abaixo",
+ "Insert citation": "Inserir citação",
+ "Invite to edit…": "Convidar para editar…",
+ "Italic": "Itálico",
+ "Italic (⌘I)": "Itálico (⌘I)",
+ "Justified": "Justificado",
+ "Keep together": "Manter junto",
+ "Keep with next": "Manter com o próximo",
+ "Label — “Table 2”": "Rótulo — “Tabela 2”",
+ "Landscape": "Paisagem",
+ "Layout": "Layout",
+ "Left": "Esquerda",
+ "Left / right (in)": "Esquerda / direita (pol)",
+ "Left / right (mm)": "Esquerda / direita (mm)",
+ "Light": "Fino",
+ "Line spacing": "Espaçamento entre linhas",
+ "Link (⌘K)": "Link (⌘K)",
+ "Link address": "Endereço do link",
+ "Live — this document is being shared": "Ao vivo — este documento está sendo compartilhado",
+ "Margins": "Margens",
+ "Margins…": "Margens…",
+ "Match case": "Diferenciar maiúsculas",
+ "Math": "Matemática",
+ "Medium": "Médio",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "Gera chaves novas em folha. Toda cópia enviada antes para de sincronizar de vez; compartilhe cópias novas depois.",
+ "Modified": "Modificado",
+ "More — revisions, signing, print": "Mais — revisões, assinatura, impressão",
+ "Move down": "Mover para baixo",
+ "Move this block": "Mover este bloco",
+ "Move up": "Mover para cima",
+ "Name": "Nome",
+ "Navigate": "Navegar",
+ "Next change (⌘⌥N)": "Próxima alteração (⌘⌥N)",
+ "Next match (Enter)": "Próxima ocorrência (Enter)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "Ainda não há legendas. Posicione o cursor em uma tabela e pressione o botão de legenda; a numeração e todas as referências a ela são atualizadas automaticamente.",
+ "No markup": "Sem marcações",
+ "No matches": "Nenhuma ocorrência",
+ "No saved versions yet — they accumulate as you edit.": "Ainda não há versões salvas — elas se acumulam conforme você edita.",
+ "No sources yet. Paste a .bib file to get started.": "Ainda não há fontes. Cole um arquivo .bib para começar.",
+ "No tracked changes": "Nenhuma alteração controlada",
+ "Not sharing yet — click to start a live session": "Ainda não está compartilhando — clique para iniciar uma sessão ao vivo",
+ "Nothing is cited yet, so the list is empty.": "Nada foi citado ainda, então a lista está vazia.",
+ "Nothing matches.": "Nada corresponde.",
+ "Nothing that looks like a BibTeX entry.": "Nada que se pareça com uma entrada BibTeX.",
+ "Nothing to refer to yet — caption a table first": "Ainda não há nada a referenciar — legende uma tabela primeiro",
+ "Nothing was imported.": "Nada foi importado.",
+ "Number sections": "Numerar seções",
+ "Number this heading": "Numerar este título",
+ "Numbered as": "Numerado como",
+ "Numbered list": "Lista numerada",
+ "Numeric [1] — IEEE-ish": "Numérico [1] — estilo IEEE",
+ "Off by default: most documents already carry their numbers in the heading text.": "Desativado por padrão: a maioria dos documentos já traz a numeração no texto do título.",
+ "Offline mode is on — nothing leaves this computer.": "O modo offline está ativado — nada sai deste computador.",
+ "Only the document owner can mint editor invites": "Somente o proprietário do documento pode gerar convites de edição",
+ "Open": "Abrir",
+ "Orientation": "Orientação",
+ "Original": "Original",
+ "Outline — show or hide the document map": "Estrutura — mostrar ou ocultar o mapa do documento",
+ "Owner": "Dono",
+ "Page": "Página",
+ "Page break before": "Quebra de página antes",
+ "Page break inserted": "Quebra de página inserida",
+ "Page break removed": "Quebra de página removida",
+ "Page breaking": "Quebra de página",
+ "Page or section, optional — e.g. p. 34": "Página ou seção, opcional — ex.: p. 34",
+ "Page setup": "Configuração da página",
+ "Page size": "Tamanho da página",
+ "Page — “page 7”": "Página — “página 7”",
+ "Pages": "Páginas",
+ "Paragraph": "Parágrafo",
+ "Paragraph defaults": "Padrões de parágrafo",
+ "Paragraphs follow these unless they say otherwise.": "Os parágrafos seguem estes valores, salvo indicação em contrário.",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "Cole o BibTeX abaixo. @article, @book, @inproceedings, @techreport e @misc são modelados; qualquer outro tipo é importado como @misc para que ainda seja possível citá-lo.",
+ "Paste BibTeX…": "Colar BibTeX…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "Cole o JSON de um documento bento/type. Isso substitui o documento e pode ser desfeito com ⌘Z.",
+ "People": "Pessoas",
+ "Picture": "Imagem",
+ "Portrait": "Retrato",
+ "Previous change (⌘⌥P)": "Alteração anterior (⌘⌥P)",
+ "Previous match (⇧Enter)": "Ocorrência anterior (⇧Enter)",
+ "Print or PDF…": "Imprimir ou PDF…",
+ "Properties": "Propriedades",
+ "Put the caret in a heading first.": "Posicione o cursor em um título primeiro.",
+ "Put the caret in a paragraph first": "Posicione o cursor em um parágrafo primeiro",
+ "Put the caret in the document first": "Posicione o cursor no documento primeiro",
+ "Put the caret in the table or paragraph to caption": "Posicione o cursor na tabela ou no parágrafo a legendar",
+ "Put the caret on a tracked change first": "Posicione o cursor sobre uma alteração controlada primeiro",
+ "Put the caret where the citation goes first": "Posicione o cursor onde a citação deve entrar",
+ "Put the caret where the formula should go": "Posicione o cursor onde a fórmula deve entrar",
+ "Put the caret where the reference goes": "Posicione o cursor onde a referência deve entrar",
+ "Quote": "Citação",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "Lido em voz alta por leitores de tela e mantido como texto caso a imagem se perca.",
+ "Redo (⇧⌘Z)": "Refazer (⇧⌘Z)",
+ "References, as they will print": "Referências, como serão impressas",
+ "Regular": "Regular",
+ "Reject": "Rejeitar",
+ "Reject (⌘⌥D)": "Rejeitar (⌘⌥D)",
+ "Reject all": "Rejeitar tudo",
+ "Remove": "Remover",
+ "Reopen": "Reabrir",
+ "Replace": "Substituir",
+ "Replace all": "Substituir tudo",
+ "Replace every match, as one undo step": "Substituir todas as ocorrências, como uma única ação de desfazer",
+ "Replace from JSON…": "Substituir a partir de JSON…",
+ "Replace this match": "Substituir esta ocorrência",
+ "Replace with": "Substituir por",
+ "Replaced 1 match": "1 ocorrência substituída",
+ "Replaced {n} matches": "{n} ocorrências substituídas",
+ "Reply": "Responder",
+ "Reply…": "Responder…",
+ "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…",
+ "Resolve": "Resolver",
+ "Restore": "Restaurar",
+ "Restored your unsaved changes": "Suas alterações não salvas foram restauradas",
+ "Results": "Resultados",
+ "Review": "Revisão",
+ "Review changes…": "Revisar alterações…",
+ "Right": "Direita",
+ "Save": "Salvar",
+ "Save (⌘S)": "Salvar (⌘S)",
+ "Save to {file}": "Salvar em {file}",
+ "Saved": "Salvo",
+ "Saved to {file}": "Salvo em {file}",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "Salva uma cópia para enviar. Quem a abrir edita este documento ao vivo com você; você continua sendo o proprietário e pode removê-la da lista de Pessoas.",
+ "Saving failed": "Falha ao salvar",
+ "Search author, title or key": "Buscar autor, título ou chave",
+ "Section numbering is off.": "A numeração de seções está desativada.",
+ "Sections are numbered.": "As seções estão numeradas.",
+ "Select some text and press ⌘⇧M to comment on it.": "Selecione um trecho e pressione ⌘⇧M para comentá-lo.",
+ "Select some text first, then comment on it": "Selecione um trecho primeiro e depois comente-o",
+ "Select some text to change its typeface or size. The document default is below.": "Selecione um trecho para mudar sua fonte ou tamanho. O padrão do documento está abaixo.",
+ "Select something to see its properties.": "Selecione algo para ver suas propriedades.",
+ "Select the words you want to link": "Selecione as palavras que deseja vincular",
+ "Semibold": "Seminegrito",
+ "Share": "Compartilhar",
+ "Share a copy": "Compartilhar uma cópia",
+ "Share — invite people to edit live, or send a view-only copy": "Compartilhar — convide pessoas para editar ao vivo ou envie uma cópia somente leitura",
+ "Show comments": "Mostrar comentários",
+ "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.",
+ "Signatures": "Assinaturas",
+ "Sign…": "Assinar…",
+ "Size": "Tamanho",
+ "Size (px)": "Tamanho (px)",
+ "Snapshot": "Instantâneo",
+ "Snapshot redline": "Comparação com o instantâneo",
+ "Someone": "Alguém",
+ "Sources": "Fontes",
+ "Sources ({n})": "Fontes ({n})",
+ "Space after": "Espaço depois",
+ "Space after (px)": "Espaço depois (px)",
+ "Space before": "Espaço antes",
+ "Space before (px)": "Espaço antes (px)",
+ "Start this paragraph on a new page.": "Iniciar este parágrafo em uma nova página.",
+ "Stop sharing": "Parar de compartilhar",
+ "Stored only in this browser, never in the file or online.": "Armazenado apenas neste navegador, nunca no arquivo nem online.",
+ "Strikethrough": "Tachado",
+ "Style": "Estilo",
+ "Style updated from this paragraph": "Estilo atualizado a partir deste parágrafo",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "Suportado: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) grego, matrizes, casos.",
+ "Table": "Tabela",
+ "Tables and figures are numbered separately, in document order.": "Tabelas e figuras são numeradas separadamente, na ordem do documento.",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "As abas nesta máquina continuam sincronizadas; desative o modo offline para colaborar online.",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "Pega a formatação atual deste parágrafo e a torna o estilo — todos os parágrafos que usam este estilo passam a segui-la.",
+ "Text": "Texto",
+ "Text area: {w} × {h} {unit}": "Área de texto: {w} × {h} {unit}",
+ "That JSON could not be read.": "Não foi possível ler esse JSON.",
+ "That JSON was empty.": "Esse JSON estava vazio.",
+ "That file could not be read as a picture.": "Não foi possível ler esse arquivo como imagem.",
+ "That file does not look like a Bento document.": "Esse arquivo não parece ser um documento Bento.",
+ "That is already a caption": "Isso já é uma legenda",
+ "That is not a bento/type document: {detail}": "Isso não é um documento bento/type: {detail}",
+ "That is not an address this document can link to": "Esse não é um endereço ao qual este documento pode vincular",
+ "That sheet is larger than any printer takes.": "Essa folha é maior do que qualquer impressora aceita.",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "Essa folha é menor que 2 polegadas — escolha uma página maior.",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "O documento é a unidade de intercâmbio: entregue este JSON a uma IA, receba outro de volta e cole-o aqui. `window.bento` expõe a mesma coisa para scripts.",
+ "The first paragraph already starts a page": "O primeiro parágrafo já inicia uma página",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "A fórmula no cursor. Código semelhante a TeX; o documento armazena o código-fonte, nunca a imagem.",
+ "The table of contents needs the core render hook.": "O sumário precisa do hook de renderização do núcleo.",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "O tema é seu, não do documento — ele é lembrado neste navegador e nunca salvo no arquivo. A PÁGINA permanece branca em ambos, porque o papel é branco e quem revisa um contrato à meia-noite ainda precisa ver o que será impresso.",
+ "Theme": "Tema",
+ "Theme: {mode} — click to cycle auto/light/dark": "Tema: {mode} — clique para alternar automático/claro/escuro",
+ "These render as [?key] in the document so they cannot be missed.": "Elas aparecem como [?key] no documento para não passarem despercebidas.",
+ "This already has a caption": "Isto já tem uma legenda",
+ "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.": "Este navegador não consegue escrever de volta no arquivo, então cada vez que você salva ele cria uma nova cópia. O Chrome e o Edge em um computador conseguem salvar no lugar.",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "Esta versão ainda não consegue renderizar legendas — aplique o patch do núcleo listado no topo de xref.ts",
+ "This document has no live session to follow": "Este documento não tem sessão ao vivo para acompanhar",
+ "This document has no sources yet. Import some BibTeX first.": "Este documento ainda não tem fontes. Importe algum BibTeX primeiro.",
+ "This embed could not be displayed safely.": "Não foi possível exibir esta incorporação com segurança.",
+ "This embed is missing its data.": "Faltam os dados desta incorporação.",
+ "This file": "Este arquivo",
+ "This heading is no longer numbered.": "Este título não está mais numerado.",
+ "This heading is numbered again.": "Este título voltou a ser numerado.",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "Esta é uma cópia somente leitura — ela acompanha a sessão ao vivo, mas não pode alterar o documento.",
+ "This paragraph and the one after it stay on the same page.": "Este parágrafo e o seguinte permanecem na mesma página.",
+ "This paragraph has direct formatting of its own, on top of its style.": "Este parágrafo tem formatação direta própria, além do seu estilo.",
+ "This paragraph is never split across a page break.": "Este parágrafo nunca é dividido por uma quebra de página.",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "Esta imagem tem {size}, e incorporá-la aumenta o documento nessa mesma medida. Inserir mesmo assim?",
+ "This reference points at something that is no longer in the document": "Esta referência aponta para algo que não está mais no documento",
+ "Those side margins leave no room for text.": "Essas margens laterais não deixam espaço para o texto.",
+ "Those top and bottom margins leave no room for text.": "Essas margens superior e inferior não deixam espaço para o texto.",
+ "Top / bottom (in)": "Superior / inferior (pol)",
+ "Top / bottom (mm)": "Superior / inferior (mm)",
+ "Track changes": "Controlar alterações",
+ "Tracked changes": "Alterações controladas",
+ "Tracking is on. Edits you make from now on are recorded here.": "O controle está ativado. As edições que você fizer a partir de agora são registradas aqui.",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "Ative “Controlar alterações” no painel de propriedades, ou tire um Instantâneo em ⋯ e use Revisar alterações.",
+ "Typeface": "Fonte",
+ "US Legal": "US Legal",
+ "US Letter": "US Letter",
+ "Underline (⌘U)": "Sublinhado (⌘U)",
+ "Undo (⌘Z)": "Desfazer (⌘Z)",
+ "Unsaved changes from {when} were found.": "Foram encontradas alterações não salvas de {when}.",
+ "Untitled": "Sem título",
+ "Up to date — v{v}.": "Atualizado — v{v}.",
+ "Update style to match this paragraph": "Atualizar o estilo para corresponder a este parágrafo",
+ "Update this file": "Atualizar este arquivo",
+ "Updates": "Atualizações",
+ "Use document defaults": "Usar os padrões do documento",
+ "Version history": "Histórico de versões",
+ "Version history…": "Histórico de versões…",
+ "Version {v} is available.": "A versão {v} está disponível.",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "As versões são salvas automaticamente conforme você edita, mantidas apenas neste navegador e nunca enviadas. A restauração pode ser desfeita com ⌘Z.",
+ "View-only copy saved — it follows the live session": "Cópia somente leitura salva — ela acompanha a sessão ao vivo",
+ "View-only copy…": "Cópia somente para visualização…",
+ "Viewer": "Visualizador",
+ "Visit bento.page (opens in a new tab)": "Visitar bento.page (abre em uma nova aba)",
+ "Weight": "Peso",
+ "What the picture shows": "O que a imagem mostra",
+ "Whole word": "Palavra inteira",
+ "Width (%)": "Largura (%)",
+ "Width × height (in)": "Largura × altura (pol)",
+ "Width × height (mm)": "Largura × altura (mm)",
+ "You": "Você",
+ "Your name": "Seu nome",
+ "Your name, so your comments are attributed": "Seu nome, para que seus comentários sejam atribuídos",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "O bento/type é licenciado sob MIT. A quebra de linhas usa o algoritmo de Knuth–Plass via tex-linebreak; os padrões de hifenização são os de Liang. Tudo é executado neste arquivo — nada é buscado e nada é enviado a lugar nenhum.",
+ "cited {n} times": "citado {n} vezes",
+ "default": "padrão",
+ "deleted": "excluído",
+ "https://example.com": "https://example.com",
+ "in": "pol",
+ "inserted": "inserido",
+ "mixed": "misto",
+ "mm": "mm",
+ "not cited": "não citado",
+ "pt": "pt",
+ "the text this was about is gone": "o texto a que isto se referia não existe mais",
+ "v{app} · format v{fmt}": "v{app} · formato v{fmt}",
+ "{added} added, {replaced} updated": "{added} adicionadas, {replaced} atualizadas",
+ "{key} is cited in this document. Remove it anyway?": "{key} está citado neste documento. Remover mesmo assim?",
+ "{m} changes": "{m} alterações",
+ "{name} (you)": "{name} (você)",
+ "{name} — click to follow": "{name} — clique para seguir",
+ "{n} broken reference(s)": "{n} referência(s) quebrada(s)",
+ "{n} more": "mais {n}",
+ "{n} of {m}": "{n} de {m}",
+ "{n} of {total}": "{n} de {total}",
+ "{n} replies": "{n} respostas",
+ "{open} open of {all}": "{open} abertos de {all}",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} página(s) · {words} palavras · {blocks} blocos · {notes} nota(s) de rodapé. O documento, o editor e o compositor tipográfico estão todos neste único arquivo.",
+ "{rows} rows × {cols} columns": "{rows} linhas × {cols} colunas",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size}, {orient} · área de texto {w} × {h} {unit}",
+ "{when} (most recent)": "{when} (mais recente)",
+ "— mixed —": "— misto —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "○ Not live — turns on when you share": "○ Não está ao vivo — ativa quando você compartilha",
+ "● Connecting…": "● Conectando…",
+ "● Live — {n} connected": "● Ao vivo — {n} conectados",
+}
diff --git a/type/src/i18n/zh-Hans.ts b/type/src/i18n/zh-Hans.ts
new file mode 100644
index 00000000..f69dd281
--- /dev/null
+++ b/type/src/i18n/zh-Hans.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Simplified Chinese — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const zhHans: Catalog = {
+ " (downloads a copy)": "(下载副本)",
+ "(empty paragraph)": "(空段落)",
+ "(no heading)": "(无标题)",
+ "(untitled)": "(无标题)",
+ "1 change": "1 处修订",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "这只是自行填写的名称,并非身份验证——它会显示在你的批注和修订旁边,任何人都可以在此输入任意名称。它会记住在此浏览器中,立即生效,且该名称本身不会保存到文件中(只有它署名的批注和修订才会保存)。",
+ "About bento/type": "关于 bento/type",
+ "About bento/type — version, updates, language": "关于 bento/type — 版本、更新、语言",
+ "About this document": "关于此文档",
+ "Accept": "接受",
+ "Accept (⌘⌥A)": "接受 (⌘⌥A)",
+ "Accept all": "全部接受",
+ "Add column": "添加列",
+ "Add row": "添加行",
+ "Align": "对齐",
+ "Alignment": "对齐方式",
+ "All markup": "显示所有标记",
+ "All {all} resolved": "全部 {all} 条已解决",
+ "Already at the end.": "已经是末尾。",
+ "Already at the top.": "已经是开头。",
+ "Alt text": "替代文字",
+ "Alt+Shift+↑ / ↓": "Alt+Shift+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "更新会作为一个新文件下载到本文件旁边——原文件不受影响,因此撤销一次糟糕的更新只需删除新文件即可。每个版本在应用前都会经过签名验证。",
+ "Appearance": "外观",
+ "Applied style": "已应用的样式",
+ "Apply": "应用",
+ "Author–year — APA-ish": "著者–年份(类 APA)",
+ "Auto": "自动",
+ "Bento artifact": "Bento 制品",
+ "Body": "正文",
+ "Bold": "加粗",
+ "Bold (⌘B)": "加粗 (⌘B)",
+ "Book (1.62)": "书籍 (1.62)",
+ "Both — “Table 2 (page 7)”": "两者 —“表 2(第 7 页)”",
+ "Bulleted list": "项目符号列表",
+ "Cancel": "取消",
+ "Caption": "题注",
+ "Caption this table or figure": "为该表格或图添加题注",
+ "Centre": "居中",
+ "Check for updates": "检查更新",
+ "Checking…": "正在检查…",
+ "Citation": "引文",
+ "Cite here": "在此处插入引用",
+ "Cited but not in this document": "已引用但不在本文档中",
+ "Cite…": "引用…",
+ "Clear direct formatting": "清除直接格式",
+ "Close": "关闭",
+ "Code": "代码",
+ "Colour": "颜色",
+ "Comment on the selected text (⌘⇧M)": "为所选文本添加批注 (⌘⇧M)",
+ "Comment on “{quote}”": "为“{quote}”添加批注",
+ "Comments": "批注",
+ "Comments hidden": "批注已隐藏",
+ "Comments shown": "批注已显示",
+ "Contents": "目录",
+ "Contents inserted. Page numbers fill in as the document paginates.": "已插入目录。页码将在文档分页时自动填入。",
+ "Copy document JSON": "复制文档 JSON",
+ "Could not check right now.": "目前无法检查。",
+ "Credits": "致谢",
+ "Cross-reference": "交叉引用",
+ "Custom": "自定义",
+ "Dark": "深色",
+ "Default": "默认",
+ "Default size (px)": "默认大小(像素)",
+ "Default typeface": "默认字体",
+ "Delete": "删除",
+ "Delete this comment?": "要删除此批注吗?",
+ "Delete this thread": "删除此讨论串",
+ "Delete this whole thread?": "要删除整个讨论串吗?",
+ "Delete your comment": "删除你的批注",
+ "Display": "显示",
+ "Document": "文档",
+ "Document default": "文档默认值",
+ "Document id": "文档 ID",
+ "Document title": "文档标题",
+ "Drag to move, click for options": "拖动以移动,点击查看选项",
+ "Edit": "编辑",
+ "Edit your comment": "编辑你的批注",
+ "Edit “{name}”": "编辑“{name}”",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "编辑样式会影响所有使用该样式的段落——包括那些从未显式设置样式、只是沿用其类型默认值的段落。",
+ "Embed a Bento chart, deck or page": "嵌入 Bento 图表、演示文稿或页面",
+ "Embedded from {app}": "嵌入自 {app}",
+ "Equation added — edit it in the Math panel": "已添加公式 — 请在数学面板中编辑",
+ "Equation block": "公式块",
+ "Figure": "图",
+ "Figures": "图",
+ "File": "文件",
+ "Find": "查找",
+ "Find and replace (⌘F)": "查找和替换 (⌘F)",
+ "Find in document": "在文档中查找",
+ "First line": "首行",
+ "First-line indent (px)": "首行缩进(像素)",
+ "Follow the system": "跟随系统",
+ "Format — show or hide the properties panel": "格式 — 显示或隐藏属性面板",
+ "Formatting": "格式",
+ "Formula": "公式",
+ "Formula (⌘M)": "公式 (⌘M)",
+ "Formula added — edit it in the Math panel": "已添加公式 — 请在数学面板中编辑",
+ "From {app}": "来自 {app}",
+ "Header row": "标题行",
+ "Heading 1": "标题 1",
+ "Heading 2": "标题 2",
+ "Heading 3": "标题 3",
+ "Headings": "标题",
+ "Headings appear here.": "标题会显示在这里。",
+ "Hide comments": "隐藏批注",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "这只是文档的查看方式,不是对文档的更改——此处的设置不会保存到文件中。",
+ "Import": "导入",
+ "Import BibTeX": "导入 BibTeX",
+ "Import BibTeX…": "导入 BibTeX…",
+ "Insert": "插入",
+ "Insert a block below this one": "在此下方插入一个块",
+ "Insert a cross-reference": "插入交叉引用",
+ "Insert a cross-reference to a caption": "插入指向题注的交叉引用",
+ "Insert a display equation on its own line": "插入独占一行的公式",
+ "Insert a picture": "插入图片",
+ "Insert a picture, table, formula, citation…": "插入图片、表格、公式、引用…",
+ "Insert a table": "插入表格",
+ "Insert a table of contents": "插入目录",
+ "Insert below": "在下方插入",
+ "Insert citation": "插入引用",
+ "Italic": "斜体",
+ "Italic (⌘I)": "斜体 (⌘I)",
+ "Justified": "两端对齐",
+ "Keep together": "段落不跨页",
+ "Keep with next": "与下段同页",
+ "Label — “Table 2”": "标签 —“表 2”",
+ "Landscape": "横向",
+ "Layout": "布局",
+ "Left": "左对齐",
+ "Left / right (in)": "左 / 右(英寸)",
+ "Left / right (mm)": "左 / 右(毫米)",
+ "Light": "浅色",
+ "Line spacing": "行距",
+ "Link (⌘K)": "链接 (⌘K)",
+ "Link address": "链接地址",
+ "Margins": "页边距",
+ "Margins…": "页边距…",
+ "Match case": "区分大小写",
+ "Math": "数学",
+ "Medium": "中等",
+ "Modified": "已修改",
+ "More — revisions, signing, print": "更多 — 修订、签名、打印",
+ "Move down": "下移",
+ "Move this block": "移动此块",
+ "Move up": "上移",
+ "Name": "姓名",
+ "Navigate": "导航",
+ "Next change (⌘⌥N)": "下一处修订 (⌘⌥N)",
+ "Next match (Enter)": "下一个匹配项 (Enter)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "尚无题注。将光标置于表格中并点击题注按钮;编号及所有相关引用会自动跟随。",
+ "No markup": "不显示标记",
+ "No matches": "没有匹配项",
+ "No sources yet. Paste a .bib file to get started.": "尚无来源。粘贴 .bib 文件即可开始。",
+ "No tracked changes": "没有修订记录",
+ "Nothing is cited yet, so the list is empty.": "尚未引用任何内容,因此列表为空。",
+ "Nothing matches.": "没有匹配项。",
+ "Nothing that looks like a BibTeX entry.": "没有看起来像 BibTeX 条目的内容。",
+ "Nothing to refer to yet — caption a table first": "尚无可引用的内容 — 请先为表格添加题注",
+ "Nothing was imported.": "未导入任何内容。",
+ "Number sections": "为章节编号",
+ "Number this heading": "为此标题编号",
+ "Numbered as": "编号方式",
+ "Numbered list": "编号列表",
+ "Numeric [1] — IEEE-ish": "数字 [1](类 IEEE)",
+ "Off by default: most documents already carry their numbers in the heading text.": "默认关闭:大多数文档的标题文本中已经包含编号。",
+ "Open": "打开",
+ "Orientation": "方向",
+ "Original": "原始",
+ "Outline — show or hide the document map": "大纲 — 显示或隐藏文档结构图",
+ "Page": "页面",
+ "Page break before": "段前分页",
+ "Page break inserted": "已插入分页符",
+ "Page break removed": "已删除分页符",
+ "Page breaking": "分页",
+ "Page or section, optional — e.g. p. 34": "页码或章节(可选)— 例如第 34 页",
+ "Page setup": "页面设置",
+ "Page size": "页面大小",
+ "Page — “page 7”": "页码 —“第 7 页”",
+ "Pages": "页数",
+ "Paragraph": "段落",
+ "Paragraph defaults": "段落默认值",
+ "Paragraphs follow these unless they say otherwise.": "段落将遵循这些设置,除非另有指定。",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "在下方粘贴 BibTeX。已支持 @article、@book、@inproceedings、@techreport 和 @misc;其他类型将作为 @misc 导入,仍可正常引用。",
+ "Paste BibTeX…": "粘贴 BibTeX…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "粘贴 bento/type 文档的 JSON。这会替换当前文档,可用 ⌘Z 撤销。",
+ "Picture": "图片",
+ "Portrait": "纵向",
+ "Previous change (⌘⌥P)": "上一处修订 (⌘⌥P)",
+ "Previous match (⇧Enter)": "上一个匹配项 (⇧Enter)",
+ "Print or PDF…": "打印或导出 PDF…",
+ "Properties": "属性",
+ "Put the caret in a heading first.": "请先将光标置于标题中。",
+ "Put the caret in a paragraph first": "请先将光标置于段落中",
+ "Put the caret in the document first": "请先将光标置于文档中",
+ "Put the caret in the table or paragraph to caption": "将光标置于要添加题注的表格或段落中",
+ "Put the caret on a tracked change first": "请先将光标置于某处修订上",
+ "Put the caret where the citation goes first": "请先将光标置于要插入引用的位置",
+ "Put the caret where the formula should go": "请将光标置于要插入公式的位置",
+ "Put the caret where the reference goes": "请先将光标置于要插入引用的位置",
+ "Quote": "引述",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "会被屏幕阅读器读出,且在图片丢失时会作为文字保留。",
+ "Redo (⇧⌘Z)": "重做 (⇧⌘Z)",
+ "References, as they will print": "参考文献列表(打印外观)",
+ "Regular": "常规",
+ "Reject": "拒绝",
+ "Reject (⌘⌥D)": "拒绝 (⌘⌥D)",
+ "Reject all": "全部拒绝",
+ "Remove": "移除",
+ "Reopen": "重新打开",
+ "Replace": "替换",
+ "Replace all": "全部替换",
+ "Replace every match, as one undo step": "将所有匹配项作为一步操作全部替换",
+ "Replace from JSON…": "从 JSON 替换…",
+ "Replace this match": "替换此匹配项",
+ "Replace with": "替换为",
+ "Replaced 1 match": "已替换 1 处",
+ "Replaced {n} matches": "已替换 {n} 处",
+ "Reply": "回复",
+ "Reply…": "回复…",
+ "Resolve": "解决",
+ "Results": "结果",
+ "Review": "审阅",
+ "Review changes…": "审阅修订…",
+ "Right": "右对齐",
+ "Save": "保存",
+ "Save (⌘S)": "保存 (⌘S)",
+ "Save to {file}": "保存到 {file}",
+ "Saved": "已保存",
+ "Saved to {file}": "已保存到 {file}",
+ "Search author, title or key": "按作者、标题或键搜索",
+ "Section numbering is off.": "章节编号已关闭。",
+ "Sections are numbered.": "章节已编号。",
+ "Select some text and press ⌘⇧M to comment on it.": "选中一些文本,然后按 ⌘⇧M 添加批注。",
+ "Select some text first, then comment on it": "请先选中一些文本,然后再添加批注",
+ "Select some text to change its typeface or size. The document default is below.": "选中一些文本以更改其字体或大小。文档的默认设置见下方。",
+ "Select something to see its properties.": "选中一些内容以查看其属性。",
+ "Select the words you want to link": "选中要添加链接的文字",
+ "Semibold": "半粗体",
+ "Show comments": "显示批注",
+ "Signatures": "签名",
+ "Sign…": "签名…",
+ "Size": "大小",
+ "Size (px)": "大小(像素)",
+ "Snapshot": "快照",
+ "Someone": "某人",
+ "Sources": "来源",
+ "Sources ({n})": "来源({n})",
+ "Space after": "段后间距",
+ "Space after (px)": "段后间距(像素)",
+ "Space before": "段前间距",
+ "Space before (px)": "段前间距(像素)",
+ "Start this paragraph on a new page.": "此段落将从新的一页开始。",
+ "Strikethrough": "删除线",
+ "Style": "样式",
+ "Style updated from this paragraph": "已根据此段落更新样式",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "支持:\\frac \\sqrt ^ _ \\sum \\int \\left( \\right),希腊字母、矩阵、分段函数。",
+ "Table": "表格",
+ "Tables and figures are numbered separately, in document order.": "表格和图分别独立编号,按文档中的顺序排列。",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "将此段落当前的格式设为样式——所有使用此样式的段落都会随之更新。",
+ "Text": "文本",
+ "Text area: {w} × {h} {unit}": "文本区域:{w} × {h} {unit}",
+ "That JSON could not be read.": "无法读取该 JSON。",
+ "That JSON was empty.": "该 JSON 为空。",
+ "That file could not be read as a picture.": "无法将该文件作为图片读取。",
+ "That file does not look like a Bento document.": "该文件看起来不是 Bento 文档。",
+ "That is already a caption": "这已经是题注",
+ "That is not a bento/type document: {detail}": "这不是 bento/type 文档:{detail}",
+ "That is not an address this document can link to": "这不是本文档可以链接到的地址",
+ "That sheet is larger than any printer takes.": "该纸张尺寸超出了任何打印机的支持范围。",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "该纸张尺寸小于 2 英寸——请选择更大的页面。",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "文档本身就是交换单元:把这段 JSON 交给 AI,拿到返回结果后粘贴回来即可。脚本可通过 `window.bento` 使用同样的接口。",
+ "The first paragraph already starts a page": "第一段已经是新的一页",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "光标处的公式。使用类 TeX 语法;文档保存的是源代码,而不是图片。",
+ "The table of contents needs the core render hook.": "目录需要核心渲染钩子。",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "主题是你个人的设置,不是文档的一部分——它只保存在此浏览器中,绝不会写入文件。无论哪种主题,页面本身都保持白色,因为纸张就是白色的,深夜校对合同的人仍需要看清打印后的样子。",
+ "Theme": "主题",
+ "Theme: {mode} — click to cycle auto/light/dark": "主题:{mode} — 点击可在自动/浅色/深色间切换",
+ "These render as [?key] in the document so they cannot be missed.": "这些会在文档中显示为 [?key],因此不会被忽略。",
+ "This already has a caption": "这已经有题注了",
+ "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 可以直接原地保存。",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "此构建版本尚不能渲染题注——请应用 xref.ts 顶部列出的核心补丁",
+ "This document has no sources yet. Import some BibTeX first.": "本文档尚无来源。请先导入一些 BibTeX。",
+ "This embed could not be displayed safely.": "无法安全显示此嵌入内容。",
+ "This embed is missing its data.": "此嵌入内容缺少数据。",
+ "This file": "此文件",
+ "This heading is no longer numbered.": "此标题不再编号。",
+ "This heading is numbered again.": "此标题已重新编号。",
+ "This paragraph and the one after it stay on the same page.": "此段落与下一段将保持在同一页。",
+ "This paragraph has direct formatting of its own, on top of its style.": "此段落在其样式之上还带有直接格式。",
+ "This paragraph is never split across a page break.": "此段落绝不会被分页符拆分。",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "这张图片大小为 {size},嵌入后文档会相应增大。仍要插入吗?",
+ "This reference points at something that is no longer in the document": "此引用指向的内容已不在文档中",
+ "Those side margins leave no room for text.": "左右页边距过大,没有留出文本空间。",
+ "Those top and bottom margins leave no room for text.": "上下页边距过大,没有留出文本空间。",
+ "Top / bottom (in)": "上 / 下(英寸)",
+ "Top / bottom (mm)": "上 / 下(毫米)",
+ "Track changes": "修订",
+ "Tracked changes": "修订",
+ "Tracking is on. Edits you make from now on are recorded here.": "跟踪已开启。此后的编辑都会记录在此。",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "在属性面板中开启“修订”,或从 ⋯ 中获取“快照”并使用“审阅修订”。",
+ "Typeface": "字体",
+ "US Legal": "美国法律用纸",
+ "US Letter": "美国信纸",
+ "Underline (⌘U)": "下划线 (⌘U)",
+ "Undo (⌘Z)": "撤销 (⌘Z)",
+ "Untitled": "无标题",
+ "Up to date — v{v}.": "已是最新 — v{v}。",
+ "Update style to match this paragraph": "将样式更新为与此段落一致",
+ "Update this file": "更新此文件",
+ "Updates": "更新",
+ "Use document defaults": "使用文档默认值",
+ "Version {v} is available.": "有新版本 {v} 可用。",
+ "Visit bento.page (opens in a new tab)": "访问 bento.page(在新标签页中打开)",
+ "Weight": "字重",
+ "What the picture shows": "图片内容说明",
+ "Whole word": "全字匹配",
+ "Width (%)": "宽度(%)",
+ "Width × height (in)": "宽 × 高(英寸)",
+ "Width × height (mm)": "宽 × 高(毫米)",
+ "You": "你",
+ "Your name": "你的姓名",
+ "Your name, so your comments are attributed": "你的姓名,用于标注你的批注",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type 采用 MIT 许可证。断行使用 tex-linebreak 提供的 Knuth–Plass 算法;连字规则采用 Liang 的模式。一切都在此文件内运行——不会获取任何内容,也不会向任何地方发送数据。",
+ "cited {n} times": "已被引用 {n} 次",
+ "default": "默认",
+ "deleted": "已删除",
+ "https://example.com": "https://example.com",
+ "in": "英寸",
+ "inserted": "已插入",
+ "mixed": "混合",
+ "mm": "毫米",
+ "not cited": "未引用",
+ "pt": "磅",
+ "the text this was about is gone": "这条批注所指的文本已被删除",
+ "v{app} · format v{fmt}": "v{app} · 格式 v{fmt}",
+ "{added} added, {replaced} updated": "已添加 {added},已更新 {replaced}",
+ "{key} is cited in this document. Remove it anyway?": "{key} 已在本文档中被引用。仍要移除吗?",
+ "{m} changes": "{m} 处修订",
+ "{n} broken reference(s)": "{n} 处无效引用",
+ "{n} more": "还有 {n} 个",
+ "{n} of {m}": "第 {n} / {m} 个",
+ "{n} of {total}": "第 {n} / {total} 个",
+ "{n} replies": "{n} 条回复",
+ "{open} open of {all}": "{all} 条中 {open} 条未解决",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} 页 · {words} 字 · {blocks} 个块 · {notes} 条脚注。文档、编辑器和排版引擎全都在这一个文件中。",
+ "{rows} rows × {cols} columns": "{rows} 行 × {cols} 列",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size},{orient} · 文本区域 {w} × {h} {unit}",
+ "— mixed —": "— 混合 —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "放弃",
+ "Restore": "恢复",
+ "Restored your unsaved changes": "已恢复未保存的更改",
+ "Unsaved changes from {when} were found.": "找到了 {when} 的未保存更改。",
+ "Version history": "版本历史记录",
+ "Version history…": "版本历史记录…",
+ "No saved versions yet — they accumulate as you edit.": "尚无已保存的版本 — 它们会随着你的编辑逐渐累积。",
+ "Stored only in this browser, never in the file or online.": "仅存储在此浏览器中,不会存入文件或上传到网络。",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "版本会在你编辑时自动保存,仅保留在此浏览器中,绝不会上传。恢复操作可用 ⌘Z 撤销。",
+ "{when} (most recent)": "{when}(最新)",
+ "Snapshot redline": "快照修订对比",
+ "Share": "共享",
+ "Share — invite people to edit live, or send a view-only copy": "共享 — 邀请他人实时协作编辑,或发送只读副本",
+ "Not sharing yet — click to start a live session": "尚未共享 — 点击开始实时协作",
+ "Live — this document is being shared": "实时协作中 — 此文档正在共享",
+ "Connecting to the live session…": "正在连接实时协作…",
+ "● Live — {n} connected": "● 实时协作 — 已连接 {n} 人",
+ "● Connecting…": "● 正在连接…",
+ "○ Not live — turns on when you share": "○ 未实时协作 — 共享后开启",
+ "People": "协作者",
+ "Guest": "访客",
+ "{name} (you)": "{name}(你)",
+ "{name} — click to follow": "{name} — 点击跟随",
+ "Owner": "所有者",
+ "Editor": "编辑者",
+ "Viewer": "查看者",
+ "Share a copy": "共享副本",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "显示在你的光标旁边和协作者列表中 — 仅保存在此浏览器中。",
+ "Only the document owner can mint editor invites": "只有文档所有者才能创建编辑者邀请",
+ "Editor copy saved — recipients join live with edit access": "已保存编辑者副本 — 收到的人可以带编辑权限加入实时协作",
+ "View-only copy saved — it follows the live session": "已保存只读副本 — 它会跟随实时协作",
+ "This document has no live session to follow": "此文档没有可跟随的实时协作",
+ "Access reset — only copies saved from now on can join": "已重置访问权限 — 只有此后保存的副本才能加入",
+ "Saving failed": "保存失败",
+ "Invite to edit…": "邀请编辑…",
+ "View-only copy…": "只读副本…",
+ "Go live": "开始实时协作",
+ "Stop sharing": "停止共享",
+ "Reset access…": "重置访问权限…",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "保存一个可发送的副本。打开它的人可以与你实时协作编辑本文档;你仍是所有者,并可从协作者列表中移除他们。",
+ "A live viewer: follows every edit as it happens but can never change the document.": "实时查看者:会实时跟随每一次编辑,但永远无法更改文档。",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "这是一个只读副本 — 它会跟随实时协作,但无法更改文档。",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "断开此文档与实时协作的连接。副本会保留最后的状态,若你再次开始实时协作即可重新加入。",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "无需保存新副本即可连接到实时协作 — 你之前发送的副本会在那里与你会合。",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "要重置访问权限吗?你已发送的每个副本都将停止同步;只有此后保存的副本才能加入。",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "会生成全新的密钥。此前发送的每个副本都将永久停止同步;之后请重新共享新的副本。",
+ "Offline mode is on — nothing leaves this computer.": "离线模式已开启 — 任何内容都不会离开这台电脑。",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "本机上的标签页之间仍会同步;要在线协作请关闭离线模式。",
+}
diff --git a/type/src/i18n/zh-Hant.ts b/type/src/i18n/zh-Hant.ts
new file mode 100644
index 00000000..4ac0f3bc
--- /dev/null
+++ b/type/src/i18n/zh-Hant.ts
@@ -0,0 +1,406 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// Traditional Chinese — machine-drafted, native review welcome
+import type { Catalog } from '../i18n'
+
+export const zhHant: Catalog = {
+ " (downloads a copy)": "(下載副本)",
+ "(empty paragraph)": "(空段落)",
+ "(no heading)": "(無標題)",
+ "(untitled)": "(無標題)",
+ "1 change": "1 處修訂",
+ "A self-asserted claim, not an identity — this is the name shown beside your comments and tracked changes, and anyone can type any name here. It is remembered in this browser, applies immediately, and is never itself saved into the file (only the comments and changes it signs are).": "這只是自行填寫的名稱,並非身分驗證 — 它會顯示在你的註解與修訂旁邊,任何人都能在此輸入任意名稱。它會記在這個瀏覽器中,立即套用,但這個名稱本身不會存進檔案(只有它署名的註解與修訂才會被儲存)。",
+ "About bento/type": "關於 bento/type",
+ "About bento/type — version, updates, language": "關於 bento/type — 版本、更新、語言",
+ "About this document": "關於此文件",
+ "Accept": "接受",
+ "Accept (⌘⌥A)": "接受 (⌘⌥A)",
+ "Accept all": "全部接受",
+ "Add column": "新增欄",
+ "Add row": "新增列",
+ "Align": "對齊",
+ "Alignment": "對齊方式",
+ "All markup": "顯示所有標記",
+ "All {all} resolved": "全部 {all} 則已解決",
+ "Already at the end.": "已經是結尾。",
+ "Already at the top.": "已經是開頭。",
+ "Alt text": "替代文字",
+ "Alt+Shift+↑ / ↓": "Alt+Shift+↑ / ↓",
+ "An update is a NEW file, downloaded beside this one — the original is untouched, so a bad update is undone by deleting it. Every release is signature-checked before it is applied.": "更新會以新檔案形式下載在這個檔案旁邊 — 原始檔案不受影響,因此撤銷一次不良更新只需刪除新檔案即可。每個版本在套用前都會先驗證簽章。",
+ "Appearance": "外觀",
+ "Applied style": "已套用的樣式",
+ "Apply": "套用",
+ "Author–year — APA-ish": "作者–年份(類 APA)",
+ "Auto": "自動",
+ "Bento artifact": "Bento 成品",
+ "Body": "內文",
+ "Bold": "粗體",
+ "Bold (⌘B)": "粗體 (⌘B)",
+ "Book (1.62)": "書籍 (1.62)",
+ "Both — “Table 2 (page 7)”": "兩者 —「表 2(第 7 頁)」",
+ "Bulleted list": "項目符號清單",
+ "Cancel": "取消",
+ "Caption": "題注",
+ "Caption this table or figure": "為此表格或圖片新增題注",
+ "Centre": "置中",
+ "Check for updates": "檢查更新",
+ "Checking…": "檢查中…",
+ "Citation": "引文",
+ "Cite here": "在此處插入引文",
+ "Cited but not in this document": "已引用但不在本文件中",
+ "Cite…": "引用…",
+ "Clear direct formatting": "清除直接格式",
+ "Close": "關閉",
+ "Code": "程式碼",
+ "Colour": "顏色",
+ "Comment on the selected text (⌘⇧M)": "為所選文字新增註解 (⌘⇧M)",
+ "Comment on “{quote}”": "為「{quote}」新增註解",
+ "Comments": "註解",
+ "Comments hidden": "註解已隱藏",
+ "Comments shown": "註解已顯示",
+ "Contents": "目錄",
+ "Contents inserted. Page numbers fill in as the document paginates.": "已插入目錄。頁碼會在文件分頁時自動填入。",
+ "Copy document JSON": "複製文件 JSON",
+ "Could not check right now.": "目前無法檢查。",
+ "Credits": "致謝",
+ "Cross-reference": "交叉參照",
+ "Custom": "自訂",
+ "Dark": "深色",
+ "Default": "預設",
+ "Default size (px)": "預設大小(像素)",
+ "Default typeface": "預設字體",
+ "Delete": "刪除",
+ "Delete this comment?": "要刪除此註解嗎?",
+ "Delete this thread": "刪除此討論串",
+ "Delete this whole thread?": "要刪除整個討論串嗎?",
+ "Delete your comment": "刪除你的註解",
+ "Display": "顯示",
+ "Document": "文件",
+ "Document default": "文件預設值",
+ "Document id": "文件 ID",
+ "Document title": "文件標題",
+ "Drag to move, click for options": "拖曳以移動,點按查看選項",
+ "Edit": "編輯",
+ "Edit your comment": "編輯你的註解",
+ "Edit “{name}”": "編輯「{name}」",
+ "Editing a style changes every paragraph that uses it — including ones that never set a style explicitly and are just using their kind’s default.": "編輯樣式會影響所有使用該樣式的段落 — 包括那些從未明確設定樣式、只是沿用其類型預設值的段落。",
+ "Embed a Bento chart, deck or page": "嵌入 Bento 圖表、簡報或頁面",
+ "Embedded from {app}": "嵌入自 {app}",
+ "Equation added — edit it in the Math panel": "已新增公式 — 請在數學面板中編輯",
+ "Equation block": "公式區塊",
+ "Figure": "圖",
+ "Figures": "圖",
+ "File": "檔案",
+ "Find": "尋找",
+ "Find and replace (⌘F)": "尋找及取代 (⌘F)",
+ "Find in document": "在文件中尋找",
+ "First line": "第一行",
+ "First-line indent (px)": "第一行縮排(像素)",
+ "Follow the system": "跟隨系統",
+ "Format — show or hide the properties panel": "格式 — 顯示或隱藏屬性面板",
+ "Formatting": "格式",
+ "Formula": "公式",
+ "Formula (⌘M)": "公式 (⌘M)",
+ "Formula added — edit it in the Math panel": "已新增公式 — 請在數學面板中編輯",
+ "From {app}": "來自 {app}",
+ "Header row": "標題列",
+ "Heading 1": "標題 1",
+ "Heading 2": "標題 2",
+ "Heading 3": "標題 3",
+ "Headings": "標題",
+ "Headings appear here.": "標題會顯示在這裡。",
+ "Hide comments": "隱藏註解",
+ "How you view a document, not a change to it — nothing here is saved into the file.": "這只是文件的檢視方式,不是對文件的變更 — 這裡的設定不會存進檔案。",
+ "Import": "匯入",
+ "Import BibTeX": "匯入 BibTeX",
+ "Import BibTeX…": "匯入 BibTeX…",
+ "Insert": "插入",
+ "Insert a block below this one": "在此下方插入一個區塊",
+ "Insert a cross-reference": "插入交叉參照",
+ "Insert a cross-reference to a caption": "插入指向題注的交叉參照",
+ "Insert a display equation on its own line": "插入獨佔一行的公式",
+ "Insert a picture": "插入圖片",
+ "Insert a picture, table, formula, citation…": "插入圖片、表格、公式、引文…",
+ "Insert a table": "插入表格",
+ "Insert a table of contents": "插入目錄",
+ "Insert below": "在下方插入",
+ "Insert citation": "插入引文",
+ "Italic": "斜體",
+ "Italic (⌘I)": "斜體 (⌘I)",
+ "Justified": "左右對齊",
+ "Keep together": "段落不跨頁",
+ "Keep with next": "與下段同頁",
+ "Label — “Table 2”": "標籤 —「表 2」",
+ "Landscape": "橫向",
+ "Layout": "版面",
+ "Left": "靠左",
+ "Left / right (in)": "左 / 右(英吋)",
+ "Left / right (mm)": "左 / 右(公釐)",
+ "Light": "淺色",
+ "Line spacing": "行距",
+ "Link (⌘K)": "連結 (⌘K)",
+ "Link address": "連結位址",
+ "Margins": "邊界",
+ "Margins…": "邊界…",
+ "Match case": "區分大小寫",
+ "Math": "數學",
+ "Medium": "中等",
+ "Modified": "已修改",
+ "More — revisions, signing, print": "更多 — 修訂、簽署、列印",
+ "Move down": "下移",
+ "Move this block": "移動此區塊",
+ "Move up": "上移",
+ "Name": "名稱",
+ "Navigate": "導覽",
+ "Next change (⌘⌥N)": "下一項修訂 (⌘⌥N)",
+ "Next match (Enter)": "下一個相符項目 (Enter)",
+ "No captions yet. Put the caret in a table and press the caption button; numbering and every reference to it follow automatically.": "尚未有題注。將游標置於表格中並按下題注按鈕;編號與所有相關參照都會自動跟進。",
+ "No markup": "不顯示標記",
+ "No matches": "沒有相符項目",
+ "No sources yet. Paste a .bib file to get started.": "尚未有來源。貼上 .bib 檔案即可開始。",
+ "No tracked changes": "沒有修訂記錄",
+ "Nothing is cited yet, so the list is empty.": "尚未引用任何內容,因此清單是空的。",
+ "Nothing matches.": "沒有相符項目。",
+ "Nothing that looks like a BibTeX entry.": "沒有看起來像 BibTeX 條目的內容。",
+ "Nothing to refer to yet — caption a table first": "尚無可參照的內容 — 請先為表格加上題注",
+ "Nothing was imported.": "未匯入任何內容。",
+ "Number sections": "為章節編號",
+ "Number this heading": "為此標題編號",
+ "Numbered as": "編號方式",
+ "Numbered list": "編號清單",
+ "Numeric [1] — IEEE-ish": "數字 [1](類 IEEE)",
+ "Off by default: most documents already carry their numbers in the heading text.": "預設關閉:大多數文件的標題文字中已經包含編號。",
+ "Open": "開啟",
+ "Orientation": "方向",
+ "Original": "原始",
+ "Outline — show or hide the document map": "大綱 — 顯示或隱藏文件結構圖",
+ "Page": "頁",
+ "Page break before": "段落前分頁",
+ "Page break inserted": "已插入分頁符號",
+ "Page break removed": "已刪除分頁符號",
+ "Page breaking": "分頁",
+ "Page or section, optional — e.g. p. 34": "頁碼或章節(選填)— 例如第 34 頁",
+ "Page setup": "頁面設定",
+ "Page size": "頁面大小",
+ "Page — “page 7”": "頁碼 —「第 7 頁」",
+ "Pages": "頁數",
+ "Paragraph": "段落",
+ "Paragraph defaults": "段落預設值",
+ "Paragraphs follow these unless they say otherwise.": "段落將依照這些設定,除非另有指定。",
+ "Paste BibTeX below. @article, @book, @inproceedings, @techreport and @misc are modelled; any other type is imported as @misc so it still cites.": "在下方貼上 BibTeX。已支援 @article、@book、@inproceedings、@techreport 及 @misc;其他類型會以 @misc 匯入,仍可正常引用。",
+ "Paste BibTeX…": "貼上 BibTeX…",
+ "Paste a bento/type document JSON. This replaces the document and can be undone with ⌘Z.": "貼上 bento/type 文件的 JSON。這會取代目前文件,可用 ⌘Z 復原。",
+ "Picture": "圖片",
+ "Portrait": "縱向",
+ "Previous change (⌘⌥P)": "上一項修訂 (⌘⌥P)",
+ "Previous match (⇧Enter)": "上一個相符項目 (⇧Enter)",
+ "Print or PDF…": "列印或匯出 PDF…",
+ "Properties": "屬性",
+ "Put the caret in a heading first.": "請先將游標置於標題中。",
+ "Put the caret in a paragraph first": "請先將游標置於段落中",
+ "Put the caret in the document first": "請先將游標置於文件中",
+ "Put the caret in the table or paragraph to caption": "將游標置於要加上題注的表格或段落中",
+ "Put the caret on a tracked change first": "請先將游標置於某項修訂上",
+ "Put the caret where the citation goes first": "請先將游標置於要插入引文的位置",
+ "Put the caret where the formula should go": "請將游標置於要插入公式的位置",
+ "Put the caret where the reference goes": "請先將游標置於要插入參照的位置",
+ "Quote": "引述",
+ "Read aloud by screen readers, and kept as the text if the picture is ever lost.": "會被螢幕報讀軟體讀出,且在圖片遺失時會作為文字保留。",
+ "Redo (⇧⌘Z)": "重做 (⇧⌘Z)",
+ "References, as they will print": "參考文獻清單(列印外觀)",
+ "Regular": "一般",
+ "Reject": "拒絕",
+ "Reject (⌘⌥D)": "拒絕 (⌘⌥D)",
+ "Reject all": "全部拒絕",
+ "Remove": "移除",
+ "Reopen": "重新開啟",
+ "Replace": "取代",
+ "Replace all": "全部取代",
+ "Replace every match, as one undo step": "將所有相符項目作為單一步驟全部取代",
+ "Replace from JSON…": "從 JSON 取代…",
+ "Replace this match": "取代此相符項目",
+ "Replace with": "取代為",
+ "Replaced 1 match": "已取代 1 處",
+ "Replaced {n} matches": "已取代 {n} 處",
+ "Reply": "回覆",
+ "Reply…": "回覆…",
+ "Resolve": "解決",
+ "Results": "結果",
+ "Review": "校閱",
+ "Review changes…": "校閱修訂…",
+ "Right": "靠右",
+ "Save": "儲存",
+ "Save (⌘S)": "儲存 (⌘S)",
+ "Save to {file}": "儲存至 {file}",
+ "Saved": "已儲存",
+ "Saved to {file}": "已儲存至 {file}",
+ "Search author, title or key": "按作者、標題或鍵搜尋",
+ "Section numbering is off.": "章節編號已關閉。",
+ "Sections are numbered.": "章節已編號。",
+ "Select some text and press ⌘⇧M to comment on it.": "選取一些文字,然後按 ⌘⇧M 新增註解。",
+ "Select some text first, then comment on it": "請先選取一些文字,然後再新增註解",
+ "Select some text to change its typeface or size. The document default is below.": "選取一些文字以變更其字體或大小。文件的預設值如下方所示。",
+ "Select something to see its properties.": "選取一些內容以查看其屬性。",
+ "Select the words you want to link": "選取要加上連結的文字",
+ "Semibold": "半粗體",
+ "Show comments": "顯示註解",
+ "Signatures": "簽署",
+ "Sign…": "簽署…",
+ "Size": "大小",
+ "Size (px)": "大小(像素)",
+ "Snapshot": "快照",
+ "Someone": "某人",
+ "Sources": "來源",
+ "Sources ({n})": "來源({n})",
+ "Space after": "段落後間距",
+ "Space after (px)": "段落後間距(像素)",
+ "Space before": "段落前間距",
+ "Space before (px)": "段落前間距(像素)",
+ "Start this paragraph on a new page.": "此段落將從新的一頁開始。",
+ "Strikethrough": "刪除線",
+ "Style": "樣式",
+ "Style updated from this paragraph": "已根據此段落更新樣式",
+ "Supported: \\frac \\sqrt ^ _ \\sum \\int \\left( \\right) Greek, matrices, cases.": "支援:\\frac \\sqrt ^ _ \\sum \\int \\left( \\right),希臘字母、矩陣、分段函數。",
+ "Table": "表格",
+ "Tables and figures are numbered separately, in document order.": "表格與圖分別獨立編號,按文件中的順序排列。",
+ "Take this paragraph’s current formatting and make it the style — every paragraph using this style follows.": "將此段落目前的格式設為樣式 — 所有使用此樣式的段落都會隨之更新。",
+ "Text": "文字",
+ "Text area: {w} × {h} {unit}": "文字區域:{w} × {h} {unit}",
+ "That JSON could not be read.": "無法讀取該 JSON。",
+ "That JSON was empty.": "該 JSON 是空的。",
+ "That file could not be read as a picture.": "無法將該檔案作為圖片讀取。",
+ "That file does not look like a Bento document.": "該檔案看起來不是 Bento 文件。",
+ "That is already a caption": "這已經是題注",
+ "That is not a bento/type document: {detail}": "這不是 bento/type 文件:{detail}",
+ "That is not an address this document can link to": "這不是本文件可以連結到的位址",
+ "That sheet is larger than any printer takes.": "該紙張尺寸超出任何印表機的支援範圍。",
+ "That sheet is smaller than 2 inches — pick a bigger page.": "該紙張尺寸小於 2 英吋 — 請選擇更大的頁面。",
+ "The document is the interchange unit: hand this JSON to an AI, get one back, and paste it in. `window.bento` exposes the same thing to scripts.": "文件本身就是交換單元:把這段 JSON 交給 AI,拿到回傳結果後貼回來即可。指令碼可透過 `window.bento` 使用相同的介面。",
+ "The first paragraph already starts a page": "第一段已經是新的一頁",
+ "The formula at the caret. TeX-like source; the document stores the source, never the picture.": "游標處的公式。使用類 TeX 語法;文件儲存的是原始碼,而非圖片。",
+ "The table of contents needs the core render hook.": "目錄需要核心渲染掛鉤。",
+ "The theme is yours, not the document’s — it is remembered in this browser and never saved into the file. The PAGE stays white in both, because paper is white and somebody proofing a contract at midnight still has to see what will print.": "主題是你個人的設定,不是文件的一部分 — 它只保存在這個瀏覽器中,絕不會寫入檔案。無論哪種主題,頁面本身都維持白色,因為紙張就是白色的,深夜校對合約的人仍需要看清楚列印後的樣子。",
+ "Theme": "主題",
+ "Theme: {mode} — click to cycle auto/light/dark": "主題:{mode} — 點按可在自動/淺色/深色間切換",
+ "These render as [?key] in the document so they cannot be missed.": "這些會在文件中顯示為 [?key],因此不會被忽略。",
+ "This already has a caption": "這已經有題注了",
+ "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 可以直接原地儲存。",
+ "This build cannot render captions yet — apply the core patch listed at the top of xref.ts": "此建置版本尚無法渲染題注 — 請套用 xref.ts 頂端列出的核心修補",
+ "This document has no sources yet. Import some BibTeX first.": "本文件尚無來源。請先匯入一些 BibTeX。",
+ "This embed could not be displayed safely.": "無法安全顯示此嵌入內容。",
+ "This embed is missing its data.": "此嵌入內容缺少資料。",
+ "This file": "此檔案",
+ "This heading is no longer numbered.": "此標題不再編號。",
+ "This heading is numbered again.": "此標題已重新編號。",
+ "This paragraph and the one after it stay on the same page.": "此段落與下一段將保持在同一頁。",
+ "This paragraph has direct formatting of its own, on top of its style.": "此段落在其樣式之上還帶有直接格式。",
+ "This paragraph is never split across a page break.": "此段落絕不會被分頁符號拆分。",
+ "This picture is {size}, and embedding it makes the document that much bigger. Insert it anyway?": "這張圖片大小為 {size},嵌入後文件會相應增大。仍要插入嗎?",
+ "This reference points at something that is no longer in the document": "此參照指向的內容已不在文件中",
+ "Those side margins leave no room for text.": "左右邊界過大,沒有留出文字空間。",
+ "Those top and bottom margins leave no room for text.": "上下邊界過大,沒有留出文字空間。",
+ "Top / bottom (in)": "上 / 下(英吋)",
+ "Top / bottom (mm)": "上 / 下(公釐)",
+ "Track changes": "追蹤修訂",
+ "Tracked changes": "修訂",
+ "Tracking is on. Edits you make from now on are recorded here.": "追蹤已開啟。此後的編輯都會記錄在這裡。",
+ "Turn on \"Track changes\" in the properties panel, or take a Snapshot from ⋯ and use Review changes.": "在屬性面板中開啟「追蹤修訂」,或從 ⋯ 取得「快照」並使用「校閱修訂」。",
+ "Typeface": "字體",
+ "US Legal": "美國法律用紙",
+ "US Letter": "美國信紙",
+ "Underline (⌘U)": "底線 (⌘U)",
+ "Undo (⌘Z)": "復原 (⌘Z)",
+ "Untitled": "無標題",
+ "Up to date — v{v}.": "已是最新 — v{v}。",
+ "Update style to match this paragraph": "將樣式更新為與此段落一致",
+ "Update this file": "更新此檔案",
+ "Updates": "更新",
+ "Use document defaults": "使用文件預設值",
+ "Version {v} is available.": "有新版本 {v} 可用。",
+ "Visit bento.page (opens in a new tab)": "前往 bento.page(在新分頁中開啟)",
+ "Weight": "字重",
+ "What the picture shows": "圖片內容說明",
+ "Whole word": "全字相符",
+ "Width (%)": "寬度(%)",
+ "Width × height (in)": "寬 × 高(英吋)",
+ "Width × height (mm)": "寬 × 高(公釐)",
+ "You": "你",
+ "Your name": "你的名稱",
+ "Your name, so your comments are attributed": "你的名稱,用於標示你的註解",
+ "bento/type is MIT-licensed. Line breaking uses the Knuth–Plass algorithm via tex-linebreak; hyphenation patterns are Liang’s. Everything runs in this file — nothing is fetched, and nothing is sent anywhere.": "bento/type 採用 MIT 授權。斷行使用 tex-linebreak 提供的 Knuth–Plass 演算法;斷字規則採用 Liang 的樣式。一切都在此檔案內運作 — 不會擷取任何內容,也不會向任何地方傳送資料。",
+ "cited {n} times": "已被引用 {n} 次",
+ "default": "預設",
+ "deleted": "已刪除",
+ "https://example.com": "https://example.com",
+ "in": "英吋",
+ "inserted": "已插入",
+ "mixed": "混合",
+ "mm": "公釐",
+ "not cited": "未引用",
+ "pt": "pt",
+ "the text this was about is gone": "這則註解所指的文字已被刪除",
+ "v{app} · format v{fmt}": "v{app} · 格式 v{fmt}",
+ "{added} added, {replaced} updated": "已新增 {added},已更新 {replaced}",
+ "{key} is cited in this document. Remove it anyway?": "{key} 已在本文件中被引用。仍要移除嗎?",
+ "{m} changes": "{m} 項修訂",
+ "{n} broken reference(s)": "{n} 項失效參照",
+ "{n} more": "還有 {n} 個",
+ "{n} of {m}": "第 {n} / {m} 個",
+ "{n} of {total}": "第 {n} / {total} 個",
+ "{n} replies": "{n} 則回覆",
+ "{open} open of {all}": "{all} 則中 {open} 則未解決",
+ "{pages} page(s) · {words} words · {blocks} blocks · {notes} footnote(s). The document, the editor and the typesetter are all in this one file.": "{pages} 頁 · {words} 字 · {blocks} 個區塊 · {notes} 則註腳。文件、編輯器與排版引擎全都在這一個檔案中。",
+ "{rows} rows × {cols} columns": "{rows} 列 × {cols} 欄",
+ "{size}, {orient} · text area {w} × {h} {unit}": "{size},{orient} · 文字區域 {w} × {h} {unit}",
+ "— mixed —": "— 混合 —",
+ "…": "…",
+ "⌃⇧↑ / ⌃⇧↓": "⌃⇧↑ / ⌃⇧↓",
+ "Discard": "捨棄",
+ "Restore": "還原",
+ "Restored your unsaved changes": "已還原未儲存的變更",
+ "Unsaved changes from {when} were found.": "找到了 {when} 的未儲存變更。",
+ "Version history": "版本歷程記錄",
+ "Version history…": "版本歷程記錄…",
+ "No saved versions yet — they accumulate as you edit.": "尚無已儲存的版本 — 會隨著你的編輯逐漸累積。",
+ "Stored only in this browser, never in the file or online.": "僅儲存在這個瀏覽器中,不會存入檔案或上傳到網路。",
+ "Versions are saved automatically as you edit, kept only in this browser, and never uploaded. Restoring is undoable with ⌘Z.": "版本會在你編輯時自動儲存,僅保留在這個瀏覽器中,絕不會上傳。還原可用 ⌘Z 復原。",
+ "{when} (most recent)": "{when}(最新)",
+ "Snapshot redline": "快照修訂比對",
+ "Share": "共用",
+ "Share — invite people to edit live, or send a view-only copy": "共用 — 邀請他人即時協作編輯,或傳送唯讀副本",
+ "Not sharing yet — click to start a live session": "尚未共用 — 按一下開始即時協作",
+ "Live — this document is being shared": "即時協作中 — 這份文件正在共用",
+ "Connecting to the live session…": "正在連線到即時協作…",
+ "● Live — {n} connected": "● 即時協作 — 已連線 {n} 人",
+ "● Connecting…": "● 正在連線…",
+ "○ Not live — turns on when you share": "○ 未即時協作 — 共用後開啟",
+ "People": "協作者",
+ "Guest": "訪客",
+ "{name} (you)": "{name}(你)",
+ "{name} — click to follow": "{name} — 按一下跟隨",
+ "Owner": "擁有者",
+ "Editor": "編輯者",
+ "Viewer": "檢視者",
+ "Share a copy": "共用副本",
+ "Shown next to your cursor and in the People list — stored only in this browser.": "顯示在你的游標旁邊與協作者清單中 — 僅儲存在這個瀏覽器中。",
+ "Only the document owner can mint editor invites": "只有文件擁有者才能建立編輯者邀請",
+ "Editor copy saved — recipients join live with edit access": "已儲存編輯者副本 — 收到的人可以帶編輯權限加入即時協作",
+ "View-only copy saved — it follows the live session": "已儲存唯讀副本 — 它會跟隨即時協作",
+ "This document has no live session to follow": "這份文件沒有可跟隨的即時協作",
+ "Access reset — only copies saved from now on can join": "已重設存取權 — 只有此後儲存的副本才能加入",
+ "Saving failed": "儲存失敗",
+ "Invite to edit…": "邀請編輯…",
+ "View-only copy…": "唯讀副本…",
+ "Go live": "開始即時協作",
+ "Stop sharing": "停止共用",
+ "Reset access…": "重設存取權…",
+ "Saves a copy to send. Whoever opens it edits this document live with you; you stay the owner and can remove them from the People list.": "儲存一個可傳送的副本。開啟它的人可以與你即時協作編輯這份文件;你仍是擁有者,並可從協作者清單中移除他們。",
+ "A live viewer: follows every edit as it happens but can never change the document.": "即時檢視者:會即時跟隨每一次編輯,但永遠無法變更文件。",
+ "This is a view-only copy — it follows the live session but can’t change the document.": "這是一個唯讀副本 — 它會跟隨即時協作,但無法變更文件。",
+ "Disconnect this document from the live session. Copies keep their last state and can rejoin if you go live again.": "中斷這份文件與即時協作的連線。副本會保留最後的狀態,若你再次開始即時協作即可重新加入。",
+ "Connect to the live session without saving a new copy — copies you sent earlier will meet you there.": "無需儲存新副本即可連線到即時協作 — 你先前傳送的副本會在那裡與你會合。",
+ "Reset access? Every copy you’ve sent stops syncing; only copies saved after this can join.": "要重設存取權嗎?你已傳送的每個副本都將停止同步;只有此後儲存的副本才能加入。",
+ "Mints brand-new keys. Every previously sent copy stops syncing for good; share fresh copies afterwards.": "會產生全新的金鑰。先前傳送的每個副本都將永久停止同步;之後請重新共用新的副本。",
+ "Offline mode is on — nothing leaves this computer.": "離線模式已開啟 — 任何內容都不會離開這台電腦。",
+ "Tabs on this machine still sync; turn offline mode off to collaborate online.": "本機上的分頁之間仍會同步;要線上協作請關閉離線模式。",
+}
diff --git a/type/src/layout.ts b/type/src/layout.ts
index e8402274..14328338 100644
--- a/type/src/layout.ts
+++ b/type/src/layout.ts
@@ -1059,7 +1059,7 @@ registerPanel({
// RIGHT: these are the properties of the selected paragraph, not a list of
// what is in the document. The suite's rule, from dash/src/panels.ts.
side: 'right',
- label: t('Layout'),
+ get label() { return t('Layout'); },
order: 40,
mount: mountPanel,
});
diff --git a/type/src/main.ts b/type/src/main.ts
index 6f5e91da..4a7f8513 100644
--- a/type/src/main.ts
+++ b/type/src/main.ts
@@ -21,10 +21,9 @@ import { parseDoc, emptyDoc, uid, wordCount, type TypeDoc } from './model.ts';
import { Store } from './store.ts';
import { Editor } from './editor.ts';
import { paginate, drawPages, type Metrics } from './paginate.ts';
-import { redline, apply as applyRedline, describe, type ChangeSet } from './redline.ts';
+import { takeSnapshot, startReview } from './redlineview.ts';
import { printDocument, buildPrintDocument } from './print.ts';
import { sign as signDoc, verifyChain, newKey } from './canon.ts';
-import { uid as newId } from './model.ts';
// Tell the kernel who this app is — must precede any kernel module use
// (window title suffix, save-picker label, update manifest).
@@ -158,6 +157,8 @@ app.innerHTML = `
<div id="commentsHost"></div>
<div class="t-sub" data-sub="changes"></div>
<div id="reviewPanel"></div>
+ <div class="t-sub" data-sub="redline"></div>
+ <div id="redlinePanel"></div>
<div class="t-sub" data-sub="sigs"></div>
<div id="sigsPanel"></div>
</div>
@@ -243,7 +244,7 @@ byId('mark').addEventListener('click', showAbout);
byId('about').addEventListener('click', showAbout);
for (const [sub, text] of [['comments', t('Comments')], ['changes', t('Tracked changes')],
- ['sigs', t('Signatures')]] as const) {
+ ['redline', t('Snapshot redline')], ['sigs', t('Signatures')]] as const) {
const n = document.querySelector<HTMLElement>(`.t-sub[data-sub="${sub}"]`);
if (n) n.textContent = text;
}
@@ -251,9 +252,12 @@ for (const [sub, text] of [['comments', t('Comments')], ['changes', t('Tracked c
// until someone has taken a snapshot — which is exactly the step a person does
// not know about yet. So the empty state IS the instruction.
//
-// The live tracked-changes list itself is review.ts's `trackedChanges` panel,
-// mounted into `reviewPanel` through the feature registry — nothing to build
-// here.
+// The live tracked-changes list is review.ts's `trackedChanges` panel, mounted
+// into `reviewPanel`; the on-demand snapshot comparison is redlineview.ts's
+// `redline` panel, mounted into its OWN `redlinePanel` — two different hosts
+// on purpose, so accepting a redline change can never erase the tracked-
+// changes list sitting above it (or vice versa). Both through the feature
+// registry — nothing to build here.
for (const [tab, text] of [['navigate', t('Navigate')], ['review', t('Review')], ['sources', t('Sources')]] as const) {
const b = document.querySelector<HTMLElement>(`.t-tabs [data-tab="${tab}"]`);
if (b) b.textContent = text;
@@ -762,96 +766,15 @@ function buildOutline() {
}
// ───────────────────────────────────────────── revisions and redlining
-
-let currentSet: ChangeSet | null = null;
-const decided = new Map<string, boolean>();
-
-document.getElementById('snap')!.addEventListener('click', () => {
- const label = `Revision ${store.doc.revisions.length + 1}`;
- store.commit(d => {
- d.revisions.push({ id: newId('rev'), at: new Date().toISOString(), label,
- body: JSON.parse(JSON.stringify(d.body)) });
- });
- markDirty(); paint();
- toast(`${label} recorded — edit, then Review`);
-});
-
-document.getElementById('review')!.addEventListener('click', () => {
- if (!store.doc.revisions.length) { toast('Take a Snapshot first, then edit, then Review'); return; }
- const base = store.doc.revisions[store.doc.revisions.length - 1];
- currentSet = redline({ docId: store.doc.docId, body: base.body },
- { docId: store.doc.docId, body: store.doc.body },
- { author: store.doc.meta?.author || 'you' });
- decided.clear();
- showTab('review');
- buildReview(base.label, base.body);
-});
-
-function buildReview(label: string, baseBody: typeof store.doc.body) {
- const box = document.getElementById('reviewPanel')!;
- box.replaceChildren();
- const head = el('div', 't-hint');
- head.textContent = currentSet!.changes.length
- ? `${currentSet!.changes.length} change${currentSet!.changes.length > 1 ? 's' : ''} since ${label}`
- : `No changes since ${label}. Edit the document, then press Review again.`;
- head.style.marginBottom = '9px';
- box.appendChild(head);
- if (!currentSet!.changes.length) return;
-
- const bar = el('div'); bar.style.cssText = 'display:flex;gap:6px;margin-bottom:9px';
- for (const [text, val] of [['Accept all', true], ['Reject all', false]] as const) {
- const b = el('button') as HTMLButtonElement;
- b.textContent = text; b.style.flex = '1';
- b.addEventListener('click', () => {
- for (const c of currentSet!.changes) decided.set(c.id, val);
- applyDecisions(label, baseBody);
- });
- bar.appendChild(b);
- }
- box.appendChild(bar);
-
- for (const c of currentSet!.changes) {
- const card = el('div', 't-card');
- const what = c.kind === 'text'
- ? `${c.removed ? `<del>${esc(c.removed)}</del>` : ''}${c.added ? `<ins>${esc(c.added)}</ins>` : ''}`
- : esc(describe(c));
- card.innerHTML = `<div class="who">${esc(c.author)} · ${c.kind}</div><div class="what">${what}</div>`;
- const btns = el('div', 'btns');
- for (const [text, val] of [['Accept', true], ['Reject', false]] as const) {
- const b = el('button') as HTMLButtonElement;
- b.textContent = text;
- b.addEventListener('click', () => {
- decided.set(c.id, val);
- card.classList.add('done');
- card.querySelectorAll('button').forEach(x => (x as HTMLButtonElement).disabled = true);
- applyDecisions(label, baseBody);
- });
- btns.appendChild(b);
- }
- card.appendChild(btns);
- box.appendChild(card);
- }
-}
-
-/**
- * Rebuild from the BASE plus the accepted changes.
- *
- * Rebuilding from the base rather than patching the live document is what makes
- * "reject" mean anything — the rejected text has to come back. Undecided
- * changes stay as the author left them, so nothing vanishes while you think.
- */
-function applyDecisions(_label: string, baseBody: typeof store.doc.body) {
- const accepted = new Set([...decided].filter(([, v]) => v).map(([k]) => k));
- const undecided = currentSet!.changes.filter(c => !decided.has(c.id)).map(c => c.id);
- const take = new Set([...accepted, ...undecided]);
- try {
- const next = applyRedline({ docId: store.doc.docId, body: baseBody }, currentSet!, take);
- store.commit(d => { d.body = next.body; });
- editor.render(); markDirty(); repaginate();
- toast(decided.size === currentSet!.changes.length
- ? 'All changes resolved' : `${decided.size}/${currentSet!.changes.length} resolved`);
- } catch (e) { toast(`Could not apply: ${(e as Error).message}`); }
-}
+//
+// The actual snapshot-taking, diffing and card-painting live in
+// redlineview.ts, registered through the feature registry with its own panel
+// host (`redlinePanel`) — see that file's header for why this used to be a
+// `buildReview` here that painted into review.ts's `reviewPanel` and erased
+// review.ts's live tracked-changes list every time a redline change was
+// resolved. This wiring is just the two static ⋯-menu buttons calling in.
+document.getElementById('snap')!.addEventListener('click', () => takeSnapshot(featureCtx));
+document.getElementById('review')!.addEventListener('click', () => startReview(featureCtx));
// ─────────────────────────────────────────────────────────── signatures
@@ -1045,15 +968,19 @@ const THEME_ICON: Record<ThemeChoice, string> = {
light: themeSvg('<circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.5 1.5M17.6 17.6l1.5 1.5M2 12h2M20 12h2M4.9 19.1l1.5-1.5M17.6 6.4l1.5-1.5"/>'),
dark: themeSvg('<path d="M21 12.8A9 9 0 1 1 11.2 3 7 7 0 0 0 21 12.8Z"/>'),
};
-const THEME_TEXT: Record<ThemeChoice, string> = { auto: t('Auto'), light: t('Light'), dark: t('Dark') };
+// A FUNCTION, not a const object. Built at import time these three froze in
+// whatever locale was current before the viewer's own was resolved — the rule
+// i18n.ts states and the reason every registered label here is lazy.
+const themeText = (c: ThemeChoice): string =>
+ ({ auto: t('Auto'), light: t('Light'), dark: t('Dark') })[c];
// This is control (1) of the label rule above: the face has to say what the
// NEXT click leaves the app in, not just "theme", so it keeps its text label
// like Save/Saved does.
const paintTheme = () => {
const choice = themeChoice();
label('theme', THEME_ICON[choice],
- t('Theme: {mode} — click to cycle auto/light/dark', { mode: THEME_TEXT[choice] }),
- THEME_TEXT[choice]);
+ t('Theme: {mode} — click to cycle auto/light/dark', { mode: themeText(choice) }),
+ themeText(choice));
};
byId('theme').addEventListener('click', () => {
const order: ThemeChoice[] = ['auto', 'light', 'dark'];
diff --git a/type/src/preview.ts b/type/src/preview.ts
new file mode 100644
index 00000000..63c239a8
--- /dev/null
+++ b/type/src/preview.ts
@@ -0,0 +1,340 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+// The still render written into every saved document, for readers with no JS.
+//
+// WHAT THIS IS FOR (see kernel/src/save.ts registerPreview and the rationale
+// in docs/DECISIONS.md — slides established the whole mechanism, this is the
+// bento/type renderer for it). Thumbnailers — iOS Files, macOS QuickLook/
+// Finder, the Bento Tray app — render HTML with scripting OFF. Until the
+// runtime boots, every document is the same bytes plus the boot splash, so a
+// folder of contracts and letters thumbnailed as a wall of identical dark
+// boxes. A word processor's document is its title and opening paragraphs on a
+// white page — that is what makes one contract distinguishable from another,
+// and it is what this module produces.
+//
+// The kernel owns placement, the replace-never-append rule, the encryption
+// veto and the output-safety check; this file owns the drawing.
+//
+// WHY REAL PAGINATION. `type` computes real page boxes (paginate.ts) over a
+// continuous flow — the first page is not "the first N blocks", it is exactly
+// what the reader would see on screen or on paper, footnote reservations and
+// all. A preview that used a fixed block count instead would show a different
+// "page one" than the document itself paginates to, which defeats the whole
+// point of a first-page thumbnail: recognising THIS document among others.
+//
+// So: render the WHOLE body once into a hidden, detached host wearing the
+// app's own `.t-paper` class (the real stylesheet is already loaded live —
+// this module imports no `.css`, it borrows rules already on the page), run
+// the real paginator over it, and read back which blocks landed before the
+// first page's break. Only THOSE blocks are then re-rendered into the static
+// markup that actually reaches the file — never the measuring host itself,
+// which is thrown away. That keeps an N-page document's preview bounded by
+// one page of content, not by the whole document.
+//
+// THE CONTENT ITSELF is built the same way print.ts builds a page: the
+// PURE string renderer (render.ts's blockHtml/groupBlocks, xref.ts's
+// fillXrefsHtml, embed.ts's embedHtml, math.ts's displayMathHtml) — the exact
+// functions the shared renderer already uses, so this cannot disagree with
+// the app about what a paragraph, a list, a table or an embed looks like.
+//
+// STATICIZED AFTERWARD, same discipline as spaces/dash: every element is
+// walked and stripped of anything that could run, load, accept input, or leak
+// through a data attribute a thumbnailer has no business reading. A `src` is
+// kept only when it is an embedded `data:` URI — the file is self-contained,
+// and a remote URL here would be a preview that phones home from a context
+// where nobody could consent.
+
+import { registerPreview, isEncryptionActive } from '../../kernel/src/save.ts';
+import type { Block, TypeDoc } from './model.ts';
+import { registerReady } from './features.ts';
+import { groupBlocks, blockHtml, renderBody, TAG } from './render.ts';
+import { paginate } from './paginate.ts';
+import { margins, blockStyle } from './layout.ts';
+import { docStyleCss } from './docstyles.ts';
+import { captionIndex, docLang, fillXrefsHtml } from './xref.ts';
+import { embedHtml } from './embed.ts';
+import { displayMathHtml } from './math.ts';
+
+/** Above this the preview is trimmed, then dropped to a title card. A preview
+ * is a courtesy; it must never be why a file is large. */
+export const PREVIEW_BUDGET = 64 * 1024;
+
+const byteLength = (s: string): number => new TextEncoder().encode(s).length;
+
+const esc = (s: string): string =>
+ s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
+
+const FONT_STACK_FALLBACK = '"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif';
+
+// ─────────────────────────────────────────────────── measuring page one
+
+/** A CSS font stack value is user data (docs pick their own typeface) and
+ * reaches a `<div style="…">` attribute here, not a stylesheet — quoting
+ * matters less than making sure it cannot end the attribute early. */
+function cssFontFamily(family: string): string {
+ return family.replace(/["<>]/g, '');
+}
+
+/**
+ * Which blocks of `doc.body` land on page one, in document order.
+ *
+ * Renders the WHOLE document into a hidden host wearing the real `.t-paper`
+ * class (the app's real stylesheet is already loaded live; this module never
+ * imports it), runs the real paginator, then reads back — via the SAME
+ * `data-id` attribute every block already carries (render.ts renderBlock) —
+ * which blocks' top fell before the first page's break. The host is removed
+ * before this returns; nothing it built ever reaches the caller.
+ */
+function firstPageBlocks(doc: TypeDoc): Block[] {
+ if (!doc.body.length) return [];
+ const host = document.createElement('div');
+ host.className = 't-paper';
+ // marked transient defensively — capturePristine runs long before this, so
+ // this node can never reach a save, but the convention costs nothing to
+ // honour and guards against a future caller that clones the live document.
+ host.setAttribute('data-bento-transient', '');
+ const m = margins(doc.page);
+ host.style.cssText =
+ `position:fixed;left:-99999px;top:0;visibility:hidden;pointer-events:none;` +
+ `--page-w:${doc.page.width}px;--page-h:${doc.page.height}px;` +
+ `--mar-x:${doc.page.marginX}px;--mar-t:${m.top}px;--mar-b:${m.bottom}px;` +
+ (doc.type?.family ? `--doc-family:${cssFontFamily(doc.type.family)};` : '') +
+ (doc.type?.size ? `--doc-size:${doc.type.size}px;` : '');
+ document.body.appendChild(host);
+ try {
+ renderBody(doc, host);
+ const metrics = paginate(doc, host);
+ const end = metrics.pages[0]?.end ?? Infinity;
+ if (!isFinite(end)) return doc.body.slice();
+
+ const byId = new Map(doc.body.map((b, i) => [b.id, i] as const));
+ const top0 = host.getBoundingClientRect().top + m.top;
+ let last = -1;
+ for (const el of Array.from(host.querySelectorAll<HTMLElement>('[data-id]'))) {
+ const idx = byId.get(el.dataset.id ?? '');
+ if (idx === undefined) continue;
+ const top = el.getBoundingClientRect().top - top0;
+ if (top < end - 0.5) last = Math.max(last, idx);
+ }
+ return last >= 0 ? doc.body.slice(0, last + 1) : doc.body.slice(0, 1);
+ } catch (err) {
+ // Measuring is a nicety; a failed save is not — fall back to "however
+ // much of the document fits under a generous line guess" rather than
+ // giving up on a preview entirely.
+ console.warn('bento/type: page-one measurement failed, using a plain guess', err);
+ return doc.body.slice(0, 40);
+ } finally {
+ host.remove();
+ }
+}
+
+// ─────────────────────────────────────────────────── content → markup
+
+/** A table, as HTML — the string twin of render.ts renderTable/print.ts
+ * tableHtml, so a preview table cannot drift from what the app actually
+ * draws. A short last row is padded, same as both of those. */
+function tableHtml(rows: Block[][]): string {
+ const cols = rows[0]?.length ?? 1;
+ const cell = (b: Block | undefined) => b ? `<td>${blockHtml(b)}</td>` : '<td></td>';
+ const row = (r: Block[]) => `<tr>${Array.from({ length: cols }, (_, c) => cell(r[c])).join('')}</tr>`;
+ return `<table class="typ-t">${rows.map(row).join('')}</table>`;
+}
+
+/**
+ * The flow, as HTML, for exactly the blocks handed in — never the whole
+ * document. Built from the same pure string functions print.ts uses for its
+ * own page markup: groupBlocks for list/table structure, blockHtml for a
+ * block's inline content (marks, notes, cross-references, citations, inline
+ * math all resolved), embedHtml/displayMathHtml for the atomic kinds
+ * groupBlocks passes through untouched.
+ */
+function flowHtml(body: Block[], doc: TypeDoc): string {
+ const out: string[] = [];
+ for (const tok of groupBlocks(body)) {
+ if (tok.t === 'open') out.push(`<${tok.kind}>`);
+ else if (tok.t === 'close') out.push(`</${tok.kind}>`);
+ else if (tok.t === 'table') out.push(tableHtml(tok.rows));
+ else if (tok.block.kind === 'embed') out.push(embedHtml(tok.block));
+ else if (tok.block.kind === 'image') {
+ const b = tok.block, im = b.image;
+ if (!im) continue;
+ const w = im.w ? ` style="width:${Math.round(im.w * 100)}%"` : '';
+ const al = im.align === 'left' || im.align === 'right' ? ` data-align="${im.align}"` : '';
+ out.push(`<figure class="typ-fig"${al}><img src="${esc(im.src)}" alt="${esc(im.alt ?? '')}"${w}></figure>`);
+ } else if (tok.block.kind === 'math') {
+ out.push(`<div class="typ-math">${displayMathHtml(tok.block.text)}</div>`);
+ } else {
+ const b = tok.block;
+ const st = [docStyleCss(doc, b), blockStyle(b)].filter(Boolean).join(';');
+ out.push(`<${TAG[b.kind]}${st ? ` style="${esc(st)}"` : ''}>${blockHtml(b)}</${TAG[b.kind]}>`);
+ }
+ }
+ // Caption numbers and cross-references are filled from the FULL document's
+ // numbering, not the slice's — "Figure 3" must read 3 even when only its
+ // caption's page made the cut, exactly as print.ts resolves against the
+ // whole body for every page it draws.
+ return fillXrefsHtml(out.join(''), captionIndex(doc.body, docLang(doc)));
+}
+
+// ─────────────────────────────────────────────────── staticizing
+
+/** Anything that could run, load, or accept input has no business in a still.
+ * `video`/`audio` are defence in depth — nothing here ever builds one. */
+const BANNED = 'script,iframe,object,embed,video,audio,canvas,form,input,textarea,select,button,meta,link';
+
+/** Attributes the runtime uses to find or drive things. A still has no
+ * runtime — kept deliberately broad (every `data-*` prefix, plus `on*`)
+ * rather than an allowlist of app features, so a future feature that adds
+ * one more does not have to remember to update this list to stay safe. */
+const DROP_ATTRS_PREFIX = ['data-', 'on'];
+const DROP_ATTRS = ['contenteditable', 'draggable', 'tabindex', 'role', 'href', 'src', 'srcset', 'title', 'aria-label', 'aria-expanded'];
+
+function staticize(root: HTMLElement, keepImages: boolean): void {
+ for (const el of Array.from(root.querySelectorAll(BANNED))) el.remove();
+
+ for (const el of Array.from(root.querySelectorAll<HTMLElement>('*'))) {
+ const isImg = el.tagName === 'IMG';
+ for (const attr of Array.from(el.attributes)) {
+ const name = attr.name.toLowerCase();
+ const drop = DROP_ATTRS.includes(name) || DROP_ATTRS_PREFIX.some(p => name.startsWith(p));
+ if (!drop) continue;
+ if (isImg && name === 'src' && attr.value.startsWith('data:')) continue; // already in the file
+ el.removeAttribute(attr.name);
+ }
+ }
+
+ for (const img of Array.from(root.querySelectorAll<HTMLImageElement>('img'))) {
+ if (!keepImages || !img.getAttribute('src')) {
+ const tint = document.createElement('div');
+ tint.setAttribute('style',
+ 'height:100px;border-radius:4px;margin:0 0 10px;background:linear-gradient(135deg,#f7a6002e,#f7a60012)');
+ img.replaceWith(tint);
+ }
+ }
+}
+
+// ─────────────────────────────────────────────────── frame + tiers
+
+/** Fallbacks matching styles.css so a document that never set a theme still
+ * thumbnails like the app. */
+const INK = '#1e2a3a';
+const PAPER = '#ffffff';
+
+function flat(v: unknown): string | null {
+ const s = typeof v === 'string' ? v.trim() : '';
+ return /^#[0-9a-f]{3,8}$/i.test(s) || /^rgb/i.test(s) ? s : null;
+}
+
+/** The preview's own scoped stylesheet — a deliberately plain sheet, not an
+ * extract of styles.css: it renders the document honestly at a glance and is
+ * not trying to be pixel-identical to the editor (same call spaces makes). */
+function sheet(doc: TypeDoc): string {
+ const family = doc.type?.family ? cssFontFamily(doc.type.family) : FONT_STACK_FALLBACK;
+ const size = doc.type?.size ?? 17;
+ // `theme` is not a declared TypeDoc field (there is no document theme in
+ // this format yet) — read defensively through the model's own additivity
+ // escape hatch in case a future field or a hand-edited file carries one.
+ const theme = (doc as { theme?: { color?: unknown; background?: unknown } }).theme;
+ const ink = flat(theme?.color) ?? INK;
+ const paper = flat(theme?.background) ?? PAPER;
+ return [
+ `.typ-pv{position:fixed;left:0;top:0;width:100%;height:100%;z-index:2147483000;`,
+ `overflow:hidden;background:#e8ebf0;-webkit-font-smoothing:antialiased}`,
+ `.typ-page{background:${paper};color:${ink};box-sizing:border-box;`,
+ `font:${size}px/1.62 ${family};hyphens:auto}`,
+ `.typ-page h1{font-size:26px;line-height:1.24;font-weight:600;margin:0 0 14px;hyphens:none}`,
+ `.typ-page h2{font-size:15.5px;font-weight:600;margin:22px 0 8px;hyphens:none}`,
+ `.typ-page h3{font-size:14px;font-weight:600;margin:16px 0 6px;hyphens:none}`,
+ `.typ-page p{margin:0 0 10px;text-align:justify}`,
+ `.typ-page ul,.typ-page ol{margin:0 0 10px;padding-inline-start:1.6em}`,
+ `.typ-page li{margin:0 0 3px;text-align:justify}`,
+ `.typ-page blockquote{margin:12px 0;padding-left:14px;border-left:2px solid #d8dce2;`,
+ `color:#3a3d44;font-style:italic}`,
+ `.typ-t{width:100%;border-collapse:collapse;table-layout:fixed;margin:0 0 12px;font-size:.95em}`,
+ `.typ-t td{border-bottom:1px solid #c3cad4;padding:6px 10px 6px 0;vertical-align:top;`,
+ `text-align:start;word-break:break-word}`,
+ `.typ-fig{margin:12px 0;text-align:center}`,
+ `.typ-fig[data-align="left"]{text-align:left}.typ-fig[data-align="right"]{text-align:right}`,
+ `.typ-fig img{max-width:100%;height:auto}`,
+ `.typ-math{margin:14px 0;text-align:center}`,
+ `.typ-embed{margin:12px 0;text-align:center}`,
+ `.typ-embed svg{max-width:100%;height:auto}`,
+ `.typ-card{padding:64px 32px;text-align:center;color:#5b6472}`,
+ `.typ-card b{display:block;font-size:28px;color:${ink};margin:12px 0 6px}`,
+ ].join('');
+}
+
+function frame(inner: HTMLElement, doc: TypeDoc): HTMLElement {
+ const box = document.createElement('div');
+ box.className = 'typ-pv';
+ const style = document.createElement('style');
+ style.textContent = sheet(doc);
+ box.appendChild(style);
+ const p = doc.page;
+ const wrap = document.createElement('div');
+ wrap.setAttribute('style',
+ `width:${p.width}px;transform-origin:0 0;transform:none;` +
+ `transform:scale(calc(100vw / ${p.width}px));padding:24px 0`);
+ const page = document.createElement('div');
+ page.className = 'typ-page';
+ page.setAttribute('style',
+ `width:${p.width}px;min-height:${p.height}px;padding:${p.marginTop}px ${p.marginX}px ${p.marginBottom}px;` +
+ `margin:0 auto;box-shadow:0 2px 24px rgba(0,0,0,.12)`);
+ page.appendChild(inner);
+ wrap.appendChild(page);
+ box.appendChild(wrap);
+ return box;
+}
+
+/** Last resort: the document's title on its own page. */
+function titleCard(doc: TypeDoc): HTMLElement {
+ const card = document.createElement('div');
+ card.className = 'typ-card';
+ const h = document.createElement('b');
+ h.textContent = doc.title || 'Untitled document';
+ card.appendChild(h);
+ if (doc.subtitle) {
+ const p = document.createElement('div');
+ p.textContent = doc.subtitle;
+ card.appendChild(p);
+ }
+ return frame(card, doc);
+}
+
+/**
+ * The still for this document: page one, rendered flat, or null when there is
+ * nothing to show — a pristine shell has an empty document, and a boot splash
+ * is the honest thing for a file that genuinely holds none yet.
+ *
+ * THE ENCRYPTION CHECK HERE IS BELT AND BRACES, not the gate. The kernel's
+ * `previewAllowed` is the real one (checks the in-memory flag AND re-parses
+ * the block that is about to be written); this provider only ever sees the
+ * document, so it repeats the flag half. The cost is one function call; the
+ * failure it prevents is publishing a contract's opening paragraphs in
+ * plaintext beside the ciphertext that exists to hide them.
+ */
+export function buildTypePreview(doc: TypeDoc): HTMLElement | null {
+ if (isEncryptionActive()) return null;
+ if (!doc?.body?.length) return null;
+
+ const pageOne = firstPageBlocks(doc);
+ if (!pageOne.length) return titleCard(doc);
+
+ for (const keepImages of [true, false]) {
+ const host = document.createElement('div');
+ host.innerHTML = flowHtml(pageOne, doc);
+ staticize(host, keepImages);
+ const built = frame(host, doc);
+ if (byteLength(built.innerHTML) <= PREVIEW_BUDGET) return built;
+ }
+ return titleCard(doc);
+}
+
+// ─────────────────────────────────────────────────── registration
+
+const isTypeDoc = (d: unknown): d is TypeDoc =>
+ typeof d === 'object' && d !== null && Array.isArray((d as { body?: unknown }).body);
+
+registerReady(() => {
+ registerPreview(doc => (isTypeDoc(doc) ? buildTypePreview(doc) : null));
+});
diff --git a/type/src/props.ts b/type/src/props.ts
index 49c82f43..06909028 100644
--- a/type/src/props.ts
+++ b/type/src/props.ts
@@ -140,7 +140,7 @@ function textSection(host: HTMLElement, ctx: FeatureContext, b: Block): void {
row(body, t('Style'), select(
STYLE_OPTIONS.map(([v, l]) => [v, t(l)] as [string, string]),
b.kind,
- v => { ctx.editor.setKind(v as BlockKind); ctx.refresh(); },
+ v => onSelection(ctx, () => ctx.editor.setKind(v as BlockKind)),
));
// ONE list, in marks.ts, rendered here and in the selection toolbar. It was
@@ -181,8 +181,7 @@ function textSection(host: HTMLElement, ctx: FeatureContext, b: Block): void {
sel.family === 'mixed' ? MIXED : (sel.family ?? DEFAULT),
v => {
if (v === MIXED) return;
- ctx.editor.setFontOn({ family: v === DEFAULT ? null : v });
- ctx.refresh();
+ onSelection(ctx, () => ctx.editor.setFontOn({ family: v === DEFAULT ? null : v }));
});
(faceSel as HTMLSelectElement).disabled = !hasRange;
row(body, t('Typeface'), faceSel);
@@ -190,7 +189,7 @@ function textSection(host: HTMLElement, ctx: FeatureContext, b: Block): void {
const sizeField = numberField(
typeof sel.size === 'number' ? sel.size : undefined,
sel.size === 'mixed' ? t('mixed') : t('default'),
- v => { ctx.editor.setFontOn({ size: v === undefined ? null : v }); ctx.refresh(); });
+ v => onSelection(ctx, () => ctx.editor.setFontOn({ size: v === undefined ? null : v })));
(sizeField as HTMLInputElement).disabled = !hasRange;
row(body, t('Size (px)'), sizeField);
@@ -489,6 +488,104 @@ function build(host: HTMLElement, ctx: FeatureContext): void {
documentSection(host, ctx);
}
+/**
+ * The last selection the user made IN THE DOCUMENT, and the way panel controls
+ * act on it.
+ *
+ * The formatting buttons in this panel preventDefault on mousedown, so focus
+ * never leaves the paper and the selection survives being clicked. A native
+ * <select> cannot do that — it has to take focus to open its list, and the
+ * document selection goes with it. The result was that choosing a typeface
+ * worked once and then left you with nothing selected, so a second property
+ * could not be applied to the same words without re-selecting them.
+ *
+ * So the panel remembers the range while the caret is still in the document,
+ * restores it around the action, and restores it again afterwards — the user
+ * keeps the words they selected and can keep working on them.
+ */
+type Remembered = { id: string; at: number; to?: number };
+let lastRange: Remembered | null = null;
+
+function rememberSelection(host: HTMLElement, ctx: FeatureContext): void {
+ // While the panel holds focus the live selection is gone, and reading it
+ // would overwrite the very thing being preserved.
+ if (host.contains(document.activeElement)) return;
+ const c = ctx.editor.caret();
+ if (c) lastRange = { id: c.id, at: c.at, to: c.to };
+}
+
+function onSelection(ctx: FeatureContext, run: () => void): void {
+ if (lastRange) ctx.editor.setCaret(lastRange);
+ run();
+ // The REFRESH happens here, inside, and that ordering is the whole point:
+ // ctx.refresh() re-renders the body, which wipes any selection set before
+ // it. Restoring first and refreshing afterwards — which is what the call
+ // sites used to do — put the range back and then threw it away a
+ // millisecond later, so the action worked and the words still looked
+ // unselected.
+ ctx.refresh();
+ if (!lastRange) return;
+ // A DOM selection set while a form control holds focus does not stick: the
+ // action worked, but the words stopped LOOKING selected, which reads as the
+ // selection having been lost even though the next property still applies to
+ // it. So a <select> that has just committed hands focus back to the
+ // document, where the highlight is visible again.
+ //
+ // Only a <select>: picking an option IS the end of that interaction. A text
+ // field fires `change` on blur too, and yanking focus there would eject
+ // someone who is still typing.
+ const active = document.activeElement as HTMLElement | null;
+ if (active?.tagName === 'SELECT') {
+ // FOCUS FIRST, then set the range. setCaret only calls addRange, and a
+ // selection placed inside a contenteditable that does not have focus is
+ // not kept by the browser — the range went in and getSelection() came back
+ // empty, so the words still did not look selected.
+ active.blur();
+ ctx.editor.host.focus();
+ }
+ ctx.editor.setCaret(lastRange);
+}
+
+/**
+ * What the panel actually depends on: the block under the caret, the range,
+ * and the marks over it. Anything else changing is not a reason to rebuild.
+ */
+function signature(ctx: FeatureContext): string {
+ const c = ctx.editor.caret();
+ if (!c) return 'none';
+ const b = ctx.store.block(c.id);
+ const marks = [...(ctx.editor.activeMarks() as Set<string>)].sort().join(',');
+ return `${c.id}:${c.at}:${c.to ?? ''}:${b?.kind ?? ''}:${b?.styleId ?? ''}:${marks}`;
+}
+let last = '';
+
+/**
+ * Rebuild only when it would show something different — and never while the
+ * pointer or keyboard is inside the panel.
+ *
+ * REBUILDING FED ITSELF. `build()` calls host.replaceChildren(), which destroys
+ * and recreates this panel's inputs and selects; destroying a form control
+ * fires `selectionchange` on the document, which is the very signal that
+ * triggered the rebuild. With a text selection present the loop ran at ~179
+ * selection events and ~4,900 panel mutations PER SECOND, forever, burning CPU
+ * the whole time.
+ *
+ * The visible symptom was that no dropdown in this panel could be opened while
+ * text was selected: the <select> the user clicked was destroyed and replaced
+ * within milliseconds, so the native popup closed instantly. Reported exactly
+ * that way, and the loop is why.
+ *
+ * The activeElement guard is the second half and matters on its own: even one
+ * legitimate rebuild, arriving while a dropdown is open, would close it.
+ */
+function rebuild(host: HTMLElement, ctx: FeatureContext): void {
+ if (host.contains(document.activeElement)) return;
+ const sig = signature(ctx);
+ if (sig === last) return;
+ last = sig;
+ build(host, ctx);
+}
+
registerPanel({
id: 'props',
label: () => t('Properties'),
@@ -496,7 +593,7 @@ registerPanel({
order: 10,
mount(host, ctx) {
build(host, ctx);
- registerSelection(() => build(host, ctx));
+ registerSelection(() => { rememberSelection(host, ctx); rebuild(host, ctx); });
},
- update(host, ctx) { build(host, ctx); },
+ update(host, ctx) { last = ''; rebuild(host, ctx); },
});
diff --git a/type/src/redlineview.css b/type/src/redlineview.css
new file mode 100644
index 00000000..71295a4c
--- /dev/null
+++ b/type/src/redlineview.css
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT */
+/* Copyright (c) 2026 The Bento authors */
+
+/* redlineview.ts — the snapshot-redline surface, a sibling section of the
+ Review tab beside review.ts's live tracked changes (see redlineview.ts's
+ header for why they are two files with two hosts). Reuses .t-card/.t-hint/
+ .btns from styles.css — this file only adds what those didn't already
+ cover: a decided card's buttons go inert rather than merely dim, so a
+ resolved redline change reads the same "done" way .t-card.done already
+ does for its background. */
+
+.t-card .btns button:disabled {
+ opacity: .5;
+ cursor: default;
+}
diff --git a/type/src/redlineview.ts b/type/src/redlineview.ts
new file mode 100644
index 00000000..493814ad
--- /dev/null
+++ b/type/src/redlineview.ts
@@ -0,0 +1,169 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2026 The Bento authors
+//
+// THE SNAPSHOT REDLINE SURFACE — comparing the live document against a chosen
+// earlier revision, computed once per "Review changes…" click.
+//
+// NOT review.ts. review.ts's tracked changes are live, per-edit, and always
+// current — driven by `ins`/`del` marks the document itself carries. This is
+// the opposite kind of review: retrospective, computed on demand by
+// redline.ts's word-level diff against a saved `doc.revisions` entry, with no
+// marks in the document at all. Both are real features and both belong in the
+// Review tab; they used to share ONE div (main.ts's old `buildReview` painted
+// straight into review.ts's `reviewPanel` by id) and each one's repaint erased
+// the other's — review.ts's panel repaints on every store event, and a
+// snapshot redline's own Accept/Reject buttons commit to the store, so
+// resolving one redline change wiped the redline UI showing it. This module
+// gets its OWN host (`redlinePanel`, a sibling section of the Review tab,
+// declared in main.ts beside `reviewPanel`) so painting one can never reach
+// the other's div.
+//
+// Registered through the feature registry (registerPanel) rather than reached
+// by id from main.ts — the whole reason the two features could collide in the
+// first place was main.ts's old `buildReview` doing `getElementById` on a div
+// another module also owns. A panel that only ever receives its own host
+// element as an argument cannot make that mistake.
+
+import './redlineview.css';
+import { registerPanel, type FeatureContext } from './features.ts';
+import { redline, apply as applyRedline, describe, type ChangeSet } from './redline.ts';
+import type { Block } from './model.ts';
+import { uid } from './model.ts';
+
+const esc = (s: string) => s.replace(/[&<>]/g, c => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;' }[c]!));
+const el = (tag: string, cls?: string): HTMLElement => {
+ const n = document.createElement(tag); if (cls) n.className = cls; return n;
+};
+
+// Module state: the in-progress redline session. `null` until the reviewer
+// takes a Snapshot and runs Review — same lifecycle the old main.ts globals
+// (`currentSet`/`decided`) had, just no longer reachable from outside this file.
+let currentSet: ChangeSet | null = null;
+let baseBody: Block[] | null = null;
+let baseLabel = '';
+const decided = new Map<string, boolean>();
+
+// Set on mount, so the two actions below (which don't themselves commit to the
+// store — computing a redline is a pure read) can still ask the panel to
+// repaint. Accept/Reject DO commit, and every panel's `update` is already
+// wired to `store.on` by main.ts's render loop, so those repaint for free —
+// this ref only covers the moment nothing in the store changed yet.
+let repaint: (() => void) | null = null;
+
+/** ⋯ → Snapshot: record the document as it stands now, the base a later Review compares against. */
+export function takeSnapshot(ctx: FeatureContext): void {
+ const label = `Revision ${ctx.store.doc.revisions.length + 1}`;
+ ctx.store.commit(d => {
+ d.revisions.push({ id: uid('rev'), at: new Date().toISOString(), label,
+ body: JSON.parse(JSON.stringify(d.body)) });
+ });
+ ctx.toast(`${label} recorded — edit, then Review`);
+}
+
+/** ⋯ → Review changes…: redline the live document against the latest snapshot. */
+export function startReview(ctx: FeatureContext): void {
+ if (!ctx.store.doc.revisions.length) { ctx.toast('Take a Snapshot first, then edit, then Review'); return; }
+ const base = ctx.store.doc.revisions[ctx.store.doc.revisions.length - 1];
+ currentSet = redline({ docId: ctx.store.doc.docId, body: base.body },
+ { docId: ctx.store.doc.docId, body: ctx.store.doc.body },
+ { author: ctx.store.doc.meta?.author || 'you' });
+ decided.clear();
+ baseBody = base.body;
+ baseLabel = base.label;
+ ctx.showPanel('review');
+ repaint?.();
+}
+
+/**
+ * Rebuild the live document from BASE plus the accepted changes.
+ *
+ * Rebuilding from the base rather than patching the live document is what
+ * makes "reject" mean anything — the rejected text has to come back.
+ * Undecided changes stay as the author left them, so nothing vanishes while
+ * the reviewer is still deciding.
+ */
+function applyDecisions(ctx: FeatureContext): void {
+ const accepted = new Set([...decided].filter(([, v]) => v).map(([k]) => k));
+ const undecided = currentSet!.changes.filter(c => !decided.has(c.id)).map(c => c.id);
+ const take = new Set([...accepted, ...undecided]);
+ try {
+ const next = applyRedline({ docId: ctx.store.doc.docId, body: baseBody! }, currentSet!, take);
+ ctx.store.commit(d => { d.body = next.body; });
+ ctx.refresh();
+ ctx.toast(decided.size === currentSet!.changes.length
+ ? 'All changes resolved' : `${decided.size}/${currentSet!.changes.length} resolved`);
+ } catch (e) { ctx.toast(`Could not apply: ${(e as Error).message}`); }
+}
+
+function paint(host: HTMLElement, ctx: FeatureContext): void {
+ host.replaceChildren();
+
+ if (!currentSet) {
+ const hint = el('div', 't-hint');
+ hint.textContent = ctx.store.doc.revisions.length
+ ? 'Snapshot recorded. Edit the document, then choose "Review changes…" from ⋯ to redline against it.'
+ : 'Take a Snapshot from ⋯, edit the document, then "Review changes…" redlines it against that point.';
+ host.appendChild(hint);
+ return;
+ }
+
+ const head = el('div', 't-hint');
+ head.textContent = currentSet.changes.length
+ ? `${currentSet.changes.length} change${currentSet.changes.length > 1 ? 's' : ''} since ${baseLabel}`
+ : `No changes since ${baseLabel}. Edit the document, then press Review again.`;
+ head.style.marginBottom = '9px';
+ host.appendChild(head);
+ if (!currentSet.changes.length) return;
+
+ const bar = el('div'); bar.style.cssText = 'display:flex;gap:6px;margin-bottom:9px';
+ for (const [text, val] of [['Accept all', true], ['Reject all', false]] as const) {
+ const b = el('button') as HTMLButtonElement;
+ b.type = 'button';
+ b.textContent = text; b.style.flex = '1';
+ b.addEventListener('click', () => {
+ for (const c of currentSet!.changes) decided.set(c.id, val);
+ applyDecisions(ctx);
+ });
+ bar.appendChild(b);
+ }
+ host.appendChild(bar);
+
+ for (const c of currentSet.changes) {
+ const card = el('div', 't-card');
+ if (decided.has(c.id)) card.classList.add('done');
+ const what = c.kind === 'text'
+ ? `${c.removed ? `<del>${esc(c.removed)}</del>` : ''}${c.added ? `<ins>${esc(c.added)}</ins>` : ''}`
+ : esc(describe(c));
+ card.innerHTML = `<div class="who">${esc(c.author)} · ${c.kind}</div><div class="what">${what}</div>`;
+ const btns = el('div', 'btns');
+ for (const [text, val] of [['Accept', true], ['Reject', false]] as const) {
+ const b = el('button') as HTMLButtonElement;
+ b.type = 'button';
+ b.textContent = text;
+ b.disabled = decided.has(c.id);
+ b.addEventListener('click', () => {
+ decided.set(c.id, val);
+ applyDecisions(ctx);
+ });
+ btns.appendChild(b);
+ }
+ card.appendChild(btns);
+ host.appendChild(card);
+ }
+}
+
+registerPanel({
+ id: 'redline',
+ label: 'Snapshot redline',
+ // a SECTION of the Review tab, beside tracked changes and signatures — but
+ // its OWN div (see the file header): review.ts already owns `reviewPanel`
+ // and repaints it on every store event, which is exactly what made the old
+ // shared-host version of this feature erase itself.
+ host: 'redlinePanel',
+ order: 30,
+ mount(host, ctx) {
+ repaint = () => paint(host, ctx);
+ repaint();
+ },
+ update(host, ctx) { paint(host, ctx); },
+});
diff --git a/type/src/registry.ts b/type/src/registry.ts
index ebb92f35..6ceb987a 100644
--- a/type/src/registry.ts
+++ b/type/src/registry.ts
@@ -36,3 +36,11 @@ import './comments.ts';
// All markup/No markup/Original display modes. track.ts is the engine; this
// is what makes an eighty-change document usable.
import './review.ts';
+import './redlineview.ts'; // snapshot redlining — own panel host, see its header
+// auto-save + crash recovery: a debounced IndexedDB snapshot, a restore
+// banner on boot when it disagrees with the loaded file, and version
+// history (About dialog). See autosave.ts's header for the full design.
+import './autosave.ts';
+// the static first-page render written into every saved file, for readers
+// (thumbnailers) that run no script — see preview.ts's header.
+import './preview.ts';