diff --git a/src/constants/messages.ts b/src/constants/messages.ts index c9762f6f..ad40a271 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -130,6 +130,7 @@ export const FAILURE_MESSAGES = { 'CANNOT_REGISTER_ON_FROZEN_ITEM_LOGIN_SCHEMA', CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA: 'CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA', + NOT_MEMBER_OR_GUEST: 'NOT_MEMBER_OR_GUEST', }; export const DEFAULT_FAILURE_MESSAGE = FAILURE_MESSAGES.UNEXPECTED_ERROR; 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" }