diff --git a/core/lib/Thelia/Config/I18n/en_US.php b/core/lib/Thelia/Config/I18n/en_US.php old mode 100644 new mode 100755 index 58ecdaf49..4860dafaf --- a/core/lib/Thelia/Config/I18n/en_US.php +++ b/core/lib/Thelia/Config/I18n/en_US.php @@ -405,6 +405,7 @@ return array( 'Warnings' => 'Warnings', 'Weight' => 'Weight', 'Wrong form method, %s expected.' => 'Wrong form method, %s expected.', + 'Wrong email or password. Please try again' => 'Wrong email or password. Please try again', 'Yes, I have a password :' => 'Yes, I have a password :', 'You are already registered!' => 'You are already registered!', 'You don\'t need to use commas or other punctuations.' => 'You don\'t need to use commas or other punctuations.', diff --git a/core/lib/Thelia/Config/I18n/fr_FR.php b/core/lib/Thelia/Config/I18n/fr_FR.php old mode 100644 new mode 100755 index fd177cb0c..55ada69b6 --- a/core/lib/Thelia/Config/I18n/fr_FR.php +++ b/core/lib/Thelia/Config/I18n/fr_FR.php @@ -405,6 +405,7 @@ return array( 'Warnings' => 'Avertissements', 'Weight' => 'Poids', 'Wrong form method, %s expected.' => 'Méthode HTTP invalide : %s attendu.', + 'Wrong email or password. Please try again' => 'Mauvais email ou mot de passe. Veuillez retenter', 'Yes, I have a password :' => 'Oui, j\'ai un mot de passe :', 'You are already registered!' => 'Vous êtes déjà enregistré !', 'You don\'t need to use commas or other punctuations.' => 'Vous n\'avez pas besoin d\'utiliser de virgules ou d\'autres signes de ponctuation', diff --git a/local/modules/Front/Controller/CustomerController.php b/local/modules/Front/Controller/CustomerController.php index 1dee4aa45..cddb7293d 100644 --- a/local/modules/Front/Controller/CustomerController.php +++ b/local/modules/Front/Controller/CustomerController.php @@ -314,11 +314,11 @@ class CustomerController extends BaseFrontController return RedirectResponse::create($successUrl); } catch (UsernameNotFoundException $e) { - $message = "Wrong email or password. Please try again"; + $message = Translator::getInstance()->trans("Wrong email or password. Please try again"); } catch (WrongPasswordException $e) { - $message = "Wrong email or password. Please try again"; + $message = Translator::getInstance()->trans("Wrong email or password. Please try again"); } catch (AuthenticationException $e) { - $message = "Wrong email or password. Please try again"; + $message = Translator::getInstance()->trans("Wrong email or password. Please try again"); } } diff --git a/templates/frontOffice/default/I18n/fr_FR.php b/templates/frontOffice/default/I18n/fr_FR.php index c6720b43f..bb25e0bbe 100755 --- a/templates/frontOffice/default/I18n/fr_FR.php +++ b/templates/frontOffice/default/I18n/fr_FR.php @@ -154,10 +154,10 @@ return array( 'Price descending' => 'Prix décroissant', 'Proceed checkout' => 'Continuer la commande', 'Product Empty Button' => 'Ajouter mon premier produit', - 'Product Empty Message' => 'Ajouter rapidement un produit. -
    -
  1. Cochez Nouveau dans l\'onglet Prix si vous voulez voir votre produit dans la section Nouveautés.
  2. -
  3. Cochez En promo dans l\'onglet Prix si vous voulez voir votre produit dans la section Offres.
  4. + 'Product Empty Message' => 'Ajouter rapidement un produit. +
      +
    1. Cochez Nouveau dans l\'onglet Prix si vous voulez voir votre produit dans la section Nouveautés.
    2. +
    3. Cochez En promo dans l\'onglet Prix si vous voulez voir votre produit dans la section Offres.
    ', 'Product Empty Title' => 'Bienvenue', 'Product Name' => 'Nom du produit', @@ -243,7 +243,7 @@ return array( 'deliveries' => 'Livraisons', 'for' => 'pour', 'instead of' => 'au lieu de', - 'missing or invalid data' => 'Information érronée ou incomplète', + 'missing or invalid data' => 'Information erronée ou incomplète', 'per page' => 'par page', 'update' => 'mettre à jour', 'with:' => 'avec :',