From 5f97e232dde10b40a2d1201ba121dd1fa2873205 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Wed, 5 Apr 2023 17:12:28 +0200 Subject: [PATCH] No Workflow Error This patch updates the error message users get if there are no workflows usable by the editor. It sounded a bit weird and I didn't quite agree with the grammar :D --- src/i18n/locales/en-US.json | 2 +- src/main/WorkflowSelection.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 4514a5dd6..8cce33658 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json @@ -76,7 +76,7 @@ "workflowSelection": { "saveAndProcess-text": "Save and Process", "selectWF-text": "Select a workflow", - "noWorkflows-text": "A problem occurred, there are no workflows to process your changes with.<3/> Please save your changes and contact an Opencast Administrator.\n", + "noWorkflows-text": "There are no workflows to process your changes with. Please save your changes and contact an administrator.\n", "oneWorkflow-text": "The video will be cut and processed with the workflow \"{{workflow}}\". <3/> This will take some time.\n", "manyWorkflows-text": "Select which workflow Opencast should use for processing.", "startProcessing-button": "Start processing", diff --git a/src/main/WorkflowSelection.tsx b/src/main/WorkflowSelection.tsx index e73c815ff..195d3c4bd 100644 --- a/src/main/WorkflowSelection.tsx +++ b/src/main/WorkflowSelection.tsx @@ -110,8 +110,8 @@ const WorkflowSelection : React.FC<{}> = () => { render( t("workflowSelection.saveAndProcess-text"), - A problem occurred, there are no workflows to process your changes with.
- Please save your changes and contact an Opencast Administrator. + There are no workflows to process your changes with.
+ Please save your changes and contact an administrator.
, false, ,