From d5beef26026baf3a868a0ec6e269646a5704a126 Mon Sep 17 00:00:00 2001 From: Kim Lan Phan Hoang Date: Fri, 15 Nov 2024 10:38:25 +0100 Subject: [PATCH] feat: add item tag error (#569) --- 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 24e3ee86..ddc33804 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -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; diff --git a/src/langs/en/messages.json b/src/langs/en/messages.json index fefb70d3..20ee9ca4 100644 --- a/src/langs/en/messages.json +++ b/src/langs/en/messages.json @@ -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." }