diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-02 00:16:29 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-02 00:16:29 -0500 |
| commit | 0d8636d859cef5d0be4a723402926f05499210d7 (patch) | |
| tree | 3de2354d334a690caf1e851cddad7a9d3349ca69 /MediaBrowser.Server.Implementations/Notifications | |
| parent | 3d22c486700f63034f6735bc6cf3efb2ad18af22 (diff) | |
update image magick sharp
Diffstat (limited to 'MediaBrowser.Server.Implementations/Notifications')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Notifications/CoreNotificationTypes.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Notifications/CoreNotificationTypes.cs b/MediaBrowser.Server.Implementations/Notifications/CoreNotificationTypes.cs index d8acbe06c..a33fe2147 100644 --- a/MediaBrowser.Server.Implementations/Notifications/CoreNotificationTypes.cs +++ b/MediaBrowser.Server.Implementations/Notifications/CoreNotificationTypes.cs @@ -143,6 +143,13 @@ namespace MediaBrowser.Server.Implementations.Notifications Type = NotificationType.CameraImageUploaded.ToString(), DefaultTitle = "A new camera image has been uploaded from {DeviceName}.", Variables = new List<string>{"DeviceName"} + }, + + new NotificationTypeInfo + { + Type = NotificationType.UserLockedOut.ToString(), + DefaultTitle = "{UserName} has been locked out.", + Variables = new List<string>{"UserName"} } }; @@ -185,6 +192,10 @@ namespace MediaBrowser.Server.Implementations.Notifications { note.Category = _localization.GetLocalizedString("CategorySync"); } + else if (note.Type.IndexOf("UserLockedOut", StringComparison.OrdinalIgnoreCase) != -1) + { + note.Category = _localization.GetLocalizedString("CategoryUser"); + } else { note.Category = _localization.GetLocalizedString("CategorySystem"); |
