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

fix(SUP-45003): [IKEA Ingka] - past scheduled embedded entries will show a wrong error message for V7 player #970

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion src/components/error-overlay/error-message-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ const errorsMap: Map<number, ErrorDetails> = new Map<number, ErrorDetails>([
/** KS RESTRICTION */
[14, {title: 'media_unavailable_error_title', message: 'media_unavailable_error_message'}],
/** IP RESTRICTION */
[15, {title: 'media_unavailable_error_title', message: 'ip_restricted_error_message'}]
[15, {title: 'media_unavailable_error_title', message: 'ip_restricted_error_message'}],
/** SITE RESTRICTION */
[16, {title: 'media_unavailable_error_title', message: 'site_restricted_error_message'}],
/** SCHEDULED RESTRICTION */
[17, {title: 'media_unavailable_error_title', message: 'scheduled_restricted_error_message'}]
]);

const defaultError: ErrorDetails = {
Expand Down
2 changes: 2 additions & 0 deletions translations/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
"geo_location_error_title": "Geo location unavailable",
"geo_location_error_message": "This content is unavailable in your region.",
"ip_restricted_error_message": "This media has been restricted to certain IP addresses.",
"site_restricted_error_message": "This content is unavailable in this domain.",
"scheduled_restricted_error_message": "This content is currently unavailable.",
"default_session_text": "Copy for customer care: session ID",
"retry": "Try again"
},
Expand Down
Loading