@craftercms/studio-ui
Version:
Services, components, models & utils to build CrafterCMS authoring extensions.
157 lines (155 loc) • 3.93 kB
JavaScript
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright (C) 2007-2022 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { defineMessages } from 'react-intl';
export const OperationsMessages = defineMessages({
Login: {
id: 'words.login',
defaultMessage: 'Login'
},
Login_failed: {
id: 'operations.loginFailed',
defaultMessage: 'Login Failed'
},
Logout: {
id: 'words.logout',
defaultMessage: 'Logout'
},
Create: {
id: 'words.create',
defaultMessage: 'Create'
},
Update: {
id: 'words.update',
defaultMessage: 'Update'
},
Delete: {
id: 'words.delete',
defaultMessage: 'Delete'
},
Move: {
id: 'words.move',
defaultMessage: 'Move'
},
Revert: {
id: 'words.revert',
defaultMessage: 'Revert'
},
Enable: {
id: 'words.enable',
defaultMessage: 'Enable'
},
Disable: {
id: 'words.disable',
defaultMessage: 'Disable'
},
Add_members: {
id: 'operations.addMembers',
defaultMessage: 'Add Members'
},
Remove_members: {
id: 'operations.removeMembers',
defaultMessage: 'Remove Members'
},
Add_remote: {
id: 'operations.addRemote',
defaultMessage: 'Add Remote'
},
Remove_remote: {
id: 'operations.removeRemote',
defaultMessage: 'Remove Remote'
},
Push_to_remote: {
id: 'operations.pushToRemote',
defaultMessage: 'Push To Remote'
},
Pull_from_remote: {
id: 'operations.pullFromRemote',
defaultMessage: 'Pull From Remote'
},
Request_publish: {
id: 'operations.requestPublish',
defaultMessage: 'Request Publish'
},
Approve: {
id: 'words.approve',
defaultMessage: 'Approve'
},
Approve_scheduled: {
id: 'operations.approveScheduled',
defaultMessage: 'Approve Scheduled'
},
Reject: {
id: 'words.reject',
defaultMessage: 'Reject'
},
Published: {
id: 'words.published',
defaultMessage: 'Published'
},
Stop_publisher: {
id: 'operations.stopPublisher',
defaultMessage: 'Stop Publisher'
},
Start_publisher: {
id: 'operations.startPublisher',
defaultMessage: 'Start Publisher'
},
Cancel_publishing_package: {
id: 'operations.cancelPublishingPackage',
defaultMessage: 'Cancel Publishing Package'
}
});
export const Operations = [
'Login',
'Login_failed',
'Logout',
'Create',
'Update',
'Delete',
'Move',
'Revert',
'Enable',
'Disable',
'Add_members',
'Remove_members',
'Add_remote',
'Remove_remote',
'Push_to_remote',
'Pull_from_remote',
'Request_publish',
'Approve',
'Approve_scheduled',
'Reject',
'Published',
'Stop_publisher',
'Start_publisher',
'Cancel_publishing_package'
];