Improve error messages based on code review feedback

Co-authored-by: jepp9350 <17977216+jepp9350@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-17 11:04:51 +00:00
co-authored by jepp9350
parent 5dc35d0a1b
commit 1ed8a30826
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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": {
+1 -1
View File
@@ -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": {
@@ -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',
});
}