From 6ef311e68a408e60eeb3a655cb06f91c5db634e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Gonz=C3=A1lez?= <36533965+victorggonzalez@users.noreply.github.com> Date: Sat, 9 Jul 2022 23:34:14 +0200 Subject: [PATCH] feat: add update password translations --- src/constants/messages.ts | 1 + src/langs/en/messages.ts | 1 + src/langs/fr/messages.ts | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/constants/messages.ts b/src/constants/messages.ts index e14190c7..3a8259c3 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -83,6 +83,7 @@ export const SUCCESS_MESSAGES = { POST_ITEM_TAG: 'POST_ITEM_TAG', DELETE_ITEM_TAG: 'DELETE_ITEM_TAG', DELETE_MEMBER: 'DELETE_MEMBER', + UPDATE_PASSWORD: 'UPDATE_PASSWORD', }; // todo: might not be used anymore if we add a progress bar diff --git a/src/langs/en/messages.ts b/src/langs/en/messages.ts index 228aa63b..fbe875bc 100644 --- a/src/langs/en/messages.ts +++ b/src/langs/en/messages.ts @@ -95,4 +95,5 @@ export default { [SUCCESS_MESSAGES.IMPORT_ZIP]: 'The ZIP archive was successfully imported', [SUCCESS_MESSAGES.IMPORT_H5P]: 'The H5P package was successfully imported', [SUCCESS_MESSAGES.DELETE_MEMBER]: 'The account was successfully deleted', + [SUCCESS_MESSAGES.UPDATE_PASSWORD]: 'The password was updated successfully', }; diff --git a/src/langs/fr/messages.ts b/src/langs/fr/messages.ts index 0e543f5d..e64911ad 100644 --- a/src/langs/fr/messages.ts +++ b/src/langs/fr/messages.ts @@ -105,4 +105,6 @@ export default { [SUCCESS_MESSAGES.IMPORT_ZIP]: "L'archive ZIP a été importé avec succès", [SUCCESS_MESSAGES.IMPORT_H5P]: "Le paquet H5P a été importé avec succès", [SUCCESS_MESSAGES.DELETE_MEMBER]: 'Le compte a été supprimé avec succès', + [SUCCESS_MESSAGES.UPDATE_PASSWORD]: + 'Le mot de passe a été modifié avec succès', };