Revert "feat: show alerts related files included via paste unit (#847)" (#909)

This reverts commit 071aee5b02.
This commit is contained in:
Kristin Aoki
2024-03-19 13:34:33 -04:00
committed by GitHub
parent 071aee5b02
commit 784a811ff8

View File

@@ -106,34 +106,6 @@ const messages = defineMessages({
defaultMessage: 'The following {conflictingFilesLen, plural, one {file} other {files}} already exist in this course but don\'t match the version used by the component you pasted: {conflictingFilesStr}',
description: 'This alert description is displayed when files being imported conflict with existing files in the course and advises the user to update the conflicting files manually.',
},
newFileAlertTitle: {
id: 'course-authoring.course-outline.page-alert.paste-alert.new-files.title',
defaultMessage: 'New {newFilesLen, plural, one {file} other {files}} added to Files.',
},
newFileAlertDesc: {
id: 'course-authoring.course-outline.page-alert.paste-alert.new-files.description',
defaultMessage: 'The following required {newFilesLen, plural, one {file was} other {files were}} imported to this course: {newFilesStr}',
},
newFileAlertAction: {
id: 'course-authoring.course-outline.page-alert.paste-alert.new-files.action',
defaultMessage: 'View files',
},
errorFileAlertTitle: {
id: 'course-authoring.course-outline.page-alert.paste-alert.error-files.title',
defaultMessage: 'Some errors occurred',
},
errorFileAlertDesc: {
id: 'course-authoring.course-outline.page-alert.paste-alert.error-files.description',
defaultMessage: 'The following required {errorFilesLen, plural, one {file} other {files}} could not be added to the course: {errorFilesStr}',
},
conflictingFileAlertTitle: {
id: 'course-authoring.course-outline.page-alert.paste-alert.conflicting-files.title',
defaultMessage: 'You may need to update {conflictingFilesLen, plural, one {a file} other {files}} manually',
},
conflictingFileAlertDesc: {
id: 'course-authoring.course-outline.page-alert.paste-alert.new-conflicting.description',
defaultMessage: 'The following {conflictingFilesLen, plural, one {file} other {files}} already exist in this course but don\'t match the version used by the component you pasted: {conflictingFilesStr}',
},
});
export default messages;