Add token retrieve error
This commit is contained in:
parent
245e6c5cc8
commit
44d35090ac
3 changed files with 6 additions and 0 deletions
|
@ -463,6 +463,7 @@
|
|||
"badToken": "You are not logged in. Please login and try again.",
|
||||
"noConsent": "You did not give your consent for data processing to the Amicale.",
|
||||
"tokenSave": "Could not save session token. Please contact support.",
|
||||
"tokenRetrieve": "Could not retrieve session token. Please contact support.",
|
||||
"badInput": "Invalid input. Please try again.",
|
||||
"forbidden": "You do not have access to this data.",
|
||||
"connectionError": "Network error. Please check your internet connection.",
|
||||
|
|
|
@ -463,6 +463,7 @@
|
|||
"badToken": "Tu n'est pas connecté. Merci de te connecter puis réessayes.",
|
||||
"noConsent": "Tu n'as pas donné ton consentement pour l'utilisation de tes données personnelles.",
|
||||
"tokenSave": "Impossible de sauvegarder le token de session. Merci de contacter le support.",
|
||||
"tokenRetrieve": "Impossible de récupérer le token de session. Merci de contacter le support.",
|
||||
"badInput": "Entrée invalide. Merci de réessayer.",
|
||||
"forbidden": "Tu n'as pas accès à cette information.",
|
||||
"connectionError": "Erreur de réseau. Merci de vérifier ta connexion Internet.",
|
||||
|
|
|
@ -53,6 +53,10 @@ export function getErrorMessage(
|
|||
fullMessage.message = i18n.t('errors.tokenSave');
|
||||
fullMessage.icon = 'alert-circle-outline';
|
||||
break;
|
||||
case REQUEST_STATUS.TOKEN_RETRIEVE:
|
||||
fullMessage.message = i18n.t('errors.tokenRetrieve');
|
||||
fullMessage.icon = 'alert-circle-outline';
|
||||
break;
|
||||
default:
|
||||
fullMessage.message = i18n.t('errors.unknown');
|
||||
fullMessage.icon = 'alert-circle-outline';
|
||||
|
|
Loading…
Reference in a new issue