search and ai stabilization work, localization stablized.
This commit is contained in:
@@ -5,6 +5,7 @@ using StellaOps.HybridLogicalClock;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Reflection;
|
||||
using System.Text.Json.Serialization;
|
||||
using static StellaOps.Localization.T;
|
||||
|
||||
namespace StellaOps.Eventing.Models;
|
||||
|
||||
@@ -122,7 +123,7 @@ public sealed record EngineVersionRef(
|
||||
public static EngineVersionRef FromEntryAssembly()
|
||||
{
|
||||
var assembly = Assembly.GetEntryAssembly()
|
||||
?? throw new InvalidOperationException("No entry assembly found");
|
||||
?? throw new InvalidOperationException(_t("common.eventing.no_entry_assembly"));
|
||||
return FromAssembly(assembly);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user