From 596d9772e7f4cec5fb00677c748f3fda568acd8b Mon Sep 17 00:00:00 2001 From: carlkuesters Date: Mon, 11 Dec 2023 00:02:41 +0100 Subject: [PATCH] Add email sending error code. --- src/app/interfaces/error-code.enum.ts | 1 + src/assets/translations/de.json | 1 + src/assets/translations/en.json | 1 + 3 files changed, 3 insertions(+) diff --git a/src/app/interfaces/error-code.enum.ts b/src/app/interfaces/error-code.enum.ts index 799c9df..0a76d05 100644 --- a/src/app/interfaces/error-code.enum.ts +++ b/src/app/interfaces/error-code.enum.ts @@ -6,6 +6,7 @@ export enum ErrorCode { BAD_REQUEST = 'BAD_REQUEST', EMAIL_ALREADY_EXISTS = 'EMAIL_ALREADY_EXISTS', EMAIL_NOT_CONFIRMED = 'EMAIL_NOT_CONFIRMED', + EMAIL_NOT_SENT = 'EMAIL_NOT_SENT', LOGIN_ALREADY_EXISTS = 'LOGIN_ALREADY_EXISTS', TOO_MANY_EMAIL_REQUESTS = 'TOO_MANY_EMAIL_REQUESTS', USER_NOT_FOUND = 'USER_NOT_FOUND', diff --git a/src/assets/translations/de.json b/src/assets/translations/de.json index 51c03a2..1a70d2c 100644 --- a/src/assets/translations/de.json +++ b/src/assets/translations/de.json @@ -16,6 +16,7 @@ "EMAIL": "E-Mail", "EMAIL_ALREADY_EXISTS": "E-Mail existiert bereits", "EMAIL_NOT_CONFIRMED": "E-Mail nicht bestÃĪtigt", + "EMAIL_NOT_SENT": "E-Mail konnte nicht gesendet werden", "FEATURED": "Empfohlen", "FORGOT_PASSWORD": "Passwort vergessen?", "HOME": "Home", diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json index a3de328..58833b1 100644 --- a/src/assets/translations/en.json +++ b/src/assets/translations/en.json @@ -16,6 +16,7 @@ "EMAIL": "E-Mail", "EMAIL_ALREADY_EXISTS": "E-Mail already exists", "EMAIL_NOT_CONFIRMED": "E-Mail not confirmed", + "EMAIL_NOT_SENT": "E-Mail could not be sent", "FEATURED": "Featured", "FORGOT_PASSWORD": "Forgot your password?", "HOME": "Home",