Skip to content

Commit

Permalink
front: update label for add an image in project section
Browse files Browse the repository at this point in the history
  • Loading branch information
theocrsb authored and SharglutDev committed Jul 8, 2024
1 parent fc1b9e9 commit ebb60e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions front/public/locales/en/operationalStudies/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"addImage": "Add an image",
"affairCode": "Affair code",
"budget": "Budget",
"createdOn": "Created on ",
Expand Down
1 change: 1 addition & 0 deletions front/public/locales/fr/operationalStudies/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"addImage": "Ajouter une image",
"affairCode": "Code affaire",
"budget": "Budget",
"createdOn": "Créée le",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function displayNoImageMessages(isValid: boolean, t: (arg0: string) => string) {
<>
<Image />
{isValid ? (
<div className="project-edition-modal-picture-placeholder-text">{t('noImage')}</div>
<div className="project-edition-modal-picture-placeholder-text">{t('addImage')}</div>
) : (
<div className="project-edition-modal-picture-placeholder-text invalid">
{t('noImageInvalid')}
Expand Down

0 comments on commit ebb60e7

Please sign in to comment.