Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
slides: copy-several-slides follow-up — plural toast in every catalog, one import name, browser rig (#672)
nyblnetbaae7b1a74e2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 6cba0f72..bf476a47 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -2285,6 +2285,11 @@ jobs:# out of the text around it), select + ` wraps lines in <code>, pasted# fences convert, and an unclosed fence stays text.run: node scripts/test-slides-code-fence-browser.mjs+ - name: Copy several slides in Chromium+ # Two selected thumbnails → ⌘C copies both, in order; a Shift-click+ # range across a parent copies parents only, never its states; plural+ # and singular toasts.+ run: node scripts/test-slides-copy-slides-browser.mjsspaces-save-browser:runs-on: ubuntu-latestdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8af2a5c1..b1130a14 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -20,6 +20,12 @@ pre-1.0.formula that failed to render. An escaped `\$` now never opens or closes aformula, inline or display, while an escaped dollar inside a formula stillbelongs to it.+- **Copy several slides at once.** With several slides selected in the+ sidebar, ⌘C (or Copy in the context menu) now copies all of them, in deck+ order, ready to paste into any deck; it used to copy only the current+ slide. Interactive states stay behind for now, since a pasted state would+ arrive as an ordinary slide cut off from its parent. Thanks to tikurahul+ (#615).- **Turn text into code without leaving the text box.** Type a fenced block— a line of three backticks (optionally with a language, like ```` ```js ````or ```` ```python ````), your code, and a closing line of three backticks —diff --git a/scripts/test-slides-copy-slides-browser.mjs b/scripts/test-slides-copy-slides-browser.mjsnew file mode 100644index 00000000..e5b3a9bf--- /dev/null+++ b/scripts/test-slides-copy-slides-browser.mjs@@ -0,0 +1,126 @@+// SPDX-License-Identifier: MIT+// Copyright (c) 2026 The Bento authors+// ⌘C with several thumbnails selected copies those slides, parents only.+//+// npm run build:single --prefix slides && node scripts/test-slides-copy-slides-browser.mjs+//+// WHAT THIS PROVES, in the packaged document with trusted mouse and keyboard+// input (#615 and its follow-up):+// 1. two selected thumbnails → ⌘C puts BOTH slides on the clipboard, in deck+// order — it used to copy only the current slide;+// 2. a parent's interactive states are not on it (paste is not unit-aware+// yet, so a state would arrive orphaned), including a Shift-click range+// that runs across a parent and its states;+// 3. the toast is plural for several slides ("paste them") and singular+// for one ("paste it").+// The clipboard is observed by wrapping navigator.clipboard.writeText before+// boot — the payload the editor writes, without clipboard permissions.+const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright')++let checks = 0+let failures = 0+function ok(cond, msg) {+ checks+++ if (!cond) { failures++; console.log(` FAIL ${msg}`) } else console.log(` ok ${msg}`)+}+const MOD = process.platform === 'darwin' ? 'Meta' : 'Control'++const browser = await chromium.launch({ executablePath: process.env.CHROME_PATH, headless: true })+try {+ const ctx = await browser.newContext({ viewport: { width: 1440, height: 1000 } })+ await ctx.route(/^https?:/, (r) => r.abort())+ await ctx.addInitScript(() => {+ window.__clips = []+ const clip = navigator.clipboard ?? {}+ Object.defineProperty(navigator, 'clipboard', {+ configurable: true,+ value: Object.assign(Object.create(Object.getPrototypeOf(clip) ?? Object.prototype), clip, {+ writeText: (t) => { window.__clips.push(String(t)); return Promise.resolve() },+ readText: () => Promise.resolve(window.__clips.at(-1) ?? ''),+ }),+ })+ })+ const p = await ctx.newPage()+ const errors = []+ p.on('pageerror', (e) => errors.push(e.message))+ await p.goto(new URL('../slides/dist-single/Bento_Slides.bento.html', import.meta.url).href)+ await p.waitForFunction(() => window.bento?.doc && document.querySelectorAll('.ed-sidebar .ed-thumb').length > 3)+ await p.waitForTimeout(500)++ // a parent that has a state, its first state, and a plain slide before it+ const plan = await p.evaluate(() => {+ const s = window.bento.doc.slides+ const st = s.findIndex((x) => x.stateOf)+ const parent = s.findIndex((x) => x.id === s[st]?.stateOf)+ const plain = s.findIndex((x, i) => i < parent && !x.stateOf && !s.some((y) => y.stateOf === x.id))+ return { parent, state: st, plain, ids: s.map((x) => x.id), stateOf: s.map((x) => x.stateOf ?? null) }+ })+ ok(plan.parent >= 0 && plan.state > plan.parent && plan.plain >= 0, `the starter deck has a plain slide (${plan.plain}), a parent (${plan.parent}) and its state (${plan.state})`)++ const thumb = async (i, mod = false) => {+ const t = p.locator(`.ed-sidebar .ed-thumb[data-index="${i}"]`)+ await t.scrollIntoViewIfNeeded()+ const b = await t.boundingBox()+ if (mod) await p.keyboard.down(MOD)+ await p.mouse.click(b.x + b.width / 2, b.y + b.height / 2)+ if (mod) await p.keyboard.up(MOD)+ await p.waitForTimeout(200)+ }+ const copy = async () => {+ await p.evaluate(() => { window.__clips.length = 0; document.querySelectorAll('.ed-toast').forEach((t) => t.remove()) })+ await p.keyboard.press(`${MOD}+c`)+ await p.waitForTimeout(250)+ return p.evaluate(() => {+ const raw = window.__clips.at(-1)+ let payload = null+ try { payload = JSON.parse(raw) } catch {}+ const toasts = [...document.querySelectorAll('.ed-toast')].map((t) => t.textContent.trim())+ return { payload, toast: toasts.at(-1) ?? '' }+ })+ }+ const slideIds = (r) => (r.payload?.slides ?? []).map((s) => s.id)+ const anyState = (r) => (r.payload?.slides ?? []).some((s) => s.stateOf)++ console.log('\ntwo thumbnails, one a parent with states\n')+ {+ await thumb(plan.plain)+ await thumb(plan.parent, true)+ const r = await copy()+ ok(r.payload?.__bento === 'clip' && r.payload?.kind === 'slides', 'the clipboard holds a Bento slides payload')+ ok(JSON.stringify(slideIds(r)) === JSON.stringify([plan.ids[plan.plain], plan.ids[plan.parent]]),+ `both slides, in deck order (${slideIds(r).join(', ') || 'none'})`)+ ok(!anyState(r) && !slideIds(r).includes(plan.ids[plan.state]), 'no state slide rides along with its parent')+ ok(r.toast === 'Slides copied — ⌘V in any deck to paste them', `the toast is plural ("${r.toast}")`)+ }++ console.log('\na Shift-click range across a parent and its states\n')+ {+ // a modified click on a STATE's own thumbnail is a plain click by design+ // (states are not selectable), so the gesture that sweeps states into a+ // selection is a range that runs across them+ const after = plan.stateOf.findIndex((s, i) => i > plan.state && !s)+ await thumb(plan.plain)+ const b = await p.locator(`.ed-sidebar .ed-thumb[data-index="${after}"]`).boundingBox()+ await p.keyboard.down('Shift')+ await p.mouse.click(b.x + b.width / 2, b.y + b.height / 2)+ await p.keyboard.up('Shift')+ await p.waitForTimeout(200)+ const r = await copy()+ const want = plan.ids.filter((_, i) => i >= plan.plain && i <= after && !plan.stateOf[i])+ ok(JSON.stringify(slideIds(r)) === JSON.stringify(want) && !anyState(r),+ `every parent in the range, in order, and none of the states it crosses (${slideIds(r).length} of ${after - plan.plain + 1} thumbnails)`)+ }++ console.log('\none slide\n')+ {+ await thumb(plan.plain)+ const r = await copy()+ ok(JSON.stringify(slideIds(r)) === JSON.stringify([plan.ids[plan.plain]]), `just the current slide (${slideIds(r).join(', ') || 'none'})`)+ ok(r.toast === 'Slide copied — ⌘V in any deck to paste it', `the toast is singular ("${r.toast}")`)+ }++ ok(errors.length === 0, `no page errors${errors.length ? ': ' + errors.join('; ') : ''}`)+} finally { await browser.close() }++console.log(`\n${checks - failures}/${checks} checks passed`)+process.exit(failures ? 1 : 0)diff --git a/slides/src/editor/editor.ts b/slides/src/editor/editor.tsindex 69a53871..176ad18f 100644--- a/slides/src/editor/editor.ts+++ b/slides/src/editor/editor.ts@@ -47,7 +47,7 @@ import { parseDocInputReport } from '../compactload'import { gateRestored, guardOpenedDoc } from '../restoregate'import { lsGet, lsJson, lsSet } from '../../../kernel/src/storage.ts'import { shrinkImageFile, shrinkEnabled, setShrinkEnabled, shrinkNote, fmtBytes, type ShrinkResult } from './shrink'-import { deletePlan, expand, moveBlock, parents, parents as selParents, range as selRange, toggle as selToggle } from './slidesel'+import { deletePlan, expand, moveBlock, parents as selParents, range as selRange, toggle as selToggle } from './slidesel'import { dryRun, applyCompress, type DryRun } from './compressdeck'import { createDialog } from '../../../kernel/src/ui/dialog.ts'import '../../../kernel/src/ui/dialog.css'@@ -3189,7 +3189,7 @@ export class Editor {const slides = this.selectedSlides()void navigator.clipboard?.writeText?.(serializeSlides(slides, this.store.doc)).catch(() => {})if (slides.length > 1) {- this.toast(t('Slides copied — ⌘V in any deck to paste it'))+ this.toast(t('Slides copied — ⌘V in any deck to paste them'))} else {this.toast(t('Slide copied — ⌘V in any deck to paste it'))}@@ -3280,7 +3280,7 @@ export class Editor {if (this.thumbSel.length) {// Ideally we use `expand` but paste is not `unit` aware at the moment.// Should really be done as a follow up.- const indexes = parents(this.store.doc.slides, this.thumbSel)+ const indexes = selParents(this.store.doc.slides, this.thumbSel)const selected = []for (const i of indexes) {const slide = this.store.doc.slides[i]diff --git a/slides/src/i18n/de.ts b/slides/src/i18n/de.tsindex 7a86a54f..b669f27f 100644--- a/slides/src/i18n/de.ts+++ b/slides/src/i18n/de.ts@@ -494,6 +494,7 @@ export const de: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "Aus einer Tabelle ein Diagramm erstellen — es bleibt verknüpft: Tabelle bearbeiten, Diagramm aktualisiert sich.","Your work auto-saves; restore earlier versions from Save → Version history.": "Deine Arbeit wird automatisch gespeichert; frühere Versionen unter Speichern → Versionsverlauf wiederherstellen.","Slide copied — ⌘V in any deck to paste it": "Folie kopiert — ⌘V in einer beliebigen Präsentation zum Einfügen",+ "Slides copied — ⌘V in any deck to paste them": "Folien kopiert — ⌘V in einer beliebigen Präsentation zum Einfügen","📺 Use a second screen for notes": "📺 Zweiten Bildschirm für Notizen nutzen","Second screen ready — press S for speaker notes": "Zweiter Bildschirm bereit — S für die Referentenansicht","Only one screen detected — notes will open in a window (S)": "Nur ein Bildschirm erkannt — Notizen öffnen in einem Fenster (S)",diff --git a/slides/src/i18n/es.ts b/slides/src/i18n/es.tsindex cffc91f1..588c22c2 100644--- a/slides/src/i18n/es.ts+++ b/slides/src/i18n/es.ts@@ -494,6 +494,7 @@ export const es: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "Crea un gráfico a partir de una tabla y queda vinculado — edita la tabla y el gráfico se actualiza.","Your work auto-saves; restore earlier versions from Save → Version history.": "Tu trabajo se guarda automáticamente; restaura versiones anteriores en Guardar → Historial de versiones.","Slide copied — ⌘V in any deck to paste it": "Diapositiva copiada — ⌘V en cualquier presentación para pegarla",+ "Slides copied — ⌘V in any deck to paste them": "Diapositivas copiadas — ⌘V en cualquier presentación para pegarlas","📺 Use a second screen for notes": "📺 Usar una segunda pantalla para las notas","Second screen ready — press S for speaker notes": "Segunda pantalla lista — pulsa S para las notas del ponente","Only one screen detected — notes will open in a window (S)": "Solo se detectó una pantalla — las notas se abrirán en una ventana (S)",diff --git a/slides/src/i18n/fr.ts b/slides/src/i18n/fr.tsindex 6e9a91dc..1fe5dcd1 100644--- a/slides/src/i18n/fr.ts+++ b/slides/src/i18n/fr.ts@@ -494,6 +494,7 @@ export const fr: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "Créez un graphique à partir d’un tableau : il reste lié — modifiez le tableau, le graphique se met à jour.","Your work auto-saves; restore earlier versions from Save → Version history.": "Votre travail est enregistré automatiquement ; restaurez d’anciennes versions dans Enregistrer → Historique des versions.","Slide copied — ⌘V in any deck to paste it": "Diapositive copiée — ⌘V dans n’importe quel deck pour la coller",+ "Slides copied — ⌘V in any deck to paste them": "Diapositives copiées — ⌘V dans n’importe quel deck pour les coller","📺 Use a second screen for notes": "📺 Utiliser un second écran pour les notes","Second screen ready — press S for speaker notes": "Second écran prêt — appuyez sur S pour les notes du présentateur","Only one screen detected — notes will open in a window (S)": "Un seul écran détecté — les notes s’ouvriront dans une fenêtre (S)",diff --git a/slides/src/i18n/it.ts b/slides/src/i18n/it.tsindex 02d9ed72..928dc597 100644--- a/slides/src/i18n/it.ts+++ b/slides/src/i18n/it.ts@@ -494,6 +494,7 @@ export const it: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "Crea un grafico da una tabella e resta collegato — modifichi la tabella, il grafico si aggiorna.","Your work auto-saves; restore earlier versions from Save → Version history.": "Il tuo lavoro si salva automaticamente; ripristina versioni precedenti da Salva → Cronologia versioni.","Slide copied — ⌘V in any deck to paste it": "Diapositiva copiata — ⌘V in qualsiasi deck per incollarla",+ "Slides copied — ⌘V in any deck to paste them": "Diapositive copiate — ⌘V in qualsiasi deck per incollarle","📺 Use a second screen for notes": "📺 Usa un secondo schermo per le note","Second screen ready — press S for speaker notes": "Secondo schermo pronto — premi S per le note del relatore","Only one screen detected — notes will open in a window (S)": "Rilevato un solo schermo — le note si apriranno in una finestra (S)",diff --git a/slides/src/i18n/ja.ts b/slides/src/i18n/ja.tsindex e91f28ff..c997801c 100644--- a/slides/src/i18n/ja.ts+++ b/slides/src/i18n/ja.ts@@ -494,6 +494,7 @@ export const ja: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "表からグラフを作ると連携が保たれ、表を編集するとグラフも更新されます。","Your work auto-saves; restore earlier versions from Save → Version history.": "作業は自動保存されます。以前のバージョンは「保存」→「バージョン履歴」から復元できます。","Slide copied — ⌘V in any deck to paste it": "スライドをコピーしました — 任意のデッキで ⌘V で貼り付け",+ "Slides copied — ⌘V in any deck to paste them": "スライドをコピーしました — 任意のデッキで ⌘V で貼り付け","📺 Use a second screen for notes": "📺 ノートに2台目の画面を使う","Second screen ready — press S for speaker notes": "2台目の画面が準備できました — S で発表者ノート","Only one screen detected — notes will open in a window (S)": "画面は1台のみ — ノートはウィンドウで開きます(S)",diff --git a/slides/src/i18n/packed.ts b/slides/src/i18n/packed.tsindex a16e1358..3087ddd7 100644--- a/slides/src/i18n/packed.ts+++ b/slides/src/i18n/packed.ts@@ -505,6 +505,7 @@ export const PACKED: Record<string, ReadonlyArray<string | 0>> = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": ["表からグラフを作ると連携が保たれ、表を編集するとグラフも更新されます。","从表格生成图表后会保持关联 — 编辑表格,图表随之更新。","從表格產生圖表後會保持關聯 — 編輯表格,圖表隨之更新。","Crea un gráfico a partir de una tabla y queda vinculado — edita la tabla y el gráfico se actualiza.","Créez un graphique à partir d’un tableau : il reste lié — modifiez le tableau, le graphique se met à jour.","Aus einer Tabelle ein Diagramm erstellen — es bleibt verknüpft: Tabelle bearbeiten, Diagramm aktualisiert sich.","Crea un grafico da una tabella e resta collegato — modifichi la tabella, il grafico si aggiorna.","Crie um gráfico a partir de uma tabela e ele permanece vinculado — edite a tabela e o gráfico se atualiza."],"Your work auto-saves; restore earlier versions from Save → Version history.": ["作業は自動保存されます。以前のバージョンは「保存」→「バージョン履歴」から復元できます。","你的工作会自动保存;可从“保存 → 版本历史”恢复较早的版本。","你的工作會自動儲存;可從「儲存 → 版本歷程」還原較早的版本。","Tu trabajo se guarda automáticamente; restaura versiones anteriores en Guardar → Historial de versiones.","Votre travail est enregistré automatiquement ; restaurez d’anciennes versions dans Enregistrer → Historique des versions.","Deine Arbeit wird automatisch gespeichert; frühere Versionen unter Speichern → Versionsverlauf wiederherstellen.","Il tuo lavoro si salva automaticamente; ripristina versioni precedenti da Salva → Cronologia versioni.","Seu trabalho é salvo automaticamente; restaure versões anteriores em Salvar → Histórico de versões."],"Slide copied — ⌘V in any deck to paste it": ["スライドをコピーしました — 任意のデッキで ⌘V で貼り付け","已复制幻灯片 — 在任意演示中按 ⌘V 粘贴","已複製投影片 — 在任意簡報中按 ⌘V 貼上","Diapositiva copiada — ⌘V en cualquier presentación para pegarla","Diapositive copiée — ⌘V dans n’importe quel deck pour la coller","Folie kopiert — ⌘V in einer beliebigen Präsentation zum Einfügen","Diapositiva copiata — ⌘V in qualsiasi deck per incollarla","Slide copiado — ⌘V em qualquer apresentação para colá-lo"],+ "Slides copied — ⌘V in any deck to paste them": ["スライドをコピーしました — 任意のデッキで ⌘V で貼り付け","已复制幻灯片 — 在任意演示中按 ⌘V 粘贴","已複製投影片 — 在任意簡報中按 ⌘V 貼上","Diapositivas copiadas — ⌘V en cualquier presentación para pegarlas","Diapositives copiées — ⌘V dans n’importe quel deck pour les coller","Folien kopiert — ⌘V in einer beliebigen Präsentation zum Einfügen","Diapositive copiate — ⌘V in qualsiasi deck per incollarle","Slides copiados — ⌘V em qualquer apresentação para colá-los"],"📺 Use a second screen for notes": ["📺 ノートに2台目の画面を使う","📺 用第二块屏幕显示备注","📺 用第二個螢幕顯示備註","📺 Usar una segunda pantalla para las notas","📺 Utiliser un second écran pour les notes","📺 Zweiten Bildschirm für Notizen nutzen","📺 Usa un secondo schermo per le note","📺 Usar uma segunda tela para as notas"],"Second screen ready — press S for speaker notes": ["2台目の画面が準備できました — S で発表者ノート","第二块屏幕已就绪 — 按 S 显示演讲者备注","第二個螢幕已就緒 — 按 S 顯示演講者備註","Segunda pantalla lista — pulsa S para las notas del ponente","Second écran prêt — appuyez sur S pour les notes du présentateur","Zweiter Bildschirm bereit — S für die Referentenansicht","Secondo schermo pronto — premi S per le note del relatore","Segunda tela pronta — pressione S para as notas do apresentador"],"Only one screen detected — notes will open in a window (S)": ["画面は1台のみ — ノートはウィンドウで開きます(S)","仅检测到一块屏幕 — 备注将在窗口中打开(S)","僅偵測到一個螢幕 — 備註將在視窗中開啟(S)","Solo se detectó una pantalla — las notas se abrirán en una ventana (S)","Un seul écran détecté — les notes s’ouvriront dans une fenêtre (S)","Nur ein Bildschirm erkannt — Notizen öffnen in einem Fenster (S)","Rilevato un solo schermo — le note si apriranno in una finestra (S)","Apenas uma tela detectada — as notas abrirão em uma janela (S)"],diff --git a/slides/src/i18n/pt.ts b/slides/src/i18n/pt.tsindex 13b8fb4b..f56ff699 100644--- a/slides/src/i18n/pt.ts+++ b/slides/src/i18n/pt.ts@@ -486,6 +486,7 @@ export const pt: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "Crie um gráfico a partir de uma tabela e ele permanece vinculado — edite a tabela e o gráfico se atualiza.","Your work auto-saves; restore earlier versions from Save → Version history.": "Seu trabalho é salvo automaticamente; restaure versões anteriores em Salvar → Histórico de versões.","Slide copied — ⌘V in any deck to paste it": "Slide copiado — ⌘V em qualquer apresentação para colá-lo",+ "Slides copied — ⌘V in any deck to paste them": "Slides copiados — ⌘V em qualquer apresentação para colá-los","📺 Use a second screen for notes": "📺 Usar uma segunda tela para as notas","Second screen ready — press S for speaker notes": "Segunda tela pronta — pressione S para as notas do apresentador","Only one screen detected — notes will open in a window (S)": "Apenas uma tela detectada — as notas abrirão em uma janela (S)",diff --git a/slides/src/i18n/zh-Hans.ts b/slides/src/i18n/zh-Hans.tsindex 4261e544..1785dd2b 100644--- a/slides/src/i18n/zh-Hans.ts+++ b/slides/src/i18n/zh-Hans.ts@@ -494,6 +494,7 @@ export const zhHans: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "从表格生成图表后会保持关联 — 编辑表格,图表随之更新。","Your work auto-saves; restore earlier versions from Save → Version history.": "你的工作会自动保存;可从“保存 → 版本历史”恢复较早的版本。","Slide copied — ⌘V in any deck to paste it": "已复制幻灯片 — 在任意演示中按 ⌘V 粘贴",+ "Slides copied — ⌘V in any deck to paste them": "已复制幻灯片 — 在任意演示中按 ⌘V 粘贴","📺 Use a second screen for notes": "📺 用第二块屏幕显示备注","Second screen ready — press S for speaker notes": "第二块屏幕已就绪 — 按 S 显示演讲者备注","Only one screen detected — notes will open in a window (S)": "仅检测到一块屏幕 — 备注将在窗口中打开(S)",diff --git a/slides/src/i18n/zh-Hant.ts b/slides/src/i18n/zh-Hant.tsindex f89f114e..51fc8126 100644--- a/slides/src/i18n/zh-Hant.ts+++ b/slides/src/i18n/zh-Hant.ts@@ -494,6 +494,7 @@ export const zhHant: Catalog = {"Make a chart from a table and it stays linked — edit the table, the chart updates.": "從表格產生圖表後會保持關聯 — 編輯表格,圖表隨之更新。","Your work auto-saves; restore earlier versions from Save → Version history.": "你的工作會自動儲存;可從「儲存 → 版本歷程」還原較早的版本。","Slide copied — ⌘V in any deck to paste it": "已複製投影片 — 在任意簡報中按 ⌘V 貼上",+ "Slides copied — ⌘V in any deck to paste them": "已複製投影片 — 在任意簡報中按 ⌘V 貼上","📺 Use a second screen for notes": "📺 用第二個螢幕顯示備註","Second screen ready — press S for speaker notes": "第二個螢幕已就緒 — 按 S 顯示演講者備註","Only one screen detected — notes will open in a window (S)": "僅偵測到一個螢幕 — 備註將在視窗中開啟(S)",