Add newbie warning for AvistaZ's API use

pull/2235/head
Bogdan 4 months ago
parent c017a3cd7e
commit d53fec7e75

@ -27,16 +27,16 @@ namespace NzbDrone.Core.Indexers.Definitions.Avistaz
public string Token { get; set; } public string Token { get; set; }
[FieldDefinition(2, Label = "Username", HelpText = "Site Username", Privacy = PrivacyLevel.UserName)] [FieldDefinition(2, Label = "Username", HelpText = "IndexerAvistazSettingsUsernameHelpText", HelpTextWarning = "IndexerAvistazSettingsUsernameHelpTextWarning", Privacy = PrivacyLevel.UserName)]
public string Username { get; set; } public string Username { get; set; }
[FieldDefinition(3, Label = "Password", HelpText = "Site Password", Privacy = PrivacyLevel.Password, Type = FieldType.Password)] [FieldDefinition(3, Label = "Password", HelpText = "IndexerAvistazSettingsPasswordHelpText", Privacy = PrivacyLevel.Password, Type = FieldType.Password)]
public string Password { get; set; } public string Password { get; set; }
[FieldDefinition(4, Label = "PID", HelpText = "PID from My Account or My Profile page", Privacy = PrivacyLevel.Password, Type = FieldType.Password)] [FieldDefinition(4, Label = "PID", HelpText = "IndexerAvistazSettingsPidHelpText", Privacy = PrivacyLevel.Password, Type = FieldType.Password)]
public string Pid { get; set; } public string Pid { get; set; }
[FieldDefinition(5, Label = "Freeleech Only", Type = FieldType.Checkbox, HelpText = "Search freeleech only")] [FieldDefinition(5, Label = "IndexerSettingsFreeleechOnly", Type = FieldType.Checkbox, HelpText = "IndexerAvistazSettingsFreeleechOnlyHelpText")]
public bool FreeleechOnly { get; set; } public bool FreeleechOnly { get; set; }
public override NzbDroneValidationResult Validate() public override NzbDroneValidationResult Validate()

@ -320,6 +320,11 @@
"IndexerAlphaRatioSettingsFreeleechOnlyHelpText": "Search freeleech releases only", "IndexerAlphaRatioSettingsFreeleechOnlyHelpText": "Search freeleech releases only",
"IndexerAlreadySetup": "At least one instance of indexer is already setup", "IndexerAlreadySetup": "At least one instance of indexer is already setup",
"IndexerAuth": "Indexer Auth", "IndexerAuth": "Indexer Auth",
"IndexerAvistazSettingsFreeleechOnlyHelpText": "Search freeleech releases only",
"IndexerAvistazSettingsPasswordHelpText": "Site Password",
"IndexerAvistazSettingsPidHelpText": "PID from My Account or My Profile page",
"IndexerAvistazSettingsUsernameHelpText": "Site Username",
"IndexerAvistazSettingsUsernameHelpTextWarning": "Only member rank and above can use the API on this indexer.",
"IndexerBeyondHDSettingsApiKeyHelpText": "API Key from the Site (Found in My Security => API Key)", "IndexerBeyondHDSettingsApiKeyHelpText": "API Key from the Site (Found in My Security => API Key)",
"IndexerBeyondHDSettingsFreeleechOnlyHelpText": "Search freeleech releases only", "IndexerBeyondHDSettingsFreeleechOnlyHelpText": "Search freeleech releases only",
"IndexerBeyondHDSettingsLimitedOnly": "Limited Only", "IndexerBeyondHDSettingsLimitedOnly": "Limited Only",

Loading…
Cancel
Save