Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

i18n: fix five defects the language-pack authors found

nyblnet30556f0f746d
diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md
index a8f1c136..7bf4afb0 100644
--- a/docs/DECISIONS.md
+++ b/docs/DECISIONS.md
@@ -404,3 +404,43 @@ changing the catalog format, the build script, the CI gate and every catalog.
Translators phrase them count-agnostically instead (`מחוברים: {n}`), which is
standard practice when a framework lacks plurals and costs nothing at runtime.
Revisit only if a language arrives where the workaround genuinely fails.
+
+## One English word, two meanings = two keys
+
+**Decided:** 2026-07-26. Consequence of English-string-as-key; binds every
+Bento app that uses `kernel/src/i18n.ts`.
+
+Gettext-style catalogs key on the English source string, which quietly assumes
+that one English word means one thing. It often doesn't. `Loop` was the
+animation loop AND the media playback toggle; `solid` was a fill style AND a
+line style. Every language had to pick one word and be wrong in the other
+place — Swedish wants *enfärgad* for a solid colour and *heldragen* for a
+solid line, and no amount of translator care fixes that from inside the
+catalog. Both were found independently by pack authors, which is the signal:
+if a translator has to ask "which one is this?", the key is broken, not them.
+
+**The rule.** When one English string reaches `t()` from two call sites that
+mean different things, the more specific site takes a QUALIFIED key
+(`Loop animation`, `solid colour`) and the plainer one keeps the bare word.
+Do not add a context-prefix convention — the key is also what English users
+read, so it has to be a sentence, not `fill.solid`.
+
+**Model words never move.** Values like `solid`/`gradient` are format words
+stored in the document. Disambiguate the LABEL only: `labeledSelect()` takes
+`[value, label]` pairs precisely so the displayed string and the stored string
+can diverge. A "fix" that changes what is written to `doc` is a format change
+wearing an i18n costume.
+
+**The cost, so it is paid deliberately.** Re-keying invalidates that entry in
+every bundled catalog AND in every pack, silently — the string simply falls
+back to English. So it happens BEFORE packs are published, in one PR, with
+the affected keys listed for pack authors to pick up. After packs ship,
+re-keying is a coordinated break across every language and should be weighed
+against living with a slightly wrong word.
+
+**Interpolated values are strings too.** `t('This {kind} is…', { kind })` with
+a model word for `kind` puts an English noun inside a translated sentence.
+Localise at the call site (`{ kind: t(kind) }`) — and check the sentence still
+agrees grammatically, since a substituted noun carries gender in half the
+languages we ship (French needed "Ce fichier {kind}" once `vidéo` could land
+in it).
diff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.ts
index 1feb7657..426f09cf 100644
--- a/slides/src/editor/editor.ts
+++ b/slides/src/editor/editor.ts
@@ -1576,7 +1576,9 @@ export class Editor {
/** Insert a media element that REFERENCES a URL (not embedded). */
private promptMediaUrl(kind: 'video' | 'audio') {
- const url = window.prompt(t('Paste the {kind} URL — it stays a link, the file is not embedded:', { kind }))?.trim()
+ // t(kind), not kind: 'video'/'audio' are model words here, and dropping
+ // them raw into a translated sentence leaves one English noun in it.
+ const url = window.prompt(t('Paste the {kind} URL — it stays a link, the file is not embedded:', { kind: t(kind) }))?.trim()
if (!url) return
this.insertMedia(kind, url)
}
@@ -1593,7 +1595,7 @@ export class Editor {
const mb = Math.round(file.size / (1024 * 1024))
const ok = confirm(t(
'This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\n\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)',
- { kind, mb },
+ { kind: t(kind), mb }, // localise the noun — see promptMediaUrl
))
if (!ok) { this.insertMedia(kind, ''); return } // empty element → panel URL field
}
diff --git a/slides/src/editor/panels.ts b/slides/src/editor/panels.ts
index 57629d4e..f31b84b2 100644
--- a/slides/src/editor/panels.ts
+++ b/slides/src/editor/panels.ts
@@ -38,7 +38,7 @@ const ROW_TIPS: Record<string, string> = {
'Preview set': 'Which hover set to show on the canvas while you edit',
'Role': 'What this text IS in a layout (title, body…) — applying a layout matches elements by role',
'Shadow': 'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency',
- 'Color': 'Colour with opacity — pick with the swatch, the % field is transparency',
+ 'Color': 'Colour with opacity — pick with the swatch, the % field is how opaque it is',
'Enter': 'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)',
'Enter secs': 'How long the entrance takes, in seconds',
'Count up': 'Numbers in this text count up from zero when the slide enters',
@@ -46,7 +46,10 @@ const ROW_TIPS: Record<string, string> = {
'Zoom': 'Ken Burns direction — drift, settle out, or settle in',
'Zoom %': 'How far the Ken Burns zoom travels',
'Zoom secs': 'How long one Ken Burns pass takes',
- 'Loop': 'A repeating animation: marching dashes along strokes, or motion along a drawn path',
+ // 'Loop animation' — NOT 'Loop': the media panel's playback toggle owns that
+ // word, and one key cannot mean both (a language must pick one and be wrong
+ // in the other place).
+ 'Loop animation': 'A repeating animation: marching dashes along strokes, or motion along a drawn path',
'Loop secs': 'Seconds per lap of the loop',
'Path': 'The motion path — edit it as draggable points on the canvas',
'Lap easing': 'Tempo across one lap — ease-in-out dwells at the ends, linear is constant',
@@ -83,6 +86,19 @@ const ROW_TIPS: Record<string, string> = {
'State of': 'Makes this slide a hidden state of another — reached by clicked links, skipped by arrow keys',
}
+/**
+ * Fill-style options: the stored model words are 'solid'/'gradient', only the
+ * LABEL is localised. 'solid' here is a solid COLOUR, which in many languages
+ * is a different word from the 'solid' LINE style further down (Swedish:
+ * enfärgad vs heldragen) — so it gets its own catalog key rather than sharing
+ * one that must be wrong in one of the two places.
+ *
+ * A function, not a const: t() in a module-level const freezes the English at
+ * import time.
+ */
+const fillStyles = (): Array<[string, string]> =>
+ [['solid', t('solid colour')], ['gradient', t('gradient')]]
+
export class PropsPanel {
private burst = false
@@ -348,14 +364,16 @@ export class PropsPanel {
}
private buildMultiPanel(els: SlideElement[]) {
- this.section(`${els.length} elements`)
+ // Separate singular key rather than plural machinery — same shape as the
+ // 'Pasted 1 item' / 'Pasted {n} items' pair in editor.ts.
+ this.section(els.length === 1 ? t('1 element') : t('{n} elements', { n: els.length }))
this.opsRow(els)
this.section(t('Arrange'))
this.arrangeRows(els)
}
private buildElementPanel(el: SlideElement) {
- this.section({ text: 'Text', shape: 'Shape', image: 'Image', svg: 'Diagram', chart: 'Chart', table: 'Table', media: el.type === 'media' && el.kind === 'audio' ? 'Audio' : 'Video' }[el.type])
+ this.section(t({ text: 'Text', shape: 'Shape', image: 'Image', svg: 'Diagram', chart: 'Chart', table: 'Table', media: el.type === 'media' && el.kind === 'audio' ? 'Audio' : 'Video' }[el.type]))
this.opsRow([el])
// Lead with the element's OWN controls — the reason it was selected —
@@ -623,7 +641,7 @@ export class PropsPanel {
// continuous loop animation
const loop = el.fx?.loop
- this.row('Loop', this.select(
+ this.row('Loop animation', this.select(
['none', 'dash-march', 'motion-path'],
loop?.type ?? 'none',
(v) => setFx({
@@ -827,7 +845,7 @@ export class PropsPanel {
this.row('Weight', this.weightSelect(el))
// Text fill: a solid colour, or a multi-stop gradient painted into the glyphs.
const tgrad = el.colorGradient
- this.row('Fill style', this.select(['solid', 'gradient'], tgrad ? 'gradient' : 'solid', (v) =>
+ this.row('Fill style', this.labeledSelect(fillStyles(), tgrad ? 'gradient' : 'solid', (v) =>
this.mutate(el.id, (e) => {
const tx = e as TextElement
if (v === 'gradient') {
@@ -997,7 +1015,7 @@ export class PropsPanel {
private buildShapeProps(el: ShapeElement) {
this.section(t('Fill & stroke'))
const grad = el.fillGradient
- this.row('Fill style', this.select(['solid', 'gradient'], grad ? 'gradient' : 'solid', (v) =>
+ this.row('Fill style', this.labeledSelect(fillStyles(), grad ? 'gradient' : 'solid', (v) =>
this.mutate(el.id, (e) => {
const s = e as ShapeElement
if (v === 'gradient') {
@@ -1599,12 +1617,15 @@ export class PropsPanel {
this.row('URL', url)
// playback
+ // Labels stay RAW English — row() translates them, and looks its tooltip up
+ // by the English label. Passing t(…) here would translate twice and miss
+ // ROW_TIPS in every locale but English.
const toggle = (label: string, on: boolean, set: (v: boolean) => void) =>
this.row(label, this.select(['off', 'on'], on ? 'on' : 'off', (v) => set(v === 'on')))
- toggle(t('Controls'), el.controls !== false, (v) => this.mutate(el.id, (e) => { (e as MediaElement).controls = v ? undefined : false }, true))
- toggle(t('Autoplay'), !!el.autoplay, (v) => this.mutate(el.id, (e) => { (e as MediaElement).autoplay = v || undefined }, true))
- toggle(t('Loop'), !!el.loop, (v) => this.mutate(el.id, (e) => { (e as MediaElement).loop = v || undefined }, true))
- toggle(t('Muted'), !!el.muted, (v) => this.mutate(el.id, (e) => { (e as MediaElement).muted = v || undefined }, true))
+ toggle('Controls', el.controls !== false, (v) => this.mutate(el.id, (e) => { (e as MediaElement).controls = v ? undefined : false }, true))
+ toggle('Autoplay', !!el.autoplay, (v) => this.mutate(el.id, (e) => { (e as MediaElement).autoplay = v || undefined }, true))
+ toggle('Loop', !!el.loop, (v) => this.mutate(el.id, (e) => { (e as MediaElement).loop = v || undefined }, true))
+ toggle('Muted', !!el.muted, (v) => this.mutate(el.id, (e) => { (e as MediaElement).muted = v || undefined }, true))
const note = document.createElement('p')
note.className = 'ed-hint'
note.textContent = t('Autoplay runs only while presenting; browsers require “muted” for video to autoplay.')
diff --git a/slides/src/i18n/de.ts b/slides/src/i18n/de.ts
index d4d8ca20..d4091f47 100644
--- a/slides/src/i18n/de.ts
+++ b/slides/src/i18n/de.ts
@@ -602,7 +602,7 @@ export const de: Catalog = {
'Which hover set to show on the canvas while you edit': 'Welches Hover-Set beim Bearbeiten auf der Leinwand gezeigt wird',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': 'Was dieser Text in einem Layout IST (Titel, Fließtext…) — beim Anwenden wird nach Rolle zugeordnet',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': 'Schatten-Presets — der Schatten folgt der echten Form des Elements, Rundungen und Transparenz',
- 'Colour with opacity — pick with the swatch, the % field is transparency': 'Farbe mit Deckkraft — per Farbfeld wählen, das %-Feld ist die Transparenz',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': 'Farbe mit Deckkraft — per Farbfeld wählen, das %-Feld ist die Deckkraft',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': 'Eingangsanimation beim Erscheinen der Folie (nur bei Nicht-Morph-Einstiegen; gleiche Reihenfolge = gleichzeitig)',
'How long the entrance takes, in seconds': 'Dauer des Eingangs in Sekunden',
'Numbers in this text count up from zero when the slide enters': 'Zahlen in diesem Text zählen beim Folieneintritt von null hoch',
@@ -693,4 +693,13 @@ export const de: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "Kommt in die Präsentation selbst und reist mit der Datei mit. Wird beim nächsten Speichern geschrieben.",
"Put it in the deck — written when you next save.": "In die Präsentation legen — wird beim nächsten Speichern geschrieben.",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "Für v{v} erstellt — {n} Textstellen erscheinen weiterhin auf Englisch. Ein Bento-Update frischt sie auf.",
+ "1 element": "1 Element",
+ "{n} elements": "{n} Elemente",
+ "Diagram": "Grafik",
+ "Video": "Video",
+ "Audio": "Audio",
+ "video": "Video",
+ "audio": "Audio",
+ "Loop animation": "Animationsschleife",
+ "solid colour": "Volltonfarbe",
}
diff --git a/slides/src/i18n/es.ts b/slides/src/i18n/es.ts
index 1cb73d5b..7d435a86 100644
--- a/slides/src/i18n/es.ts
+++ b/slides/src/i18n/es.ts
@@ -602,7 +602,7 @@ export const es: Catalog = {
'Which hover set to show on the canvas while you edit': 'Qué conjunto de hover mostrar en el lienzo mientras editas',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': 'Qué ES este texto en un diseño (título, cuerpo…) — al aplicar un diseño se emparejan por rol',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': 'Preajustes de sombra — la sombra sigue la forma real del elemento, sus esquinas y transparencias',
- 'Colour with opacity — pick with the swatch, the % field is transparency': 'Color con opacidad — elige con la muestra; el campo % es la transparencia',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': 'Color con opacidad — elige con la muestra; el campo % es la opacidad',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': 'Animación de entrada al aparecer la diapositiva (solo en entradas sin morph; mismo orden = a la vez)',
'How long the entrance takes, in seconds': 'Duración de la entrada, en segundos',
'Numbers in this text count up from zero when the slide enters': 'Los números de este texto cuentan desde cero al entrar la diapositiva',
@@ -693,4 +693,13 @@ export const es: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "Va dentro de la presentación, así viaja con el archivo. Se escribe al guardar.",
"Put it in the deck — written when you next save.": "Ponerlo en la presentación: se escribe al guardar.",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "Creado para la v{v}: {n} frases siguen en inglés. Actualizar Bento lo soluciona.",
+ "1 element": "1 elemento",
+ "{n} elements": "{n} elementos",
+ "Diagram": "Diagrama",
+ "Video": "Vídeo",
+ "Audio": "Audio",
+ "video": "vídeo",
+ "audio": "audio",
+ "Loop animation": "Animación en bucle",
+ "solid colour": "color sólido",
}
diff --git a/slides/src/i18n/fr.ts b/slides/src/i18n/fr.ts
index 2ab9b2bc..8e936409 100644
--- a/slides/src/i18n/fr.ts
+++ b/slides/src/i18n/fr.ts
@@ -484,7 +484,7 @@ export const fr: Catalog = {
"Replace file…": "Remplacer le fichier…",
"Source & playback": "Source et lecture",
"This file is {mb} MB. Embedding makes the .bento.html large and slow to open and save. Embed anyway?": "Ce fichier fait {mb} Mo. L’intégrer rend le .bento.html volumineux et lent à ouvrir et enregistrer. Intégrer quand même ?",
- "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\n\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Ce {kind} fait {mb} Mo. L’intégrer le conserve dans le .bento.html mais rend le fichier volumineux et lent à ouvrir et enregistrer.\n\nIntégrer quand même ? (Annulez, puis collez une URL hébergée dans le panneau pour garder le deck léger.)",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\n\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Ce fichier {kind} fait {mb} Mo. L’intégrer le conserve dans le .bento.html mais rend le fichier volumineux et lent à ouvrir et enregistrer.\n\nIntégrer quand même ? (Annulez, puis collez une URL hébergée dans le panneau pour garder le deck léger.)",
"URL": "URL",
"…or paste a media URL": "…ou collez une URL de média",
// signed writes: viewer + presentation package (v0.9.18)
@@ -501,7 +501,7 @@ export const fr: Catalog = {
"Video from a link…": "Vidéo depuis un lien…",
"Audio from a link…": "Audio depuis un lien…",
"Add video or audio — from a file (embeds it) or a link (stays a URL)": "Ajouter une vidéo ou un audio — depuis un fichier (intégré) ou un lien (reste une URL)",
- "Paste the {kind} URL — it stays a link, the file is not embedded:": "Collez l’URL du {kind} — elle reste un lien, le fichier n’est pas intégré :",
+ "Paste the {kind} URL — it stays a link, the file is not embedded:": "Collez l’URL du fichier {kind} — elle reste un lien, rien n’est intégré :",
"A backup of this deck for yourself — same deck, same live session.": "Une sauvegarde pour vous — même deck, même session live.",
"A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": "Un visualiseur en direct : suit chaque modification mais ne peut jamais changer le deck — le relais l’applique.",
"A rectangle — rounded corners, fills, gradients and shadows in the panel": "Un rectangle — coins arrondis, remplissages, dégradés et ombres dans le panneau",
@@ -578,7 +578,7 @@ export const fr: Catalog = {
"Template…": "Modèle…",
"This deck has no live session to follow": "Ce deck n’a pas de session live à suivre",
"This is a view-only copy — it follows the live session but can’t change the deck.": "Ceci est une copie en lecture seule — elle suit la session live mais ne peut pas modifier le deck.",
- "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Ce {kind} fait {mb} Mo. L’incorporer le garde dans le .bento.html mais alourdit le fichier et ralentit l’ouverture et l’enregistrement.\n\nIncorporer quand même ? (Annulez puis collez une URL hébergée dans le panneau pour garder le fichier léger.)",
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": "Ce fichier {kind} fait {mb} Mo. L’incorporer le garde dans le .bento.html mais alourdit le fichier et ralentit l’ouverture et l’enregistrement.\n\nIncorporer quand même ? (Annulez puis collez une URL hébergée dans le panneau pour garder le fichier léger.)",
"Title": "Titre",
"Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": "Tapez <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> ou <b>{{event}}</b> dans un bloc de texte : la valeur se remplit d’ici — partout à la fois. Idéal pour pages de titre et pieds de page.",
"Unsaved changes — ⌘S saves this file in place": "Modifications non enregistrées — ⌘S enregistre ce fichier sur place",
@@ -602,7 +602,7 @@ export const fr: Catalog = {
'Which hover set to show on the canvas while you edit': 'Jeu de survol à afficher sur le canevas pendant l’édition',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': 'Ce que ce texte EST dans une mise en page (titre, corps…) — l’application d’une mise en page apparie par rôle',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': 'Préréglages d’ombre portée — l’ombre épouse la forme réelle de l’élément, ses angles et sa transparence',
- 'Colour with opacity — pick with the swatch, the % field is transparency': 'Couleur avec opacité — choisissez via la pastille, le champ % est la transparence',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': 'Couleur avec opacité — choisissez via la pastille, le champ % est l’opacité',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': 'Animation d’entrée à l’apparition de la diapositive (jouée hors morph ; même ordre = ensemble)',
'How long the entrance takes, in seconds': 'Durée de l’entrée, en secondes',
'Numbers in this text count up from zero when the slide enters': 'Les nombres de ce texte comptent depuis zéro à l’entrée de la diapositive',
@@ -693,4 +693,13 @@ export const fr: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "Va dans la présentation elle-même, pour voyager avec le fichier. Écrite au prochain enregistrement.",
"Put it in the deck — written when you next save.": "La placer dans la présentation — écrite au prochain enregistrement.",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "Conçu pour la v{v} — {n} expressions restent en anglais. Mettre Bento à jour les actualise.",
+ "1 element": "1 élément",
+ "{n} elements": "{n} éléments",
+ "Diagram": "Schéma",
+ "Video": "Vidéo",
+ "Audio": "Audio",
+ "video": "vidéo",
+ "audio": "audio",
+ "Loop animation": "Animation en boucle",
+ "solid colour": "couleur unie",
}
diff --git a/slides/src/i18n/it.ts b/slides/src/i18n/it.ts
index 417b3a92..3d581bef 100644
--- a/slides/src/i18n/it.ts
+++ b/slides/src/i18n/it.ts
@@ -602,7 +602,7 @@ export const it: Catalog = {
'Which hover set to show on the canvas while you edit': 'Quale set di hover mostrare sulla tela durante la modifica',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': 'Cosa È questo testo in un layout (titolo, corpo…) — applicando un layout si abbina per ruolo',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': 'Preset di ombra — l’ombra segue la forma reale dell’elemento, angoli e trasparenze',
- 'Colour with opacity — pick with the swatch, the % field is transparency': 'Colore con opacità — scegli dal campione, il campo % è la trasparenza',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': 'Colore con opacità — scegli dal campione, il campo % è l’opacità',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': 'Animazione d’ingresso all’apparire della slide (solo su ingressi senza morph; stesso ordine = insieme)',
'How long the entrance takes, in seconds': 'Durata dell’ingresso, in secondi',
'Numbers in this text count up from zero when the slide enters': 'I numeri in questo testo contano da zero all’ingresso della slide',
@@ -693,4 +693,13 @@ export const it: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "Va nella presentazione stessa, così viaggia con il file. Scritta al prossimo salvataggio.",
"Put it in the deck — written when you next save.": "Mettila nella presentazione — scritta al prossimo salvataggio.",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "Creato per la v{v} — {n} frasi restano in inglese. Aggiornare Bento le rinfresca.",
+ "1 element": "1 elemento",
+ "{n} elements": "{n} elementi",
+ "Diagram": "Diagramma",
+ "Video": "Video",
+ "Audio": "Audio",
+ "video": "video",
+ "audio": "audio",
+ "Loop animation": "Animazione in loop",
+ "solid colour": "tinta unita",
}
diff --git a/slides/src/i18n/ja.ts b/slides/src/i18n/ja.ts
index 5ea9642d..38359bcd 100644
--- a/slides/src/i18n/ja.ts
+++ b/slides/src/i18n/ja.ts
@@ -602,7 +602,7 @@ export const ja: Catalog = {
'Which hover set to show on the canvas while you edit': '編集中にキャンバスに表示するホバーセット',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': 'レイアウト内でのこのテキストの役割(タイトル、本文…)— レイアウト適用時は役割で対応付けます',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': 'ドロップシャドウのプリセット — 影は要素の実際の形・角丸・透明部分に沿います',
- 'Colour with opacity — pick with the swatch, the % field is transparency': '不透明度つきの色 — スウォッチで選択、% は透明度',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': '不透明度つきの色 — スウォッチで選択、% は不透明度',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': 'スライド表示時の登場アニメーション(モーフ以外の入りで再生。同じ順番 = 同時)',
'How long the entrance takes, in seconds': '登場にかける秒数',
'Numbers in this text count up from zero when the slide enters': 'スライド表示時にテキスト中の数字が 0 からカウントアップ',
@@ -693,4 +693,13 @@ export const ja: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "デッキ自体に入り、ファイルと一緒に配布されます。次回の保存時に書き込まれます。",
"Put it in the deck — written when you next save.": "デッキに入れます — 次回の保存時に書き込まれます。",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "v{v} 用に作られています — {n} 個の語句はまだ英語で表示されます。Bento を更新すると解消します。",
+ "1 element": "1 個の要素",
+ "{n} elements": "{n} 個の要素",
+ "Diagram": "ダイアグラム",
+ "Video": "動画",
+ "Audio": "音声",
+ "video": "動画",
+ "audio": "音声",
+ "Loop animation": "ループアニメーション",
+ "solid colour": "単色",
}
diff --git a/slides/src/i18n/packed.ts b/slides/src/i18n/packed.ts
index c53f1bd9..e7f8359c 100644
--- a/slides/src/i18n/packed.ts
+++ b/slides/src/i18n/packed.ts
@@ -268,7 +268,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"reveal": ["リビール","悬停显示","懸停顯示","revelar","révéler","aufdecken","rivela","revelar"],
"right": ["右","右","右","derecha","droite","rechts","destra","direita"],
"slide": ["スライド","幻灯片","滑動","deslizar","glisser","gleiten","scorrimento","slide"],
- "solid": ["実線","实线","實線","continua","continue","durchgezogen","continua","sólido"],
+ "solid": ["実線","实线","實線","continua","continue","durchgezogen","continua","contínua"],
"subtitle": ["サブタイトル","副标题","副標題","subtítulo","sous-titre","Untertitel","sottotitolo","subtítulo"],
"title": ["タイトル","标题","標題","título","titre","Titel","titolo","título"],
"top": ["上","上","上","arriba","haut","oben","alto","superior"],
@@ -494,7 +494,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Replace file…": ["ファイルを置き換え…","替换文件…","取代檔案…","Reemplazar archivo…","Remplacer le fichier…","Datei ersetzen…","Sostituisci file…","Substituir arquivo…"],
"Source & playback": ["ソースと再生","来源与播放","來源與播放","Fuente y reproducción","Source et lecture","Quelle & Wiedergabe","Sorgente e riproduzione","Fonte e reprodução"],
"This file is {mb} MB. Embedding makes the .bento.html large and slow to open and save. Embed anyway?": ["このファイルは {mb} MB です。埋め込むと .bento.html が大きくなり、開閉や保存が遅くなります。それでも埋め込みますか?","此文件为 {mb} MB。嵌入会使 .bento.html 变大,打开和保存变慢。仍要嵌入吗?","此檔案為 {mb} MB。嵌入會使 .bento.html 變大,開啟與儲存變慢。仍要嵌入嗎?","Este archivo pesa {mb} MB. Incrustarlo hace que el .bento.html sea grande y lento de abrir y guardar. ¿Incrustar de todos modos?","Ce fichier fait {mb} Mo. L’intégrer rend le .bento.html volumineux et lent à ouvrir et enregistrer. Intégrer quand même ?","Diese Datei ist {mb} MB groß. Das Einbetten macht die .bento.html groß und langsam beim Öffnen und Speichern. Trotzdem einbetten?","Questo file è di {mb} MB. Incorporarlo rende il .bento.html grande e lento da aprire e salvare. Incorporare comunque?","Este arquivo tem {mb} MB. Embuti-lo deixa o .bento.html grande e lento para abrir e salvar. Embutir mesmo assim?"],
- "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\n\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": ["この {kind} は {mb} MB です。埋め込むと .bento.html 内に保持されますが、ファイルが大きくなり、開閉や保存が遅くなります。\n\nそれでも埋め込みますか?(キャンセルして、デッキを小さく保つためにパネルでホスト URL を貼り付けてください。)","此 {kind} 为 {mb} MB。嵌入会将其保留在 .bento.html 中,但会使文件变大,打开和保存变慢。\n\n仍要嵌入吗?(取消后在面板中粘贴托管 URL,以保持演示文稿小巧。)","此 {kind} 為 {mb} MB。嵌入會將其保留在 .bento.html 中,但會使檔案變大,開啟與儲存變慢。\n\n仍要嵌入嗎?(取消後在面板中貼上託管 URL,以保持簡報小巧。)","Este {kind} pesa {mb} MB. Incrustarlo lo mantiene dentro del .bento.html pero hace que el archivo sea grande y lento de abrir y guardar.\n\n¿Incrustar de todos modos? (Cancela y pega una URL alojada en el panel para mantener la presentación ligera.)","Ce {kind} fait {mb} Mo. L’intégrer le conserve dans le .bento.html mais rend le fichier volumineux et lent à ouvrir et enregistrer.\n\nIntégrer quand même ? (Annulez, puis collez une URL hébergée dans le panneau pour garder le deck léger.)","Dieses {kind} ist {mb} MB groß. Das Einbetten behält es in der .bento.html, macht die Datei aber groß und langsam beim Öffnen und Speichern.\n\nTrotzdem einbetten? (Abbrechen, dann eine gehostete URL im Bedienfeld einfügen, damit das Deck klein bleibt.)","Questo {kind} è di {mb} MB. Incorporarlo lo mantiene nel .bento.html ma rende il file grande e lento da aprire e salvare.\n\nIncorporare comunque? (Annulla, poi incolla un URL ospitato nel pannello per mantenere il deck leggero.)","Este {kind} tem {mb} MB. Embuti-lo mantém tudo dentro do .bento.html, mas deixa o arquivo grande e lento para abrir e salvar.\n\nEmbutir mesmo assim? (Cancele e cole uma URL hospedada no painel para manter a apresentação leve.)"],
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\n\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": ["この {kind} は {mb} MB です。埋め込むと .bento.html 内に保持されますが、ファイルが大きくなり、開閉や保存が遅くなります。\n\nそれでも埋め込みますか?(キャンセルして、デッキを小さく保つためにパネルでホスト URL を貼り付けてください。)","此 {kind} 为 {mb} MB。嵌入会将其保留在 .bento.html 中,但会使文件变大,打开和保存变慢。\n\n仍要嵌入吗?(取消后在面板中粘贴托管 URL,以保持演示文稿小巧。)","此 {kind} 為 {mb} MB。嵌入會將其保留在 .bento.html 中,但會使檔案變大,開啟與儲存變慢。\n\n仍要嵌入嗎?(取消後在面板中貼上託管 URL,以保持簡報小巧。)","Este {kind} pesa {mb} MB. Incrustarlo lo mantiene dentro del .bento.html pero hace que el archivo sea grande y lento de abrir y guardar.\n\n¿Incrustar de todos modos? (Cancela y pega una URL alojada en el panel para mantener la presentación ligera.)","Ce fichier {kind} fait {mb} Mo. L’intégrer le conserve dans le .bento.html mais rend le fichier volumineux et lent à ouvrir et enregistrer.\n\nIntégrer quand même ? (Annulez, puis collez une URL hébergée dans le panneau pour garder le deck léger.)","Dieses {kind} ist {mb} MB groß. Das Einbetten behält es in der .bento.html, macht die Datei aber groß und langsam beim Öffnen und Speichern.\n\nTrotzdem einbetten? (Abbrechen, dann eine gehostete URL im Bedienfeld einfügen, damit das Deck klein bleibt.)","Questo {kind} è di {mb} MB. Incorporarlo lo mantiene nel .bento.html ma rende il file grande e lento da aprire e salvare.\n\nIncorporare comunque? (Annulla, poi incolla un URL ospitato nel pannello per mantenere il deck leggero.)","Este {kind} tem {mb} MB. Embuti-lo mantém tudo dentro do .bento.html, mas deixa o arquivo grande e lento para abrir e salvar.\n\nEmbutir mesmo assim? (Cancele e cole uma URL hospedada no painel para manter a apresentação leve.)"],
"URL": ["URL","URL","URL","URL","URL","URL","URL","URL"],
"…or paste a media URL": ["…またはメディア URL を貼り付け","…或粘贴媒体 URL","…或貼上媒體 URL","…o pega una URL multimedia","…ou collez une URL de média","…oder eine Medien-URL einfügen","…oppure incolla un URL multimediale","…ou cole uma URL de mídia"],
"A live viewer: it follows this shared session and shows edits as they happen, but can never change the deck (the relay enforces it — read-only is not just honour-system).": ["ライブビューア:この共有セッションに追従し、変更をリアルタイムで表示しますが、デッキを変更することはできません(リレーが強制します — 読み取り専用は単なる自主ルールではありません)。","实时查看器:跟随此共享会话并实时显示编辑,但永远无法更改演示文稿(由中继强制执行——只读不只是靠自觉)。","即時檢視器:跟隨此共享工作階段並即時顯示編輯,但永遠無法變更簡報(由中繼強制執行——唯讀不只是靠自覺)。","Un visor en vivo: sigue esta sesión compartida y muestra los cambios en tiempo real, pero nunca puede modificar la presentación (lo impone el relay: el solo lectura no es solo cuestión de confianza).","Un lecteur en direct : il suit cette session partagée et affiche les modifications en temps réel, mais ne peut jamais modifier le deck (imposé par le relais — la lecture seule n’est pas qu’une question de confiance).","Ein Live-Betrachter: folgt dieser geteilten Sitzung und zeigt Änderungen in Echtzeit, kann das Deck aber nie ändern (vom Relay erzwungen — Nur-Lesen ist nicht bloß Ehrensache).","Un visualizzatore live: segue questa sessione condivisa e mostra le modifiche in tempo reale, ma non può mai cambiare il deck (lo impone il relay — la sola lettura non è solo questione di fiducia).","Um visualizador ao vivo: acompanha esta sessão compartilhada e mostra as edições conforme acontecem, mas nunca pode alterar a apresentação (o retransmissor garante isso — somente leitura não depende de boa-fé)."],
@@ -509,7 +509,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Video from a link…": ["リンクから動画…","从链接添加视频…","從連結新增影片…","Vídeo desde un enlace…","Vidéo depuis un lien…","Video aus einem Link…","Video da un link…","Vídeo a partir de um link…"],
"Audio from a link…": ["リンクから音声…","从链接添加音频…","從連結新增音訊…","Audio desde un enlace…","Audio depuis un lien…","Audio aus einem Link…","Audio da un link…","Áudio a partir de um link…"],
"Add video or audio — from a file (embeds it) or a link (stays a URL)": ["動画または音声を追加 — ファイルから(埋め込み)またはリンクから(URL のまま)","添加视频或音频 — 从文件(嵌入)或链接(保留为 URL)","新增影片或音訊 — 從檔案(嵌入)或連結(保留為 URL)","Añadir vídeo o audio — desde un archivo (se incrusta) o un enlace (se queda como URL)","Ajouter une vidéo ou un audio — depuis un fichier (intégré) ou un lien (reste une URL)","Video oder Audio hinzufügen — aus einer Datei (eingebettet) oder einem Link (bleibt eine URL)","Aggiungi video o audio — da un file (incorporato) o un link (resta un URL)","Adicione vídeo ou áudio — de um arquivo (embute) ou de um link (permanece URL)"],
- "Paste the {kind} URL — it stays a link, the file is not embedded:": ["{kind} の URL を貼り付け — リンクのままで、ファイルは埋め込まれません:","粘贴 {kind} URL — 它保留为链接,文件不会被嵌入:","貼上 {kind} URL — 它保留為連結,檔案不會被嵌入:","Pega la URL del {kind} — se queda como enlace, el archivo no se incrusta:","Collez l’URL du {kind} — elle reste un lien, le fichier n’est pas intégré :","Füge die {kind}-URL ein — sie bleibt ein Link, die Datei wird nicht eingebettet:","Incolla l’URL del {kind} — resta un link, il file non viene incorporato:","Cole a URL do {kind} — ela permanece um link, o arquivo não é embutido:"],
+ "Paste the {kind} URL — it stays a link, the file is not embedded:": ["{kind} の URL を貼り付け — リンクのままで、ファイルは埋め込まれません:","粘贴 {kind} URL — 它保留为链接,文件不会被嵌入:","貼上 {kind} URL — 它保留為連結,檔案不會被嵌入:","Pega la URL del {kind} — se queda como enlace, el archivo no se incrusta:","Collez l’URL du fichier {kind} — elle reste un lien, rien n’est intégré :","Füge die {kind}-URL ein — sie bleibt ein Link, die Datei wird nicht eingebettet:","Incolla l’URL del {kind} — resta un link, il file non viene incorporato:","Cole a URL do {kind} — ela permanece um link, o arquivo não é embutido:"],
"A backup of this deck for yourself — same deck, same live session.": ["自分用のバックアップ — 同じデッキ・同じライブセッションです。","自己留存的备份 — 同一个文稿、同一个实时会话。","自己留存的備份 — 同一個文稿、同一個即時會話。","Una copia de seguridad para ti — mismo documento, misma sesión en vivo.","Une sauvegarde pour vous — même deck, même session live.","Eine Sicherungskopie für dich — gleiches Deck, gleiche Live-Sitzung.","Una copia di riserva per te — stesso deck, stessa sessione live.","Um backup desta apresentação para você — mesma apresentação, mesma sessão ao vivo."],
"A live viewer: follows every edit as it happens but can never change the deck — the relay enforces it.": ["ライブビューア:編集をリアルタイムで追いますが、デッキを変更することはできません — リレーが強制します。","实时查看副本:实时跟随每次编辑,但永远无法修改文稿 — 由中继强制执行。","即時檢視副本:即時跟隨每次編輯,但永遠無法修改文稿 — 由中繼強制執行。","Un visor en vivo: sigue cada edición al instante pero nunca puede modificar el documento — el relé lo garantiza.","Un visualiseur en direct : suit chaque modification mais ne peut jamais changer le deck — le relais l’applique.","Ein Live-Viewer: folgt jeder Änderung, kann das Deck aber nie verändern — vom Relay erzwungen.","Un visualizzatore live: segue ogni modifica ma non può mai cambiare il deck — imposto dal relay.","Um visualizador ao vivo: acompanha cada edição conforme acontece, mas nunca pode alterar a apresentação — o retransmissor garante isso."],
"A rectangle — rounded corners, fills, gradients and shadows in the panel": ["長方形 — 角丸・塗り・グラデーション・影はパネルで設定","矩形 — 圆角、填充、渐变和阴影在面板中设置","矩形 — 圓角、填色、漸層和陰影在面板中設定","Un rectángulo — esquinas redondeadas, rellenos, degradados y sombras en el panel","Un rectangle — coins arrondis, remplissages, dégradés et ombres dans le panneau","Ein Rechteck — runde Ecken, Füllungen, Verläufe und Schatten im Panel","Un rettangolo — angoli arrotondati, riempimenti, gradienti e ombre nel pannello","Um retângulo — cantos arredondados, preenchimentos, gradientes e sombras no painel"],
@@ -586,7 +586,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Template…": ["テンプレート…","模板…","範本…","Plantilla…","Modèle…","Vorlage…","Modello…","Modelo…"],
"This deck has no live session to follow": ["このデッキには追従できるライブセッションがありません","此文稿没有可跟随的实时会话","此文稿沒有可跟隨的即時會話","Este documento no tiene sesión en vivo que seguir","Ce deck n’a pas de session live à suivre","Dieses Deck hat keine Live-Sitzung zum Folgen","Questo deck non ha una sessione live da seguire","Esta apresentação não tem sessão ao vivo para acompanhar"],
"This is a view-only copy — it follows the live session but can’t change the deck.": ["これは閲覧専用コピーです — ライブセッションに追従しますが、デッキは変更できません。","这是只读副本 — 会跟随实时会话,但无法修改文稿。","這是唯讀副本 — 會跟隨即時會話,但無法修改文稿。","Esta es una copia de solo lectura — sigue la sesión en vivo pero no puede modificar el documento.","Ceci est une copie en lecture seule — elle suit la session live mais ne peut pas modifier le deck.","Dies ist eine Nur-Lesen-Kopie — sie folgt der Live-Sitzung, kann das Deck aber nicht ändern.","Questa è una copia di sola lettura — segue la sessione live ma non può modificare il deck.","Esta é uma cópia somente para visualização — ela acompanha a sessão ao vivo, mas não pode alterar a apresentação."],
- "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": ["この{kind}は {mb} MB あります。埋め込むと .bento.html 内に収まりますが、ファイルが大きくなり開閉が遅くなります。\n\nそれでも埋め込みますか?(キャンセルして、パネルにホスト済み URL を貼ればファイルは小さいままです。)","此{kind}大小为 {mb} MB。嵌入后会包含在 .bento.html 中,但文件会变大、打开和保存变慢。\n\n仍要嵌入吗?(取消后在面板中粘贴托管 URL 可保持文件小巧。)","此{kind}大小為 {mb} MB。嵌入後會包含在 .bento.html 中,但檔案會變大、開啟和儲存變慢。\n\n仍要嵌入嗎?(取消後在面板中貼上託管 URL 可保持檔案小巧。)","Este {kind} pesa {mb} MB. Incrustarlo lo mantiene dentro del .bento.html pero hace el archivo grande y lento de abrir y guardar.\n\n¿Incrustar igualmente? (Cancela y pega una URL alojada en el panel para mantener el archivo pequeño.)","Ce {kind} fait {mb} Mo. L’incorporer le garde dans le .bento.html mais alourdit le fichier et ralentit l’ouverture et l’enregistrement.\n\nIncorporer quand même ? (Annulez puis collez une URL hébergée dans le panneau pour garder le fichier léger.)","Dieses {kind} ist {mb} MB groß. Einbetten hält es in der .bento.html, macht die Datei aber groß und langsam beim Öffnen und Speichern.\n\nTrotzdem einbetten? (Abbrechen und eine gehostete URL im Panel einfügen hält die Datei klein.)","Questo {kind} pesa {mb} MB. Incorporarlo lo tiene dentro il .bento.html ma rende il file grande e lento da aprire e salvare.\n\nIncorporare comunque? (Annulla e incolla un URL ospitato nel pannello per mantenere il file piccolo.)","Este {kind} tem {mb} MB. Embuti-lo mantém tudo dentro do .bento.html, mas deixa o arquivo grande e lento para abrir e salvar.\\n\\nEmbutir mesmo assim? (Cancele e cole uma URL hospedada no painel para manter a apresentação leve.)"],
+ "This {kind} is {mb} MB. Embedding keeps it inside the .bento.html but makes the file large and slow to open and save.\\n\\nEmbed anyway? (Cancel, then paste a hosted URL in the panel to keep the deck small.)": ["この{kind}は {mb} MB あります。埋め込むと .bento.html 内に収まりますが、ファイルが大きくなり開閉が遅くなります。\n\nそれでも埋め込みますか?(キャンセルして、パネルにホスト済み URL を貼ればファイルは小さいままです。)","此{kind}大小为 {mb} MB。嵌入后会包含在 .bento.html 中,但文件会变大、打开和保存变慢。\n\n仍要嵌入吗?(取消后在面板中粘贴托管 URL 可保持文件小巧。)","此{kind}大小為 {mb} MB。嵌入後會包含在 .bento.html 中,但檔案會變大、開啟和儲存變慢。\n\n仍要嵌入嗎?(取消後在面板中貼上託管 URL 可保持檔案小巧。)","Este {kind} pesa {mb} MB. Incrustarlo lo mantiene dentro del .bento.html pero hace el archivo grande y lento de abrir y guardar.\n\n¿Incrustar igualmente? (Cancela y pega una URL alojada en el panel para mantener el archivo pequeño.)","Ce fichier {kind} fait {mb} Mo. L’incorporer le garde dans le .bento.html mais alourdit le fichier et ralentit l’ouverture et l’enregistrement.\n\nIncorporer quand même ? (Annulez puis collez une URL hébergée dans le panneau pour garder le fichier léger.)","Dieses {kind} ist {mb} MB groß. Einbetten hält es in der .bento.html, macht die Datei aber groß und langsam beim Öffnen und Speichern.\n\nTrotzdem einbetten? (Abbrechen und eine gehostete URL im Panel einfügen hält die Datei klein.)","Questo {kind} pesa {mb} MB. Incorporarlo lo tiene dentro il .bento.html ma rende il file grande e lento da aprire e salvare.\n\nIncorporare comunque? (Annulla e incolla un URL ospitato nel pannello per mantenere il file piccolo.)","Este {kind} tem {mb} MB. Embuti-lo mantém tudo dentro do .bento.html, mas deixa o arquivo grande e lento para abrir e salvar.\\n\\nEmbutir mesmo assim? (Cancele e cole uma URL hospedada no painel para manter a apresentação leve.)"],
"Title": ["タイトル","标题","標題","Título","Titre","Titel","Titolo","Título"],
"Type <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> or <b>{{event}}</b> in any text box and it fills in from here — everywhere at once. Handy for title slides and footers.": ["テキストボックスに <b>{{author}}</b>・<b>{{company}}</b>・<b>{{subject}}</b>・<b>{{event}}</b> と入力すると、ここの値が全スライドに一括反映されます。タイトルスライドやフッターに便利です。","在任意文本框中输入 <b>{{author}}</b>、<b>{{company}}</b>、<b>{{subject}}</b> 或 <b>{{event}}</b>,即可从这里统一填充 — 一处修改处处生效。适合标题页和页脚。","在任意文字框中輸入 <b>{{author}}</b>、<b>{{company}}</b>、<b>{{subject}}</b> 或 <b>{{event}}</b>,即可從這裡統一填充 — 一處修改處處生效。適合標題頁和頁尾。","Escribe <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> o <b>{{event}}</b> en cualquier cuadro de texto y se rellenará desde aquí — en todas partes a la vez. Ideal para portadas y pies.","Tapez <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> ou <b>{{event}}</b> dans un bloc de texte : la valeur se remplit d’ici — partout à la fois. Idéal pour pages de titre et pieds de page.","Tippe <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> oder <b>{{event}}</b> in ein Textfeld — der Wert füllt sich von hier aus, überall zugleich. Praktisch für Titelfolien und Fußzeilen.","Digita <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> o <b>{{event}}</b> in una casella di testo e si riempirà da qui — ovunque in una volta. Utile per copertine e piè di pagina.","Digite <b>{{author}}</b>, <b>{{company}}</b>, <b>{{subject}}</b> ou <b>{{event}}</b> em qualquer caixa de texto e o valor vem daqui — em todos os lugares de uma vez. Útil para slides de título e rodapés."],
"Unsaved changes — ⌘S saves this file in place": ["未保存の変更があります — ⌘S でこのファイルに上書き保存します","有未保存的更改 — ⌘S 就地保存此文件","有未儲存的變更 — ⌘S 就地儲存此檔案","Cambios sin guardar — ⌘S guarda este archivo en su sitio","Modifications non enregistrées — ⌘S enregistre ce fichier sur place","Ungespeicherte Änderungen — ⌘S speichert diese Datei direkt","Modifiche non salvate — ⌘S salva questo file al suo posto","Alterações não salvas — ⌘S salva este arquivo no lugar"],
@@ -609,7 +609,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Which hover set to show on the canvas while you edit": ["編集中にキャンバスに表示するホバーセット","编辑时画布上预览的悬停组","編輯時畫布上預覽的懸停組","Qué conjunto de hover mostrar en el lienzo mientras editas","Jeu de survol à afficher sur le canevas pendant l’édition","Welches Hover-Set beim Bearbeiten auf der Leinwand gezeigt wird","Quale set di hover mostrare sulla tela durante la modifica","Qual conjunto de hover mostrar na tela enquanto você edita"],
"What this text IS in a layout (title, body…) — applying a layout matches elements by role": ["レイアウト内でのこのテキストの役割(タイトル、本文…)— レイアウト適用時は役割で対応付けます","这段文字在版式中的角色(标题、正文…)— 应用版式时按角色匹配","這段文字在版面中的角色(標題、內文…)— 套用版面時按角色配對","Qué ES este texto en un diseño (título, cuerpo…) — al aplicar un diseño se emparejan por rol","Ce que ce texte EST dans une mise en page (titre, corps…) — l’application d’une mise en page apparie par rôle","Was dieser Text in einem Layout IST (Titel, Fließtext…) — beim Anwenden wird nach Rolle zugeordnet","Cosa È questo testo in un layout (titolo, corpo…) — applicando un layout si abbina per ruolo","O que este texto É em um layout (título, corpo…) — ao aplicar um layout, os elementos são associados por função"],
"Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency": ["ドロップシャドウのプリセット — 影は要素の実際の形・角丸・透明部分に沿います","投影预设 — 阴影贴合元素的实际形状、圆角和透明区域","陰影預設 — 陰影貼合元素的實際形狀、圓角與透明區域","Preajustes de sombra — la sombra sigue la forma real del elemento, sus esquinas y transparencias","Préréglages d’ombre portée — l’ombre épouse la forme réelle de l’élément, ses angles et sa transparence","Schatten-Presets — der Schatten folgt der echten Form des Elements, Rundungen und Transparenz","Preset di ombra — l’ombra segue la forma reale dell’elemento, angoli e trasparenze","Predefinições de sombra — a sombra acompanha a forma real do elemento, seus cantos e sua transparência"],
- "Colour with opacity — pick with the swatch, the % field is transparency": ["不透明度つきの色 — スウォッチで選択、% は透明度","带不透明度的颜色 — 点击色块选取,% 为透明度","帶不透明度的顏色 — 點色塊選取,% 為透明度","Color con opacidad — elige con la muestra; el campo % es la transparencia","Couleur avec opacité — choisissez via la pastille, le champ % est la transparence","Farbe mit Deckkraft — per Farbfeld wählen, das %-Feld ist die Transparenz","Colore con opacità — scegli dal campione, il campo % è la trasparenza","Cor com opacidade — escolha na amostra; o campo % é a transparência"],
+ "Colour with opacity — pick with the swatch, the % field is how opaque it is": ["不透明度つきの色 — スウォッチで選択、% は不透明度","带不透明度的颜色 — 点击色块选取,% 为不透明度","帶不透明度的顏色 — 點色塊選取,% 為不透明度","Color con opacidad — elige con la muestra; el campo % es la opacidad","Couleur avec opacité — choisissez via la pastille, le champ % est l’opacité","Farbe mit Deckkraft — per Farbfeld wählen, das %-Feld ist die Deckkraft","Colore con opacità — scegli dal campione, il campo % è l’opacità","Cor com opacidade — escolha na amostra; o campo % é a opacidade"],
"Entrance animation when the slide appears (plays on non-morph entries; equal order = together)": ["スライド表示時の登場アニメーション(モーフ以外の入りで再生。同じ順番 = 同時)","幻灯片出现时的入场动画(仅非变形进入时播放;顺序相同 = 同时)","投影片出現時的進場動畫(僅非變形進場時播放;順序相同 = 同時)","Animación de entrada al aparecer la diapositiva (solo en entradas sin morph; mismo orden = a la vez)","Animation d’entrée à l’apparition de la diapositive (jouée hors morph ; même ordre = ensemble)","Eingangsanimation beim Erscheinen der Folie (nur bei Nicht-Morph-Einstiegen; gleiche Reihenfolge = gleichzeitig)","Animazione d’ingresso all’apparire della slide (solo su ingressi senza morph; stesso ordine = insieme)","Animação de entrada quando o slide aparece (ocorre em entradas sem morph; mesma ordem = juntos)"],
"How long the entrance takes, in seconds": ["登場にかける秒数","入场动画时长(秒)","進場動畫秒數","Duración de la entrada, en segundos","Durée de l’entrée, en secondes","Dauer des Eingangs in Sekunden","Durata dell’ingresso, in secondi","Quanto tempo a entrada leva, em segundos"],
"Numbers in this text count up from zero when the slide enters": ["スライド表示時にテキスト中の数字が 0 からカウントアップ","幻灯片进入时文字中的数字从 0 开始递增","投影片進場時文字中的數字從 0 開始遞增","Los números de este texto cuentan desde cero al entrar la diapositiva","Les nombres de ce texte comptent depuis zéro à l’entrée de la diapositive","Zahlen in diesem Text zählen beim Folieneintritt von null hoch","I numeri in questo testo contano da zero all’ingresso della slide","Os números deste texto contam a partir do zero quando o slide entra"],
@@ -699,4 +699,13 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": ["デッキ自体に入り、ファイルと一緒に配布されます。次回の保存時に書き込まれます。","放入演示文稿本身,随文件一起传递。下次保存时写入。","放入簡報本身,隨檔案一起傳遞。下次儲存時寫入。","Va dentro de la presentación, así viaja con el archivo. Se escribe al guardar.","Va dans la présentation elle-même, pour voyager avec le fichier. Écrite au prochain enregistrement.","Kommt in die Präsentation selbst und reist mit der Datei mit. Wird beim nächsten Speichern geschrieben.","Va nella presentazione stessa, così viaggia con il file. Scritta al prossimo salvataggio.","Vai para dentro da apresentação, então viaja com o arquivo. Gravado no próximo salvamento."],
"Put it in the deck — written when you next save.": ["デッキに入れます — 次回の保存時に書き込まれます。","放入演示文稿 — 下次保存时写入。","放入簡報 — 下次儲存時寫入。","Ponerlo en la presentación: se escribe al guardar.","La placer dans la présentation — écrite au prochain enregistrement.","In die Präsentation legen — wird beim nächsten Speichern geschrieben.","Mettila nella presentazione — scritta al prossimo salvataggio.","Colocar na apresentação — gravado no próximo salvamento."],
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": ["v{v} 用に作られています — {n} 個の語句はまだ英語で表示されます。Bento を更新すると解消します。","为 v{v} 构建 — 仍有 {n} 条文本显示为英文。更新 Bento 即可刷新。","為 v{v} 建置 — 仍有 {n} 條文字顯示為英文。更新 Bento 即可重新整理。","Creado para la v{v}: {n} frases siguen en inglés. Actualizar Bento lo soluciona.","Conçu pour la v{v} — {n} expressions restent en anglais. Mettre Bento à jour les actualise.","Für v{v} erstellt — {n} Textstellen erscheinen weiterhin auf Englisch. Ein Bento-Update frischt sie auf.","Creato per la v{v} — {n} frasi restano in inglese. Aggiornare Bento le rinfresca.","Criado para a v{v} — {n} frases ainda aparecem em inglês. Atualizar o Bento resolve."],
+ "1 element": ["1 個の要素","1 个元素","1 個元素","1 elemento","1 élément","1 Element","1 elemento","1 elemento"],
+ "{n} elements": ["{n} 個の要素","{n} 个元素","{n} 個元素","{n} elementos","{n} éléments","{n} Elemente","{n} elementi","{n} elementos"],
+ "Diagram": ["ダイアグラム","示意图","示意圖","Diagrama","Schéma","Grafik","Diagramma","Diagrama"],
+ "Video": ["動画","视频","影片","Vídeo","Vidéo","Video","Video","Vídeo"],
+ "Audio": ["音声","音频","音訊","Audio","Audio","Audio","Audio","Áudio"],
+ "video": ["動画","视频","影片","vídeo","vidéo","Video","video","vídeo"],
+ "audio": ["音声","音频","音訊","audio","audio","Audio","audio","áudio"],
+ "Loop animation": ["ループアニメーション","循环动画","循環動畫","Animación en bucle","Animation en boucle","Animationsschleife","Animazione in loop","Animação em loop"],
+ "solid colour": ["単色","纯色","純色","color sólido","couleur unie","Volltonfarbe","tinta unita","cor sólida"],
}
diff --git a/slides/src/i18n/pt.ts b/slides/src/i18n/pt.ts
index 6854fc86..e5f361bc 100644
--- a/slides/src/i18n/pt.ts
+++ b/slides/src/i18n/pt.ts
@@ -252,7 +252,7 @@ export const pt: Catalog = {
"reveal": "revelar",
"right": "direita",
"slide": "slide",
- "solid": "sólido",
+ "solid": "contínua",
"subtitle": "subtítulo",
"title": "título",
"top": "superior",
@@ -593,7 +593,7 @@ export const pt: Catalog = {
"Which hover set to show on the canvas while you edit": "Qual conjunto de hover mostrar na tela enquanto você edita",
"What this text IS in a layout (title, body…) — applying a layout matches elements by role": "O que este texto É em um layout (título, corpo…) — ao aplicar um layout, os elementos são associados por função",
"Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency": "Predefinições de sombra — a sombra acompanha a forma real do elemento, seus cantos e sua transparência",
- "Colour with opacity — pick with the swatch, the % field is transparency": "Cor com opacidade — escolha na amostra; o campo % é a transparência",
+ "Colour with opacity — pick with the swatch, the % field is how opaque it is": "Cor com opacidade — escolha na amostra; o campo % é a opacidade",
"Entrance animation when the slide appears (plays on non-morph entries; equal order = together)": "Animação de entrada quando o slide aparece (ocorre em entradas sem morph; mesma ordem = juntos)",
"How long the entrance takes, in seconds": "Quanto tempo a entrada leva, em segundos",
"Numbers in this text count up from zero when the slide enters": "Os números deste texto contam a partir do zero quando o slide entra",
@@ -691,4 +691,13 @@ export const pt: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "Vai para dentro da apresentação, então viaja com o arquivo. Gravado no próximo salvamento.",
"Put it in the deck — written when you next save.": "Colocar na apresentação — gravado no próximo salvamento.",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "Criado para a v{v} — {n} frases ainda aparecem em inglês. Atualizar o Bento resolve.",
+ "1 element": "1 elemento",
+ "{n} elements": "{n} elementos",
+ "Diagram": "Diagrama",
+ "Video": "Vídeo",
+ "Audio": "Áudio",
+ "video": "vídeo",
+ "audio": "áudio",
+ "Loop animation": "Animação em loop",
+ "solid colour": "cor sólida",
}
diff --git a/slides/src/i18n/zh-Hans.ts b/slides/src/i18n/zh-Hans.ts
index c054bf02..68776ba3 100644
--- a/slides/src/i18n/zh-Hans.ts
+++ b/slides/src/i18n/zh-Hans.ts
@@ -602,7 +602,7 @@ export const zhHans: Catalog = {
'Which hover set to show on the canvas while you edit': '编辑时画布上预览的悬停组',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': '这段文字在版式中的角色(标题、正文…)— 应用版式时按角色匹配',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': '投影预设 — 阴影贴合元素的实际形状、圆角和透明区域',
- 'Colour with opacity — pick with the swatch, the % field is transparency': '带不透明度的颜色 — 点击色块选取,% 为透明度',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': '带不透明度的颜色 — 点击色块选取,% 为不透明度',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': '幻灯片出现时的入场动画(仅非变形进入时播放;顺序相同 = 同时)',
'How long the entrance takes, in seconds': '入场动画时长(秒)',
'Numbers in this text count up from zero when the slide enters': '幻灯片进入时文字中的数字从 0 开始递增',
@@ -693,4 +693,13 @@ export const zhHans: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "放入演示文稿本身,随文件一起传递。下次保存时写入。",
"Put it in the deck — written when you next save.": "放入演示文稿 — 下次保存时写入。",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "为 v{v} 构建 — 仍有 {n} 条文本显示为英文。更新 Bento 即可刷新。",
+ "1 element": "1 个元素",
+ "{n} elements": "{n} 个元素",
+ "Diagram": "示意图",
+ "Video": "视频",
+ "Audio": "音频",
+ "video": "视频",
+ "audio": "音频",
+ "Loop animation": "循环动画",
+ "solid colour": "纯色",
}
diff --git a/slides/src/i18n/zh-Hant.ts b/slides/src/i18n/zh-Hant.ts
index acc0652d..d669909f 100644
--- a/slides/src/i18n/zh-Hant.ts
+++ b/slides/src/i18n/zh-Hant.ts
@@ -602,7 +602,7 @@ export const zhHant: Catalog = {
'Which hover set to show on the canvas while you edit': '編輯時畫布上預覽的懸停組',
'What this text IS in a layout (title, body…) — applying a layout matches elements by role': '這段文字在版面中的角色(標題、內文…)— 套用版面時按角色配對',
'Drop-shadow presets — the shadow follows the element’s real shape, corners and transparency': '陰影預設 — 陰影貼合元素的實際形狀、圓角與透明區域',
- 'Colour with opacity — pick with the swatch, the % field is transparency': '帶不透明度的顏色 — 點色塊選取,% 為透明度',
+ 'Colour with opacity — pick with the swatch, the % field is how opaque it is': '帶不透明度的顏色 — 點色塊選取,% 為不透明度',
'Entrance animation when the slide appears (plays on non-morph entries; equal order = together)': '投影片出現時的進場動畫(僅非變形進場時播放;順序相同 = 同時)',
'How long the entrance takes, in seconds': '進場動畫秒數',
'Numbers in this text count up from zero when the slide enters': '投影片進場時文字中的數字從 0 開始遞增',
@@ -693,4 +693,13 @@ export const zhHant: Catalog = {
"Goes into the deck itself, so it travels with the file. Written when you next save.": "放入簡報本身,隨檔案一起傳遞。下次儲存時寫入。",
"Put it in the deck — written when you next save.": "放入簡報 — 下次儲存時寫入。",
"Built for v{v} — {n} phrases still show in English. Updating Bento refreshes it.": "為 v{v} 建置 — 仍有 {n} 條文字顯示為英文。更新 Bento 即可重新整理。",
+ "1 element": "1 個元素",
+ "{n} elements": "{n} 個元素",
+ "Diagram": "示意圖",
+ "Video": "影片",
+ "Audio": "音訊",
+ "video": "影片",
+ "audio": "音訊",
+ "Loop animation": "循環動畫",
+ "solid colour": "純色",
}