fix(cp-frontend): Fix error message typos

This commit is contained in:
JUDIT GRESKOVITS 2017-08-08 12:05:38 +01:00
parent 2fb4a77c96
commit 24bee629e8
9 changed files with 18 additions and 18 deletions

View File

@ -55,7 +55,7 @@ class DeploymentGroupDelete extends Component {
<Modal width={460} onCloseClick={handleCloseClick}> <Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage <ModalErrorMessage
title='Ooops!' title='Ooops!'
message={`An error occured while attempting to delete the ${deploymentGroup.name} deployment group.`} message={`An error occurred while attempting to delete the ${deploymentGroup.name} deployment group.`}
onCloseClick={handleCloseClick} onCloseClick={handleCloseClick}
/> />
</Modal> </Modal>

View File

@ -135,7 +135,7 @@ const DeploymentGroupList = ({
{_title} {_title}
<ErrorMessage <ErrorMessage
title="Ooops!" title="Ooops!"
message="An error occured while loading your deployment groups." message="An error occurred while loading your deployment groups."
/> />
</LayoutContainer> </LayoutContainer>
); );

View File

@ -32,7 +32,7 @@ const EnvironmentReadOnly = ({
{_title} {_title}
<ErrorMessage <ErrorMessage
title="Ooops!" title="Ooops!"
message="An error occured while loading environment data." message="An error occurred while loading environment data."
/> />
</LayoutContainer> </LayoutContainer>
); );

View File

@ -29,7 +29,7 @@ const InstanceList = ({ deploymentGroup, instances = [], loading, error }) => {
{_title} {_title}
<ErrorMessage <ErrorMessage
title="Ooops!" title="Ooops!"
message="An error occured while loading your instances." message="An error occurred while loading your instances."
/> />
</LayoutContainer> </LayoutContainer>
); );

View File

@ -40,7 +40,7 @@ const Manifest = ({
{_title} {_title}
<ErrorMessage <ErrorMessage
title="Ooops!" title="Ooops!"
message="An error occured while loading your deployment group." message="An error occurred while loading your deployment group."
/> />
</LayoutContainer> </LayoutContainer>
); );
@ -50,7 +50,7 @@ const Manifest = ({
deploymentGroup && deploymentGroup.imported && !manifest deploymentGroup && deploymentGroup.imported && !manifest
? <WarningMessage ? <WarningMessage
title="Be aware" title="Be aware"
message="Since this DeploymentGroup was imported, it doesn&#x27;t have the initial manifest." message="Since this Deployment Group was imported, it doesn&#x27;t have the initial manifest."
/> />
: null; : null;

View File

@ -38,7 +38,7 @@ class ServiceDelete extends Component {
<Modal width={460} onCloseClick={handleCloseClick}> <Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage <ModalErrorMessage
title='Ooops!' title='Ooops!'
message='An error occured while loading your service.' message='An error occurred while loading your service.'
onCloseClick={handleCloseClick} onCloseClick={handleCloseClick}
/> />
</Modal> </Modal>
@ -52,7 +52,7 @@ class ServiceDelete extends Component {
<Modal width={460} onCloseClick={handleCloseClick}> <Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage <ModalErrorMessage
title='Ooops!' title='Ooops!'
message={`An error occured while attempting to delete the ${service.name} service.`} message={`An error occurred while attempting to delete your ${service.name} service.`}
onCloseClick={handleCloseClick} onCloseClick={handleCloseClick}
/> />
</Modal> </Modal>

View File

@ -39,7 +39,7 @@ class ServiceScale extends Component {
<Modal width={460} onCloseClick={handleCloseClick}> <Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage <ModalErrorMessage
title='Ooops!' title='Ooops!'
message='An error occured while loading your service.' message='An error occurred while loading your service.'
onCloseClick={handleCloseClick} onCloseClick={handleCloseClick}
/> />
</Modal> </Modal>
@ -53,7 +53,7 @@ class ServiceScale extends Component {
<Modal width={460} onCloseClick={handleCloseClick}> <Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage <ModalErrorMessage
title='Ooops!' title='Ooops!'
message={`An error occured while attempting to scale the ${service.name} service.`} message={`An error occurred while attempting to scale your ${service.name} service.`}
onCloseClick={handleCloseClick} onCloseClick={handleCloseClick}
/> />
</Modal> </Modal>

View File

@ -71,7 +71,7 @@ class ServiceList extends Component {
<LayoutContainer> <LayoutContainer>
<ErrorMessage <ErrorMessage
title="Ooops!" title="Ooops!"
message="An error occured while loading your services." message="An error occurred while loading your services."
/> />
</LayoutContainer> </LayoutContainer>
); );
@ -152,11 +152,11 @@ class ServiceList extends Component {
this.state.errors.restart this.state.errors.restart
) { ) {
const message = this.state.errors.stop const message = this.state.errors.stop
? 'An error occured while attempting to stop your service.' ? 'An error occurred while attempting to stop your service.'
: this.state.errors.start : this.state.errors.start
? 'An error occured while attempting to start your service.' ? 'An error occurred while attempting to start your service.'
: this.state.errors.restart : this.state.errors.restart
? 'An error occured while attempting to restart your service.' ? 'An error occurred while attempting to restart your service.'
: ''; : '';
renderedError = ( renderedError = (

View File

@ -67,7 +67,7 @@ class ServicesTopology extends Component {
<LayoutContainer> <LayoutContainer>
<ErrorMessage <ErrorMessage
title="Ooops!" title="Ooops!"
message="An error occured while loading your services." message="An error occurred while loading your services."
/> />
</LayoutContainer> </LayoutContainer>
); );
@ -136,11 +136,11 @@ class ServicesTopology extends Component {
this.state.errors.restart this.state.errors.restart
) { ) {
const message = this.state.errors.stop const message = this.state.errors.stop
? 'An error occured while attempting to stop your service.' ? 'An error occurred while attempting to stop your service.'
: this.state.errors.start : this.state.errors.start
? 'An error occured while attempting to start your service.' ? 'An error occurred while attempting to start your service.'
: this.state.errors.restart : this.state.errors.restart
? 'An error occured while attempting to restart your service.' ? 'An error occurred while attempting to restart your service.'
: ''; : '';
renderedError = ( renderedError = (