diff --git a/src/NzbDrone.Core/ImportLists/Radarr/RadarrImport.cs b/src/NzbDrone.Core/ImportLists/Radarr/RadarrImport.cs index 9825c714b0..4b4d582f58 100644 --- a/src/NzbDrone.Core/ImportLists/Radarr/RadarrImport.cs +++ b/src/NzbDrone.Core/ImportLists/Radarr/RadarrImport.cs @@ -47,7 +47,7 @@ public override ImportListFetchResult Fetch() continue; } - if (Settings.TagIds.Any() && !Settings.TagIds.Any(x => remoteMovie.Tags.Any(y => y == x))) + if (Settings.TagIds.Any() && !Settings.TagIds.Any(tagId => remoteMovie.Tags.Any(itemTagId => itemTagId == tagId))) { continue; } diff --git a/src/NzbDrone.Core/ImportLists/Radarr/RadarrSettings.cs b/src/NzbDrone.Core/ImportLists/Radarr/RadarrSettings.cs index 6940350ebb..952fe56bec 100644 --- a/src/NzbDrone.Core/ImportLists/Radarr/RadarrSettings.cs +++ b/src/NzbDrone.Core/ImportLists/Radarr/RadarrSettings.cs @@ -27,19 +27,19 @@ public RadarrSettings() RootFolderPaths = Array.Empty(); } - [FieldDefinition(0, Label = "Full URL", HelpText = "URL, including port, of the Radarr instance to import from (Radarr 3.0 or higher)")] + [FieldDefinition(0, Label = "ImportListsRadarrSettingsFullUrl", HelpText = "ImportListsRadarrSettingsFullUrlHelpText")] public string BaseUrl { get; set; } = string.Empty; - [FieldDefinition(1, Label = "API Key", Privacy = PrivacyLevel.ApiKey, HelpText = "Apikey of the Radarr instance to import from (Radarr 3.0 or higher)")] + [FieldDefinition(1, Label = "ApiKey", Privacy = PrivacyLevel.ApiKey, HelpText = "ImportListsRadarrSettingsApiKeyHelpText")] public string ApiKey { get; set; } - [FieldDefinition(2, Type = FieldType.Select, SelectOptionsProviderAction = "getProfiles", Label = "Profiles", HelpText = "Profiles from the source instance to import from")] + [FieldDefinition(2, Type = FieldType.Select, SelectOptionsProviderAction = "getProfiles", Label = "QualityProfiles", HelpText = "ImportListsRadarrSettingsQualityProfilesHelpText")] public IEnumerable ProfileIds { get; set; } - [FieldDefinition(3, Type = FieldType.Select, SelectOptionsProviderAction = "getTags", Label = "Tags", HelpText = "Tags from the source instance to import from")] + [FieldDefinition(3, Type = FieldType.Select, SelectOptionsProviderAction = "getTags", Label = "Tags", HelpText = "ImportListsRadarrSettingsTagsHelpText")] public IEnumerable TagIds { get; set; } - [FieldDefinition(4, Type = FieldType.Select, SelectOptionsProviderAction = "getRootFolders", Label = "Root Folders", HelpText = "Root Folders from the source instance to import from")] + [FieldDefinition(4, Type = FieldType.Select, SelectOptionsProviderAction = "getRootFolders", Label = "RootFolders", HelpText = "ImportListsRadarrSettingsRootFoldersHelpText")] public IEnumerable RootFolderPaths { get; set; } public override NzbDroneValidationResult Validate() diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 06594cf015..e5df77133d 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -792,6 +792,12 @@ "ImportListStatusCheckSingleClientMessage": "Lists unavailable due to failures: {importListNames}", "ImportLists": "Import Lists", "ImportListsLoadError": "Unable to load Import Lists", + "ImportListsRadarrSettingsApiKeyHelpText": "API Key of the {appName} instance to import from (Radarr 3.0 or higher)", + "ImportListsRadarrSettingsFullUrl": "Full URL", + "ImportListsRadarrSettingsFullUrlHelpText": "URL, including port, of the {appName} instance to import from (Radarr 3.0 or higher)", + "ImportListsRadarrSettingsQualityProfilesHelpText": "Quality Profiles from the source instance to import from", + "ImportListsRadarrSettingsRootFoldersHelpText": "Root Folders from the source instance to import from", + "ImportListsRadarrSettingsTagsHelpText": "Tags from the source instance to import from", "ImportListsSettingsSummary": "Import from another {appName} instance or Trakt lists and manage list exclusions", "ImportListsTraktSettingsAdditionalParameters": "Additional Parameters", "ImportListsTraktSettingsAdditionalParametersHelpText": "Additional Trakt API parameters",