Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Workflow Error #1028

Merged
merged 1 commit into from
Apr 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
lkiesow committed Apr 5, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 5f97e232dde10b40a2d1201ba121dd1fa2873205
2 changes: 1 addition & 1 deletion src/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -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",
4 changes: 2 additions & 2 deletions src/main/WorkflowSelection.tsx
Original file line number Diff line number Diff line change
@@ -110,8 +110,8 @@ const WorkflowSelection : React.FC<{}> = () => {
render(
t("workflowSelection.saveAndProcess-text"),
<Trans i18nKey="workflowSelection.noWorkflows-text">
A problem occurred, there are no workflows to process your changes with.<br />
Please save your changes and contact an Opencast Administrator.
There are no workflows to process your changes with.<br />
Please save your changes and contact an administrator.
</Trans>,
false,
<SaveButton />,