From c8644f33b7b129a497242f2d7b9db1034cca588b Mon Sep 17 00:00:00 2001 From: ThomasDos Date: Fri, 20 Dec 2024 11:54:13 +0100 Subject: [PATCH] fix(candidate): update badge wording from "Non recevable" to "Non valable" across multiple components --- .../getFeasibilityDematTimelineElementInfo.tsx | 2 +- .../useGetFeasibilityPdfTimelineElementInfo.tsx | 2 +- .../useGetSelfServiceFeasibilityFileTimelineInfo.tsx | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityDematTimelineElement/getFeasibilityDematTimelineElementInfo.tsx b/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityDematTimelineElement/getFeasibilityDematTimelineElementInfo.tsx index d95e3eced..c92a90cad 100644 --- a/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityDematTimelineElement/getFeasibilityDematTimelineElementInfo.tsx +++ b/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityDematTimelineElement/getFeasibilityDematTimelineElementInfo.tsx @@ -90,7 +90,7 @@ export const getFeasibilityDematTimelineElementInfo = ({ ), status: "active", - badgeStatus: Non recevable, + badgeStatus: Non valable, }; case decision === "ADMISSIBLE": diff --git a/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityPdfTimelineElement/useGetFeasibilityPdfTimelineElementInfo.tsx b/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityPdfTimelineElement/useGetFeasibilityPdfTimelineElementInfo.tsx index 749f8ab9e..e249c81fa 100644 --- a/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityPdfTimelineElement/useGetFeasibilityPdfTimelineElementInfo.tsx +++ b/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/accompagne/FeasibilityPdfTimelineElement/useGetFeasibilityPdfTimelineElementInfo.tsx @@ -19,7 +19,7 @@ const DF_HAS_BEEN_SENT_TEXT = const INFORMATION_ICON = "fr-icon-information-fill"; const TIME_ICON = "fr-icon-time-fill"; -const BadgeNonRecevable = Non recevable; +const BadgeNonRecevable = Non valable; export const useGetFeasibilityPdfTimelineElementInfo = (): GetFeasibilityTimelineElementInfoResult => { diff --git a/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/autonome/SelfServiceFeasibilityFileTimelineElement/useGetSelfServiceFeasibilityFileTimelineInfo.tsx b/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/autonome/SelfServiceFeasibilityFileTimelineElement/useGetSelfServiceFeasibilityFileTimelineInfo.tsx index 850f6d5fe..e5f6a2394 100644 --- a/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/autonome/SelfServiceFeasibilityFileTimelineElement/useGetSelfServiceFeasibilityFileTimelineInfo.tsx +++ b/packages/reva-candidate/src/components/legacy/organisms/ProjectTimeline/TimelineElements/autonome/SelfServiceFeasibilityFileTimelineElement/useGetSelfServiceFeasibilityFileTimelineInfo.tsx @@ -15,12 +15,12 @@ interface GetSelfServiceFeasibilityFileTimelineInfo { button: ReactNode; } -const NonRecevableBadge = ( +const NonValableBadge = ( - Non recevable + Non valable ); @@ -88,7 +88,7 @@ export function useGetSelfServiceFeasibilityFileTimelineInfo(): GetSelfServiceFe case hasConfirmedCaducite: return { status: "active", - badge: NonRecevableBadge, + badge: NonValableBadge, notice: (