diff --git a/src/constants/messages.ts b/src/constants/messages.ts index 4f6f4966..e14190c7 100644 --- a/src/constants/messages.ts +++ b/src/constants/messages.ts @@ -76,6 +76,7 @@ export const SUCCESS_MESSAGES = { UPLOAD_ITEM_THUMBNAIL: 'UPLOAD_ITEM_THUMBNAIL', UPLOAD_AVATAR: 'UPLOAD_AVATAR', IMPORT_ZIP: 'IMPORT_ZIP', + IMPORT_H5P: 'IMPORT_H5P', POST_ITEM_CATEGORY: 'POST_ITEM_CATEGORY', DELETE_ITEM_CATEGORY: 'DELETE_ITEM_CATEGORY', PUT_ITEM_LOGIN: 'PUT_ITEM_LOGIN', @@ -86,5 +87,6 @@ export const SUCCESS_MESSAGES = { // todo: might not be used anymore if we add a progress bar export const REQUEST_MESSAGES = { - IMPORT_ZIP: 'The ZIP is being processed. Please wait a moment.', + IMPORT_ZIP: 'The ZIP file is being processed. Please wait a moment.', + IMPORT_H5P: 'The H5P file is being processed. Please wait a moment.', }; diff --git a/src/langs/en/messages.ts b/src/langs/en/messages.ts index 7fcec022..228aa63b 100644 --- a/src/langs/en/messages.ts +++ b/src/langs/en/messages.ts @@ -93,5 +93,6 @@ export default { 'The thumbnail was successfully uploaded', [SUCCESS_MESSAGES.UPLOAD_AVATAR]: 'The avatar was successfully uploaded', [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', }; diff --git a/src/langs/fr/messages.ts b/src/langs/fr/messages.ts index 2414ea2e..0e543f5d 100644 --- a/src/langs/fr/messages.ts +++ b/src/langs/fr/messages.ts @@ -103,5 +103,6 @@ export default { 'La miniature a été sauvegardé avec succès', [SUCCESS_MESSAGES.UPLOAD_AVATAR]: "L'avatar a été sauvegardé avec succès", [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', };