Skip to content

Commit

Permalink
improve warning if influencer not known
Browse files Browse the repository at this point in the history
  • Loading branch information
eletallbetagouv committed Feb 24, 2025
1 parent e99d2b8 commit 2731ffd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ export function InfluencerBySocialNetwork({onSubmit}: {onSubmit: (result: Result
) : (
<div className="flex-col">
<Alert
title={m.influencerUnknownTitle}
title={''}
description={m.influencerUnknownDesc(socialNetwork)}
severity="warning"
className="text-base font-normal mb-3"
className="text-base font-normal mb-8"
/>
<div className="flex flex-row justify-end">
<Button priority={'secondary'} className={'mr-2'} onClick={_ => setIsEditingInfluencer(true)}>
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/localization/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,6 @@ export const en = {
reportedCompanyNamePlaceholder: `Ex: Boulangerie Petit Jean`,
companyIdentifiedTitle: `Company identified`,
influencerIdentifiedTitle: `Influencer identified`,
influencerUnknownTitle: 'Warning',
influencerUnknownDesc:
'Make sure that the name or pseudonym exists and is spelled correctly. Accurate information will facilitate the work of our services.',
companyIdentityHelperTitle: 'Help to find SIRET/SIREN',
Expand Down
3 changes: 1 addition & 2 deletions website/src/i18n/localization/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1170,9 +1170,8 @@ contacter directement.`,
reportedCompanyNamePlaceholder: `Ex: Boulangerie Petit Jean`,
companyIdentifiedTitle: `Entreprise identifiée`,
influencerIdentifiedTitle: `Influenceur ou influenceuse identifié(e)`,
influencerUnknownTitle: `Attention`,
influencerUnknownDesc: (socialNetwork: string) =>
`Il est possible que le nom ou le pseudonyme n'existe pas sur ${socialNetwork}. Assurez-vous qu'il existe et qu'il soit correctement orthographié. Une information précise facilitera le travail de nos services.`,
`Il semblerait que ce nom ou le pseudonyme n'existe pas sur ${socialNetwork}. Assurez-vous qu'il existe et qu'il soit correctement orthographié. Une information précise facilitera le travail de nos services.`,
companyIdentityHelperTitle: 'Aide SIRET/SIREN',
companyIdentityHelperWhere: `Où trouver ces identifiants ?`,
companyIdentityHelperWebsite: `Sur un site internet`,
Expand Down

0 comments on commit 2731ffd

Please sign in to comment.