fix(media): Show an specific error message when file is too big
Some checks failed
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (push) Has been cancelled
Run tests & build / Test and build with NodeJS 20 (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled

Signed-off-by: Lautaro Alvarez <autaro@grava.digital>
This commit is contained in:
Lautaro Alvarez 2024-11-06 00:25:28 -03:00 committed by Erik Michelson
parent ea2a0886b6
commit f8984c92cc
4 changed files with 65 additions and 26 deletions

View file

@ -228,7 +228,8 @@
"withDescription": "Uploading file {{fileName}} - {{description}}"
},
"dropImage": "Drop Image to insert",
"failed": "Error while uploading {{fileName}}"
"failed": "Error while uploading {{fileName}}",
"failed_size_too_large": "Error when uploading {{fileName}}.\nFile size exceeds the allowed limit"
},
"untitledNote": "Untitled",
"placeholder": "← Start by entering a title here\n===\nVisit {{host}}cheatsheet if you don't know what to do.\nLet the ideas grow :)",