Spelling and grammar corrections

This commit is contained in:
Dom
2024-12-29 22:34:57 +10:00
parent ba45b27608
commit 2af8d6f565
208 changed files with 397 additions and 397 deletions

View File

@@ -65,7 +65,7 @@ export const ShowAdvancedMysql = ({ mysqlId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to Update the resources");
toast.error("Error updating the resources");
});
};
return (

View File

@@ -71,7 +71,7 @@ export const ShowMysqlResources = ({ mysqlId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to Update the resources");
toast.error("Error updating the resources");
});
};
return (

View File

@@ -144,7 +144,7 @@ export const ShowBackupMySql = ({ mysqlId }: Props) => {
})
.catch(() => {
toast.error(
"Error to Create the manual backup",
"Error creating the manual backup",
);
});
}}

View File

@@ -70,7 +70,7 @@ export const ShowMysqlEnvironment = ({ mysqlId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to add environment");
toast.error("Error adding environment");
});
};

View File

@@ -55,12 +55,12 @@ export const DeployMysql = ({ mysqlId }: Props) => {
await deploy({
mysqlId,
}).catch(() => {
toast.error("Error to deploy Database");
toast.error("Error deploying Database");
});
await refetch();
})
.catch((e) => {
toast.error(e.message || "Error to deploy Database");
toast.error(e.message || "Error deploying Database");
});
}}
>

View File

@@ -55,7 +55,7 @@ export const ResetMysql = ({ mysqlId, appName }: Props) => {
toast.success("Service Reloaded");
})
.catch(() => {
toast.error("Error to reload the service");
toast.error("Error reloading the service");
});
await refetch();
}}

View File

@@ -72,7 +72,7 @@ export const ShowExternalMysqlCredentials = ({ mysqlId }: Props) => {
await refetch();
})
.catch(() => {
toast.error("Error to save the external port");
toast.error("Error saving the external port");
});
};

View File

@@ -49,10 +49,10 @@ export const StopMysql = ({ mysqlId }: Props) => {
await utils.mysql.one.invalidate({
mysqlId,
});
toast.success("Application stopped succesfully");
toast.success("MySQL stopped successfully");
})
.catch(() => {
toast.error("Error to stop the Application");
toast.error("Error stopping MySQL");
});
}}
>

View File

@@ -49,10 +49,10 @@ export const StartMysql = ({ mysqlId }: Props) => {
await utils.mysql.one.invalidate({
mysqlId,
});
toast.success("Database started succesfully");
toast.success("Database started successfully");
})
.catch(() => {
toast.error("Error to start the Database");
toast.error("Error starting the Database");
});
}}
>

View File

@@ -75,13 +75,13 @@ export const UpdateMysql = ({ mysqlId }: Props) => {
description: formData.description || "",
})
.then(() => {
toast.success("MySQL updated succesfully");
toast.success("MySQL updated successfully");
utils.mysql.one.invalidate({
mysqlId: mysqlId,
});
})
.catch(() => {
toast.error("Error to update the MySQL");
toast.error("Error updating MySQL");
})
.finally(() => {});
};