fix: localize hardcoded prefix in reschedule cancellation reason (#28951)

This commit is contained in:
Anirban Singha
2026-04-22 06:28:31 +05:30
committed by GitHub
parent e9c6d0ee46
commit f477f7749c
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -4767,5 +4767,6 @@
"error_adding_user": "There was an error adding this user.",
"user_updated_successfully": "User updated successfully.",
"error_updating_user": "There was an error updating this user.",
"please_reschedule": "Please reschedule.",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}
@@ -236,7 +236,9 @@ export const requestRescheduleHandler = async ({ ctx, input, source }: RequestRe
uid: bookingToReschedule.uid,
location: bookingToReschedule.location,
destinationCalendar: bookingToReschedule.destinationCalendar,
cancellationReason: `Please reschedule. ${cancellationReason}`, // TODO::Add i18-next for this
cancellationReason: [tAttendees("please_reschedule"), cancellationReason]
.filter(Boolean)
.join(" "),
iCalUID: bookingToReschedule.iCalUID,
...(bookingToReschedule.smsReminderNumber && {
smsReminderNumber: bookingToReschedule.smsReminderNumber,