Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
slides: {{date:pattern}} pins a date format; the Text panel gets a Field picker (#381) (#475)
nyblnet88fa6e0bc34a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 0a138f5e..ae568bec 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -1346,6 +1346,13 @@ jobs:# chrome that render/present/preview do not know.run: node scripts/test-slides-reveal-ui.ts+ - name: Date/time field patterns rig+ # {{date:M/D/YY}} / {{time:h:mm a}} pin a shape for every viewer+ # (datefmt.ts): token precedence, [bracketed] literals, 12-hour+ # tokens, locale month names; every panel preset formats; render.ts+ # routes the argument. Bare {{date}} stays viewer-locale (#381).+ run: node scripts/test-slides-fields.ts+- name: Web links and bullets rig# A link is one thing in four places — isWebUrl — and every surface# that lets a URL in or out asks it: the shape gate, the textdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 548d3ce3..e36d671b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,17 @@ pre-1.0.## [Unreleased]+- **A date can pin its format, and fields are one click away.** `{{date}}`+ and `{{time}}` have resolved in text since 0.9.12, but they followed the+ viewer's locale — an author could not say M/D/YY and have every viewer see+ it — and nothing in the editor said the tokens existed. Now+ `{{date:M/D/YY}}`, `{{date:D MMMM YYYY}}`, `{{time:h:mm a}}` pin the+ shape (`YYYY YY MMMM MMM MM M DD D HH H hh h mm ss A a`; a word in+ `[brackets]` stays literal; month names still come in the viewer's+ language), and the Text panel gains a *Field* picker that drops a page+ number, date, time, title or document property into the text — the date+ and time entries show today in each shape so the choice is made by eye.+ Bare `{{date}}` is unchanged. Asked for in discussion #381 by Jef Ducon.## [1.1.0] — 2026-09-14- **Security: update this file. Text in a deck could run code when clickeddiff --git a/scripts/test-slides-fields.ts b/scripts/test-slides-fields.tsnew file mode 100644index 00000000..9203549f--- /dev/null+++ b/scripts/test-slides-fields.ts@@ -0,0 +1,83 @@+#!/usr/bin/env node+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento authors+// Date/time field patterns (discussion #381): {{date:…}} and {{time:…}} pin a+// shape for every viewer; bare {{date}} still follows the viewer's locale.+//+// node scripts/test-slides-fields.ts+//+// WHAT THIS PROVES. datefmt.ts formats a fixed instant by a pattern the way+// the doc comment says: longest token wins (YYYY before YY, MMMM before MM),+// literals pass through, [brackets] protect a word that contains a token+// letter, 12-hour tokens and am/pm agree, and a pattern with no token is+// returned as written. Every preset the Text panel offers formats without+// leaving a raw token behind. And render.ts routes the argument to it — the+// picker's tokens and the resolver's regex agree on the field names.++import { readFileSync } from 'node:fs'+import { fileURLToPath } from 'node:url'+import { dirname, join } from 'node:path'+import { formatDate, DATE_PRESETS, TIME_PRESETS, OTHER_FIELDS } from '../slides/src/datefmt.ts'++let failures = 0+let checks = 0+function ok(cond: boolean, msg: string) {+ checks+++ if (!cond) { failures++; console.log(` FAIL ${msg}`) }+ else console.log(` ok ${msg}`)+}+const root = join(dirname(fileURLToPath(import.meta.url)), '..')+const read = (f: string) => readFileSync(join(root, f), 'utf8')++// 4 September 2026, 14:05:09 local — single digits where they matter+const d = new Date(2026, 8, 4, 14, 5, 9)+const f = (p: string) => formatDate(d, p, 'en-US')++console.log('date tokens\n')+ok(f('YYYY') === '2026' && f('YY') === '26', 'YYYY → 2026, YY → 26')+ok(f('M/D/YY') === '9/4/26', 'M/D/YY → 9/4/26 (no padding)')+ok(f('MM/DD/YYYY') === '09/04/2026', 'MM/DD/YYYY → 09/04/2026 (padded)')+ok(f('DD/MM/YYYY') === '04/09/2026', 'DD/MM/YYYY → 04/09/2026')+ok(f('YYYY-MM-DD') === '2026-09-04', 'YYYY-MM-DD → ISO date')+ok(f('D MMMM YYYY') === '4 September 2026', 'D MMMM YYYY → 4 September 2026')+ok(f('MMM D') === 'Sep 4', 'MMM → short month')+ok(formatDate(d, 'D MMMM YYYY', 'fr-FR') === '4 septembre 2026', 'month names follow the locale — fr: septembre')+ok(formatDate(d, 'MMMM', 'de-DE') === 'September' && formatDate(d, 'MMMM', 'es-ES') === 'septiembre', 'de: September, es: septiembre')++console.log('\ntime tokens\n')+ok(f('HH:mm') === '14:05', 'HH:mm → 14:05')+ok(f('H:mm:ss') === '14:05:09', 'H:mm:ss → seconds padded')+ok(f('h:mm a') === '2:05 pm', 'h:mm a → 2:05 pm')+ok(f('hh:mm A') === '02:05 PM', 'hh:mm A → 02:05 PM')+ok(formatDate(new Date(2026, 8, 4, 0, 30), 'h:mm a') === '12:30 am', 'midnight is 12:30 am, not 0:30')+ok(formatDate(new Date(2026, 8, 4, 12, 0), 'h A') === '12 PM', 'noon is 12 PM')++console.log('\nliterals and precedence\n')+ok(f('D MMMM YYYY [at] h:mm a') === '4 September 2026 at 2:05 pm', '[at] is literal — the a inside it is not am/pm')+ok(f('[Date:] YYYY') === 'Date: 2026', 'a bracketed word with token letters (D, a) survives')+ok(f('YYYYMMDD') === '20260904', 'adjacent tokens, longest first')+ok(f('hello') === '2ello', 'an unbracketed h IS a token — the documented reason for brackets')+ok(f('') === '', 'empty pattern → empty')+ok(f('-- / --') === '-- / --', 'no token → returned as written')+ok(formatDate(d, 'D MMMM', 'no-such-locale-zz') !== '', 'an unknown locale falls back rather than throwing')++console.log('\nthe panel presets\n')+for (const p of [...DATE_PRESETS, ...TIME_PRESETS]) {+ const m = /^\{\{(date|time)(?::(.*))?\}\}$/.exec(p.token)+ ok(!!m, `${p.token} is a well-formed field token`)+ if (m?.[2]) ok((m[1] === 'date' ? /26/ : /05/).test(f(m[2])) && !/YYYY|MM|DD|HH|mm/.test(f(m[2])), `${p.token} formats: "${f(m[2])}"`)+}+ok(OTHER_FIELDS.every((p) => /^\{\{(page|pages|title|author|company|subject|event)\}\}$/.test(p.token)), 'the other fields are the resolver\'s names')++console.log('\nthe resolver\n')+const render = read('slides/src/render.ts')+ok(/case 'date': return escapeFieldText\(arg\?\.trim\(\) \? formatDate\(ctx\.date, arg\.trim\(\)\) : ctx\.date\.toLocaleDateString\(\)\)/.test(render), '{{date:…}} goes to formatDate; bare {{date}} stays viewer-locale')+ok(/case 'time': return escapeFieldText\(arg\?\.trim\(\) \? formatDate\(ctx\.date, arg\.trim\(\)\) :/.test(render), '{{time:…}} likewise')+const names = /\(page\|pages\|title\|date\|time\|author\|company\|subject\|event\)/.exec(render)+ok(!!names, 'the field-name alternation is unchanged (no new names, the format is untouched)')+const panels = read('slides/src/editor/panels.ts')+ok(/private buildFieldPicker\(el: TextElement\)/.test(panels) && /this\.buildFieldPicker\(el\)/.test(panels), 'the Text panel builds the field picker')+ok(/Text ▸ Field/.test(read('slides/src/editor/editor.ts')), 'the ? sheet names it')++console.log(`\n${checks - failures}/${checks} checks passed`)+process.exit(failures ? 1 : 0)diff --git a/slides/src/datefmt.ts b/slides/src/datefmt.tsnew file mode 100644index 00000000..f964785d--- /dev/null+++ b/slides/src/datefmt.ts@@ -0,0 +1,89 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento authors+/**+ * Pinned date/time patterns for the `{{date:…}}` and `{{time:…}}` fields+ * (discussion #381). Bare `{{date}}` follows the VIEWER's locale — right for a+ * deck shown to different audiences, but it means an author cannot say+ * "M/D/YY" and have every viewer see M/D/YY. A pattern pins the shape.+ *+ * Tokens, longest match first:+ * YYYY 2026 YY 26+ * MMMM September MMM Sep MM 09 M 9+ * DD 04 D 4+ * HH 14 H 14 hh 02 h 2 (12-hour, with A/a for AM/PM · am/pm)+ * mm 05 ss 09+ * A PM a pm+ * Anything else is a literal, so `D MMMM YYYY`, `M/D/YY`, `YYYY-MM-DD`,+ * `h:mm a` all read as written; a word that happens to contain a token+ * letter goes in square brackets — `D MMMM [at] h:mm a`. Month names come+ * from Intl in the viewer's language — the SHAPE is pinned, the words still+ * speak to the reader.+ *+ * Pure, no DOM: scripts/test-slides-fields.ts drives it in node.+ */++const TOKENS = ['YYYY', 'MMMM', 'MMM', 'YY', 'MM', 'DD', 'HH', 'hh', 'mm', 'ss', 'M', 'D', 'H', 'h', 'A', 'a'] as const+// bracketed literal first, so `[at]` is one match that comes back verbatim+const TOKEN_RE = new RegExp('\\[([^\\]]*)\\]|' + TOKENS.join('|'), 'g')++const two = (n: number) => String(n).padStart(2, '0')++/** Format `d` by `pattern`. `locale` picks the month names (default: the+ * browser's). A pattern with no token at all comes back as written. */+export function formatDate(d: Date, pattern: string, locale?: string): string {+ const month = (style: 'long' | 'short') => {+ try { return new Intl.DateTimeFormat(locale, { month: style }).format(d) }+ catch { return new Intl.DateTimeFormat(undefined, { month: style }).format(d) }+ }+ const h12 = d.getHours() % 12 || 12+ return pattern.replace(TOKEN_RE, (tok, literal?: string) => {+ if (literal !== undefined) return literal+ switch (tok) {+ case 'YYYY': return String(d.getFullYear())+ case 'YY': return two(d.getFullYear() % 100)+ case 'MMMM': return month('long')+ case 'MMM': return month('short')+ case 'MM': return two(d.getMonth() + 1)+ case 'M': return String(d.getMonth() + 1)+ case 'DD': return two(d.getDate())+ case 'D': return String(d.getDate())+ case 'HH': return two(d.getHours())+ case 'H': return String(d.getHours())+ case 'hh': return two(h12)+ case 'h': return String(h12)+ case 'mm': return two(d.getMinutes())+ case 'ss': return two(d.getSeconds())+ case 'A': return d.getHours() < 12 ? 'AM' : 'PM'+ case 'a': return d.getHours() < 12 ? 'am' : 'pm'+ default: return tok+ }+ })+}++/** The presets the Text panel's field picker offers for a date. The first is+ * the bare token (viewer's locale); the rest pin a shape. */+export const DATE_PRESETS: ReadonlyArray<{ token: string; label: string }> = [+ { token: '{{date}}', label: 'Date (viewer’s format)' },+ { token: '{{date:D MMMM YYYY}}', label: 'Date — 14 September 2026' },+ { token: '{{date:MMMM D, YYYY}}', label: 'Date — September 14, 2026' },+ { token: '{{date:M/D/YY}}', label: 'Date — 9/14/26' },+ { token: '{{date:DD/MM/YYYY}}', label: 'Date — 14/09/2026' },+ { token: '{{date:YYYY-MM-DD}}', label: 'Date — 2026-09-14' },+]++export const TIME_PRESETS: ReadonlyArray<{ token: string; label: string }> = [+ { token: '{{time}}', label: 'Time (viewer’s format)' },+ { token: '{{time:HH:mm}}', label: 'Time — 14:05' },+ { token: '{{time:h:mm a}}', label: 'Time — 2:05 pm' },+]++/** The other fields, for the same picker. */+export const OTHER_FIELDS: ReadonlyArray<{ token: string; label: string }> = [+ { token: '{{page}}', label: 'Page number' },+ { token: '{{pages}}', label: 'Page count' },+ { token: '{{title}}', label: 'Deck title' },+ { token: '{{author}}', label: 'Author' },+ { token: '{{company}}', label: 'Company' },+ { token: '{{subject}}', label: 'Subject' },+ { token: '{{event}}', label: 'Event' },+]diff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.tsindex 745fa177..acba3b23 100644--- a/slides/src/editor/editor.ts+++ b/slides/src/editor/editor.ts@@ -2748,6 +2748,7 @@ export class Editor {[`${mod}D`, t('Duplicate selection')],[`${mod}G · ${mod}⇧G`, t('Group · ungroup')],[`${mod}B · ${mod}I · ${mod}U`, t('Bold · italic · underline while editing text')],+ [t('Text ▸ Field'), t('Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}')],['[ · ]', t('Collapse · expand the side panels')],['C', t('Comment mode')],['?', t('This help')],diff --git a/slides/src/editor/panels.ts b/slides/src/editor/panels.tsindex c41b8032..51c1fb37 100644--- a/slides/src/editor/panels.ts+++ b/slides/src/editor/panels.ts@@ -14,6 +14,7 @@ import { isMacOS } from '../screens'import { CHART_PRESETS } from '../charts'import { FONT_CHOICES, firstFamily, injectFonts } from '../fonts'import { CODE_SCOPES, DEFAULT_CODE_COLORS } from '../code'+import { DATE_PRESETS, TIME_PRESETS, OTHER_FIELDS, formatDate } from '../datefmt'import { revealInOrder, revealTogether, removeReveal, type StepPatch } from './reveal'import { stepOf } from '../steps'import { ICONS } from '../icons'@@ -1010,6 +1011,39 @@ export class PropsPanel {this.host.appendChild(fit)}+ /** "Insert field": drops a {{token}} at the end of the text (discussion+ * #381 — the tokens existed since 0.9.12 but nothing in the editor said+ * so). Date and time offer presets whose labels show TODAY in that shape,+ * so the choice is made by eye; the pattern is in the token for anyone who+ * wants to edit it. Appends rather than inserts at a caret: choosing from+ * the panel blurs the text box and commits the edit, so there is no caret+ * to honour — the token lands at the end, inside the last block, and the+ * author moves it like any other text. */+ private buildFieldPicker(el: TextElement) {+ const now = new Date()+ const fmt = (token: string) => { const m = /^\{\{(?:date|time):(.*)\}\}$/.exec(token); return m ? formatDate(now, m[1]) : '' }+ const pairs: Array<[string, string]> = [['', t('Insert field…')]]+ for (const p of DATE_PRESETS) pairs.push([p.token, p.token === '{{date}}' ? t(p.label) : `${t('Date')} — ${fmt(p.token)}`])+ for (const p of TIME_PRESETS) pairs.push([p.token, p.token === '{{time}}' ? t(p.label) : `${t('Time')} — ${fmt(p.token)}`])+ for (const p of OTHER_FIELDS) pairs.push([p.token, t(p.label)])+ const sel = this.labeledSelect(pairs, '', (token) => {+ if (!token) return+ this.mutate(el.id, (e) => {+ const tx = e as TextElement+ const html = tx.html ?? ''+ // inside the last block if there is one, so the token joins the last+ // line rather than starting a stray one after </p>+ const m = /<\/(p|div|li)>\s*$/i.exec(html)+ const at = m ? m.index : html.length+ const sep = at > 0 && !/[\s>]$/.test(html.slice(0, at)) ? ' ' : ''+ tx.html = html.slice(0, at) + sep + token + html.slice(at)+ }, true)+ sel.value = ''+ })+ sel.title = t('Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.')+ this.row('Field', sel)+ }+private buildTextProps(el: TextElement) {this.section(t('Typography'))const hint = document.createElement('p')@@ -1017,6 +1051,7 @@ export class PropsPanel {hint.innerHTML = t('While editing: <b>⌘B</b>/<b>⌘I</b>/<b>⌘U</b> · markdown auto-converts — **bold*​* *italic*​ `code` ~~strike~~ and "- " bullets; pasting markdown converts too. Escape with \\ or press ⌘Z right after to keep the literal characters.')this.host.appendChild(hint)this.buildFitHeight(el)+ this.buildFieldPicker(el)this.row('Font', this.fontSelect(el))// Shown in POINTS (the unit office users know); the model stores slide-space// px. 1pt = 4/3 px at the slide's 96dpi space, so 32px = 24pt exactly.diff --git a/slides/src/i18n/de.ts b/slides/src/i18n/de.tsindex 6c4e7aba..ef9d361d 100644--- a/slides/src/i18n/de.ts+++ b/slides/src/i18n/de.ts@@ -863,4 +863,16 @@ export const de: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "Einblendschritt {n} — Klick für den nächsten Schritt; die Zahl steht unter Präsentation","Right-click ▸ Reveal in order": "Rechtsklick ▸ Der Reihe nach einblenden","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "Verbirgt die ausgewählten Elemente, bis → gedrückt wird, eines nach dem anderen in Leserichtung — nummerierte Marken auf der Leinwand zeigen die Reihenfolge",+ "Insert field…": "Feld einfügen…",+ "Date": "Datum",+ "Time": "Uhrzeit",+ "Field": "Feld",+ "Date (viewer’s format)": "Datum (Format des Betrachters)",+ "Time (viewer’s format)": "Uhrzeit (Format des Betrachters)",+ "Page number": "Seitenzahl",+ "Page count": "Seitenanzahl",+ "Deck title": "Titel des Decks",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Seitenzahl, Datum, Uhrzeit, Titel und Dokumenteigenschaften — aufgelöst, wenn die Folie gezeigt wird. Datum und Uhrzeit können ein Format festlegen: {{date:M/D/YY}}; das Muster wird im Text bearbeitet.",+ "Text ▸ Field": "Text ▸ Feld",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Seitenzahl, Datum, Uhrzeit, Titel oder eine Dokumenteigenschaft einfügen; ein Datum kann sein Format festlegen — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/es.ts b/slides/src/i18n/es.tsindex 24ddd66e..6d8b59aa 100644--- a/slides/src/i18n/es.ts+++ b/slides/src/i18n/es.ts@@ -863,4 +863,16 @@ export const es: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "Paso de revelado {n}: clic para el paso siguiente; el número se ajusta en Presentación","Right-click ▸ Reveal in order": "Clic derecho ▸ Revelar en orden","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "Oculta los elementos seleccionados hasta pulsar →, uno tras otro en orden de lectura; las insignias numeradas del lienzo muestran el orden",+ "Insert field…": "Insertar campo…",+ "Date": "Fecha",+ "Time": "Hora",+ "Field": "Campo",+ "Date (viewer’s format)": "Fecha (formato del espectador)",+ "Time (viewer’s format)": "Hora (formato del espectador)",+ "Page number": "Número de página",+ "Page count": "Total de páginas",+ "Deck title": "Título de la presentación",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Número de página, fecha, hora, título y propiedades del documento: se resuelven al mostrar la diapositiva. La fecha y la hora pueden fijar un formato: {{date:M/D/YY}}; edita el patrón en el texto.",+ "Text ▸ Field": "Texto ▸ Campo",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Inserta el número de página, la fecha, la hora, el título o una propiedad del documento; una fecha puede fijar su formato: {{date:M/D/YY}}",}diff --git a/slides/src/i18n/fr.ts b/slides/src/i18n/fr.tsindex 2de7fe29..bd4e518f 100644--- a/slides/src/i18n/fr.ts+++ b/slides/src/i18n/fr.ts@@ -863,4 +863,16 @@ export const fr: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "Étape de révélation {n} — cliquez pour l’étape suivante ; le nombre se règle dans Présentation","Right-click ▸ Reveal in order": "Clic droit ▸ Révéler dans l’ordre","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "Masque les éléments sélectionnés jusqu’à l’appui sur →, l’un après l’autre dans l’ordre de lecture — les badges numérotés sur le canevas indiquent l’ordre",+ "Insert field…": "Insérer un champ…",+ "Date": "Date",+ "Time": "Heure",+ "Field": "Champ",+ "Date (viewer’s format)": "Date (format du lecteur)",+ "Time (viewer’s format)": "Heure (format du lecteur)",+ "Page number": "Numéro de page",+ "Page count": "Nombre de pages",+ "Deck title": "Titre de la présentation",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Numéro de page, date, heure, titre et propriétés du document — résolus à l’affichage de la diapositive. La date et l’heure peuvent fixer un format : {{date:M/D/YY}} ; modifiez le motif dans le texte.",+ "Text ▸ Field": "Texte ▸ Champ",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Insère le numéro de page, la date, l’heure, le titre ou une propriété du document ; une date peut fixer son format — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/it.ts b/slides/src/i18n/it.tsindex 521ddd18..b47692bf 100644--- a/slides/src/i18n/it.ts+++ b/slides/src/i18n/it.ts@@ -863,4 +863,16 @@ export const it: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "Passo di rivelazione {n} — clic per il passo successivo; il numero si imposta in Presentazione","Right-click ▸ Reveal in order": "Clic destro ▸ Rivela in ordine","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "Nasconde gli elementi selezionati finché non si preme →, uno dopo l’altro in ordine di lettura — i badge numerati sulla tela mostrano l’ordine",+ "Insert field…": "Inserisci campo…",+ "Date": "Data",+ "Time": "Ora",+ "Field": "Campo",+ "Date (viewer’s format)": "Data (formato di chi guarda)",+ "Time (viewer’s format)": "Ora (formato di chi guarda)",+ "Page number": "Numero di pagina",+ "Page count": "Numero di pagine",+ "Deck title": "Titolo della presentazione",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Numero di pagina, data, ora, titolo e proprietà del documento — risolti quando la diapositiva viene mostrata. Data e ora possono fissare un formato: {{date:M/D/YY}}; modifica il modello nel testo.",+ "Text ▸ Field": "Testo ▸ Campo",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Inserisce numero di pagina, data, ora, titolo o una proprietà del documento; una data può fissare il proprio formato — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/ja.ts b/slides/src/i18n/ja.tsindex 027eecb6..bb77df7b 100644--- a/slides/src/i18n/ja.ts+++ b/slides/src/i18n/ja.ts@@ -863,4 +863,16 @@ export const ja: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "表示ステップ {n} — クリックで次のステップへ。番号は「プレゼン」で設定できます","Right-click ▸ Reveal in order": "右クリック ▸ 順番に表示","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "選択した要素を → を押すまで非表示にし、読み順にひとつずつ表示します — キャンバスの番号バッジが順番を示します",+ "Insert field…": "フィールドを挿入…",+ "Date": "日付",+ "Time": "時刻",+ "Field": "フィールド",+ "Date (viewer’s format)": "日付(閲覧者の書式)",+ "Time (viewer’s format)": "時刻(閲覧者の書式)",+ "Page number": "ページ番号",+ "Page count": "ページ数",+ "Deck title": "デッキのタイトル",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "ページ番号、日付、時刻、タイトル、文書プロパティ — スライド表示時に解決されます。日付と時刻は書式を固定できます: {{date:M/D/YY}}。パターンはテキスト内で編集します。",+ "Text ▸ Field": "テキスト ▸ フィールド",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "ページ番号、日付、時刻、タイトル、文書プロパティを挿入します。日付は書式を固定できます — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packed.ts b/slides/src/i18n/packed.tsindex bfadd63b..f4c14095 100644--- a/slides/src/i18n/packed.ts+++ b/slides/src/i18n/packed.ts@@ -869,4 +869,16 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {"Reveal step {n} — click for the next step; set the number in Presenting": ["表示ステップ {n} — クリックで次のステップへ。番号は「プレゼン」で設定できます","显示步骤 {n} — 点击进入下一步;在“演示”中设置数字","顯示步驟 {n} — 點一下進入下一步;在「簡報」中設定數字","Paso de revelado {n}: clic para el paso siguiente; el número se ajusta en Presentación","Étape de révélation {n} — cliquez pour l’étape suivante ; le nombre se règle dans Présentation","Einblendschritt {n} — Klick für den nächsten Schritt; die Zahl steht unter Präsentation","Passo di rivelazione {n} — clic per il passo successivo; il numero si imposta in Presentazione","Passo de revelação {n} — clique para o passo seguinte; o número ajusta-se em Apresentação"],"Right-click ▸ Reveal in order": ["右クリック ▸ 順番に表示","右键 ▸ 按顺序显示","右鍵 ▸ 按順序顯示","Clic derecho ▸ Revelar en orden","Clic droit ▸ Révéler dans l’ordre","Rechtsklick ▸ Der Reihe nach einblenden","Clic destro ▸ Rivela in ordine","Clique direito ▸ Revelar por ordem"],"Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": ["選択した要素を → を押すまで非表示にし、読み順にひとつずつ表示します — キャンバスの番号バッジが順番を示します","按下 → 之前隐藏所选元素,按阅读顺序逐个显示——画布上的数字标记显示顺序","按下 → 之前隱藏所選元素,按閱讀順序逐一顯示——畫布上的數字標記顯示順序","Oculta los elementos seleccionados hasta pulsar →, uno tras otro en orden de lectura; las insignias numeradas del lienzo muestran el orden","Masque les éléments sélectionnés jusqu’à l’appui sur →, l’un après l’autre dans l’ordre de lecture — les badges numérotés sur le canevas indiquent l’ordre","Verbirgt die ausgewählten Elemente, bis → gedrückt wird, eines nach dem anderen in Leserichtung — nummerierte Marken auf der Leinwand zeigen die Reihenfolge","Nasconde gli elementi selezionati finché non si preme →, uno dopo l’altro in ordine di lettura — i badge numerati sulla tela mostrano l’ordine","Oculta os elementos selecionados até premir →, um após outro pela ordem de leitura — os emblemas numerados na tela mostram a ordem"],+ "Insert field…": ["フィールドを挿入…","插入字段…","插入欄位…","Insertar campo…","Insérer un champ…","Feld einfügen…","Inserisci campo…","Inserir campo…"],+ "Date": ["日付","日期","日期","Fecha","Date","Datum","Data","Data"],+ "Time": ["時刻","时间","時間","Hora","Heure","Uhrzeit","Ora","Hora"],+ "Field": ["フィールド","字段","欄位","Campo","Champ","Feld","Campo","Campo"],+ "Date (viewer’s format)": ["日付(閲覧者の書式)","日期(查看者的格式)","日期(檢視者的格式)","Fecha (formato del espectador)","Date (format du lecteur)","Datum (Format des Betrachters)","Data (formato di chi guarda)","Data (formato de quem vê)"],+ "Time (viewer’s format)": ["時刻(閲覧者の書式)","时间(查看者的格式)","時間(檢視者的格式)","Hora (formato del espectador)","Heure (format du lecteur)","Uhrzeit (Format des Betrachters)","Ora (formato di chi guarda)","Hora (formato de quem vê)"],+ "Page number": ["ページ番号","页码","頁碼","Número de página","Numéro de page","Seitenzahl","Numero di pagina","Número da página"],+ "Page count": ["ページ数","页数","頁數","Total de páginas","Nombre de pages","Seitenanzahl","Numero di pagine","Total de páginas"],+ "Deck title": ["デッキのタイトル","文稿标题","文稿標題","Título de la presentación","Titre de la présentation","Titel des Decks","Titolo della presentazione","Título da apresentação"],+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": ["ページ番号、日付、時刻、タイトル、文書プロパティ — スライド表示時に解決されます。日付と時刻は書式を固定できます: {{date:M/D/YY}}。パターンはテキスト内で編集します。","页码、日期、时间、标题和文档属性 — 在显示幻灯片时解析。日期和时间可固定格式:{{date:M/D/YY}};在文本中编辑模式。","頁碼、日期、時間、標題和文件屬性 — 在顯示投影片時解析。日期和時間可固定格式:{{date:M/D/YY}};在文字中編輯樣式。","Número de página, fecha, hora, título y propiedades del documento: se resuelven al mostrar la diapositiva. La fecha y la hora pueden fijar un formato: {{date:M/D/YY}}; edita el patrón en el texto.","Numéro de page, date, heure, titre et propriétés du document — résolus à l’affichage de la diapositive. La date et l’heure peuvent fixer un format : {{date:M/D/YY}} ; modifiez le motif dans le texte.","Seitenzahl, Datum, Uhrzeit, Titel und Dokumenteigenschaften — aufgelöst, wenn die Folie gezeigt wird. Datum und Uhrzeit können ein Format festlegen: {{date:M/D/YY}}; das Muster wird im Text bearbeitet.","Numero di pagina, data, ora, titolo e proprietà del documento — risolti quando la diapositiva viene mostrata. Data e ora possono fissare un formato: {{date:M/D/YY}}; modifica il modello nel testo.","Número da página, data, hora, título e propriedades do documento — resolvidos quando o diapositivo é mostrado. Data e hora podem fixar um formato: {{date:M/D/YY}}; edite o padrão no texto."],+ "Text ▸ Field": ["テキスト ▸ フィールド","文本 ▸ 字段","文字 ▸ 欄位","Texto ▸ Campo","Texte ▸ Champ","Text ▸ Feld","Testo ▸ Campo","Texto ▸ Campo"],+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": ["ページ番号、日付、時刻、タイトル、文書プロパティを挿入します。日付は書式を固定できます — {{date:M/D/YY}}","插入页码、日期、时间、标题或文档属性;日期可固定格式 — {{date:M/D/YY}}","插入頁碼、日期、時間、標題或文件屬性;日期可固定格式 — {{date:M/D/YY}}","Inserta el número de página, la fecha, la hora, el título o una propiedad del documento; una fecha puede fijar su formato: {{date:M/D/YY}}","Insère le numéro de page, la date, l’heure, le titre ou une propriété du document ; une date peut fixer son format — {{date:M/D/YY}}","Seitenzahl, Datum, Uhrzeit, Titel oder eine Dokumenteigenschaft einfügen; ein Datum kann sein Format festlegen — {{date:M/D/YY}}","Inserisce numero di pagina, data, ora, titolo o una proprietà del documento; una data può fissare il proprio formato — {{date:M/D/YY}}","Insere o número da página, a data, a hora, o título ou uma propriedade do documento; uma data pode fixar o seu formato — {{date:M/D/YY}}"],}diff --git a/slides/src/i18n/packs/ar.ts b/slides/src/i18n/packs/ar.tsindex 02f8bd89..4664f426 100644--- a/slides/src/i18n/packs/ar.ts+++ b/slides/src/i18n/packs/ar.ts@@ -883,4 +883,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "انتهى العرض — تبقى هذه النسخة عرضًا للعمل","Your audience copy is no longer valid — ask the presenter for a new one": "لم تعد نسختك للجمهور صالحة — اطلب من المقدّم نسخة جديدة","You left the show — reopen this file to rejoin": "غادرت العرض — أعد فتح هذا الملف للانضمام مجددًا",+ "Insert field…": "إدراج حقل…",+ "Date": "التاريخ",+ "Time": "الوقت",+ "Field": "حقل",+ "Date (viewer’s format)": "التاريخ (بتنسيق المشاهد)",+ "Time (viewer’s format)": "الوقت (بتنسيق المشاهد)",+ "Page number": "رقم الصفحة",+ "Page count": "عدد الصفحات",+ "Deck title": "عنوان العرض",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "رقم الصفحة والتاريخ والوقت والعنوان وخصائص المستند — تُحلّ عند عرض الشريحة. يمكن للتاريخ والوقت تثبيت تنسيق: {{date:M/D/YY}}؛ حرّر النمط في النص.",+ "Text ▸ Field": "نص ▸ حقل",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "يدرج رقم الصفحة أو التاريخ أو الوقت أو العنوان أو خاصية مستند؛ يمكن للتاريخ تثبيت تنسيقه — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/bn.ts b/slides/src/i18n/packs/bn.tsindex 2af557ee..2266a336 100644--- a/slides/src/i18n/packs/bn.ts+++ b/slides/src/i18n/packs/bn.ts@@ -886,4 +886,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "শো শেষ — এই কপি একটি কাজের ডেক হিসেবে থাকে","Your audience copy is no longer valid — ask the presenter for a new one": "আপনার দর্শক কপি আর বৈধ নয় — উপস্থাপকের কাছ থেকে নতুনটি নিন","You left the show — reopen this file to rejoin": "আপনি শো ছেড়েছেন — আবার যোগ দিতে এই ফাইলটি আবার খুলুন",+ "Insert field…": "ফিল্ড যোগ করুন…",+ "Date": "তারিখ",+ "Time": "সময়",+ "Field": "ফিল্ড",+ "Date (viewer’s format)": "তারিখ (দর্শকের বিন্যাস)",+ "Time (viewer’s format)": "সময় (দর্শকের বিন্যাস)",+ "Page number": "পৃষ্ঠা নম্বর",+ "Page count": "পৃষ্ঠা সংখ্যা",+ "Deck title": "ডেকের শিরোনাম",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "পৃষ্ঠা নম্বর, তারিখ, সময়, শিরোনাম ও নথির বৈশিষ্ট্য — স্লাইড দেখানোর সময় নির্ধারিত হয়। তারিখ ও সময়ের বিন্যাস স্থির করা যায়: {{date:M/D/YY}}; প্যাটার্নটি লেখায় সম্পাদনা করুন।",+ "Text ▸ Field": "লেখা ▸ ফিল্ড",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "পৃষ্ঠা নম্বর, তারিখ, সময়, শিরোনাম বা নথির বৈশিষ্ট্য যোগ করুন; তারিখের বিন্যাস স্থির করা যায় — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/da.ts b/slides/src/i18n/packs/da.tsindex 5ec63bea..17bbf8e7 100644--- a/slides/src/i18n/packs/da.ts+++ b/slides/src/i18n/packs/da.ts@@ -875,4 +875,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Showet er slut — denne kopi forbliver et arbejdsdæk","Your audience copy is no longer valid — ask the presenter for a new one": "Din publikumskopi er ikke længere gyldig — bed præsentatoren om en ny","You left the show — reopen this file to rejoin": "Du forlod showet — genåbn denne fil for at deltage igen",+ "Insert field…": "Indsæt felt…",+ "Date": "Dato",+ "Time": "Klokkeslæt",+ "Field": "Felt",+ "Date (viewer’s format)": "Dato (læserens format)",+ "Time (viewer’s format)": "Klokkeslæt (læserens format)",+ "Page number": "Sidetal",+ "Page count": "Antal sider",+ "Deck title": "Dækkets titel",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Sidetal, dato, klokkeslæt, titel og dokumentegenskaber — udfyldes når diasset vises. Dato og klokkeslæt kan låse et format: {{date:M/D/YY}}; rediger mønsteret i teksten.",+ "Text ▸ Field": "Tekst ▸ Felt",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Indsæt sidetal, dato, klokkeslæt, titel eller en dokumentegenskab; en dato kan låse sit format — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/fa.ts b/slides/src/i18n/packs/fa.tsindex 1e810f0d..6b58b17b 100644--- a/slides/src/i18n/packs/fa.ts+++ b/slides/src/i18n/packs/fa.ts@@ -879,4 +879,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "نمایش پایان یافت — این نسخه یک دک کاری میماند","Your audience copy is no longer valid — ask the presenter for a new one": "نسخهٔ مخاطبان شما دیگر معتبر نیست — از ارائهدهنده نسخهٔ جدیدی بخواهید","You left the show — reopen this file to rejoin": "نمایش را ترک کردید — برای پیوستن دوباره این پرونده را باز کنید",+ "Insert field…": "درج فیلد…",+ "Date": "تاریخ",+ "Time": "زمان",+ "Field": "فیلد",+ "Date (viewer’s format)": "تاریخ (قالب بیننده)",+ "Time (viewer’s format)": "زمان (قالب بیننده)",+ "Page number": "شمارهٔ صفحه",+ "Page count": "تعداد صفحات",+ "Deck title": "عنوان دک",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "شمارهٔ صفحه، تاریخ، زمان، عنوان و ویژگیهای سند — هنگام نمایش اسلاید جایگزین میشوند. تاریخ و زمان میتوانند قالب را ثابت کنند: {{date:M/D/YY}}؛ الگو را در متن ویرایش کنید.",+ "Text ▸ Field": "متن ▸ فیلد",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "شمارهٔ صفحه، تاریخ، زمان، عنوان یا یک ویژگی سند را درج میکند؛ تاریخ میتواند قالب خود را ثابت کند — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/fi.ts b/slides/src/i18n/packs/fi.tsindex 049b7be7..00e7a1d2 100644--- a/slides/src/i18n/packs/fi.ts+++ b/slides/src/i18n/packs/fi.ts@@ -880,4 +880,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Esitys on päättynyt — tämä kopio pysyy työpakkana","Your audience copy is no longer valid — ask the presenter for a new one": "Yleisökopiosi ei ole enää voimassa — pyydä esittäjältä uusi","You left the show — reopen this file to rejoin": "Poistuit esityksestä — avaa tämä tiedosto uudelleen liittyäksesi",+ "Insert field…": "Lisää kenttä…",+ "Date": "Päivämäärä",+ "Time": "Kellonaika",+ "Field": "Kenttä",+ "Date (viewer’s format)": "Päivämäärä (katsojan muoto)",+ "Time (viewer’s format)": "Kellonaika (katsojan muoto)",+ "Page number": "Sivunumero",+ "Page count": "Sivumäärä",+ "Deck title": "Pakan otsikko",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Sivunumero, päivämäärä, kellonaika, otsikko ja asiakirjan ominaisuudet — täytetään, kun dia näytetään. Päivämäärä ja kellonaika voivat lukita muodon: {{date:M/D/YY}}; muokkaa kaavaa tekstissä.",+ "Text ▸ Field": "Teksti ▸ Kenttä",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Lisää sivunumeron, päivämäärän, kellonajan, otsikon tai asiakirjan ominaisuuden; päivämäärä voi lukita muotonsa — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/fil.ts b/slides/src/i18n/packs/fil.tsindex 1d2ea98f..95e106dc 100644--- a/slides/src/i18n/packs/fil.ts+++ b/slides/src/i18n/packs/fil.ts@@ -892,4 +892,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Natapos na ang palabas — nananatiling working deck ang kopyang ito","Your audience copy is no longer valid — ask the presenter for a new one": "Hindi na valid ang kopya mo bilang manonood — humingi ng bago sa presenter","You left the show — reopen this file to rejoin": "Umalis ka sa palabas — buksang muli ang file na ito para sumali ulit",+ "Insert field…": "Maglagay ng field…",+ "Date": "Petsa",+ "Time": "Oras",+ "Field": "Field",+ "Date (viewer’s format)": "Petsa (format ng manonood)",+ "Time (viewer’s format)": "Oras (format ng manonood)",+ "Page number": "Numero ng pahina",+ "Page count": "Bilang ng pahina",+ "Deck title": "Pamagat ng deck",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Numero ng pahina, petsa, oras, pamagat at mga property ng dokumento — nireresolba kapag ipinakita ang slide. Puwedeng itakda ng petsa at oras ang format: {{date:M/D/YY}}; i-edit ang pattern sa teksto.",+ "Text ▸ Field": "Teksto ▸ Field",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Ilagay ang numero ng pahina, petsa, oras, pamagat o property ng dokumento; puwedeng itakda ng petsa ang format nito — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/he.ts b/slides/src/i18n/packs/he.tsindex 71a409ef..3848dd1d 100644--- a/slides/src/i18n/packs/he.ts+++ b/slides/src/i18n/packs/he.ts@@ -876,4 +876,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "ההצגה הסתיימה — העותק הזה נשאר מצגת עבודה","Your audience copy is no longer valid — ask the presenter for a new one": "העותק לקהל שלכם כבר לא תקף — בקשו מהמציג עותק חדש","You left the show — reopen this file to rejoin": "יצאתם מההצגה — פתחו את הקובץ הזה מחדש כדי להצטרף שוב",+ "Insert field…": "הוספת שדה…",+ "Date": "תאריך",+ "Time": "שעה",+ "Field": "שדה",+ "Date (viewer’s format)": "תאריך (בתבנית הצופה)",+ "Time (viewer’s format)": "שעה (בתבנית הצופה)",+ "Page number": "מספר עמוד",+ "Page count": "מספר העמודים",+ "Deck title": "כותרת המצגת",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "מספר עמוד, תאריך, שעה, כותרת ומאפייני המסמך — נפתרים בעת הצגת השקופית. תאריך ושעה יכולים לקבע תבנית: {{date:M/D/YY}}; ערכו את התבנית בטקסט.",+ "Text ▸ Field": "טקסט ▸ שדה",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "הוספת מספר עמוד, תאריך, שעה, כותרת או מאפיין מסמך; תאריך יכול לקבע את התבנית שלו — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/hi.ts b/slides/src/i18n/packs/hi.tsindex 208c5723..822eddb1 100644--- a/slides/src/i18n/packs/hi.ts+++ b/slides/src/i18n/packs/hi.ts@@ -883,4 +883,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "शो समाप्त — यह प्रति एक कार्यशील डेक बनी रहती है","Your audience copy is no longer valid — ask the presenter for a new one": "आपकी दर्शक प्रति अब मान्य नहीं — प्रस्तुतकर्ता से नई माँगें","You left the show — reopen this file to rejoin": "आपने शो छोड़ दिया — फिर से जुड़ने के लिए यह फ़ाइल दोबारा खोलें",+ "Insert field…": "फ़ील्ड डालें…",+ "Date": "तारीख़",+ "Time": "समय",+ "Field": "फ़ील्ड",+ "Date (viewer’s format)": "तारीख़ (दर्शक का प्रारूप)",+ "Time (viewer’s format)": "समय (दर्शक का प्रारूप)",+ "Page number": "पृष्ठ संख्या",+ "Page count": "कुल पृष्ठ",+ "Deck title": "डेक का शीर्षक",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "पृष्ठ संख्या, तारीख़, समय, शीर्षक और दस्तावेज़ गुण — स्लाइड दिखाते समय हल होते हैं। तारीख़ और समय प्रारूप तय कर सकते हैं: {{date:M/D/YY}}; पैटर्न पाठ में संपादित करें।",+ "Text ▸ Field": "पाठ ▸ फ़ील्ड",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "पृष्ठ संख्या, तारीख़, समय, शीर्षक या दस्तावेज़ गुण डालें; तारीख़ अपना प्रारूप तय कर सकती है — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/id.ts b/slides/src/i18n/packs/id.tsindex 8d400bd9..af245666 100644--- a/slides/src/i18n/packs/id.ts+++ b/slides/src/i18n/packs/id.ts@@ -873,4 +873,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Pertunjukan berakhir — salinan ini tetap menjadi dek kerja","Your audience copy is no longer valid — ask the presenter for a new one": "Salinan penonton Anda tidak berlaku lagi — minta yang baru kepada presenter","You left the show — reopen this file to rejoin": "Anda meninggalkan pertunjukan — buka kembali file ini untuk bergabung lagi",+ "Insert field…": "Sisipkan bidang…",+ "Date": "Tanggal",+ "Time": "Waktu",+ "Field": "Bidang",+ "Date (viewer’s format)": "Tanggal (format penonton)",+ "Time (viewer’s format)": "Waktu (format penonton)",+ "Page number": "Nomor halaman",+ "Page count": "Jumlah halaman",+ "Deck title": "Judul dek",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Nomor halaman, tanggal, waktu, judul, dan properti dokumen — diisi saat slide ditampilkan. Tanggal dan waktu dapat mengunci format: {{date:M/D/YY}}; edit polanya di teks.",+ "Text ▸ Field": "Teks ▸ Bidang",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Sisipkan nomor halaman, tanggal, waktu, judul, atau properti dokumen; tanggal dapat mengunci formatnya — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/ko.ts b/slides/src/i18n/packs/ko.tsindex 819c4d2c..3076aa92 100644--- a/slides/src/i18n/packs/ko.ts+++ b/slides/src/i18n/packs/ko.ts@@ -867,4 +867,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "쇼가 끝났습니다 — 이 사본은 작업용 덱으로 남습니다","Your audience copy is no longer valid — ask the presenter for a new one": "청중용 사본이 더 이상 유효하지 않습니다 — 발표자에게 새 사본을 요청하세요","You left the show — reopen this file to rejoin": "쇼에서 나갔습니다 — 다시 참여하려면 이 파일을 다시 여세요",+ "Insert field…": "필드 삽입…",+ "Date": "날짜",+ "Time": "시간",+ "Field": "필드",+ "Date (viewer’s format)": "날짜 (보는 사람의 형식)",+ "Time (viewer’s format)": "시간 (보는 사람의 형식)",+ "Page number": "페이지 번호",+ "Page count": "페이지 수",+ "Deck title": "덱 제목",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "페이지 번호, 날짜, 시간, 제목, 문서 속성 — 슬라이드가 표시될 때 채워집니다. 날짜와 시간은 형식을 고정할 수 있습니다: {{date:M/D/YY}}; 패턴은 텍스트에서 편집합니다.",+ "Text ▸ Field": "텍스트 ▸ 필드",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "페이지 번호, 날짜, 시간, 제목 또는 문서 속성을 삽입합니다. 날짜는 형식을 고정할 수 있습니다 — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/ms.ts b/slides/src/i18n/packs/ms.tsindex 6081763b..c5a02b90 100644--- a/slides/src/i18n/packs/ms.ts+++ b/slides/src/i18n/packs/ms.ts@@ -876,4 +876,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Persembahan telah tamat — salinan ini kekal sebagai dek kerja","Your audience copy is no longer valid — ask the presenter for a new one": "Salinan penonton anda tidak sah lagi — minta yang baharu daripada penyampai","You left the show — reopen this file to rejoin": "Anda meninggalkan persembahan — buka semula fail ini untuk menyertai semula",+ "Insert field…": "Sisipkan medan…",+ "Date": "Tarikh",+ "Time": "Masa",+ "Field": "Medan",+ "Date (viewer’s format)": "Tarikh (format penonton)",+ "Time (viewer’s format)": "Masa (format penonton)",+ "Page number": "Nombor halaman",+ "Page count": "Bilangan halaman",+ "Deck title": "Tajuk dek",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Nombor halaman, tarikh, masa, tajuk dan sifat dokumen — diisi apabila slaid dipaparkan. Tarikh dan masa boleh menetapkan format: {{date:M/D/YY}}; sunting coraknya dalam teks.",+ "Text ▸ Field": "Teks ▸ Medan",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Sisipkan nombor halaman, tarikh, masa, tajuk atau sifat dokumen; tarikh boleh menetapkan formatnya — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/nb.ts b/slides/src/i18n/packs/nb.tsindex 76bd0d72..4976ffe1 100644--- a/slides/src/i18n/packs/nb.ts+++ b/slides/src/i18n/packs/nb.ts@@ -877,4 +877,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Showet er over — denne kopien forblir en arbeidskortstokk","Your audience copy is no longer valid — ask the presenter for a new one": "Publikumskopien din er ikke lenger gyldig — be presentatøren om en ny","You left the show — reopen this file to rejoin": "Du forlot showet — gjenåpne denne filen for å bli med igjen",+ "Insert field…": "Sett inn felt…",+ "Date": "Dato",+ "Time": "Klokkeslett",+ "Field": "Felt",+ "Date (viewer’s format)": "Dato (leserens format)",+ "Time (viewer’s format)": "Klokkeslett (leserens format)",+ "Page number": "Sidetall",+ "Page count": "Antall sider",+ "Deck title": "Kortstokkens tittel",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Sidetall, dato, klokkeslett, tittel og dokumentegenskaper — fylles ut når lysbildet vises. Dato og klokkeslett kan låse et format: {{date:M/D/YY}}; rediger mønsteret i teksten.",+ "Text ▸ Field": "Tekst ▸ Felt",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Sett inn sidetall, dato, klokkeslett, tittel eller en dokumentegenskap; en dato kan låse formatet sitt — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/nl.ts b/slides/src/i18n/packs/nl.tsindex 3e9800b1..241b3836 100644--- a/slides/src/i18n/packs/nl.ts+++ b/slides/src/i18n/packs/nl.ts@@ -871,4 +871,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "De show is afgelopen — deze kopie blijft een werkdeck","Your audience copy is no longer valid — ask the presenter for a new one": "Je publiekskopie is niet meer geldig — vraag de presentator om een nieuwe","You left the show — reopen this file to rejoin": "Je hebt de show verlaten — open dit bestand opnieuw om weer mee te doen",+ "Insert field…": "Veld invoegen…",+ "Date": "Datum",+ "Time": "Tijd",+ "Field": "Veld",+ "Date (viewer’s format)": "Datum (notatie van de kijker)",+ "Time (viewer’s format)": "Tijd (notatie van de kijker)",+ "Page number": "Paginanummer",+ "Page count": "Aantal pagina's",+ "Deck title": "Titel van het deck",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Paginanummer, datum, tijd, titel en documenteigenschappen — ingevuld zodra de dia wordt getoond. Datum en tijd kunnen een notatie vastzetten: {{date:M/D/YY}}; bewerk het patroon in de tekst.",+ "Text ▸ Field": "Tekst ▸ Veld",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Voeg paginanummer, datum, tijd, titel of een documenteigenschap in; een datum kan zijn notatie vastzetten — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/pl.ts b/slides/src/i18n/packs/pl.tsindex 0ed23aa7..e7f76ca8 100644--- a/slides/src/i18n/packs/pl.ts+++ b/slides/src/i18n/packs/pl.ts@@ -874,4 +874,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Pokaz się zakończył — ta kopia pozostaje roboczą prezentacją","Your audience copy is no longer valid — ask the presenter for a new one": "Twoja kopia dla widowni jest już nieważna — poproś prelegenta o nową","You left the show — reopen this file to rejoin": "Opuszczono pokaz — otwórz ten plik ponownie, aby dołączyć",+ "Insert field…": "Wstaw pole…",+ "Date": "Data",+ "Time": "Godzina",+ "Field": "Pole",+ "Date (viewer’s format)": "Data (format widza)",+ "Time (viewer’s format)": "Godzina (format widza)",+ "Page number": "Numer strony",+ "Page count": "Liczba stron",+ "Deck title": "Tytuł prezentacji",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Numer strony, data, godzina, tytuł i właściwości dokumentu — uzupełniane przy wyświetleniu slajdu. Data i godzina mogą mieć ustalony format: {{date:M/D/YY}}; wzorzec edytujesz w tekście.",+ "Text ▸ Field": "Tekst ▸ Pole",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Wstawia numer strony, datę, godzinę, tytuł lub właściwość dokumentu; data może mieć ustalony format — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/ru.ts b/slides/src/i18n/packs/ru.tsindex 1acc4044..b6eecce7 100644--- a/slides/src/i18n/packs/ru.ts+++ b/slides/src/i18n/packs/ru.ts@@ -875,4 +875,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Показ завершён — эта копия остаётся рабочей презентацией","Your audience copy is no longer valid — ask the presenter for a new one": "Ваша копия для зрителей больше недействительна — попросите у докладчика новую","You left the show — reopen this file to rejoin": "Вы покинули показ — откройте этот файл снова, чтобы вернуться",+ "Insert field…": "Вставить поле…",+ "Date": "Дата",+ "Time": "Время",+ "Field": "Поле",+ "Date (viewer’s format)": "Дата (формат зрителя)",+ "Time (viewer’s format)": "Время (формат зрителя)",+ "Page number": "Номер страницы",+ "Page count": "Число страниц",+ "Deck title": "Название презентации",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Номер страницы, дата, время, название и свойства документа — подставляются при показе слайда. Дата и время могут закрепить формат: {{date:M/D/YY}}; шаблон правится в тексте.",+ "Text ▸ Field": "Текст ▸ Поле",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Вставляет номер страницы, дату, время, название или свойство документа; дата может закрепить свой формат — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/sv.ts b/slides/src/i18n/packs/sv.tsindex 33b9f869..e138451d 100644--- a/slides/src/i18n/packs/sv.ts+++ b/slides/src/i18n/packs/sv.ts@@ -872,4 +872,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Visningen är slut — den här kopian förblir en arbetspresentation","Your audience copy is no longer valid — ask the presenter for a new one": "Din publikkopia gäller inte längre — be presentatören om en ny","You left the show — reopen this file to rejoin": "Du lämnade visningen — öppna den här filen igen för att gå med på nytt",+ "Insert field…": "Infoga fält…",+ "Date": "Datum",+ "Time": "Tid",+ "Field": "Fält",+ "Date (viewer’s format)": "Datum (läsarens format)",+ "Time (viewer’s format)": "Tid (läsarens format)",+ "Page number": "Sidnummer",+ "Page count": "Antal sidor",+ "Deck title": "Presentationens titel",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Sidnummer, datum, tid, titel och dokumentegenskaper — fylls i när bilden visas. Datum och tid kan låsa ett format: {{date:M/D/YY}}; redigera mönstret i texten.",+ "Text ▸ Field": "Text ▸ Fält",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Infoga sidnummer, datum, tid, titel eller en dokumentegenskap; ett datum kan låsa sitt format — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/th.ts b/slides/src/i18n/packs/th.tsindex eeaf0f18..21cb7c75 100644--- a/slides/src/i18n/packs/th.ts+++ b/slides/src/i18n/packs/th.ts@@ -877,4 +877,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "การแสดงสิ้นสุดแล้ว — สำเนานี้ยังคงเป็นเด็คสำหรับทำงาน","Your audience copy is no longer valid — ask the presenter for a new one": "สำเนาสำหรับผู้ชมของคุณใช้ไม่ได้แล้ว — ขอฉบับใหม่จากผู้นำเสนอ","You left the show — reopen this file to rejoin": "คุณออกจากการแสดงแล้ว — เปิดไฟล์นี้อีกครั้งเพื่อกลับเข้าร่วม",+ "Insert field…": "แทรกฟิลด์…",+ "Date": "วันที่",+ "Time": "เวลา",+ "Field": "ฟิลด์",+ "Date (viewer’s format)": "วันที่ (รูปแบบของผู้ชม)",+ "Time (viewer’s format)": "เวลา (รูปแบบของผู้ชม)",+ "Page number": "หมายเลขหน้า",+ "Page count": "จำนวนหน้า",+ "Deck title": "ชื่อเด็ค",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "หมายเลขหน้า วันที่ เวลา ชื่อเรื่อง และคุณสมบัติเอกสาร — เติมค่าเมื่อแสดงสไลด์ วันที่และเวลากำหนดรูปแบบตายตัวได้: {{date:M/D/YY}} แก้ไขรูปแบบในข้อความ",+ "Text ▸ Field": "ข้อความ ▸ ฟิลด์",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "แทรกหมายเลขหน้า วันที่ เวลา ชื่อเรื่อง หรือคุณสมบัติเอกสาร วันที่กำหนดรูปแบบตายตัวได้ — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/tk.ts b/slides/src/i18n/packs/tk.tsindex b4734867..ed611a0d 100644--- a/slides/src/i18n/packs/tk.ts+++ b/slides/src/i18n/packs/tk.ts@@ -900,4 +900,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Görkeziş tamamlandy — bu nusga iş toplumy bolup galýar","Your audience copy is no longer valid — ask the presenter for a new one": "Tomaşaçy nusgaňyz indi güýjüni ýitirdi — çykyş edýänden täzesini soraň","You left the show — reopen this file to rejoin": "Görkezişden çykdyňyz — täzeden goşulmak üçin şu faýly täzeden açyň",+ "Insert field…": "Meýdan goý…",+ "Date": "Sene",+ "Time": "Wagt",+ "Field": "Meýdan",+ "Date (viewer’s format)": "Sene (tomaşaçynyň formaty)",+ "Time (viewer’s format)": "Wagt (tomaşaçynyň formaty)",+ "Page number": "Sahypa belgisi",+ "Page count": "Sahypa sany",+ "Deck title": "Toplumyň ady",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Sahypa belgisi, sene, wagt, at we resminama häsiýetleri — slaýd görkezilende doldurylýar. Sene we wagt formaty berkidip bilýär: {{date:M/D/YY}}; nusgany tekstde üýtgediň.",+ "Text ▸ Field": "Tekst ▸ Meýdan",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Sahypa belgisini, senäni, wagty, ady ýa-da resminama häsiýetini goýýar; sene öz formatyny berkidip bilýär — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/tr.ts b/slides/src/i18n/packs/tr.tsindex b5d2ee8b..d226e5d1 100644--- a/slides/src/i18n/packs/tr.ts+++ b/slides/src/i18n/packs/tr.ts@@ -874,4 +874,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Gösteri sona erdi — bu kopya çalışma destesi olarak kalır","Your audience copy is no longer valid — ask the presenter for a new one": "İzleyici kopyanız artık geçerli değil — sunucudan yenisini isteyin","You left the show — reopen this file to rejoin": "Gösteriden ayrıldınız — yeniden katılmak için bu dosyayı tekrar açın",+ "Insert field…": "Alan ekle…",+ "Date": "Tarih",+ "Time": "Saat",+ "Field": "Alan",+ "Date (viewer’s format)": "Tarih (izleyicinin biçimi)",+ "Time (viewer’s format)": "Saat (izleyicinin biçimi)",+ "Page number": "Sayfa numarası",+ "Page count": "Sayfa sayısı",+ "Deck title": "Deste başlığı",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Sayfa numarası, tarih, saat, başlık ve belge özellikleri — slayt gösterildiğinde çözümlenir. Tarih ve saat bir biçim sabitleyebilir: {{date:M/D/YY}}; deseni metinde düzenleyin.",+ "Text ▸ Field": "Metin ▸ Alan",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Sayfa numarası, tarih, saat, başlık veya bir belge özelliği ekler; tarih biçimini sabitleyebilir — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/uk.ts b/slides/src/i18n/packs/uk.tsindex 46700522..e896f66c 100644--- a/slides/src/i18n/packs/uk.ts+++ b/slides/src/i18n/packs/uk.ts@@ -883,4 +883,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Показ завершено — ця копія лишається робочою презентацією","Your audience copy is no longer valid — ask the presenter for a new one": "Ваша копія для глядачів більше не дійсна — попросіть у доповідача нову","You left the show — reopen this file to rejoin": "Ви вийшли з показу — відкрийте цей файл знову, щоб повернутися",+ "Insert field…": "Вставити поле…",+ "Date": "Дата",+ "Time": "Час",+ "Field": "Поле",+ "Date (viewer’s format)": "Дата (формат глядача)",+ "Time (viewer’s format)": "Час (формат глядача)",+ "Page number": "Номер сторінки",+ "Page count": "Кількість сторінок",+ "Deck title": "Назва презентації",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Номер сторінки, дата, час, назва та властивості документа — підставляються під час показу слайда. Дата й час можуть закріпити формат: {{date:M/D/YY}}; шаблон редагується в тексті.",+ "Text ▸ Field": "Текст ▸ Поле",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Вставляє номер сторінки, дату, час, назву або властивість документа; дата може закріпити свій формат — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/ur.ts b/slides/src/i18n/packs/ur.tsindex 0f90219c..6e5c2623 100644--- a/slides/src/i18n/packs/ur.ts+++ b/slides/src/i18n/packs/ur.ts@@ -893,4 +893,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "شو ختم — یہ نقل ایک کام کرنے والا ڈیک رہتی ہے","Your audience copy is no longer valid — ask the presenter for a new one": "آپ کی حاضرین کی نقل اب درست نہیں — پیش کنندہ سے نئی مانگیں","You left the show — reopen this file to rejoin": "آپ نے شو چھوڑ دیا — دوبارہ شامل ہونے کے لیے یہ فائل دوبارہ کھولیں",+ "Insert field…": "فیلڈ داخل کریں…",+ "Date": "تاریخ",+ "Time": "وقت",+ "Field": "فیلڈ",+ "Date (viewer’s format)": "تاریخ (ناظر کا فارمیٹ)",+ "Time (viewer’s format)": "وقت (ناظر کا فارمیٹ)",+ "Page number": "صفحہ نمبر",+ "Page count": "صفحات کی تعداد",+ "Deck title": "ڈیک کا عنوان",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "صفحہ نمبر، تاریخ، وقت، عنوان اور دستاویز کی خصوصیات — سلائیڈ دکھاتے وقت حل ہوتی ہیں۔ تاریخ اور وقت فارمیٹ مقرر کر سکتے ہیں: {{date:M/D/YY}}؛ پیٹرن متن میں ترمیم کریں۔",+ "Text ▸ Field": "متن ▸ فیلڈ",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "صفحہ نمبر، تاریخ، وقت، عنوان یا دستاویز کی خصوصیت داخل کریں؛ تاریخ اپنا فارمیٹ مقرر کر سکتی ہے — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/packs/vi.ts b/slides/src/i18n/packs/vi.tsindex abe01a08..5acfd4d6 100644--- a/slides/src/i18n/packs/vi.ts+++ b/slides/src/i18n/packs/vi.ts@@ -873,4 +873,16 @@ export const strings: Catalog = {"The show has ended — this copy stays a working deck": "Buổi trình chiếu đã kết thúc — bản sao này vẫn là bộ trang chiếu làm việc","Your audience copy is no longer valid — ask the presenter for a new one": "Bản sao khán giả của bạn không còn hợp lệ — hãy xin người trình bày bản mới","You left the show — reopen this file to rejoin": "Bạn đã rời buổi trình chiếu — mở lại tệp này để tham gia lại",+ "Insert field…": "Chèn trường…",+ "Date": "Ngày",+ "Time": "Giờ",+ "Field": "Trường",+ "Date (viewer’s format)": "Ngày (định dạng của người xem)",+ "Time (viewer’s format)": "Giờ (định dạng của người xem)",+ "Page number": "Số trang",+ "Page count": "Tổng số trang",+ "Deck title": "Tiêu đề bộ trang chiếu",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Số trang, ngày, giờ, tiêu đề và thuộc tính tài liệu — được điền khi hiển thị trang chiếu. Ngày và giờ có thể cố định định dạng: {{date:M/D/YY}}; sửa mẫu ngay trong văn bản.",+ "Text ▸ Field": "Văn bản ▸ Trường",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Chèn số trang, ngày, giờ, tiêu đề hoặc thuộc tính tài liệu; ngày có thể cố định định dạng — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/pt.ts b/slides/src/i18n/pt.tsindex 88a1e186..1c3a524b 100644--- a/slides/src/i18n/pt.ts+++ b/slides/src/i18n/pt.ts@@ -861,4 +861,16 @@ export const pt: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "Passo de revelação {n} — clique para o passo seguinte; o número ajusta-se em Apresentação","Right-click ▸ Reveal in order": "Clique direito ▸ Revelar por ordem","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "Oculta os elementos selecionados até premir →, um após outro pela ordem de leitura — os emblemas numerados na tela mostram a ordem",+ "Insert field…": "Inserir campo…",+ "Date": "Data",+ "Time": "Hora",+ "Field": "Campo",+ "Date (viewer’s format)": "Data (formato de quem vê)",+ "Time (viewer’s format)": "Hora (formato de quem vê)",+ "Page number": "Número da página",+ "Page count": "Total de páginas",+ "Deck title": "Título da apresentação",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "Número da página, data, hora, título e propriedades do documento — resolvidos quando o diapositivo é mostrado. Data e hora podem fixar um formato: {{date:M/D/YY}}; edite o padrão no texto.",+ "Text ▸ Field": "Texto ▸ Campo",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "Insere o número da página, a data, a hora, o título ou uma propriedade do documento; uma data pode fixar o seu formato — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/zh-Hans.ts b/slides/src/i18n/zh-Hans.tsindex 213c2d73..48cad1bc 100644--- a/slides/src/i18n/zh-Hans.ts+++ b/slides/src/i18n/zh-Hans.ts@@ -863,4 +863,16 @@ export const zhHans: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "显示步骤 {n} — 点击进入下一步;在“演示”中设置数字","Right-click ▸ Reveal in order": "右键 ▸ 按顺序显示","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "按下 → 之前隐藏所选元素,按阅读顺序逐个显示——画布上的数字标记显示顺序",+ "Insert field…": "插入字段…",+ "Date": "日期",+ "Time": "时间",+ "Field": "字段",+ "Date (viewer’s format)": "日期(查看者的格式)",+ "Time (viewer’s format)": "时间(查看者的格式)",+ "Page number": "页码",+ "Page count": "页数",+ "Deck title": "文稿标题",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "页码、日期、时间、标题和文档属性 — 在显示幻灯片时解析。日期和时间可固定格式:{{date:M/D/YY}};在文本中编辑模式。",+ "Text ▸ Field": "文本 ▸ 字段",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "插入页码、日期、时间、标题或文档属性;日期可固定格式 — {{date:M/D/YY}}",}diff --git a/slides/src/i18n/zh-Hant.ts b/slides/src/i18n/zh-Hant.tsindex 3a630ff4..51180167 100644--- a/slides/src/i18n/zh-Hant.ts+++ b/slides/src/i18n/zh-Hant.ts@@ -863,4 +863,16 @@ export const zhHant: Catalog = {"Reveal step {n} — click for the next step; set the number in Presenting": "顯示步驟 {n} — 點一下進入下一步;在「簡報」中設定數字","Right-click ▸ Reveal in order": "右鍵 ▸ 按順序顯示","Hide the selected elements until → is pressed, one after another in reading order — numbered badges on the canvas show the order": "按下 → 之前隱藏所選元素,按閱讀順序逐一顯示——畫布上的數字標記顯示順序",+ "Insert field…": "插入欄位…",+ "Date": "日期",+ "Time": "時間",+ "Field": "欄位",+ "Date (viewer’s format)": "日期(檢視者的格式)",+ "Time (viewer’s format)": "時間(檢視者的格式)",+ "Page number": "頁碼",+ "Page count": "頁數",+ "Deck title": "文稿標題",+ "Page number, date, time, title and the document properties — resolved when the slide is shown. Date and time can pin a format: {{date:M/D/YY}}; edit the pattern in the text.": "頁碼、日期、時間、標題和文件屬性 — 在顯示投影片時解析。日期和時間可固定格式:{{date:M/D/YY}};在文字中編輯樣式。",+ "Text ▸ Field": "文字 ▸ 欄位",+ "Insert the page number, date, time, title or a document property; a date can pin its format — {{date:M/D/YY}}": "插入頁碼、日期、時間、標題或文件屬性;日期可固定格式 — {{date:M/D/YY}}",}diff --git a/slides/src/render.ts b/slides/src/render.tsindex 4c6da9a9..ede53d9d 100644--- a/slides/src/render.ts+++ b/slides/src/render.ts@@ -9,6 +9,7 @@ import { morphKey, paginates, isWebUrl } from './model'import { chartSnapshotSvg } from './charts'import temml from 'temml'import { renderCodeInto } from './code'+import { formatDate } from './datefmt'const SVG_NS = 'http://www.w3.org/2000/svg'@@ -53,7 +54,9 @@ const escapeFieldText = (s: string) => s.replace(/&/g, '&').replace(/</g, '&* Resolve dynamic field tokens in text: {{page}}, {{pages}}, {{title}},* {{date}}, {{time}}, plus the document-property fields {{author}}, {{company}},* {{subject}}, {{event}}. page/pages take an optional zero-pad width — {{page:2}}- * → "06". The MODEL stores the raw token; only rendered output is resolved, so+ * → "06"; date/time take an optional PATTERN — {{date:M/D/YY}} pins the shape+ * for every viewer (datefmt.ts), bare {{date}} follows the viewer's locale.+ * The MODEL stores the raw token; only rendered output is resolved, so* inserting/removing slides re-numbers everything and editing doc properties* updates every slide automatically. Groundwork for the wider office suite.*/@@ -65,8 +68,8 @@ export function resolveFields(html: string, ctx?: FieldContext): string {case 'page': return pad(ctx.page, arg)case 'pages': return pad(ctx.pages, arg)case 'title': return escapeFieldText(ctx.title)- case 'date': return escapeFieldText(ctx.date.toLocaleDateString())- case 'time': return escapeFieldText(ctx.date.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }))+ case 'date': return escapeFieldText(arg?.trim() ? formatDate(ctx.date, arg.trim()) : ctx.date.toLocaleDateString())+ case 'time': return escapeFieldText(arg?.trim() ? formatDate(ctx.date, arg.trim()) : ctx.date.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }))case 'author': return escapeFieldText(ctx.author)case 'company': return escapeFieldText(ctx.company)case 'subject': return escapeFieldText(ctx.subject)