Skip to content

Commit

Permalink
feat: add update password translations
Browse files Browse the repository at this point in the history
  • Loading branch information
victorggonzalez committed Jul 9, 2022
1 parent aaebdfe commit 6ef311e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/langs/en/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
2 changes: 2 additions & 0 deletions src/langs/fr/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};

0 comments on commit 6ef311e

Please sign in to comment.