WIP: form attachments (e-mail only) — core, endpoint, Graph large upload
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
0ba0014ed5
commit
6003b3d7d7
@@ -59,6 +59,28 @@ export const notificationsFields: Field[] = [
|
||||
formText('turnstile', { en: 'Spam check failed', pl: 'Błąd weryfikacji' }),
|
||||
formText('rateLimited', { en: 'Too many attempts', pl: 'Zbyt wiele prób' }),
|
||||
formText('notFound', { en: 'Form unavailable', pl: 'Formularz niedostępny' }),
|
||||
{
|
||||
type: 'collapsible',
|
||||
admin: { initCollapsed: true },
|
||||
fields: [
|
||||
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' }, {
|
||||
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' }, {
|
||||
description: { en: 'Use {field} for the field label and {max} for the limit.', pl: 'Użyj {field}, aby wstawić etykietę pola, i {max} — limit.' },
|
||||
}),
|
||||
formText('fileNotSent', { en: 'File not sent', pl: 'Plik niewysłany' }, {
|
||||
description: { en: 'Shown when the file could not be sent by e-mail.', pl: 'Widoczny, gdy pliku nie udało się wysłać e-mailem.' },
|
||||
}),
|
||||
formText('fileRemove', { en: 'Remove file button', pl: 'Przycisk usuwania pliku' }, {
|
||||
description: { en: 'Use {file} for the file name.', pl: 'Użyj {file}, aby wstawić nazwę pliku.' },
|
||||
}),
|
||||
],
|
||||
label: { en: 'Files', pl: 'Pliki' },
|
||||
},
|
||||
{
|
||||
type: 'row',
|
||||
fields: [
|
||||
|
||||
Reference in New Issue
Block a user