The SelectImageModal component has been refactored so that it can also be used on the video selection page; and all its child components. Now this component is called SelectionModal and is used both for the image selector and in this new video selection screen. The assets api has been used to get the videos.
25 lines
732 B
JavaScript
25 lines
732 B
JavaScript
export const messages = {
|
|
searchPlaceholder: {
|
|
id: 'authoring.selectionmodal.search.placeholder',
|
|
defaultMessage: 'Search',
|
|
description: 'Placeholder text for search bar',
|
|
},
|
|
emptySearchLabel: {
|
|
id: 'authoring.selectionmodal.emptySearchLabel',
|
|
defaultMessage: 'No search results.',
|
|
description: 'Label for when search returns nothing.',
|
|
},
|
|
loading: {
|
|
id: 'authoring.selectionmodal.spinner.readertext',
|
|
defaultMessage: 'loading...',
|
|
description: 'Gallery loading spinner screen-reader text',
|
|
},
|
|
addedDate: {
|
|
id: 'authoring.selectionmodal.addedDate.label',
|
|
defaultMessage: 'Added {date} at {time}',
|
|
description: 'File date-added string',
|
|
},
|
|
};
|
|
|
|
export default messages;
|