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(auth page): i18n key in register page for "haveAccount" #5816 #5914

Closed
wants to merge 1 commit into from
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const RegisterPage: React.FC<RegisterProps> = ({
}}
>
{translate(
"pages.login.buttons.haveAccount",
"pages.register.buttons.haveAccount",
"Have an account?",
)}{" "}
<ActiveLink
Expand Down Expand Up @@ -251,7 +251,10 @@ export const RegisterPage: React.FC<RegisterProps> = ({
fontSize: 12,
}}
>
{translate("pages.login.buttons.haveAccount", "Have an account?")}{" "}
{translate(
"pages.register.buttons.haveAccount",
"Have an account?",
)}{" "}
<ActiveLink
style={{
fontWeight: "bold",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const RegisterPage: React.FC<RegisterProps> = ({
>
<span>
{translate(
"pages.login.buttons.haveAccount",
"pages.register.buttons.haveAccount",
"Have an account?",
)}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const RegisterPage: React.FC<RegisterProps> = ({
<>
<span>
{translate(
"pages.login.buttons.haveAccount",
"pages.register.buttons.haveAccount",
"Have an account?",
)}{" "}
{renderLink(
Expand All @@ -156,7 +156,7 @@ export const RegisterPage: React.FC<RegisterProps> = ({
)}
{loginLink !== false && hideForm && (
<div style={{ textAlign: "center" }}>
{translate("pages.login.buttons.haveAccount", "Have an account?")}{" "}
{translate("pages.register.buttons.haveAccount", "Have an account?")}{" "}
{renderLink("/login", translate("pages.login.signin", "Sign in"))}
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ export const RegisterPage: React.FC<RegisterProps> = ({
}}
>
<Typography variant="body2" component="span" fontSize="12px">
{translate("pages.login.buttons.haveAccount", "Have an account?")}
{translate(
"pages.register.buttons.haveAccount",
"Have an account?",
)}
</Typography>
<MuiLink
ml="4px"
Expand Down