Skip to content

Commit

Permalink
feat: add enroll success message
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Sep 23, 2024
1 parent 8688b46 commit 6f8b2c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export const SUCCESS_MESSAGES = {

REQUEST_MEMBERSHIP: 'REQUEST_MEMBERSHIP',
DELETE_MEMBERSHIP_REQUEST: 'DELETE_MEMBERSHIP_REQUEST',
ENROLL: 'ENROLL',
};

export const REQUEST_MESSAGES = {
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 @@ -150,5 +150,6 @@
"CANNOT_MODIFY_GUEST_ITEM_MEMBERSHIP": "Cannot modify the permission of targeted account because it is a pseudonymized user",
"CANNOT_ENROLL_ITEM_WITHOUT_ITEM_LOGIN_SCHEMA": "Cannot enroll in the targeted item because it doesn't allow pseudonymized users",
"REQUEST_MEMBERSHIP": "Membership requests has been sent successfully!",
"DELETE_MEMBERSHIP_REQUEST": "Membership request has been deleted"
"DELETE_MEMBERSHIP_REQUEST": "Membership request has been successfully deleted.",
"ENROLL": "You successfully enrolled to the item."
}
3 changes: 2 additions & 1 deletion src/langs/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@
"ACCOUNT_NOT_FOUND": "Aucun compte n'a été trouvé",
"CANNOT_CREATE_MEMBERSHIP_CAUSE_ITEM_LOGIN_SCHEMA_EXISTS": "Vous ne pouvez pas demander une adhésion car la ressource ciblée autorise les utilisateurs pseudonymisés",
"CANNOT_MODIFY_GUEST_ITEM_MEMBERSHIP": "Impossible de modifier l'autorisation du compte ciblé car il s'agit d'un utilisateur pseudonymisé",
"CANNOT_ENROLL_ITEM_WITHOUT_ITEM_LOGIN_SCHEMA": "Impossible de s'inscrire à l'élément ciblé car il n'autorise pas les utilisateurs pseudonymisés"
"CANNOT_ENROLL_ITEM_WITHOUT_ITEM_LOGIN_SCHEMA": "Impossible de s'inscrire à l'élément ciblé car il n'autorise pas les utilisateurs pseudonymisés",
"ENROLL": "Vous avez rejoint l'élément avec succès."
}

0 comments on commit 6f8b2c4

Please sign in to comment.