typo fixes #14

This commit is contained in:
Robert Janetzko 2023-11-16 22:16:23 +01:00
parent 0d9c02dff6
commit 1cbaac47cd
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ package model
{{- range $name, $obj := $.Objects }} {{- range $name, $obj := $.Objects }}
{{- if $obj.IsSubTypeOf "HistoricalEvent" }} {{- 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 }}
{{- end }} {{- end }}
`)) `))

View File

@ -142,7 +142,7 @@ func (x *HistoricalEventAgreementConcluded) Html(c *Context) string { // TODO wo
} }
func (x *HistoricalEventAgreementFormed) Html(c *Context) string { // TODO no info func (x *HistoricalEventAgreementFormed) Html(c *Context) string { // TODO no info
return "UNKNWON HistoricalEventAgreementFormed" return "UNKNOWN HistoricalEventAgreementFormed"
} }
func (x *HistoricalEventAgreementMade) Html(c *Context) string { func (x *HistoricalEventAgreementMade) Html(c *Context) string {
@ -537,7 +537,7 @@ func (x *HistoricalEventChangeHfState) Html(c *Context) string {
case HistoricalEventChangeHfStateMood_Secretive: case HistoricalEventChangeHfStateMood_Secretive:
return c.hf(x.Hfid) + " withdrew from society " + c.site(x.SiteId, "in") + r 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 { func (x *HistoricalEventChangedCreatureType) Html(c *Context) string {