import { defineMessages } from '@edx/frontend-platform/i18n'; const messages = defineMessages({ editNameButtonAlt: { id: 'course-authoring.library-authoring.component.edit-name.alt', defaultMessage: 'Edit component name', description: 'Alt text for edit component name icon button', }, updateComponentSuccessMsg: { id: 'course-authoring.library-authoring.component.update.success', defaultMessage: 'Component updated successfully.', description: 'Message when the component is updated successfully', }, updateComponentErrorMsg: { id: 'course-authoring.library-authoring.component.update.error', defaultMessage: 'There was an error updating the component.', description: 'Message when there is an error when updating the component', }, editComponentButtonTitle: { id: 'course-authoring.library-authoring.component.edit.title', defaultMessage: 'Edit component', description: 'Title for edit component button', }, publishComponentButtonTitle: { id: 'course-authoring.library-authoring.component.publish.title', defaultMessage: 'Publish component', description: 'Title for publish component button', }, previewTabTitle: { id: 'course-authoring.library-authoring.component.preview-tab.title', defaultMessage: 'Preview', description: 'Title for preview tab', }, manageTabTitle: { id: 'course-authoring.library-authoring.component.manage-tab.title', defaultMessage: 'Manage', description: 'Title for manage tab', }, detailsTabTitle: { id: 'course-authoring.library-authoring.component.details-tab.title', defaultMessage: 'Details', description: 'Title for details tab', }, previewExpandButtonTitle: { id: 'course-authoring.library-authoring.component.preview.expand.title', defaultMessage: 'Expand', description: 'Title for expand preview button', }, previewModalTitle: { id: 'course-authoring.library-authoring.component.preview.modal.title', defaultMessage: 'Component Preview', description: 'Title for preview modal', }, }); export default messages;