From 1a645f3110fdf95c5e7866636d2fe9821002ec58 Mon Sep 17 00:00:00 2001 From: Albert Borsos Date: Tue, 12 Mar 2024 12:48:39 +0100 Subject: [PATCH] fix: update to `cancel_event` dictionary key in an event related context (#14047) to fix context for other languages than english --- apps/web/components/booking/BookingListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 265587ddaa..8f382b8bc9 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -162,7 +162,7 @@ function BookingListItem(booking: BookingItemProps) { let bookedActions: ActionType[] = [ { id: "cancel", - label: isTabRecurring && isRecurring ? t("cancel_all_remaining") : t("cancel"), + label: isTabRecurring && isRecurring ? t("cancel_all_remaining") : t("cancel_event"), /* When cancelling we need to let the UI and the API know if the intention is to cancel all remaining bookings or just that booking instance. */ href: `/booking/${booking.uid}?cancel=true${