Skip to content

Commit

Permalink
fix(mon-pix): Update login-error-message
Browse files Browse the repository at this point in the history
  • Loading branch information
theotime2005 committed Jan 15, 2025
1 parent 39d017f commit 35496b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ module('Integration | Component | Authentication | SignupForm | index', function
const errorMessage = 'Impossible de se connecter. Veuillez réessayer dans quelques instants.';
assert.dom(screen.getByText(errorMessage, { exact: false })).exists();

const errorMessageLink = screen.getByRole('link', { name: 'merci de nous contacter' });
const errorMessageLink = screen.getByRole('link', { name: 'contactez-nous via le centre d’aide' });
assert.dom(errorMessageLink).hasAttribute('href', 'https://pix.fr/support');
});
});
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"gateway-timeout-error": "The service is being slow. Please try again later.",
"internal-server-error": "An error occurred, our teams are working on finding a solution. Please try again later.",
"login-unauthorized-error": "There was an error in the email address or username/password entered.",
"login-unexpected-error": "Unable to connect. Please try again in a few moments. If the problem persists, '<'a href=\"https://pix.org/en/support\" target=\"blank\"'>'please contact us'</a>'.",
"login-unexpected-error": "Unable to connect. Please try again in a few moments. If the problem persists, '<'a href=\"https://pix.org/en/support\" target=\"blank\"'>'please contact us via the help center'</a>'.",
"login-user-blocked-error": "Your account has reached the maximum number of failed login attempts and has been temporarily blocked. Please '<'a href=\"{url}\"'>'contact us'</a>' to unblock it.",
"login-user-temporary-blocked-error": "You have reached too many failed login attempts. Please try again later or '<'a href=\"{url}\"'>'reset your password here'</a>'."
},
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"gateway-timeout-error": "Le service subit des ralentissements. Veuillez réessayer ultérieurement.",
"internal-server-error": "Une erreur interne est survenue, nos équipes sont en train de résoudre le problème. Veuillez réessayer ultérieurement.",
"login-unauthorized-error": "L'adresse e-mail ou l'identifiant et/ou le mot de passe saisis sont incorrects.",
"login-unexpected-error": "Impossible de se connecter. Veuillez réessayer dans quelques instants. Si le problème persiste, '<'a href=\"https://pix.fr/support\" target=\"blank\"'>'merci de nous contacter'</a>'.",
"login-unexpected-error": "Impossible de se connecter. Veuillez réessayer dans quelques instants. Si le problème persiste, '<'a href=\"https://pix.fr/support\" target=\"blank\"'>'contactez-nous via le centre d’aide'</a>'.",
"login-user-blocked-error": "Votre compte est bloqué car vous avez effectué trop de tentatives de connexion. Pour le débloquer, '<'a href=\"{url}\"'>'contactez-nous'</a>'.",
"login-user-temporary-blocked-error": "Vous avez effectué trop de tentatives de connexion. Réessayez plus tard ou cliquez sur '<'a href=\"{url}\"'>'mot de passe oublié'</a>' pour le réinitialiser."
},
Expand Down

0 comments on commit 35496b5

Please sign in to comment.