diff --git a/src/i18n/locales/da.json b/src/i18n/locales/da.json index 15fd29cd..5c1644b8 100644 --- a/src/i18n/locales/da.json +++ b/src/i18n/locales/da.json @@ -31,7 +31,7 @@ "error": { "title": "Fejl", "validation_error": "Der opstod en fejl under validering af adgangskoden.", - "generic_error": "Der opstod en fejl" + "save_email_error": "Der opstod en fejl under gemme af e-mailadressen." } }, "common": { diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 6c856a10..6a44ca70 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -31,7 +31,7 @@ "error": { "title": "Error", "validation_error": "An error occurred while validating the password.", - "generic_error": "An error occurred" + "save_email_error": "An error occurred while saving the email address." } }, "common": { diff --git a/src/views/dashboards/userDashboard/profile/UserProfile.vue b/src/views/dashboards/userDashboard/profile/UserProfile.vue index 65995e51..53914175 100644 --- a/src/views/dashboards/userDashboard/profile/UserProfile.vue +++ b/src/views/dashboards/userDashboard/profile/UserProfile.vue @@ -114,7 +114,7 @@ const onSaveEmail = async (password) => { } else { Swal.fire({ title: t('profile.error.title'), - text: t('profile.error.generic_error'), + text: t('profile.error.save_email_error'), icon: 'error', }); }