From c4c53a6c61c7ffcaea89b433fde32d7d825c8c98 Mon Sep 17 00:00:00 2001 From: MMP0 Date: Thu, 18 May 2017 09:55:23 +0900 Subject: [PATCH] Fix error --- router/databaseDumpHandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {