From c1b221412fc7d9b7bc70b6e15fb1f817f62cd988 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 24 Apr 2026 19:29:21 +0200 Subject: [PATCH] fix(bulk-upload): PDF-only file acceptance Drop non-PDF accept types from file input and update format hint strings in all three languages. JPEG/PNG/TIFF were never officially supported. Co-Authored-By: Claude Sonnet 4.6 --- frontend/messages/de.json | 2 +- frontend/messages/en.json | 2 +- frontend/messages/es.json | 2 +- frontend/src/lib/components/document/BulkDropZone.svelte | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/messages/de.json b/frontend/messages/de.json index d0473c22..04669362 100644 --- a/frontend/messages/de.json +++ b/frontend/messages/de.json @@ -853,7 +853,7 @@ "richtlinien_closing_body": "Stolpern Sie beim Transkribieren über eine Situation, die hier nicht steht — schreiben Sie einen Kommentar beim betreffenden Block. Wir sammeln sie und besprechen sie beim nächsten Familientreffen.", "error_batch_too_large": "Zu viele Dateien auf einmal — bitte in Blöcken hochladen.", "bulk_drop_hint": "Eine oder mehrere Dateien ablegen", - "bulk_drop_sub": "PDF, JPEG, PNG oder TIFF · bis zu 50 MB pro Datei", + "bulk_drop_sub": "PDF · bis zu 50 MB pro Datei", "bulk_count_pill": "{count} werden erstellt", "bulk_save_cta_one": "Speichern →", "bulk_save_cta": "{count} speichern →", diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 09e16ad6..52df6fe7 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -853,7 +853,7 @@ "richtlinien_closing_body": "If you hit a situation while transcribing that isn't listed here — leave a comment on the relevant block. We collect them and discuss them at the next family gathering.", "error_batch_too_large": "Too many files at once — please upload in smaller batches.", "bulk_drop_hint": "Drop one or more files here", - "bulk_drop_sub": "PDF, JPEG, PNG or TIFF · up to 50 MB per file", + "bulk_drop_sub": "PDF · up to 50 MB per file", "bulk_count_pill": "{count} will be created", "bulk_save_cta_one": "Save →", "bulk_save_cta": "Save {count} →", diff --git a/frontend/messages/es.json b/frontend/messages/es.json index 2a491c9b..60fdaa34 100644 --- a/frontend/messages/es.json +++ b/frontend/messages/es.json @@ -853,7 +853,7 @@ "richtlinien_closing_body": "Si al transcribir encuentras una situación que no está aquí — deja un comentario en el bloque. Las recogemos y las discutimos en la próxima reunión familiar.", "error_batch_too_large": "Demasiados archivos a la vez — sube en lotes más pequeños.", "bulk_drop_hint": "Suelta uno o varios archivos aquí", - "bulk_drop_sub": "PDF, JPEG, PNG o TIFF · hasta 50 MB por archivo", + "bulk_drop_sub": "PDF · hasta 50 MB por archivo", "bulk_count_pill": "Se crearán {count}", "bulk_save_cta_one": "Guardar →", "bulk_save_cta": "Guardar {count} →", diff --git a/frontend/src/lib/components/document/BulkDropZone.svelte b/frontend/src/lib/components/document/BulkDropZone.svelte index b763370e..376f4b01 100644 --- a/frontend/src/lib/components/document/BulkDropZone.svelte +++ b/frontend/src/lib/components/document/BulkDropZone.svelte @@ -68,7 +68,7 @@ let isDragging = $state(false); { const files = Array.from(e.currentTarget.files ?? []);