mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: SemiPublic => SemiPrivate
This commit is contained in:
@@ -62,8 +62,8 @@ const privacyLevels = [
|
|||||||
value: translate('Private')
|
value: translate('Private')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'semiPublic',
|
key: 'semiPrivate',
|
||||||
value: translate('SemiPublic')
|
value: translate('SemiPrivate')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'public',
|
key: 'public',
|
||||||
|
@@ -30,7 +30,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
public override string Language => "ru-RU";
|
public override string Language => "ru-RU";
|
||||||
public override Encoding Encoding => Encoding.UTF8;
|
public override Encoding Encoding => Encoding.UTF8;
|
||||||
public override DownloadProtocol Protocol => DownloadProtocol.Torrent;
|
public override DownloadProtocol Protocol => DownloadProtocol.Torrent;
|
||||||
public override IndexerPrivacy Privacy => IndexerPrivacy.SemiPublic;
|
public override IndexerPrivacy Privacy => IndexerPrivacy.SemiPrivate;
|
||||||
public override IndexerCapabilities Capabilities => SetCapabilities();
|
public override IndexerCapabilities Capabilities => SetCapabilities();
|
||||||
|
|
||||||
public Anidub(IIndexerHttpClient httpClient, IEventAggregator eventAggregator, IIndexerStatusService indexerStatusService, IConfigService configService, Logger logger)
|
public Anidub(IIndexerHttpClient httpClient, IEventAggregator eventAggregator, IIndexerStatusService indexerStatusService, IConfigService configService, Logger logger)
|
||||||
|
@@ -132,7 +132,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
|||||||
{
|
{
|
||||||
"private" => IndexerPrivacy.Private,
|
"private" => IndexerPrivacy.Private,
|
||||||
"public" => IndexerPrivacy.Public,
|
"public" => IndexerPrivacy.Public,
|
||||||
_ => IndexerPrivacy.SemiPublic
|
_ => IndexerPrivacy.SemiPrivate
|
||||||
},
|
},
|
||||||
SupportsRss = SupportsRss,
|
SupportsRss = SupportsRss,
|
||||||
SupportsSearch = SupportsSearch,
|
SupportsSearch = SupportsSearch,
|
||||||
|
@@ -98,7 +98,7 @@ namespace NzbDrone.Core.Indexers
|
|||||||
{
|
{
|
||||||
"private" => IndexerPrivacy.Private,
|
"private" => IndexerPrivacy.Private,
|
||||||
"public" => IndexerPrivacy.Public,
|
"public" => IndexerPrivacy.Public,
|
||||||
_ => IndexerPrivacy.SemiPublic
|
_ => IndexerPrivacy.SemiPrivate
|
||||||
};
|
};
|
||||||
definition.Capabilities = new IndexerCapabilities();
|
definition.Capabilities = new IndexerCapabilities();
|
||||||
definition.Capabilities.ParseCardigannSearchModes(defFile.Caps.Modes);
|
definition.Capabilities.ParseCardigannSearchModes(defFile.Caps.Modes);
|
||||||
|
@@ -3,7 +3,7 @@ namespace NzbDrone.Core.Indexers
|
|||||||
public enum IndexerPrivacy
|
public enum IndexerPrivacy
|
||||||
{
|
{
|
||||||
Public,
|
Public,
|
||||||
SemiPublic,
|
SemiPrivate,
|
||||||
Private
|
Private
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -342,7 +342,7 @@
|
|||||||
"Security": "Security",
|
"Security": "Security",
|
||||||
"Seeders": "Seeders",
|
"Seeders": "Seeders",
|
||||||
"SelectAll": "Select All",
|
"SelectAll": "Select All",
|
||||||
"SemiPublic": "Semi-Public",
|
"SemiPrivate": "Semi-Private",
|
||||||
"SendAnonymousUsageData": "Send Anonymous Usage Data",
|
"SendAnonymousUsageData": "Send Anonymous Usage Data",
|
||||||
"SetTags": "Set Tags",
|
"SetTags": "Set Tags",
|
||||||
"Settings": "Settings",
|
"Settings": "Settings",
|
||||||
|
Reference in New Issue
Block a user