mirror of
https://github.com/yldio/copilot.git
synced 2024-12-29 05:10:05 +02:00
fix(cp-frontend): Fix error message typos
This commit is contained in:
parent
2fb4a77c96
commit
24bee629e8
@ -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>
|
||||
|
@ -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>
|
||||
);
|
||||
|
@ -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>
|
||||
);
|
||||
|
@ -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>
|
||||
);
|
||||
|
@ -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't have the initial manifest."
|
||||
message="Since this Deployment Group was imported, it doesn't have the initial manifest."
|
||||
/>
|
||||
: null;
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 = (
|
||||
|
@ -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 = (
|
||||
|
Loading…
Reference in New Issue
Block a user