From cac090df34a9c0e28b7a24e4b4195c94e0c04e56 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Wed, 12 Feb 2025 14:32:29 +0000 Subject: [PATCH] Merged in fix/translations-my-points (pull request #1324) Fix/translations my points * feat: my points - fixed translations * feat: my points - fixed translations * Revert test script --- .../Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx b/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx index 9f7dc2bc8..86f70e73a 100644 --- a/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx +++ b/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/Row/index.tsx @@ -24,10 +24,10 @@ export default function Row({ transaction }: RowProps) { const nightsMsg = intl.formatMessage( { - id: "{nightsAmount, plural, one {# night} other {# nights}}", + id: "{totalNights, plural, one {# night} other {# nights}}", }, { - nightsAmount: transaction.nights, + totalNights: transaction.nights, } )