Skip to content

Commit

Permalink
Language constant added (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidyaaKhandekar authored Dec 3, 2024
1 parent 35c8bfc commit ca7dd1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/screens/auth/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const SignIn: React.FC = () => {
<Layout
isMenu={false}
_heading={{
heading: "Sign In",
heading: t("LOGIN_LOGIN_BUTTON"),
handleBack,
}}
isBottombar={false}
Expand Down Expand Up @@ -100,7 +100,7 @@ const SignIn: React.FC = () => {
<CommonButton
isDisabled={!isFormValid || loading}
onClick={() => handleLogin()}
label="Sign In"
label={t("LOGIN_LOGIN_BUTTON")}
/>
</VStack>

Expand All @@ -112,7 +112,7 @@ const SignIn: React.FC = () => {
to="/signup"
className="text-color text-decoration-underline"
>
{t("SIGNUP_SIGN_UP")}
{t("LOGIN_REGISTER_BUTTON")}
</Link>
</Box>
</Text>
Expand Down
4 changes: 2 additions & 2 deletions src/screens/auth/SignUpWithPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const SignUpWithPassword: React.FC = () => {
errorMessage={mobileError}
/>
<FloatingPasswordInput
label={t("SIGNUP_PASSWORD")}
label={t("SIGNUP_CREATE_PASSWORD")}
value={userDetails.password}
onChange={(e) => handleInputChange(e, "password")}
isInvalid={!userDetails.password.trim()}
Expand All @@ -228,7 +228,7 @@ const SignUpWithPassword: React.FC = () => {
)}
<CommonButton
mt={4}
label={"Register"}
label={t("LOGIN_REGISTER_BUTTON")}
onClick={handleSignUp}
//
/>
Expand Down

0 comments on commit ca7dd1a

Please sign in to comment.