mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 04:04:43 +00:00
Translate Scheduled Tasks (names and descriptions)
This commit is contained in:
parent
10050a55a5
commit
0778eb20aa
9 changed files with 71 additions and 23 deletions
|
|
@ -8,6 +8,7 @@ using MediaBrowser.Common.Configuration;
|
|||
using MediaBrowser.Model.IO;
|
||||
using MediaBrowser.Model.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using MediaBrowser.Model.Globalization;
|
||||
|
||||
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||
{
|
||||
|
|
@ -19,6 +20,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
private readonly ILogger _logger;
|
||||
private readonly IConfigurationManager _configurationManager;
|
||||
private readonly IFileSystem _fileSystem;
|
||||
private readonly ILocalizationManager _localization;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DeleteTranscodeFileTask" /> class.
|
||||
|
|
@ -128,11 +130,11 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
}
|
||||
}
|
||||
|
||||
public string Name => "Clean Transcode Directory";
|
||||
public string Name => _localization.GetLocalizedString("TaskCleanTranscode");
|
||||
|
||||
public string Description => "Deletes transcode files more than one day old.";
|
||||
public string Description => _localization.GetLocalizedString("TaskCleanTranscodeDescription");
|
||||
|
||||
public string Category => "Maintenance";
|
||||
public string Category => _localization.GetLocalizedString("TasksMaintenance");
|
||||
|
||||
public string Key => "DeleteTranscodeFiles";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue