From c34d0840eb06673f681371d7384bd219ae43dd09 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 23 Jul 2025 20:02:02 +0200 Subject: Add comments --- src/email/email.go | 2 ++ src/http.go | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/email/email.go b/src/email/email.go index 0f2c93d..33b30e0 100644 --- a/src/email/email.go +++ b/src/email/email.go @@ -1,5 +1,7 @@ package email +/* TODO: Put this in /pkg */ + import ( "crypto/tls" "fmt" diff --git a/src/http.go b/src/http.go index ce31372..b785bca 100644 --- a/src/http.go +++ b/src/http.go @@ -155,6 +155,7 @@ func setUserLanguage(w http.ResponseWriter, r *http.Request) { loc := r.FormValue("locale") _, ok := i18n.Printers[loc] if !ok { + /* TODO: Make this page pretty? */ w.WriteHeader(http.StatusUnprocessableEntity) fmt.Fprintf(w, "Locale ā€˜%s’ is invalid or unsupported", loc) return -- cgit v1.2.3