Skip to content

Commit

Permalink
feat: add item tag error (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia authored Nov 15, 2024
1 parent 776d0b9 commit d5beef2
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 @@ -135,6 +135,7 @@ export const FAILURE_MESSAGES = {
CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA:
'CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA',
NOT_MEMBER_OR_GUEST: 'NOT_MEMBER_OR_GUEST',
ITEM_TAG_ALREADY_EXISTS: 'ITEM_TAG_ALREADY_EXISTS',
};

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 @@ -156,5 +156,6 @@
"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",
"INVALID_ITEM_NAME_PATTERN_ERROR": "The item's name is not valid. It should start and end with an alphabetical character.",
"INVALID_ITEM_NAME_MAX_LENGTH_ERROR": "The item's name is too long."
"INVALID_ITEM_NAME_MAX_LENGTH_ERROR": "The item's name is too long.",
"ITEM_TAG_ALREADY_EXISTS": "This tag is already associated with this item."
}

0 comments on commit d5beef2

Please sign in to comment.