box-ui-elements
Version:
Box UI Elements
65 lines (62 loc) • 3.09 kB
JavaScript
import { defineMessages } from 'react-intl';
const messages = defineMessages({
badRequestError: {
defaultMessage: 'The request for this item was malformed.',
description: 'Message that appears when the request for the ContentSharing Element is malformed.',
id: 'be.contentSharing.badRequestError',
},
loadingError: {
defaultMessage: 'Could not load shared link for this item.',
description: 'Message that appears when the ContentSharing Element cannot be loaded.',
id: 'be.contentSharing.loadingError',
},
noAccessError: {
defaultMessage: 'You do not have access to this item.',
description: 'Message that appears when the user cannot access the item for the ContentSharing Element.',
id: 'be.contentSharing.noAccessError',
},
notFoundError: {
defaultMessage: 'Could not find shared link for this item.',
description: 'Message that appears when the item for the ContentSharing Element cannot be found.',
id: 'be.contentSharing.notFoundError',
},
sharedLinkUpdateError: {
defaultMessage: 'Could not update the shared link for this item.',
description: 'Message that appears when the shared link in the ContentSharing Element cannot be updated.',
id: 'be.contentSharing.sharedLinkUpdateError',
},
sharedLinkSettingsUpdateSuccess: {
defaultMessage: 'The shared link for this item was successfully updated.',
description:
'Message that appears when the shared link settings in the ContentSharing Element were successfully updated.',
id: 'be.contentSharing.sharedLinkSettingsUpdateSuccess',
},
sharedLinkRemovalSuccess: {
defaultMessage: 'The shared link for this item was removed.',
description: 'Message that appears when the shared link in the ContentSharing Element was removed.',
id: 'be.contentSharing.sharedLinkRemovalSuccess',
},
collaboratorsLoadingError: {
defaultMessage: 'Could not retrieve collaborators for this item.',
description: 'Message that appears when collaborators cannot be retrieved in the ContentSharing Element.',
id: 'be.contentSharing.collaboratorsLoadingError',
},
getContactsError: {
defaultMessage: 'Could not retrieve contacts.',
description: 'Message that appears when users cannot be retrieved in the ContentSharing Element.',
id: 'be.contentSharing.getContactsError',
},
sendInvitesError: {
defaultMessage: 'Could not send invites.',
description:
'Message that appears when collaborators cannot be added to the shared link in the ContentSharing Element.',
id: 'be.contentSharing.sendInvitesError',
},
sendInvitesSuccess: {
defaultMessage: 'Successfully invited collaborators.',
description:
'Message that appears when collaborators were added to the shared link in the ContentSharing Element.',
id: 'be.contentSharing.sendInvitesSuccess',
},
});
export default messages;