From a1518ac308768c2f4df49c72e76eaaef3192eead Mon Sep 17 00:00:00 2001 From: Ida Marie Andreassen Date: Thu, 12 Dec 2024 08:54:01 +0100 Subject: [PATCH] Add translations to deliveries --- .../sections/customerCasesEntry/CustomerCasesList.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/sections/customerCasesEntry/CustomerCasesList.tsx b/src/components/sections/customerCasesEntry/CustomerCasesList.tsx index fa04f868f..c9eec8169 100644 --- a/src/components/sections/customerCasesEntry/CustomerCasesList.tsx +++ b/src/components/sections/customerCasesEntry/CustomerCasesList.tsx @@ -28,9 +28,9 @@ const CustomerCaseList = ({ const deliveryNames = [ selectedCustomerCase?.projectInfo.deliveries.projectManagement && - "Project Management", - selectedCustomerCase?.projectInfo.deliveries.design && "Design", - selectedCustomerCase?.projectInfo.deliveries.development && "Development", + "project_management", + selectedCustomerCase?.projectInfo.deliveries.design && "design", + selectedCustomerCase?.projectInfo.deliveries.development && "development", ].filter(Boolean); return ( @@ -90,7 +90,7 @@ function CardInfo({
{deliveryNames.map((deliveryName, index) => ( - {deliveryName} + {t(deliveryName)} ))}