diff --git a/router/databaseDumpHandler.go b/router/databaseDumpHandler.go index 1a65c0ca..9af58daf 100644 --- a/router/databaseDumpHandler.go +++ b/router/databaseDumpHandler.go @@ -49,7 +49,7 @@ func DatabaseDumpHandler(w http.ResponseWriter, r *http.Request) { // TODO Remove ? navigationTorrents := Navigation{0, 0, 0, "search_page"} - languages.SetTranslationFromRequest(databaseDumpTemplate, r, "en-us") + languages.SetTranslationFromRequest(databaseDumpTemplate, r) dtv := DatabaseDumpTemplateVariables{dumpsJson, "/gpg/gpg.pub", NewSearchForm(), navigationTorrents, GetUser(r), r.URL, mux.CurrentRoute(r)} err = databaseDumpTemplate.ExecuteTemplate(w, "index.html", dtv) if err != nil {