From 03df9b7f07a7ce5447444c85b8aaba6cc4b9f40b Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 11 Nov 2023 18:43:41 +0200 Subject: [PATCH] Add troubleshooting link when movie searches fail --- frontend/src/AddMovie/AddNewMovie/AddNewMovie.js | 8 +++++++- src/NzbDrone.Core/Localization/Core/en.json | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/AddMovie/AddNewMovie/AddNewMovie.js b/frontend/src/AddMovie/AddNewMovie/AddNewMovie.js index f1408995d..29bdaa313 100644 --- a/frontend/src/AddMovie/AddNewMovie/AddNewMovie.js +++ b/frontend/src/AddMovie/AddNewMovie/AddNewMovie.js @@ -1,5 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import Alert from 'Components/Alert'; import TextInput from 'Components/Form/TextInput'; import Icon from 'Components/Icon'; import Button from 'Components/Link/Button'; @@ -130,7 +131,12 @@ class AddNewMovie extends Component {
{translate('FailedLoadingSearchResults')}
-
{getErrorMessage(error)}
+ {getErrorMessage(error)} +
+ + {translate('WhySearchesCouldBeFailing')} + +
: null } diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 267c518fe..15b4a403d 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -1327,6 +1327,7 @@ "WhatsNew": "What's new?", "WhitelistedHardcodedSubsHelpText": "Subtitle tags set here will not be considered hardcoded", "WhitelistedSubtitleTags": "Whitelisted Subtitle Tags", + "WhySearchesCouldBeFailing": "Click here to find out why searches could be failing", "Wiki": "Wiki", "WouldYouLikeToRestoreBackup": "Would you like to restore the backup '{name}'?", "Year": "Year",