mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-24 22:35:49 -04:00
New: Translations support for Health Checks
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
namespace NzbDrone.Core.HealthCheck
|
||||
using NzbDrone.Core.Localization;
|
||||
|
||||
namespace NzbDrone.Core.HealthCheck
|
||||
{
|
||||
public abstract class HealthCheckBase : IProvideHealthCheck
|
||||
{
|
||||
public readonly ILocalizationService _localizationService;
|
||||
public HealthCheckBase(ILocalizationService localizationService)
|
||||
{
|
||||
_localizationService = localizationService;
|
||||
}
|
||||
|
||||
public abstract HealthCheck Check();
|
||||
|
||||
public virtual bool CheckOnStartup => true;
|
||||
|
||||
Reference in New Issue
Block a user