diff options
| author | ferferga <ferferga.fer@gmail.com> | 2020-03-26 20:28:30 +0100 |
|---|---|---|
| committer | ferferga <ferferga.fer@gmail.com> | 2020-03-26 20:28:30 +0100 |
| commit | 0778eb20aac878fd49a5ba0375f3e3d69693e62f (patch) | |
| tree | 618d636284f41f338319876f044bd97ada2ab93d /Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs | |
| parent | 10050a55a55c25d7fe9a8fe63b326995aaf487d7 (diff) | |
Translate Scheduled Tasks (names and descriptions)
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs index 9d87316e4..7dcfa3c9d 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs @@ -8,6 +8,7 @@ using MediaBrowser.Common.Updates; using MediaBrowser.Model.Net; using MediaBrowser.Model.Tasks; using Microsoft.Extensions.Logging; +using MediaBrowser.Model.Globalization; namespace Emby.Server.Implementations.ScheduledTasks { @@ -22,6 +23,7 @@ namespace Emby.Server.Implementations.ScheduledTasks private readonly ILogger _logger; private readonly IInstallationManager _installationManager; + private readonly ILocalizationManager _localization; public PluginUpdateTask(ILogger<PluginUpdateTask> logger, IInstallationManager installationManager) { @@ -96,13 +98,13 @@ namespace Emby.Server.Implementations.ScheduledTasks } /// <inheritdoc /> - public string Name => "Update Plugins"; + public string Name => _localization.GetLocalizedString("TaskUpdatePlugins"); /// <inheritdoc /> - public string Description => "Downloads and installs updates for plugins that are configured to update automatically."; + public string Description => _localization.GetLocalizedString("TaskUpdatePluginsDescription"); /// <inheritdoc /> - public string Category => "Application"; + public string Category => _localization.GetLocalizedString("TasksApplication"); /// <inheritdoc /> public string Key => "PluginUpdates"; |
