From cca96cbb11c66ce97ace973e1e6f71ad04e72c9e Mon Sep 17 00:00:00 2001 From: Manumartin95 Date: Thu, 5 Oct 2023 11:15:29 +0200 Subject: [PATCH] feat: translate type from availability accessibility text --- .../components/availability-table/absence-item/absence-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/binnacle/features/availability/ui/components/availability-table/absence-item/absence-item.tsx b/src/features/binnacle/features/availability/ui/components/availability-table/absence-item/absence-item.tsx index 350f9938..97934ebf 100644 --- a/src/features/binnacle/features/availability/ui/components/availability-table/absence-item/absence-item.tsx +++ b/src/features/binnacle/features/availability/ui/components/availability-table/absence-item/absence-item.tsx @@ -63,7 +63,7 @@ export const AbsenceItem: FC = ({ absence, userName, overflowType }) => { tabIndex={0} aria-label={t('absences.absenceItemDescription', { name: userName, - type: absence.type, + type: t(getAbsenceTypeName()), startDate: absence.startDate, endDate: absence.endDate })}