box-ui-elements
Version:
Box UI Elements
42 lines (39 loc) • 1.51 kB
text/typescript
import { defineMessages } from 'react-intl';
const messages = defineMessages({
listView: {
id: 'be.itemList.listView',
description: 'Label for the list of files and folders displayed in a list view',
defaultMessage: 'List view',
},
nameColumn: {
id: 'be.itemList.nameColumn',
description: 'Label for the column header in the list view for the name of the item',
defaultMessage: 'NAME',
},
dateColumn: {
id: 'be.itemList.dateColumn',
description: 'Label for the column header in the list view for the date the item was modified',
defaultMessage: 'UPDATED',
},
sizeColumn: {
id: 'be.itemList.sizeColumn',
description: 'Label for the column header in the list view for the size of the item',
defaultMessage: 'SIZE',
},
actionsColumn: {
id: 'be.itemList.actionsColumn',
description: 'Label for the column header in the list view for the available user actions on the item',
defaultMessage: 'ACTIONS',
},
detailsColumn: {
id: 'be.itemList.detailsColumn',
description: 'Label for the column header in the list view for the combined details of the item',
defaultMessage: 'DETAILS',
},
itemSubtitle: {
id: 'be.itemList.itemSubtitle',
description: 'Concatenated text of the modified date and item size of the file or folder',
defaultMessage: '{date} • {size}',
},
});
export default messages;