From ca7dd1aa631241b3f1c115d5484f31315f6a6494 Mon Sep 17 00:00:00 2001 From: Vidya Hanumant Khandekar Date: Tue, 3 Dec 2024 15:43:29 +0530 Subject: [PATCH] Language constant added (#58) --- src/screens/auth/SignIn.tsx | 6 +++--- src/screens/auth/SignUpWithPassword.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/screens/auth/SignIn.tsx b/src/screens/auth/SignIn.tsx index 569acec..992ed3a 100644 --- a/src/screens/auth/SignIn.tsx +++ b/src/screens/auth/SignIn.tsx @@ -72,7 +72,7 @@ const SignIn: React.FC = () => { { handleLogin()} - label="Sign In" + label={t("LOGIN_LOGIN_BUTTON")} /> @@ -112,7 +112,7 @@ const SignIn: React.FC = () => { to="/signup" className="text-color text-decoration-underline" > - {t("SIGNUP_SIGN_UP")} + {t("LOGIN_REGISTER_BUTTON")} diff --git a/src/screens/auth/SignUpWithPassword.tsx b/src/screens/auth/SignUpWithPassword.tsx index 0fdb958..9e66dec 100644 --- a/src/screens/auth/SignUpWithPassword.tsx +++ b/src/screens/auth/SignUpWithPassword.tsx @@ -204,7 +204,7 @@ const SignUpWithPassword: React.FC = () => { errorMessage={mobileError} /> handleInputChange(e, "password")} isInvalid={!userDetails.password.trim()} @@ -228,7 +228,7 @@ const SignUpWithPassword: React.FC = () => { )}