Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: translate by proceeding i18n #14878

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/web/pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,19 +517,19 @@ export default function Signup({
</div>
<div className="text-subtle ">
<Trans i18nKey="signing_up_terms">
By proceeding, you agree to our{" "}
{t("by_proceeding_you_agree_to_our ")}
<Link
className="text-emphasis hover:underline"
href={`${WEBSITE_URL}/terms`}
target="_blank">
Terms
{t("terms")}
</Link>{" "}
and{" "}
{t("and ")}
<Link
className="text-emphasis hover:underline"
href={`${WEBSITE_URL}/privacy`}
target="_blank">
Privacy Policy
{t("privacy_policy")}
</Link>
.
</Trans>
Expand Down
4 changes: 3 additions & 1 deletion apps/web/public/static/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -2430,5 +2430,7 @@
"lowest_rated_members": "Members with lowest rated meetings",
"csat_score": "CSAT Score",
"lockedSMS": "Locked SMS",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑",
"terms": "Terms",
"by_proceeding_you_agree_to_our": "By proceeding, you agree to our"
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,12 @@ export const BookEventForm = ({
{!isPlatform && IS_CALCOM && (
<div className="text-subtle my-3 w-full text-xs opacity-80">
<Trans i18nKey="signing_up_terms">
By proceeding, you agree to our{" "}
{t("by_proceeding_you_agree_to_our ")}
<Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/terms`} target="_blank">
<a>Terms</a>
</Link>{" "}
and{" "}
<a>{t("terms")}</a>
</Link>{t(" and ")}
<Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/privacy`} target="_blank">
<a>Privacy Policy</a>
<a>{t("privacy_policy")}</a>
</Link>
.
</Trans>
Expand Down
Loading