Skip to content

Commit

Permalink
fix: add member profile translation (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Jul 5, 2024
1 parent ec34fb2 commit ba63ed9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
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 @@ -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"
}

0 comments on commit ba63ed9

Please sign in to comment.