From 589d26b4060cab2a05becf269f80ab90d782eb7b Mon Sep 17 00:00:00 2001 From: simleo Date: Thu, 1 Sep 2022 17:31:55 +0200 Subject: [PATCH] fix typos in the repository template wizard --- lifemonitor/api/models/wizards/repository_template.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lifemonitor/api/models/wizards/repository_template.py b/lifemonitor/api/models/wizards/repository_template.py index 40a92d274..274b07739 100644 --- a/lifemonitor/api/models/wizards/repository_template.py +++ b/lifemonitor/api/models/wizards/repository_template.py @@ -81,18 +81,18 @@ class RepositoryTemplateWizard(Wizard): labels = ['config'] issue = NotInitialisedRepositoryIssue - workflow_type = QuestionStep("Which type of workflow are going to host on this repository?", + workflow_type = QuestionStep("Which type of workflow are we going to host on this repository?", description="", options=valid_workflow_types) - workflow_title = QuestionStep("Choose a name for your workflow?", + workflow_title = QuestionStep("Choose a name for your workflow", when=lambda _: _.workflow_type.answer in supported_workflows) - workflow_description = QuestionStep("Type a description for your workflow?") + workflow_description = QuestionStep("Type a description for your workflow") workflow_template = UpdateStep("Repository initialisation", - description="Merge this PR to initialiase your Workflow Testing RO-Crate repository", + description="Merge this PR to initialise your Workflow Testing RO-Crate repository", callback=get_files) wizard_stop = QuestionStep("Unsupported workflow type", - description="Your chosen workflow type is no supported at the moment", + description="Your chosen workflow type is not supported at the moment", when=lambda _: _.workflow_type.answer not in supported_workflows) steps = [workflow_type, wizard_stop, workflow_title, workflow_description, workflow_template]