Typo e-mail replace email
This commit is contained in:
@@ -65,7 +65,7 @@ export default function ResetDialog({lyen, title, activation, content, open, set
|
||||
value={email}
|
||||
margin='dense'
|
||||
id='email'
|
||||
label='Adresse email'
|
||||
label='Adresse e-mail'
|
||||
type='email'
|
||||
variant='standard'
|
||||
onChange={event => setEmail(event.target.value)}
|
||||
|
||||
@@ -63,7 +63,7 @@ export default function ResetPassword() {
|
||||
<ResetDialog
|
||||
lyen='forgot-password'
|
||||
title='Mot de passe oublié'
|
||||
content='Indiquez l’adresse email utilisée lors de votre inscription. Vous receverez des instructions par email.'
|
||||
content='Indiquez l’adresse e-mail utilisée lors de votre inscription. Vous receverez des instructions par e-mail.'
|
||||
open={open}
|
||||
setOpen={setOpen}
|
||||
setLoading={setLoading}
|
||||
|
||||
@@ -105,9 +105,9 @@ function Koneksyon({chimen}) {
|
||||
localStorage.setItem('user-id', response?.data?.user?._id)
|
||||
setSuccess(true)
|
||||
resetRegisterForm()
|
||||
} catch (error) {
|
||||
if (error.message.endsWith(400)) {
|
||||
setError('Email ou utilisateur déjà enregistré')
|
||||
} catch (error_) {
|
||||
if (error_.message.endsWith(400)) {
|
||||
setError('E-mail ou utilisateur déjà enregistré')
|
||||
} else {
|
||||
setError('Une erreur s’est produite')
|
||||
}
|
||||
@@ -233,7 +233,7 @@ function Koneksyon({chimen}) {
|
||||
</Tabs>
|
||||
<TabPanel value={value} index={0}>
|
||||
<FormControl fullWidth autoComplete='off'>
|
||||
<InputLabel htmlFor='username'>Email</InputLabel>
|
||||
<InputLabel htmlFor='username'>E-mail</InputLabel>
|
||||
<Input
|
||||
autoComplete='email'
|
||||
value={loginCredentials.username}
|
||||
@@ -285,7 +285,7 @@ function Koneksyon({chimen}) {
|
||||
</TabPanel>
|
||||
<TabPanel value={value} index={1}>
|
||||
<FormControl fullWidth>
|
||||
<InputLabel htmlFor='register-email'>Email</InputLabel>
|
||||
<InputLabel htmlFor='register-email'>E-mail</InputLabel>
|
||||
<Input
|
||||
autoComplete='email'
|
||||
value={registerCredentials.email}
|
||||
@@ -375,7 +375,7 @@ function Koneksyon({chimen}) {
|
||||
onClick={() => setOpenDialog(true)}
|
||||
>
|
||||
<Typography style={{fontWeight: 'bold'}}>
|
||||
Renvoyer l’email de confirmation
|
||||
Renvoyer l’e-mail de confirmation
|
||||
</Typography>
|
||||
</Button>
|
||||
</TabPanel>
|
||||
@@ -383,8 +383,8 @@ function Koneksyon({chimen}) {
|
||||
<ResetDialog
|
||||
activation
|
||||
lyen='send-email-confirmation'
|
||||
title='Envoi de l’email de confirmation'
|
||||
content='Si vous n’avez pas reçu l’email de confirmation, renseignez le champ et validez le formulaire.'
|
||||
title='Envoi de l’e-mail de confirmation'
|
||||
content='Si vous n’avez pas reçu l’e-mail de confirmation, renseignez le champ et validez le formulaire.'
|
||||
open={openDialog}
|
||||
setOpen={setOpenDialog}
|
||||
setLoading={setLoading}
|
||||
@@ -410,7 +410,7 @@ function Koneksyon({chimen}) {
|
||||
autoHideDuration={15_000}
|
||||
onClose={handleClose}
|
||||
>
|
||||
<Alert severity='success' onClose={handleClose}><strong>Veuillez confirmer votre adresse email via le lien qui vous a été envoyé.</strong></Alert>
|
||||
<Alert severity='success' onClose={handleClose}><strong>Veuillez confirmer votre adresse e-mail via le lien qui vous a été envoyé.</strong></Alert>
|
||||
</Snackbar>
|
||||
)}
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user