search and ai stabilization work, localization stablized.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using static StellaOps.Localization.T;
|
||||
|
||||
namespace StellaOps.Configuration;
|
||||
|
||||
@@ -21,7 +22,7 @@ public sealed class AuthorityEscalationOptions
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(Scope))
|
||||
{
|
||||
throw new InvalidOperationException("notifications.escalation.scope must be specified.");
|
||||
throw new InvalidOperationException(_t("config.escalation.scope_required"));
|
||||
}
|
||||
|
||||
Scope = Scope.Trim().ToLowerInvariant();
|
||||
|
||||
Reference in New Issue
Block a user