mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-15 21:14:32 +01:00
Fixed: SemiPublic => SemiPrivate
This commit is contained in:
parent
c5b111530c
commit
66a6311dcc
6 changed files with 7 additions and 7 deletions
|
|
@ -62,8 +62,8 @@ const privacyLevels = [
|
|||
value: translate('Private')
|
||||
},
|
||||
{
|
||||
key: 'semiPublic',
|
||||
value: translate('SemiPublic')
|
||||
key: 'semiPrivate',
|
||||
value: translate('SemiPrivate')
|
||||
},
|
||||
{
|
||||
key: 'public',
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public class Anidub : TorrentIndexerBase<AnidubSettings>
|
|||
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)
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ private IndexerDefinition GetDefinition(CardigannMetaDefinition definition)
|
|||
{
|
||||
"private" => IndexerPrivacy.Private,
|
||||
"public" => IndexerPrivacy.Public,
|
||||
_ => IndexerPrivacy.SemiPublic
|
||||
_ => IndexerPrivacy.SemiPrivate
|
||||
},
|
||||
SupportsRss = SupportsRss,
|
||||
SupportsSearch = SupportsSearch,
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ private void MapCardigannDefinition(IndexerDefinition definition)
|
|||
{
|
||||
"private" => IndexerPrivacy.Private,
|
||||
"public" => IndexerPrivacy.Public,
|
||||
_ => IndexerPrivacy.SemiPublic
|
||||
_ => IndexerPrivacy.SemiPrivate
|
||||
};
|
||||
definition.Capabilities = new IndexerCapabilities();
|
||||
definition.Capabilities.ParseCardigannSearchModes(defFile.Caps.Modes);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace NzbDrone.Core.Indexers
|
|||
public enum IndexerPrivacy
|
||||
{
|
||||
Public,
|
||||
SemiPublic,
|
||||
SemiPrivate,
|
||||
Private
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue