From 66a6311dcc8d69aef6cecfcbd4c72b74546619d6 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Thu, 30 Dec 2021 21:44:59 -0600 Subject: [PATCH] Fixed: SemiPublic => SemiPrivate --- frontend/src/Indexer/Add/AddIndexerModalContent.js | 4 ++-- src/NzbDrone.Core/Indexers/Definitions/Anidub.cs | 2 +- src/NzbDrone.Core/Indexers/Definitions/Cardigann/Cardigann.cs | 2 +- src/NzbDrone.Core/Indexers/IndexerFactory.cs | 2 +- src/NzbDrone.Core/Indexers/IndexerPrivacy.cs | 2 +- src/NzbDrone.Core/Localization/Core/en.json | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/Indexer/Add/AddIndexerModalContent.js b/frontend/src/Indexer/Add/AddIndexerModalContent.js index ddc7e4a3a..5255a4e7c 100644 --- a/frontend/src/Indexer/Add/AddIndexerModalContent.js +++ b/frontend/src/Indexer/Add/AddIndexerModalContent.js @@ -62,8 +62,8 @@ const privacyLevels = [ value: translate('Private') }, { - key: 'semiPublic', - value: translate('SemiPublic') + key: 'semiPrivate', + value: translate('SemiPrivate') }, { key: 'public', diff --git a/src/NzbDrone.Core/Indexers/Definitions/Anidub.cs b/src/NzbDrone.Core/Indexers/Definitions/Anidub.cs index d656f9ce4..6e1fe3ead 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Anidub.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Anidub.cs @@ -30,7 +30,7 @@ namespace NzbDrone.Core.Indexers.Definitions public override string Language => "ru-RU"; public override Encoding Encoding => Encoding.UTF8; public override DownloadProtocol Protocol => DownloadProtocol.Torrent; - public override IndexerPrivacy Privacy => IndexerPrivacy.SemiPublic; + public override IndexerPrivacy Privacy => IndexerPrivacy.SemiPrivate; public override IndexerCapabilities Capabilities => SetCapabilities(); public Anidub(IIndexerHttpClient httpClient, IEventAggregator eventAggregator, IIndexerStatusService indexerStatusService, IConfigService configService, Logger logger) diff --git a/src/NzbDrone.Core/Indexers/Definitions/Cardigann/Cardigann.cs b/src/NzbDrone.Core/Indexers/Definitions/Cardigann/Cardigann.cs index 75435c570..9012983f1 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Cardigann/Cardigann.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Cardigann/Cardigann.cs @@ -132,7 +132,7 @@ namespace NzbDrone.Core.Indexers.Cardigann { "private" => IndexerPrivacy.Private, "public" => IndexerPrivacy.Public, - _ => IndexerPrivacy.SemiPublic + _ => IndexerPrivacy.SemiPrivate }, SupportsRss = SupportsRss, SupportsSearch = SupportsSearch, diff --git a/src/NzbDrone.Core/Indexers/IndexerFactory.cs b/src/NzbDrone.Core/Indexers/IndexerFactory.cs index 7a583c6a6..be4fd0af5 100644 --- a/src/NzbDrone.Core/Indexers/IndexerFactory.cs +++ b/src/NzbDrone.Core/Indexers/IndexerFactory.cs @@ -98,7 +98,7 @@ namespace NzbDrone.Core.Indexers { "private" => IndexerPrivacy.Private, "public" => IndexerPrivacy.Public, - _ => IndexerPrivacy.SemiPublic + _ => IndexerPrivacy.SemiPrivate }; definition.Capabilities = new IndexerCapabilities(); definition.Capabilities.ParseCardigannSearchModes(defFile.Caps.Modes); diff --git a/src/NzbDrone.Core/Indexers/IndexerPrivacy.cs b/src/NzbDrone.Core/Indexers/IndexerPrivacy.cs index 0e467063e..bebaa3690 100644 --- a/src/NzbDrone.Core/Indexers/IndexerPrivacy.cs +++ b/src/NzbDrone.Core/Indexers/IndexerPrivacy.cs @@ -3,7 +3,7 @@ namespace NzbDrone.Core.Indexers public enum IndexerPrivacy { Public, - SemiPublic, + SemiPrivate, Private } } diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 1f07a2501..f5f39d2e3 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -342,7 +342,7 @@ "Security": "Security", "Seeders": "Seeders", "SelectAll": "Select All", - "SemiPublic": "Semi-Public", + "SemiPrivate": "Semi-Private", "SendAnonymousUsageData": "Send Anonymous Usage Data", "SetTags": "Set Tags", "Settings": "Settings",