diff --git a/covas_mobile/lib/l10n/app_en.arb b/covas_mobile/lib/l10n/app_en.arb index 55bdb80..d6ba344 100644 --- a/covas_mobile/lib/l10n/app_en.arb +++ b/covas_mobile/lib/l10n/app_en.arb @@ -91,5 +91,8 @@ "settings_updated": "Settings updated", "define_kilometer": "Define Kilometer", "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" } \ No newline at end of file diff --git a/covas_mobile/lib/l10n/app_fr.arb b/covas_mobile/lib/l10n/app_fr.arb index 7ebda89..7b6937a 100644 --- a/covas_mobile/lib/l10n/app_fr.arb +++ b/covas_mobile/lib/l10n/app_fr.arb @@ -91,6 +91,8 @@ "settings_updated": "Paramètre mis à jour", "define_kilometer": "Definir un kilomètre", "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" } \ No newline at end of file diff --git a/covas_mobile/lib/pages/ForgotPassword.dart b/covas_mobile/lib/pages/ForgotPassword.dart index 20c8917..fb216c1 100644 --- a/covas_mobile/lib/pages/ForgotPassword.dart +++ b/covas_mobile/lib/pages/ForgotPassword.dart @@ -122,7 +122,8 @@ class _PasswordForgotState extends State 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 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 with ShowAlertDialog { } }, child: Text( - 'Envoyer le mail', + AppLocalizations.of(context)?.send_email ?? 'Send email', style: TextStyle(color: Colors.white, fontSize: 25), ), ),