diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:02:02 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:02:02 +0200 |
commit | c34d0840eb06673f681371d7384bd219ae43dd09 (patch) | |
tree | 0bce6a227229d03385cc32c61cde16244dcc31de /src/http.go | |
parent | 91e34fcf151aa1c4bf7be930c17c1ce230105997 (diff) |
Add comments
Diffstat (limited to 'src/http.go')
-rw-r--r-- | src/http.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |