WIP: form attachments — unit tests, test e-mail with attachment, lint

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-13 16:28:22 +01:00
co-authored by Claude Fable 5.2
parent 02b1e96d3d
commit 701bb420c1
16 changed files with 302 additions and 35 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export const notificationsFields: Field[] = [
formText('fileTooLarge', { en: 'File too large', pl: 'Plik za duży' }, {
description: { en: 'Use {file} for the file name and {max} for the limit in MB.', pl: 'Użyj {file}, aby wstawić nazwę pliku, i {max} — limit w MB.' },
}),
formText('fileType', { en: 'File type not accepted', pl: 'Niedozwolony typ pliku' }, {
formText('fileType', { en: 'Wrong file type', pl: 'Niedozwolony typ pliku' }, {
description: { en: 'Use {file} for the file name and {types} for the accepted types.', pl: 'Użyj {file}, aby wstawić nazwę pliku, i {types} — dozwolone typy.' },
}),
formText('fileCount', { en: 'Too many files', pl: 'Za dużo plików' }, {