From 6727337d455385ec3d58af708659e15fdcc5c075 Mon Sep 17 00:00:00 2001 From: Jeremy Defferrard Date: Mon, 7 Oct 2024 16:23:49 +0200 Subject: [PATCH] feat: not member or guest failure message --- src/constants/messages.ts | 1 + src/langs/en/messages.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constants/messages.ts b/src/constants/messages.ts index c9762f6f..dc5a382c 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -198,6 +198,7 @@ export const SUCCESS_MESSAGES = { REQUEST_MEMBERSHIP: 'REQUEST_MEMBERSHIP', DELETE_MEMBERSHIP_REQUEST: 'DELETE_MEMBERSHIP_REQUEST', ENROLL: 'ENROLL', + NOT_MEMBER_OR_GUEST: 'NOT_MEMBER_OR_GUEST', }; export const REQUEST_MESSAGES = { diff --git a/src/langs/en/messages.json b/src/langs/en/messages.json index d402954c..a2424b7a 100644 --- a/src/langs/en/messages.json +++ b/src/langs/en/messages.json @@ -153,5 +153,6 @@ "DELETE_MEMBERSHIP_REQUEST": "Membership request has been successfully deleted.", "ENROLL": "You successfully enrolled to the item.", "CANNOT_REGISTER_ON_FROZEN_ITEM_LOGIN_SCHEMA": "Cannot register on the targeted item because the subscription has been frozen by its owner", - "CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA": "Cannot enroll in the targeted item because the subscription has been frozen by its owner" + "CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA": "Cannot enroll in the targeted item because the subscription has been frozen by its owner", + "NOT_MEMBER_OR_GUEST": "Your account is not registered as member or pseudonimized user" }