Skip to content

Commit

Permalink
MO-854, customize message
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesUoM committed Dec 11, 2024
1 parent 9874fcf commit 7feb6b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"confirm-success": "Okay",
"cancel-save": "Don't save",
"invalid-headline-text": "Invalid Edits",
"invalid-text": "The segments do not create a valid video. Either change or discard your edits if you wish to proceed. If you wanted to delete this video use the Opencast Admin UI. Contact an adminstrator for further help."
"invalid-text": "The segments do not create a valid video. Either change or discard your edits if you wish to proceed. Contact {{ contact }} for further help."
},

"discard": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/Save.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const Save: React.FC = () => {
return (
<>
<span css={{ maxWidth: "500px" }}>
{validSegments ? t("save.info-text") : t("save.invalid-text")}
{validSegments ? t("save.info-text") : t("save.invalid-text", { contact: settings.help.contact })}
</span>
<div css={backOrContinueStyle}>
<PageButton pageNumber={0} label={t("various.goBack-button")} Icon={LuChevronLeft} />
Expand Down
2 changes: 1 addition & 1 deletion src/main/WorkflowSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const WorkflowSelection: React.FC = () => {
return (
render(
t("save.invalid-headline-text"),
<span css={{ maxWidth: "500px" }}>{t("save.invalid-text")}</span>,
<span css={{ maxWidth: "500px" }}>{t("save.invalid-text", { contact: settings.help.contact })}</span>,
false,
<div/>,
saveStatus,
Expand Down

0 comments on commit 7feb6b8

Please sign in to comment.