diff --git a/src/assets/locales/de/main.json b/src/assets/locales/de/main.json index 68d5a6960..6255d5702 100644 --- a/src/assets/locales/de/main.json +++ b/src/assets/locales/de/main.json @@ -1543,6 +1543,7 @@ "editUsecase": { "title": "Trigger the use case participation by signing and uploading the use case frame agreement for {{usecaseName}}", "description": "To be able to participate in the data exchange of the use case {{usecaseName}} please download the use case frame agreement {placeholder until download is available} and upload the signed document in the upload window below.After submission, the platform owner will validate the uploaded document you will be informed as soon as the validation is successfully finished", + "fileSizeError": "Please upload only pdf file upto 2 MB.", "checkboxLabel": "Yes, I confirm that I have uploaded the signed use case frameagreement", "error": "Something went wrong!", "success": "Usecase document upload has been done successfully." @@ -1593,7 +1594,7 @@ "selectLabel": "Type of certificate", "placeholder": "Please select", "uploadDocumentTitle": "Please upload your certificate proof:", - "note": "Please upload only pdf files with maximum 1 MB.", + "note": "Please upload only pdf files with maximum 2 MB.", "descriptionLabel": "Description for verification", "error": "Something went wrong. ", "success": "Certificate uploaded successfully." diff --git a/src/assets/locales/en/main.json b/src/assets/locales/en/main.json index 21b077eb8..b6b1d6843 100644 --- a/src/assets/locales/en/main.json +++ b/src/assets/locales/en/main.json @@ -1505,6 +1505,7 @@ "editUsecase": { "title": "Trigger the use case participation by signing and uploading the use case frame agreement for {{usecaseName}}", "description": "To be able to participate in the data exchange of the use case {{usecaseName}} please download the use case frame agreement {placeholder until download is available} and upload the signed document in the upload window below.After submission, the platform owner will validate the uploaded document you will be informed as soon as the validation is successfully finished", + "fileSizeError": "Please upload only pdf file upto 2 MB.", "checkboxLabel": "Yes, I confirm that I have uploaded the signed use case frameagreement", "error": "Something went wrong!", "success": "Usecase document upload has been done successfully." @@ -1532,7 +1533,7 @@ "selectLabel": "Type of certificate", "placeholder": "Please select", "uploadDocumentTitle": "Please upload your certificate proof:", - "note": "Please upload only pdf files with maximum 1 MB.", + "note": "Please upload only pdf files with maximum 2 MB.", "descriptionLabel": "Description for verification", "error": "Something went wrong. ", "success": "Certificate uploaded successfully." diff --git a/src/components/overlays/EditUsecase/index.tsx b/src/components/overlays/EditUsecase/index.tsx index 1b1698e13..ef913f5fa 100644 --- a/src/components/overlays/EditUsecase/index.tsx +++ b/src/components/overlays/EditUsecase/index.tsx @@ -97,10 +97,13 @@ export default function EditUsecase({ { setUploadedFile(file) }} - errorText={'helperText'} + errorText={t( + 'content.usecaseParticipation.editUsecase.fileSizeError' + )} DropStatusHeader={false} DropArea={renderDropArea} /> diff --git a/src/components/overlays/UpdateCertificate/index.tsx b/src/components/overlays/UpdateCertificate/index.tsx index aa3731af6..76be03ead 100644 --- a/src/components/overlays/UpdateCertificate/index.tsx +++ b/src/components/overlays/UpdateCertificate/index.tsx @@ -208,10 +208,13 @@ export default function UpdateCertificate({ id }: { id: string }) { { setUploadedFile(file) }} - errorText={'helperText'} + errorText={t( + 'content.usecaseParticipation.editUsecase.fileSizeError' + )} DropStatusHeader={false} DropArea={renderDropArea} />