diff --git a/analyze/df/generate_events.go b/analyze/df/generate_events.go index 03d8ea8..c7c08f9 100644 --- a/analyze/df/generate_events.go +++ b/analyze/df/generate_events.go @@ -15,7 +15,7 @@ package model {{- range $name, $obj := $.Objects }} {{- if $obj.IsSubTypeOf "HistoricalEvent" }} -func (x *{{ $obj.Name }}) Html(c *context) string { return "UNKNWON {{ $obj.Name }}" } +func (x *{{ $obj.Name }}) Html(c *context) string { return "UNKNOWN {{ $obj.Name }}" } {{- end }} {{- end }} `)) diff --git a/backend/model/events.go b/backend/model/events.go index 3421b59..dafec44 100644 --- a/backend/model/events.go +++ b/backend/model/events.go @@ -142,7 +142,7 @@ func (x *HistoricalEventAgreementConcluded) Html(c *Context) string { // TODO wo } func (x *HistoricalEventAgreementFormed) Html(c *Context) string { // TODO no info - return "UNKNWON HistoricalEventAgreementFormed" + return "UNKNOWN HistoricalEventAgreementFormed" } func (x *HistoricalEventAgreementMade) Html(c *Context) string { @@ -537,7 +537,7 @@ func (x *HistoricalEventChangeHfState) Html(c *Context) string { case HistoricalEventChangeHfStateMood_Secretive: return c.hf(x.Hfid) + " withdrew from society " + c.site(x.SiteId, "in") + r } - return "UNKNWON HistoricalEventChangeHfState" + return "UNKNOWN HistoricalEventChangeHfState" } func (x *HistoricalEventChangedCreatureType) Html(c *Context) string {