1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00

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}>
<ModalErrorMessage
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}
/>
</Modal>

View File

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

View File

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

View File

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

View File

@ -40,7 +40,7 @@ const Manifest = ({
{_title}
<ErrorMessage
title="Ooops!"
message="An error occured while loading your deployment group."
message="An error occurred while loading your deployment group."
/>
</LayoutContainer>
);
@ -50,7 +50,7 @@ const Manifest = ({
deploymentGroup && deploymentGroup.imported && !manifest
? <WarningMessage
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;

View File

@ -38,7 +38,7 @@ class ServiceDelete extends Component {
<Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage
title='Ooops!'
message='An error occured while loading your service.'
message='An error occurred while loading your service.'
onCloseClick={handleCloseClick}
/>
</Modal>
@ -52,7 +52,7 @@ class ServiceDelete extends Component {
<Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage
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}
/>
</Modal>

View File

@ -39,7 +39,7 @@ class ServiceScale extends Component {
<Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage
title='Ooops!'
message='An error occured while loading your service.'
message='An error occurred while loading your service.'
onCloseClick={handleCloseClick}
/>
</Modal>
@ -53,7 +53,7 @@ class ServiceScale extends Component {
<Modal width={460} onCloseClick={handleCloseClick}>
<ModalErrorMessage
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}
/>
</Modal>

View File

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

View File

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