fix: duplicate value found in common.json error (#19693)
* fix: duplicate value found in common.json error * Remove subteam invitation translation from locales * verify_email_email_button to verify_email_button --------- Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
6758654796
commit
8fb4df4b8c
51 files changed
+59
-967
No files matched your search
@@ -321,12 +321,12 @@ export default function Success(props: PageProps) {
|
||||
const attendee = bookingInfo.attendees[0]?.name || bookingInfo.attendees[0]?.email || "Nameless";
|
||||
const host = bookingInfo.user.name || bookingInfo.user.email;
|
||||
if (isHost) {
|
||||
return t(`${titlePrefix}emailed_you_and_attendees${titleSuffix}`, {
|
||||
return t(`${titlePrefix}emailed_host_and_attendees${titleSuffix}`, {
|
||||
user: attendee,
|
||||
});
|
||||
}
|
||||
if (isAttendee) {
|
||||
return t(`${titlePrefix}emailed_you_and_attendees${titleSuffix}`, {
|
||||
return t(`${titlePrefix}emailed_host_and_attendees${titleSuffix}`, {
|
||||
user: host,
|
||||
});
|
||||
}
|
||||
@@ -335,7 +335,7 @@ export default function Success(props: PageProps) {
|
||||
attendee,
|
||||
});
|
||||
}
|
||||
return t(`emailed_you_and_attendees${titleSuffix}`);
|
||||
return t(`emailed_host_and_attendees${titleSuffix}`);
|
||||
}
|
||||
|
||||
// This is a weird case where the same route can be opened in booking flow as a success page or as a booking detail page from the app
|
||||
|
||||
Reference in new issue
Block a user