UNPKG

@craftercms/studio-ui

Version:

Services, components, models & utils to build CrafterCMS authoring extensions.

188 lines (186 loc) 4.98 kB
/* * 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 translations = defineMessages({ revert: { id: 'words.revert', defaultMessage: 'Revert' }, edit: { id: 'words.edit', defaultMessage: 'Edit' }, view: { id: 'words.view', defaultMessage: 'View' }, viewForm: { id: 'itemActions.viewForm', defaultMessage: 'View Form' }, createContent: { id: 'itemActions.newContent', defaultMessage: 'New Content' }, createFolder: { id: 'itemActions.createFolder', defaultMessage: 'New Folder' }, rename: { id: 'words.rename', defaultMessage: 'Rename' }, changeContentType: { id: 'itemActions.changeContentType', defaultMessage: 'Change Type' }, schedule: { id: 'words.schedule', defaultMessage: 'Schedule' }, publish: { id: 'words.publish', defaultMessage: 'Publish' }, publishRequest: { id: 'itemActions.requestPublish', defaultMessage: 'Request Publish' }, approve: { id: 'words.approve', defaultMessage: 'Approve' }, reject: { id: 'words.reject', defaultMessage: 'Reject' }, history: { id: 'words.history', defaultMessage: 'History' }, dependencies: { id: 'words.dependencies', defaultMessage: 'Dependencies' }, translation: { id: 'words.translation', defaultMessage: 'Translation' }, cut: { id: 'words.cut', defaultMessage: 'Cut' }, copy: { id: 'words.copy', defaultMessage: 'Copy' }, copyWithChildren: { id: 'itemActions.copyWithChildren', defaultMessage: 'Copy with children' }, paste: { id: 'words.paste', defaultMessage: 'Paste' }, upload: { id: 'words.upload', defaultMessage: 'Upload' }, duplicate: { id: 'words.duplicate', defaultMessage: 'Duplicate' }, delete: { id: 'words.delete', defaultMessage: 'Delete' }, editController: { id: 'itemActions.editController', defaultMessage: 'Edit Controller' }, deleteController: { id: 'itemActions.deleteController', defaultMessage: 'Delete Controller' }, editTemplate: { id: 'itemActions.editTemplate', defaultMessage: 'Edit Template' }, deleteTemplate: { id: 'itemActions.deleteTemplate', defaultMessage: 'Delete Template' }, createTemplate: { id: 'itemActions.createTemplate', defaultMessage: 'New Template' }, createController: { id: 'itemActions.createController', defaultMessage: 'New Controller' }, changeContentTypeTitle: { id: 'itemActions.contentTypeDialogTitle', defaultMessage: 'Warning: Change Content Type' }, changeContentTypeBody: { id: 'itemActions.contentTypeDialogBody', defaultMessage: 'The following operation may result in data loss. Would you like to proceed?' }, processing: { id: 'words.processing', defaultMessage: 'Processing' }, duplicateDialogBody: { id: 'itemActions.duplicateDialogBody', defaultMessage: "A new copy of this item and all of it's item specific content will be created. Are you sure you wish to proceed?" }, unlock: { id: 'words.unlock', defaultMessage: 'Unlock' }, preview: { id: 'words.preview', defaultMessage: 'Preview' }, cancel: { id: 'words.cancel', defaultMessage: 'Cancel' }, verifyingAffectedWorkflows: { id: 'itemActions.verifyingAffectedWorkflows', defaultMessage: 'Verifying affected workflows...' }, unableToVerifyWorkflows: { id: 'itemActions.unableToVerifyWorkflows', defaultMessage: 'Unable to verify affected workflows please try again momentary' } });