From ba63ed97d4c5537ffb8a88ca4b6cc50960e4806a Mon Sep 17 00:00:00 2001 From: Basile Spaenlehauer Date: Fri, 5 Jul 2024 13:32:37 +0200 Subject: [PATCH] fix: add member profile translation (#458) --- src/constants/messages.ts | 3 +++ src/langs/en/messages.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/constants/messages.ts b/src/constants/messages.ts index 660afce8..710047e8 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -92,6 +92,9 @@ export const FAILURE_MESSAGES = { SHORT_LINK_NOT_FOUND: 'SHORT_LINK_NOT_FOUND', INVALID_CONTEXT: 'INVALID_CONTEXT', SHORT_LINK_LIMIT_EXCEED: 'SHORT_LINK_LIMIT_EXCEED', + + // member profile + MEMBER_PROFILE_NOT_FOUND: 'MEMBER_PROFILE_NOT_FOUND', }; export const DEFAULT_FAILURE_MESSAGE = FAILURE_MESSAGES.UNEXPECTED_ERROR; diff --git a/src/langs/en/messages.json b/src/langs/en/messages.json index 6140843e..a8d372ed 100644 --- a/src/langs/en/messages.json +++ b/src/langs/en/messages.json @@ -121,5 +121,6 @@ "PUT_ITEM_GEOLOCATION": "The geolocation has been saved successfully", "DELETE_ITEM_GEOLOCATION": "The geolocation has been deleted successfully", "DELETE_ITEM_THUMBNAIL": "The thumbnail was successfully deleted", - "REORDER_ITEM": "The item was successfully reordered" + "REORDER_ITEM": "The item was successfully reordered", + "MEMBER_PROFILE_NOT_FOUND": "Member profile not found" }