1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

Translate Notifications settings

(cherry picked from commit 8f7f23c9380036e87669fa663e846321cf7ebf87)

Closes #9550
This commit is contained in:
Stevie Robinson
2024-01-03 21:41:16 +01:00
committed by Bogdan
parent 74cfc94b4c
commit e60eed49c7
52 changed files with 455 additions and 194 deletions
@@ -17,10 +17,10 @@ namespace NzbDrone.Core.Notifications.Simplepush
{
private static readonly SimplepushSettingsValidator Validator = new SimplepushSettingsValidator();
[FieldDefinition(0, Label = "Key", Privacy = PrivacyLevel.ApiKey, HelpLink = "https://simplepush.io/features")]
[FieldDefinition(0, Label = "NotificationsSimplepushSettingsKey", Privacy = PrivacyLevel.ApiKey, HelpLink = "https://simplepush.io/features")]
public string Key { get; set; }
[FieldDefinition(1, Label = "Event", HelpText = "Customize the behavior of push notifications", HelpLink = "https://simplepush.io/features")]
[FieldDefinition(1, Label = "NotificationsSimplepushSettingsEvent", HelpText = "NotificationsSimplepushSettingsEventHelpText", HelpLink = "https://simplepush.io/features")]
public string Event { get; set; }
public bool IsValid => !string.IsNullOrWhiteSpace(Key);