From 33784b239fb62e4b49c6c335a184114c0252f77a Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Wed, 12 Aug 2026 16:56:45 +0200 Subject: [PATCH] fix: Open reaches the file input in ribbon mode The hidden input sat inside the classic header, so where the File System Access API is missing handleOpen clicked nothing at all. It moves out of the chrome fork, which both paths route through. The label drops the extension while it is there: the input has always taken .odt, .ott and .docx. --- src/App.svelte | 18 ++++++++++-------- src/lib/components/ribbon/Ribbon.svelte | 2 +- src/lib/i18n/locales/de.ts | 2 +- src/lib/i18n/locales/en.ts | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 6b2004c..0e7ae2d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -914,7 +914,7 @@ -
diff --git a/src/lib/i18n/locales/de.ts b/src/lib/i18n/locales/de.ts index 0a3f715..64a51ea 100644 --- a/src/lib/i18n/locales/de.ts +++ b/src/lib/i18n/locales/de.ts @@ -565,7 +565,7 @@ const de: Messages = { documentName: 'Dokumentname', untitled: 'Unbenanntes Dokument', newDocument: 'Neues Dokument', - openOdt: '.odt öffnen…', + open: 'Öffnen…', save: '.odt speichern', saveExport: 'Speichern / Exportieren', odt: 'ODT', diff --git a/src/lib/i18n/locales/en.ts b/src/lib/i18n/locales/en.ts index f1b11dd..3418b39 100644 --- a/src/lib/i18n/locales/en.ts +++ b/src/lib/i18n/locales/en.ts @@ -569,7 +569,7 @@ const en = { documentName: 'Document name', untitled: 'Untitled document', newDocument: 'New document', - openOdt: 'Open .odt…', + open: 'Open…', save: 'Save .odt', saveExport: 'Save / Export', odt: 'ODT',