translate forgotpassword 100% again
This commit is contained in:
@@ -122,7 +122,8 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
|
||||
return Scaffold(
|
||||
backgroundColor: Colors.white,
|
||||
appBar: AppBar(
|
||||
title: Text("Mot de passe oublie"),
|
||||
title: Text(AppLocalizations.of(context)?.forgot_password ??
|
||||
"Forgot password"),
|
||||
backgroundColor: Colors.blue,
|
||||
foregroundColor: Colors.white,
|
||||
),
|
||||
@@ -140,8 +141,10 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
|
||||
validator: (value) => _validateField(value),
|
||||
decoration: InputDecoration(
|
||||
border: OutlineInputBorder(),
|
||||
labelText: 'Email',
|
||||
hintText: 'Modifier l\'adresse mail'),
|
||||
labelText:
|
||||
AppLocalizations.of(context)?.email ?? 'Email',
|
||||
hintText: AppLocalizations.of(context)?.enter_email ??
|
||||
'Enter the email'),
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
@@ -160,7 +163,7 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
|
||||
}
|
||||
},
|
||||
child: Text(
|
||||
'Envoyer le mail',
|
||||
AppLocalizations.of(context)?.send_email ?? 'Send email',
|
||||
style: TextStyle(color: Colors.white, fontSize: 25),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user