diff options
-rw-r--r-- | src/email/email.go | 2 | ||||
-rw-r--r-- | src/http.go | 1 |
2 files changed, 3 insertions, 0 deletions
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 |