webpack/scenes/ContentViews/Create/CreateContentViewModal.js in katello-4.1.4 vs webpack/scenes/ContentViews/Create/CreateContentViewModal.js in katello-4.2.0.rc1

- old
+ new

@@ -1,17 +1,19 @@ import React from 'react'; import PropTypes from 'prop-types'; +import { translate as __ } from 'foremanReact/common/I18n'; import { Modal, ModalVariant } from '@patternfly/react-core'; import CreateContentViewForm from './CreateContentViewForm'; const CreateContentViewModal = ({ show, setIsOpen }) => ( <Modal - title="Create content view" + title={__('Create content view')} variant={ModalVariant.small} isOpen={show} onClose={() => { setIsOpen(false); }} appendTo={document.body} - ><CreateContentViewForm setModalOpen={setIsOpen} /> + > + <CreateContentViewForm setModalOpen={setIsOpen} /> </Modal> ); CreateContentViewModal.propTypes = { show: PropTypes.bool,