diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 04fa5d0b6..a5f56ae8d 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -169,8 +169,16 @@ "success": "Eine neue E-Mail Addresse wurde registriert.", "submitted": "Eine E-Mail zur Bestätigung deiner Adresse wurde an {email} gesendet.", "change-successful": "Deine E-Mail Adresse wurde erfolgreich geändert.", - "change-error": "Deine E-Mail Adresse konnte nicht verifiziert werden.", - "change-error-help": "Vielleicht ist der Bestätigungscode falsch oder diese E-Mail Adresse wurde nicht hinterlegt?" + "change-error": { + "message": "Deine E-Mail Adresse konnte nicht verifiziert werden.", + "support": "Wenn das Problem weiterhin besteht, kontaktiere uns gerne per E-Mail an", + "explanation": "Das kann verschiedene Ursachen haben:", + "reason": { + "invalid-nonce": "Ist der Bestätigungscode falsch?", + "no-email-request": "Wurde gar keine Änderung der E-Mail Adresse angefragt?", + "email-address-taken": "Wurde die E-Mail inzwischen einem anderen Benutzer zugewiesen?" + } + } }, "validation": { "slug": { diff --git a/webapp/locales/en.json b/webapp/locales/en.json index cabfa1b06..d6cb53b7f 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -2,7 +2,7 @@ "maintenance": { "title": "Human Connection is under maintenance", "explanation": "At the moment we are doing some scheduled maintenance, please try again later.", - "questions": "Any Questions or concerns, send an email to" + "questions": "Any Questions or concerns, send an email to" }, "index": { "no-results": "No contributions found.", @@ -170,8 +170,16 @@ "success": "A new E-Mail address has been registered.", "submitted": "An email to verify your address has been sent to {email}.", "change-successful": "Your E-Mail address has been changed successfully.", - "change-error": "Your E-Mail could not be changed.", - "change-error-help": "Maybe the code was invalid or you did not add a new E-Mail address before?" + "change-error": { + "message": "Your E-Mail could not be changed.", + "explanation": "This can have different causes:", + "reason": { + "invalid-nonce": "Is the confirmation code invalid?", + "no-email-request": "You haven't requested a change of your email address at all?", + "email-address-taken": "Has the email been assigned to another user in the meantime?" + }, + "support": "If the problem persists, please contact us by e-mail at" + } }, "validation": { "slug": { diff --git a/webapp/pages/settings/my-email-address/verify.vue b/webapp/pages/settings/my-email-address/verify.vue index adf243355..9a8f09611 100644 --- a/webapp/pages/settings/my-email-address/verify.vue +++ b/webapp/pages/settings/my-email-address/verify.vue @@ -1,18 +1,40 @@ @@ -69,3 +91,10 @@ export default { }, } + +