diff --git a/src/i18n/de.json b/src/i18n/de.json index 12f0085b..e72b6c23 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -531,7 +531,7 @@ "The Destination Email is already used": "Die Ziel-E-Mail-Adresse wird bereits verwendet", "The Notify Email is already used": "Diese E-Mail-Adresse wird bereits zur Benachrichtigung verwendet", "There are no ACLs yet": "Es wurden noch keine ACLs erstellt", - "There are no Key Renew Notify Emails yet": "Es wurden noch keine E-Mail-Adressen zum Senden von Benachrichtigungen zur Schlüsselerneuerung eingetragen", + "There is a problem with your account, please contact support": "Es gibt ein Problem mit deinem Konto, bitte kontaktiere den Support", "There was an error, please retry later": "Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut", "This number is already in use.": "This number is already in use.", "Thursday": "Donnerstag", diff --git a/src/i18n/en.json b/src/i18n/en.json index 64f84c3d..cc35358b 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -515,6 +515,7 @@ "The Notify Email is already used": "The Notify Email is already used", "There are no ACLs yet": "There are no ACLs yet", "There are no Key Renew Notify Emails yet": "There are no Key Renew Notify Emails yet", + "There is a problem with your account, please contact support": "There is a problem with your account, please contact support", "There was an error, please retry later": "There was an error, please retry later", "This number is already in use.": "This number is already in use.", "Thursday": "Thursday", diff --git a/src/i18n/es.json b/src/i18n/es.json index e2679871..28d98d19 100644 --- a/src/i18n/es.json +++ b/src/i18n/es.json @@ -533,6 +533,7 @@ "The Notify Email is already used": "El correo electrónico de notificación ya está en uso", "There are no ACLs yet": "Aún no hay ACLs", "There are no Key Renew Notify Emails yet": "Aún no hay correos electrónicos para notificaciones de renovación de claves", + "There is a problem with your account, please contact support": "Hay un problema con tu cuenta, por favor contacta con el soporte", "There was an error, please retry later": "Se ha producido un error, por favor vuelva a intentarlo más tarde", "This number is already in use.": "This number is already in use.", "Thursday": "Jueves", diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 2b71b807..d54fc994 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -532,6 +532,7 @@ "The Notify Email is already used": "L'e-mail de notification est déjà utilisé", "There are no ACLs yet": "Il n'y a pas encore d'ACLs", "There are no Key Renew Notify Emails yet": "Il n'y a pas encore d'e-mails de notification de renouvellement des clés", + "There is a problem with your account, please contact support": "Il y a un problème avec votre compte, veuillez contacter le support", "There was an error, please retry later": "Il y a eu une erreur, veuillez réessayer plus tard", "This number is already in use.": "Ce numéro est déjà utilisé.", "Thursday": "Jeudi", diff --git a/src/i18n/it.json b/src/i18n/it.json index b5f95ec8..d436dd8a 100644 --- a/src/i18n/it.json +++ b/src/i18n/it.json @@ -523,6 +523,7 @@ "The Notify Email is already used": "The Notify Email is already used", "There are no ACLs yet": "There are no ACLs yet", "There are no Key Renew Notify Emails yet": "There are no Key Renew Notify Emails yet", + "There is a problem with your account, please contact support": "C'è un problema con il tuo account, contatta l'assistenza", "There was an error, please retry later": "There was an error, please retry later", "This number is already in use.": "Questo numero è già in uso.", "Thursday": "Giovedì", diff --git a/src/store/user.js b/src/store/user.js index ba09cb3d..7fa87158 100644 --- a/src/store/user.js +++ b/src/store/user.js @@ -1,4 +1,5 @@ 'use strict' +import { i18n } from 'boot/i18n' import _ from 'lodash' import QRCode from 'qrcode' import { date } from 'quasar' @@ -353,6 +354,8 @@ export default { context.commit('loginFailed', err.message) if (err.message === 'Password expired') { this.$router.push({ path: PATH_CHANGE_PASSWORD }) + } else if (err.message === 'Banned') { + context.commit('loginFailed', i18n.global.t('There is a problem with your account, please contact support')) } } },