Skip to content

Commit

Permalink
fix(preview): Update preview error messages (#3562)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoartaviaq authored Jun 4, 2024
1 parent 14a194f commit aff6217
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion i18n/en-US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ be.pointAnnotation = Point annotation mode
# Label for preview action.
be.preview = Preview
# Error message when Preview fails due to the files call.
be.previewError = We’re sorry, the preview didn’t load. Please refresh the page.
be.previewError = This preview didn’t load. Please try to open or download the file to view.
# Error message when Preview fails due to the files call which is blocked by an access policy.
be.previewErrorBlockedByPolicy = Your access to this content is restricted due to a security policy.
# Message when new preview is available.
Expand Down
2 changes: 1 addition & 1 deletion src/elements/common/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const messages = defineMessages({
previewError: {
id: 'be.previewError',
description: 'Error message when Preview fails due to the files call.',
defaultMessage: 'We’re sorry, the preview didn’t load. Please refresh the page.',
defaultMessage: 'This preview didn’t load. Please try to open or download the file to view.',
},
previewErrorBlockedByPolicy: {
id: 'be.previewErrorBlockedByPolicy',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`elements/content-preview/PreviewError render() should render correctly
className="bcpr-PreviewError-message"
>
<FormattedMessage
defaultMessage="We’re sorry, the preview didn’t load. Please refresh the page."
defaultMessage="This preview didn’t load. Please try to open or download the file to view."
id="be.previewError"
/>
</div>
Expand Down

0 comments on commit aff6217

Please sign in to comment.