translate forgotpassword 100% again
This commit is contained in:
@@ -91,5 +91,8 @@
|
|||||||
"settings_updated": "Settings updated",
|
"settings_updated": "Settings updated",
|
||||||
"define_kilometer": "Define Kilometer",
|
"define_kilometer": "Define Kilometer",
|
||||||
"settings": "Settings",
|
"settings": "Settings",
|
||||||
"email_sent": "Email has been sent"
|
"email_sent": "Email has been sent",
|
||||||
|
"forgot_password": "Forgot password",
|
||||||
|
"enter_email": "Enter the email",
|
||||||
|
"send_email": "Send email"
|
||||||
}
|
}
|
@@ -91,6 +91,8 @@
|
|||||||
"settings_updated": "Paramètre mis à jour",
|
"settings_updated": "Paramètre mis à jour",
|
||||||
"define_kilometer": "Definir un kilomètre",
|
"define_kilometer": "Definir un kilomètre",
|
||||||
"settings": "Paramètres",
|
"settings": "Paramètres",
|
||||||
"email_sent": "Email a été envoyé"
|
"email_sent": "Email a été envoyé",
|
||||||
|
"forgot_password": "Mot de passe oublié",
|
||||||
|
"enter_email": "Entrez l'email",
|
||||||
|
"send_email": "Send email"
|
||||||
}
|
}
|
@@ -122,7 +122,8 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.white,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text("Mot de passe oublie"),
|
title: Text(AppLocalizations.of(context)?.forgot_password ??
|
||||||
|
"Forgot password"),
|
||||||
backgroundColor: Colors.blue,
|
backgroundColor: Colors.blue,
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
),
|
),
|
||||||
@@ -140,8 +141,10 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
|
|||||||
validator: (value) => _validateField(value),
|
validator: (value) => _validateField(value),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
border: OutlineInputBorder(),
|
border: OutlineInputBorder(),
|
||||||
labelText: 'Email',
|
labelText:
|
||||||
hintText: 'Modifier l\'adresse mail'),
|
AppLocalizations.of(context)?.email ?? 'Email',
|
||||||
|
hintText: AppLocalizations.of(context)?.enter_email ??
|
||||||
|
'Enter the email'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@@ -160,7 +163,7 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Envoyer le mail',
|
AppLocalizations.of(context)?.send_email ?? 'Send email',
|
||||||
style: TextStyle(color: Colors.white, fontSize: 25),
|
style: TextStyle(color: Colors.white, fontSize: 25),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user