diff --git a/src/constants/messages.ts b/src/constants/messages.ts index bef3754f..401f1009 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -193,6 +193,7 @@ export const SUCCESS_MESSAGES = { REQUEST_MEMBERSHIP: 'REQUEST_MEMBERSHIP', DELETE_MEMBERSHIP_REQUEST: 'DELETE_MEMBERSHIP_REQUEST', + ENROLL: 'ENROLL', }; export const REQUEST_MESSAGES = { diff --git a/src/langs/en/messages.json b/src/langs/en/messages.json index c504c434..6db9aff5 100644 --- a/src/langs/en/messages.json +++ b/src/langs/en/messages.json @@ -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." } diff --git a/src/langs/fr/messages.json b/src/langs/fr/messages.json index 2538d8ed..60872398 100644 --- a/src/langs/fr/messages.json +++ b/src/langs/fr/messages.json @@ -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." }