Change video info fetch error message

This commit is contained in:
Ajay Ramachandran
2021-05-16 17:31:58 -04:00
parent 257098fd96
commit fbcff7f4c4
2 changed files with 3 additions and 3 deletions

View File

@@ -591,8 +591,8 @@
"channelDataNotFound": { "channelDataNotFound": {
"message": "Channel ID not loaded yet." "message": "Channel ID not loaded yet."
}, },
"adblockerIssue": { "videoInfoFetchFailed": {
"message": "It seems that something is blocking SponsorBlock's ability to get video data. This is probably your ad blocker. Please check https://github.com/ajayyy/SponsorBlock/wiki/Fix-Ad-Blocker-Blocking-SponsorBlock's-Requests" "message": "It seems that something is blocking SponsorBlock's ability to get video data. Please see https://github.com/ajayyy/SponsorBlock/issues/741 for more info."
}, },
"youtubePermissionRequest": { "youtubePermissionRequest": {
"message": "It seems that SponsorBlock is unable to reach the YouTube API. To fix this, accept the permission prompt that will appear next, wait a few seconds, and then reload the page." "message": "It seems that SponsorBlock is unable to reach the YouTube API. To fix this, accept the permission prompt that will appear next, wait a few seconds, and then reload the page."

View File

@@ -742,7 +742,7 @@ async function videoInfoFetchFailed(errorMessage: string): Promise<void> {
url: "permissions/index.html#youtube.com" url: "permissions/index.html#youtube.com"
}); });
} else { } else {
alert(chrome.i18n.getMessage("adblockerIssue") + "\n\n" + chrome.i18n.getMessage(errorMessage)); alert(chrome.i18n.getMessage("videoInfoFetchFailed") + "\n\n" + chrome.i18n.getMessage(errorMessage));
} }
} }