Skip to content

Commit

Permalink
feat: not member or guest failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
Defferrard committed Oct 7, 2024
1 parent 9b08392 commit 62ccaf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 62ccaf1

Please sign in to comment.