Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add H5P translations #17

Merged
merged 1 commit into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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.',
};
1 change: 1 addition & 0 deletions src/langs/en/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
1 change: 1 addition & 0 deletions src/langs/fr/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};