From 12c263c1ce4bc103009f94042397207136a4e5e1 Mon Sep 17 00:00:00 2001 From: Michiel Crefcoeur Date: Mon, 16 Sep 2024 07:58:34 -0700 Subject: [PATCH] Corrected language for creating applications from a template The UI used the word "Deploy" while actually it's creating a new application from a template and adding it to the project. I fixed some of the language to better reflect what it does. --- .../components/dashboard/project/add-template.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/dokploy/components/dashboard/project/add-template.tsx b/apps/dokploy/components/dashboard/project/add-template.tsx index 28f85414..a9d13f6c 100644 --- a/apps/dokploy/components/dashboard/project/add-template.tsx +++ b/apps/dokploy/components/dashboard/project/add-template.tsx @@ -89,9 +89,9 @@ export const AddTemplate = ({ projectId }: Props) => {
- Create Template + Create from Template - Deploy a open source template to your project + Create an open source application from a template {isError && {error?.message}} @@ -255,7 +255,7 @@ export const AddTemplate = ({ projectId }: Props) => { @@ -264,8 +264,8 @@ export const AddTemplate = ({ projectId }: Props) => { Are you absolutely sure? - This will deploy {template.name} template to - your project. + This will create an application from the {template.name} + template and add it to your project. @@ -278,7 +278,7 @@ export const AddTemplate = ({ projectId }: Props) => { }) .then(async () => { toast.success( - `${template.name} template created succesfully`, + `Succesfully created ${template.name} application from template`, ); utils.project.one.invalidate({ @@ -288,7 +288,7 @@ export const AddTemplate = ({ projectId }: Props) => { }) .catch(() => { toast.error( - `Error to delete ${template.name} template`, + `Error creating ${template.name} application from template`, ); }); }}