diff --git a/covas_mobile/lib/l10n/app_en.arb b/covas_mobile/lib/l10n/app_en.arb index 2128e8a..3298cb3 100644 --- a/covas_mobile/lib/l10n/app_en.arb +++ b/covas_mobile/lib/l10n/app_en.arb @@ -34,6 +34,9 @@ "unknown_error_auth": "Unknown error authentification", "required_input": "Required input", "create_profile": "Create profile", -"edit_pseudo": "Edit pseudo" +"edit_pseudo": "Edit pseudo", +"password":"Password", +"enter_password": "Enter the passord", + "password_confirmed": "Password confirmed" } \ 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 f7b9208..b379001 100644 --- a/covas_mobile/lib/l10n/app_fr.arb +++ b/covas_mobile/lib/l10n/app_fr.arb @@ -34,6 +34,8 @@ "unknown_error_auth": "Problème d'authentification inconnu", "required_input": "Champ requis", "create_profile": "Creation profil", -"edit_pseudo": "Modifier le pseudo" +"edit_pseudo": "Modifier le pseudo", +"password":"Mot de passe", +"enter_password": "Entrez le password" } \ No newline at end of file diff --git a/covas_mobile/lib/pages/AddProfile.dart b/covas_mobile/lib/pages/AddProfile.dart index fd111d1..309f8a4 100644 --- a/covas_mobile/lib/pages/AddProfile.dart +++ b/covas_mobile/lib/pages/AddProfile.dart @@ -216,8 +216,11 @@ class _AddProfileState extends State with ShowAlertDialog { obscureText: true, decoration: InputDecoration( border: OutlineInputBorder(), - labelText: 'Mot de passe', - hintText: 'Entrez le mot de passe'), + labelText: AppLocalizations.of(context)?.password ?? + 'Password', + hintText: + AppLocalizations.of(context)?.enter_password ?? + 'Enter the password'), ), ), Padding( @@ -229,9 +232,14 @@ class _AddProfileState extends State with ShowAlertDialog { validator: (value) => _validateField(value), obscureText: true, decoration: InputDecoration( - border: OutlineInputBorder(), - labelText: 'Confirmez le mot de passe', - hintText: 'Confirmez le mot de passe'), + border: OutlineInputBorder(), + labelText: + AppLocalizations.of(context)?.password_confirmed ?? + 'Password confirmed', + hintText: + AppLocalizations.of(context)?.password_confirmed ?? + 'Password confirmed', + ), ), ), Padding(