diff --git a/src/i18n/de.json b/src/i18n/de.json index e979965..6d8e80e 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -38,6 +38,7 @@ "Version": "Version", "WarningV1": "Version 1 ist veraltet und wird in {dayBeforeOnlyV2} Tagen entfernt. Wir empfehlen Ihnen dringend, Ihre Passwörter auf die Version 2 zu migrieren.", "WelcomeRegister": "Willkommen {email}, danke für die Anmeldung.", + "resetPasswordSuccess": "Wenn die E-Mail-Adresse {email} mit einem LessPass-Konto verknüpft ist, erhalten Sie in Kürze eine E-Mail von LessPass mit Anweisungen zum Zurücksetzen Ihres Passworts.", "version": "Version", "versionShortcut": "V" -} \ No newline at end of file +} diff --git a/src/i18n/en.json b/src/i18n/en.json index a2e02a0..131d207 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -38,6 +38,7 @@ "Version": "Version", "WarningV1": "Version 1 is deprecated and will be removed in {dayBeforeOnlyV2} days. We strongly advise you to migrate your passwords to version 2.", "WelcomeRegister": "Welcome {email}, thank you for signing up.", + "resetPasswordSuccess": "If the email address {email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.", "version": "version", "versionShortcut": "v" -} \ No newline at end of file +} diff --git a/src/i18n/es.json b/src/i18n/es.json index 291541e..501b360 100644 --- a/src/i18n/es.json +++ b/src/i18n/es.json @@ -38,6 +38,7 @@ "Version": "Versión", "WarningV1": "La versión 1 está obsoleta y será eliminada en {dayBeforeOnlyV2} días. Le recomendamos enérgicamente migrar sus contraseñas a la versión 2.", "WelcomeRegister": "Bienvenido o bienvenida {email}, gracias por registrarse.", + "resetPasswordSuccess": "Si la dirección de correo electrónico {email} está asociada a una cuenta LessPass, recibirá un correo electrónico de LessPass con instrucciones sobre cómo restablecer su contraseña.", "version": "versión", "versionShortcut": "v" -} \ No newline at end of file +} diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 2e42c19..c20d982 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -38,6 +38,7 @@ "Version": "Version", "WarningV1": "La version 1 est déconseillée et sera supprimée dans {dayBeforeOnlyV2} jours. Nous vous conseillons fortement de migrer vos mots de passe vers la version 2.", "WelcomeRegister": "Bienvenue {email}, merci pour vous être enregistré.", + "resetPasswordSuccess": "Si l'adresse email {email} est associée avec un compte LessPass, vous allez recevoir un email de la part de LessPass avec les instructions pour changer votre mot de passe.", "version": "version", "versionShortcut": "v" -} \ No newline at end of file +} diff --git a/src/i18n/zh-CN.json b/src/i18n/zh-CN.json index 357cd45..403baff 100644 --- a/src/i18n/zh-CN.json +++ b/src/i18n/zh-CN.json @@ -38,6 +38,7 @@ "Version": "版本", "WarningV1": "版本 1 已不支援,并将在 {dayBeforeOnlyV2} 天内移除。我们强烈得建议您将密码换至版本 2。", "WelcomeRegister": "欢迎 {email},谢谢您的注册。", + "resetPasswordSuccess": "如果电子邮件地址 {email} 与LessPass帐户相关联,您将很快收到LessPass的电子邮件,并提供如何重置密码的说明。", "version": "版本", "versionShortcut": "v" -} \ No newline at end of file +} diff --git a/src/i18n/zh.json b/src/i18n/zh.json index 6cfaae0..9bbb210 100644 --- a/src/i18n/zh.json +++ b/src/i18n/zh.json @@ -38,6 +38,7 @@ "Version": "版本", "WarningV1": "版本 1 已不支援,並將在 {dayBeforeOnlyV2} 天內移除。我們強烈得建議您將密碼換至版本 2。", "WelcomeRegister": "歡迎 {email},謝謝您的註冊。", + "resetPasswordSuccess": "如果电子邮件地址 {email} 与LessPass帐户相关联,您将很快收到LessPass的电子邮件,并提供如何重置密码的说明。", "version": "版本", "versionShortcut": "v" -} \ No newline at end of file +} diff --git a/src/views/PasswordReset.vue b/src/views/PasswordReset.vue index 4cf7676..0475722 100644 --- a/src/views/PasswordReset.vue +++ b/src/views/PasswordReset.vue @@ -45,7 +45,10 @@ } User.resetPassword({email: this.email}, {baseURL: this.baseURL}) .then(() => { - message.success(`If the email address ${this.email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.`) + const successMessage = this.$t('resetPasswordSuccess', + 'If the email address {email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.', + {email: this.email}); + message.success(successMessage); }) .catch(() => { message.displayGenericError();