diff options
-rw-r--r-- | src/i18n.go | 15 | ||||
-rw-r--r-- | src/templates/coins.html.tmpl | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/src/i18n.go b/src/i18n.go index 017dbf7..03a6951 100644 --- a/src/i18n.go +++ b/src/i18n.go @@ -148,13 +148,6 @@ var ( Enabled: false, }, { - Bcp: "sh-Cyrl", - Name: "српскохрватски", - dateFmt: "02. 01. 2006.", - Eurozone: true, - Enabled: false, - }, - { Bcp: "sk", Name: "slovenčina", dateFmt: "2. 1. 2006", @@ -251,9 +244,11 @@ func (p Printer) M(val any) string { case float64: vstr = f("%.2f", val) default: - if err := email.ServerError(badMType{"TODO"}); err != nil { - log.Print(err) - } + go func() { + if err := email.ServerError(badMType{"TODO"}); err != nil { + log.Print(err) + } + }() /* Hopefully this never happens */ vstr = "ERROR" } diff --git a/src/templates/coins.html.tmpl b/src/templates/coins.html.tmpl index 68c3f87..481771c 100644 --- a/src/templates/coins.html.tmpl +++ b/src/templates/coins.html.tmpl @@ -46,4 +46,4 @@ </div> </section> </main> -{{ end }} +{{ end }}
\ No newline at end of file |