diff --git a/src/Ombi.I18n/Resources/Texts.Designer.cs b/src/Ombi.I18n/Resources/Texts.Designer.cs index 2f589c022..22991cf96 100644 --- a/src/Ombi.I18n/Resources/Texts.Designer.cs +++ b/src/Ombi.I18n/Resources/Texts.Designer.cs @@ -60,6 +60,15 @@ namespace Ombi.I18n.Resources { } } + /// + /// Looks up a localized string similar to Album. + /// + public static string Album { + get { + return ResourceManager.GetString("Album", resourceCulture); + } + } + /// /// Looks up a localized string similar to Type:. /// @@ -87,6 +96,15 @@ namespace Ombi.I18n.Resources { } } + /// + /// Looks up a localized string similar to Movie. + /// + public static string Movie { + get { + return ResourceManager.GetString("Movie", resourceCulture); + } + } + /// /// Looks up a localized string similar to New Albums. /// @@ -132,6 +150,15 @@ namespace Ombi.I18n.Resources { } } + /// + /// Looks up a localized string similar to TV Show. + /// + public static string TvShow { + get { + return ResourceManager.GetString("TvShow", resourceCulture); + } + } + /// /// Looks up a localized string similar to Unsubscribe. /// diff --git a/src/Ombi.I18n/Resources/Texts.resx b/src/Ombi.I18n/Resources/Texts.resx index 421371dcb..fcfcebfff 100644 --- a/src/Ombi.I18n/Resources/Texts.resx +++ b/src/Ombi.I18n/Resources/Texts.resx @@ -144,4 +144,13 @@ Unsubscribe + + Album + + + Movie + + + TV Show + \ No newline at end of file diff --git a/src/Ombi.Notifications/NotificationMessageCurlys.cs b/src/Ombi.Notifications/NotificationMessageCurlys.cs index 924864c62..1e8469eac 100644 --- a/src/Ombi.Notifications/NotificationMessageCurlys.cs +++ b/src/Ombi.Notifications/NotificationMessageCurlys.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using Humanizer; using Ombi.Helpers; +using Ombi.I18n.Resources; using Ombi.Notifications.Models; using Ombi.Settings.Settings.Models; using Ombi.Store.Entities; @@ -192,7 +193,9 @@ namespace Ombi.Notifications return requestType switch { null => string.Empty, - RequestType.TvShow => "TV Show", + RequestType.TvShow => Texts.TvShow, + RequestType.Album => Texts.Album, + RequestType.Movie => Texts.Movie, _ => requestType.Humanize() }; }