diff options
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 |