diff --git a/frontend/src/Components/Page/ErrorPage.js b/frontend/src/Components/Page/ErrorPage.js index ae9df30de..77bed6a31 100644 --- a/frontend/src/Components/Page/ErrorPage.js +++ b/frontend/src/Components/Page/ErrorPage.js @@ -7,10 +7,11 @@ function ErrorPage(props) { const { version, isLocalStorageSupported, - moviesError, + indexersError, + indexerStatusError, + indexerCategoriesError, customFiltersError, tagsError, - qualityProfilesError, languagesError, uiSettingsError, systemStatusError @@ -20,14 +21,16 @@ function ErrorPage(props) { if (!isLocalStorageSupported) { errorMessage = 'Local Storage is not supported or disabled. A plugin or private browsing may have disabled it.'; - } else if (moviesError) { - errorMessage = getErrorMessage(moviesError, 'Failed to load movie from API'); + } else if (indexersError) { + errorMessage = getErrorMessage(indexersError, 'Failed to load indexers from API'); + } else if (indexerStatusError) { + errorMessage = getErrorMessage(indexerStatusError, 'Failed to load indexers from API'); + } else if (indexersError) { + errorMessage = getErrorMessage(indexerCategoriesError, 'Failed to load indexers from API'); } else if (customFiltersError) { errorMessage = getErrorMessage(customFiltersError, 'Failed to load custom filters from API'); } else if (tagsError) { errorMessage = getErrorMessage(tagsError, 'Failed to load tags from API'); - } else if (qualityProfilesError) { - errorMessage = getErrorMessage(qualityProfilesError, 'Failed to load quality profiles from API'); } else if (languagesError) { errorMessage = getErrorMessage(languagesError, 'Failed to load languages from API'); } else if (uiSettingsError) { @@ -52,10 +55,11 @@ function ErrorPage(props) { ErrorPage.propTypes = { version: PropTypes.string.isRequired, isLocalStorageSupported: PropTypes.bool.isRequired, - moviesError: PropTypes.object, + indexersError: PropTypes.object, + indexerStatusError: PropTypes.object, + indexerCategoriesError: PropTypes.object, customFiltersError: PropTypes.object, tagsError: PropTypes.object, - qualityProfilesError: PropTypes.object, languagesError: PropTypes.object, uiSettingsError: PropTypes.object, systemStatusError: PropTypes.object diff --git a/frontend/src/Indexer/Index/IndexerIndex.js b/frontend/src/Indexer/Index/IndexerIndex.js index 06cf2300f..c9479f220 100644 --- a/frontend/src/Indexer/Index/IndexerIndex.js +++ b/frontend/src/Indexer/Index/IndexerIndex.js @@ -397,7 +397,7 @@ class IndexerIndex extends Component { { !isFetching && !!error &&
- {getErrorMessage(error, 'Failed to load movie from API')} + {getErrorMessage(error, 'Failed to load indexers from API')}
} diff --git a/frontend/src/Search/SearchIndex.js b/frontend/src/Search/SearchIndex.js index ff460f910..166cfb2f9 100644 --- a/frontend/src/Search/SearchIndex.js +++ b/frontend/src/Search/SearchIndex.js @@ -248,7 +248,7 @@ class SearchIndex extends Component { { !isFetching && !!error &&
- {getErrorMessage(error, 'Failed to load movie from API')} + {getErrorMessage(error, 'Failed to load search results from API')}
} diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index c3b3d1d79..27850c080 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -18,7 +18,7 @@ "ApplicationStatusCheckSingleClientMessage": "Applications unavailable due to failures: {0}", "Apply": "Apply", "ApplyTags": "Apply Tags", - "ApplyTagsHelpTexts1": "How to apply tags to the selected movies", + "ApplyTagsHelpTexts1": "How to apply tags to the selected indexers", "ApplyTagsHelpTexts2": "Add: Add the tags the existing list of tags", "ApplyTagsHelpTexts3": "Remove: Remove the entered tags", "ApplyTagsHelpTexts4": "Replace: Replace the tags with the entered tags (enter no tags to clear all tags)",