fix: localize hardcoded prefix in reschedule cancellation reason (#28951)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user