Skip to content

Commit d40d775

Browse files
authored
feat(graasp-import): add a graasp file import error message (#580)
1 parent 06a11ec commit d40d775

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/constants/messages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export const FAILURE_MESSAGES = {
136136
'CANNOT_ENROLL_FROZEN_ITEM_LOGIN_SCHEMA',
137137
NOT_MEMBER_OR_GUEST: 'NOT_MEMBER_OR_GUEST',
138138
ITEM_TAG_ALREADY_EXISTS: 'ITEM_TAG_ALREADY_EXISTS',
139+
GRAASP_EXPORT_FILE_ERROR: 'GRAASP_EXPORT_FILE_ERROR',
139140
};
140141

141142
export const DEFAULT_FAILURE_MESSAGE = FAILURE_MESSAGES.UNEXPECTED_ERROR;

src/langs/en/messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,6 @@
157157
"NOT_MEMBER_OR_GUEST": "Your account is not registered as member or pseudonimized user",
158158
"INVALID_ITEM_NAME_PATTERN_ERROR": "The item's name is not valid. It should start and end with an alphabetical character.",
159159
"INVALID_ITEM_NAME_MAX_LENGTH_ERROR": "The item's name is too long.",
160-
"ITEM_TAG_ALREADY_EXISTS": "This tag is already associated with this item."
160+
"ITEM_TAG_ALREADY_EXISTS": "This tag is already associated with this item.",
161+
"GRAASP_EXPORT_FILE_ERROR": "An error was encounterd in the provided GRAASP export file."
161162
}

0 commit comments

Comments
 (0)