Merge pull request #1019 from jocubeit/canary

Spelling and grammar corrections
This commit is contained in:
Mauricio Siu
2024-12-29 13:52:31 -06:00
committed by GitHub
208 changed files with 397 additions and 397 deletions
@@ -106,14 +106,14 @@ export default async function handler(
},
);
} catch (error) {
res.status(400).json({ message: "Error To Deploy Application", error });
res.status(400).json({ message: "Error deploying Application", error });
return;
}
res.status(200).json({ message: "App Deployed Succesfully" });
res.status(200).json({ message: "Application deployed successfully" });
} catch (error) {
console.log(error);
res.status(400).json({ message: "Error To Deploy Application", error });
res.status(400).json({ message: "Error deploying Application", error });
}
}
@@ -82,13 +82,13 @@ export default async function handler(
},
);
} catch (error) {
res.status(400).json({ message: "Error To Deploy Compose", error });
res.status(400).json({ message: "Error deploying Compose", error });
return;
}
res.status(200).json({ message: "Compose Deployed Succesfully" });
res.status(200).json({ message: "Compose deployed successfully" });
} catch (error) {
console.log(error);
res.status(400).json({ message: "Error To Deploy Compose", error });
res.status(400).json({ message: "Error deploying Compose", error });
}
}
+1 -1
View File
@@ -159,7 +159,7 @@ export default async function handler(
}
res.status(200).json({ message: `Deployed ${totalApps} apps` });
} catch (error) {
res.status(400).json({ message: "Error To Deploy Application", error });
res.status(400).json({ message: "Error deploying Application", error });
}
} else if (req.headers["x-github-event"] === "pull_request") {
const prId = githubBody?.pull_request?.id;
@@ -2,7 +2,7 @@ import { AddApplication } from "@/components/dashboard/project/add-application";
import { AddCompose } from "@/components/dashboard/project/add-compose";
import { AddDatabase } from "@/components/dashboard/project/add-database";
import { AddTemplate } from "@/components/dashboard/project/add-template";
import { ProjectEnviroment } from "@/components/dashboard/projects/project-enviroment";
import { ProjectEnvironment } from "@/components/dashboard/projects/project-environment";
import {
MariadbIcon,
MongodbIcon,
@@ -204,9 +204,9 @@ const Project = (
{(auth?.rol === "admin" || user?.canCreateServices) && (
<div className="flex flex-row gap-4 flex-wrap">
<ProjectEnviroment projectId={projectId}>
<Button variant="outline">Project Enviroment</Button>
</ProjectEnviroment>
<ProjectEnvironment projectId={projectId}>
<Button variant="outline">Project Environment</Button>
</ProjectEnvironment>
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button>
@@ -3,7 +3,7 @@ import { ShowVolumesCompose } from "@/components/dashboard/compose/advanced/show
import { DeleteCompose } from "@/components/dashboard/compose/delete-compose";
import { ShowDeploymentsCompose } from "@/components/dashboard/compose/deployments/show-deployments-compose";
import { ShowDomainsCompose } from "@/components/dashboard/compose/domains/show-domains";
import { ShowEnvironmentCompose } from "@/components/dashboard/compose/enviroment/show";
import { ShowEnvironmentCompose } from "@/components/dashboard/compose/environment/show";
import { ShowGeneralCompose } from "@/components/dashboard/compose/general/show";
import { ShowDockerLogsCompose } from "@/components/dashboard/compose/logs/show";
import { ShowDockerLogsStack } from "@/components/dashboard/compose/logs/show-stack";
+1 -1
View File
@@ -88,7 +88,7 @@ export default function Home({ IS_CLOUD }: Props) {
if (data.is2FAEnabled) {
setTemp(data);
} else {
toast.success("Signin succesfully", {
toast.success("Successfully signed in", {
duration: 2000,
});
router.push("/dashboard/projects");
+1 -1
View File
@@ -113,7 +113,7 @@ const Invitation = ({ token, invitation, isCloud }: Props) => {
token: token,
})
.then(() => {
toast.success("User registration succesfuly", {
toast.success("User registered successfuly", {
description:
"Please check your inbox or spam folder to confirm your account.",
duration: 100000,
+2 -2
View File
@@ -95,7 +95,7 @@ const Register = ({ isCloud }: Props) => {
password: values.password,
})
.then(() => {
toast.success("User registration succesfuly", {
toast.success("User registered successfuly", {
duration: 2000,
});
if (!isCloud) {
@@ -137,7 +137,7 @@ const Register = ({ isCloud }: Props) => {
{data?.type === "cloud" && (
<AlertBlock type="success" className="mx-4 my-2">
<span>
Registration succesfuly, Please check your inbox or spam
Registered successfully, please check your inbox or spam
folder to confirm your account.
</span>
</AlertBlock>
+2 -2
View File
@@ -83,13 +83,13 @@ export default function Home({ token }: Props) {
password: values.password,
})
.then((data) => {
toast.success("Password reset succesfully", {
toast.success("Password reset successfully", {
duration: 2000,
});
router.push("/");
})
.catch(() => {
toast.error("Error to reset password", {
toast.error("Error resetting password", {
duration: 2000,
});
});
+1 -1
View File
@@ -76,7 +76,7 @@ export default function Home() {
});
})
.catch(() => {
toast.error("Error to send email", {
toast.error("Error sending email", {
duration: 2000,
});
});