fix: use existing doc_file_upload_label key in DropZone aria-label
Some checks failed
CI / Unit & Component Tests (pull_request) Has been cancelled
CI / Backend Unit Tests (pull_request) Has been cancelled
CI / E2E Tests (pull_request) Has been cancelled
CI / Backend Unit Tests (push) Failing after 2m23s
CI / Unit & Component Tests (push) Has been cancelled
CI / E2E Tests (push) Failing after 3h0m36s

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 <noreply@anthropic.com>
This commit was merged in pull request #146.
This commit is contained in:
Marcel
2026-03-28 18:12:42 +01:00
parent 2b0f467213
commit e7829312e8

View File

@@ -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}
/>