From e7829312e82d068d46888ccc71ae065a4f30f2eb Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 28 Mar 2026 18:12:42 +0100 Subject: [PATCH] fix: use existing doc_file_upload_label key in DropZone aria-label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit upload_label was referenced but never added to messages — caused a 500 on every page render. Reuses the existing doc_file_upload_label key ("Datei hochladen" / "Upload file") which has the same meaning. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/DropZone.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/DropZone.svelte b/frontend/src/routes/DropZone.svelte index e86917b5..dd9c5bb6 100644 --- a/frontend/src/routes/DropZone.svelte +++ b/frontend/src/routes/DropZone.svelte @@ -202,7 +202,7 @@ $effect(() => { type="file" multiple accept=".pdf,.jpg,.jpeg,.png,.tif,.tiff" - aria-label={m.upload_label()} + aria-label={m.doc_file_upload_label()} class="sr-only" onchange={handleFileSelect} />