Fix string interpolation for health check messages
This commit is contained in:
committed by
Sebastiaan Janssen
parent
5fadb238ee
commit
fb466f4309
@@ -87,8 +87,8 @@ namespace Umbraco.Web.HealthCheck.Checks.Security
|
||||
}
|
||||
|
||||
message = success
|
||||
? TextService.Localize($"healthcheck", "{_localizedTextPrefix}CheckHeaderFound")
|
||||
: TextService.Localize($"healthcheck", "{_localizedTextPrefix}CheckHeaderNotFound");
|
||||
? TextService.Localize($"healthcheck", $"{_localizedTextPrefix}CheckHeaderFound")
|
||||
: TextService.Localize($"healthcheck", $"{_localizedTextPrefix}CheckHeaderNotFound");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -101,7 +101,7 @@ namespace Umbraco.Web.HealthCheck.Checks.Security
|
||||
actions.Add(new HealthCheckAction(SetHeaderInConfigAction, Id)
|
||||
{
|
||||
Name = TextService.Localize("healthcheck", "setHeaderInConfig"),
|
||||
Description = TextService.Localize($"healthcheck", "{_localizedTextPrefix}SetHeaderInConfigDescription")
|
||||
Description = TextService.Localize($"healthcheck", $"{_localizedTextPrefix}SetHeaderInConfigDescription")
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user