diff --git a/public/locales/en/collection.json b/public/locales/en/collection.json index 87fb0b666..7f143849d 100644 --- a/public/locales/en/collection.json +++ b/public/locales/en/collection.json @@ -4,6 +4,7 @@ "anonymous": "This collection currently has no datasets. Please <1>log in to see if you are able to add to it." }, "publish": { + "title": "Publish Collection", "button": "Publish", "question": "Are you sure you want to publish your collection? Once you do so it must remain published.", "error": "There was an error publishing your collection." diff --git a/src/sections/collection/publish-collection/PublishCollectionModal.tsx b/src/sections/collection/publish-collection/PublishCollectionModal.tsx index 1c6e2ae16..09ee47662 100644 --- a/src/sections/collection/publish-collection/PublishCollectionModal.tsx +++ b/src/sections/collection/publish-collection/PublishCollectionModal.tsx @@ -39,25 +39,25 @@ export function PublishCollectionModal({ } return ( - + - Publish Collection + {tCollection('title')}

{tCollection('publish.question')}

- - {submissionStatus === SubmissionStatus.Errored && - `${tCollection('publish.error')} ${publishError ? publishError : ''}`} - + {submissionStatus === SubmissionStatus.Errored && ( +

+ `${tCollection('publish.error')} ${publishError ? publishError : ''}` +

+ )}