From ebb60e791617294fa08114f416cfe46df605419d Mon Sep 17 00:00:00 2001 From: theocrsb Date: Fri, 5 Jul 2024 15:40:53 +0200 Subject: [PATCH] front: update label for add an image in project section --- front/public/locales/en/operationalStudies/project.json | 1 + front/public/locales/fr/operationalStudies/project.json | 1 + .../operationalStudies/components/Project/PictureUploader.tsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/front/public/locales/en/operationalStudies/project.json b/front/public/locales/en/operationalStudies/project.json index 7d2bb78ab67..9b14229a067 100644 --- a/front/public/locales/en/operationalStudies/project.json +++ b/front/public/locales/en/operationalStudies/project.json @@ -1,4 +1,5 @@ { + "addImage": "Add an image", "affairCode": "Affair code", "budget": "Budget", "createdOn": "Created on ", diff --git a/front/public/locales/fr/operationalStudies/project.json b/front/public/locales/fr/operationalStudies/project.json index 2707679ae1b..98d90c00a64 100644 --- a/front/public/locales/fr/operationalStudies/project.json +++ b/front/public/locales/fr/operationalStudies/project.json @@ -1,4 +1,5 @@ { + "addImage": "Ajouter une image", "affairCode": "Code affaire", "budget": "Budget", "createdOn": "Créée le", diff --git a/front/src/applications/operationalStudies/components/Project/PictureUploader.tsx b/front/src/applications/operationalStudies/components/Project/PictureUploader.tsx index bc81de36e08..7e277505cf2 100644 --- a/front/src/applications/operationalStudies/components/Project/PictureUploader.tsx +++ b/front/src/applications/operationalStudies/components/Project/PictureUploader.tsx @@ -47,7 +47,7 @@ function displayNoImageMessages(isValid: boolean, t: (arg0: string) => string) { <> {isValid ? ( -
{t('noImage')}
+
{t('addImage')}
) : (
{t('noImageInvalid')}