search and ai stabilization work, localization stablized.

This commit is contained in:
master
2026-02-24 23:29:36 +02:00
parent 4f947a8b61
commit b07d27772e
766 changed files with 55299 additions and 3221 deletions

View File

@@ -1,5 +1,6 @@
using System.Reflection;
using static StellaOps.Localization.T;
namespace StellaOps.Evidence.Validation;
@@ -13,13 +14,13 @@ internal static class SchemaLoader
if (resourceName is null)
{
throw new InvalidOperationException($"Schema resource not found: {fileName}");
throw new InvalidOperationException(_t("common.evidence.schema_resource_not_found", fileName));
}
using var stream = assembly.GetManifestResourceStream(resourceName);
if (stream is null)
{
throw new InvalidOperationException($"Schema resource not available: {resourceName}");
throw new InvalidOperationException(_t("common.evidence.schema_resource_not_available", resourceName));
}
using var reader = new StreamReader(stream);