Hard coded strings to avoid en.json conflicts

This commit is contained in:
llpingll committed 2026-02-04 23:32:14 +00:00
1 parent 090d002578
commit 88d539b2a4
3 files changed
+5 -8

No files matched your search

@@ -87,10 +87,7 @@ const PasswordPanel = () => {
// Check for expired/invalid token before submitting
if (!authToken) {
createToast({
body: t(
"passwordPanel.sessionExpired",
"Your session has expired. Please log in again."
),
body: "Your session has expired. Please log in again.",
});
dispatch(clearAuthState());
navigate("/login");
@@ -271,8 +268,8 @@ const PasswordPanel = () => {
alignItems="center"
>
<TextLink
text={t("passwordPanel.forgotPasswordText", "Forgot password?")}
linkText={t("passwordPanel.resetPasswordText", "Reset password")}
text={"Forgot password?"}
linkText={"Reset password"}
state={{ from: location.pathname }}
href={"/forgot-password"}
/>
+1 -1
View File
@@ -224,7 +224,7 @@ const CheckEmail = () => {
<Trans
i18nKey={
location.state?.from === "/account/password"
? "auth.forgotPassword.links.accountPassword"
? "Go back to <a>Account Password</a>"
: "auth.forgotPassword.links.login"
}
components={{
+1 -1
View File
@@ -219,7 +219,7 @@ const ForgotPassword = () => {
<Trans
i18nKey={
location.state?.from
? "auth.forgotPassword.links.accountPassword"
? "Go back to <a>Account Password</a>"
: "auth.forgotPassword.links.login"
}
components={{