Skip to content
Snippets Groups Projects
Commit 82522636 authored by Hadrien Froger's avatar Hadrien Froger
Browse files

Merge branch 'feat_add_missing_locales' into 'main'

feat: :globe_with_meridians: Add reset password locales

See merge request !144
parents 6a921c20 776c80a8
Branches
Tags v0.0.3
1 merge request!144feat: 🌐 Add reset password locales
......@@ -195,8 +195,11 @@
"auth.forgot.goLogin": "Try to login",
"auth.reset.title": "New password",
"auth.reset.password": "Enter your new password",
"auth.reset.passwordCheck": "Confirm password",
"auth.reset.confirm": "Confirm",
"auth.reset.submitted": "🎉 Your password has been updated !",
"auth.reset.login": "Try to login",
"auth.reset.error": "We were not able to update your password, please check if you provided the same password in both fields.",
"auth.reset.back": "Back",
"auth.errors.generic": "Invalid login: please check your email and password.",
"auth.errors.email.taken": "Cet email est déjà pris.",
......
......@@ -56,7 +56,7 @@ const ResetPassPage = () => {
<Dialog
open
onClose={() => null}
aria-labelledby={t`auth.reset.resetTitle`}
aria-labelledby={t`auth.reset.title`}
maxWidth="md"
PaperProps={{sx: {zIndex: 99}}}
transitionDuration={1}
......@@ -71,7 +71,7 @@ const ResetPassPage = () => {
variant="h5"
color="textSecondary"
align="center"
>{t`auth.reset.resetTitle`}</Typography>
>{t`auth.reset.title`}</Typography>
</Box>
{error && (
<FormHelperText error>
......@@ -80,7 +80,7 @@ const ResetPassPage = () => {
)}
<Box py={1.5} minHeight={90}>
<TextField
label={t`login.password`}
label={t`auth.reset.password`}
variant="outlined"
margin="dense"
value={password}
......@@ -92,7 +92,7 @@ const ResetPassPage = () => {
</Box>
<Box py={1.5} minHeight={90}>
<TextField
label={t`login.passwordVerif`}
label={t`auth.reset.passwordCheck`}
variant="outlined"
margin="dense"
value={passwordConfirmation}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment