update the helper text to 10 MB

This commit is contained in:
Tanmay Deep Sharma
2025-08-06 16:12:51 +05:30
parent c310fe2f76
commit 4939508da6
2 changed files with 4 additions and 4 deletions
@@ -75,8 +75,8 @@ const handleFileChange = event => {
event.target.value = '';
return;
}
if (file.size > 20 * 1024 * 1024) {
// 20MB
if (file.size > 10 * 1024 * 1024) {
// 10MB
useAlert(t('CAPTAIN.DOCUMENTS.FORM.PDF_FILE.TOO_LARGE'));
event.target.value = '';
return;
@@ -714,9 +714,9 @@
"LABEL": "PDF File",
"CHOOSE_FILE": "Choose PDF file",
"ERROR": "Please select a PDF file",
"HELP_TEXT": "Maximum file size: 20MB",
"HELP_TEXT": "Maximum file size: 10MB",
"INVALID_TYPE": "Please select a valid PDF file",
"TOO_LARGE": "File size exceeds 20MB limit"
"TOO_LARGE": "File size exceeds 10MB limit"
},
"NAME": {
"LABEL": "Document Name (Optional)",