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:
amritandUdit Takkar authored and GitHub committed 2025-03-10 19:19:32 +00:00
1 parent 6758654796
commit 8fb4df4b8c
51 files changed
+59 -967

No files matched your search

@@ -32,7 +32,7 @@ export const VerifyAccountEmail = (
<p style={{ fontWeight: 400, lineHeight: "24px" }}>
<>{props.language("verify_email_email_body", { appName: APP_NAME })}</>
</p>
<CallToAction label={props.language("verify_email_email_button")} href={props.verificationEmailLink} />
<CallToAction label={props.language("verify_email_button")} href={props.verificationEmailLink} />
<div style={{ lineHeight: "6px" }}>
<p style={{ fontWeight: 400, lineHeight: "24px" }}>
@@ -83,7 +83,7 @@ export const VerifyEmailChangeEmail = (
</p>
</div>
</div>
<CallToAction label={props.language("verify_email_email_button")} href={props.verificationEmailLink} />
<CallToAction label={props.language("verify_email_button")} href={props.verificationEmailLink} />
<div style={{ lineHeight: "6px" }}>
<p style={{ fontWeight: 400, lineHeight: "24px" }}>
<>
@@ -31,7 +31,7 @@ export default class OrganizationAdminNoSlotsEmail extends BaseEmail {
return {
from: `${EMAIL_FROM_NAME} <${this.getMailerOptions().from}>`,
to: this.adminNoSlots.to.email,
subject: this.adminNoSlots.language("org_admin_no_slots|subject", { name: this.adminNoSlots.user }),
subject: this.adminNoSlots.language("org_admin_no_slots|heading", { name: this.adminNoSlots.user }),
html: await renderEmail("OrganizationAdminNoSlotsEmail", this.adminNoSlots),
text: this.getTextBody(),
};
@@ -218,7 +218,7 @@ export const BookEventForm = ({
? isPaidEvent
? t("pay_and_book")
: t("confirm")
: t("verify_email_email_button")}
: t("verify_email_button")}
</Button>
</>
)}
@@ -223,7 +223,7 @@ const SlotItem = ({
{(() => {
if (layout === "column_view") return "";
if (isTimeslotUnavailable) return t("timeslot_unavailable_short");
if (!renderConfirmNotVerifyEmailButtonCond) return t("verify_email_email_button");
if (!renderConfirmNotVerifyEmailButtonCond) return t("verify_email_button");
return isPaidEvent ? t("pay_and_book") : t("confirm");
})()}
</Button>
@@ -141,7 +141,7 @@ export default function RequiresConfirmationController({
{(requiresConfirmationSetup === undefined ||
!requiresConfirmationLockedProps.disabled) && (
<RadioField
label={t("always_requires_confirmation")}
label={t("always")}
disabled={requiresConfirmationLockedProps.disabled}
id="always"
value="always"
@@ -180,13 +180,13 @@ function getNavigation({ length, multipleDuration, t, tabs, url, onClick, curren
});
tabs.includes("payments") &&
tabsNavigation.push({
name: t("event_payments_tab_title"),
name: t("payments"),
onClick: () => onClick("payments"),
isActive: currentTab === "payments",
href: `${url}?tabName=payments`,
icon: "credit-card",
info: t(`event_payments_tab_description`),
"data-testid": "event_payments_tab_title",
"data-testid": "payments",
});
return tabsNavigation;