ui: correct html lang tag

set according to the language picked.
This commit is contained in:
Harvey Tindall
2025-12-07 19:31:52 +00:00
parent 0b8376a19e
commit b5e348ad2b
12 changed files with 38 additions and 33 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ func (app *appContext) confirmMyAction(gc *gin.Context, key string) {
var target ConfirmationTarget
var id string
fail := func() {
app.gcHTML(gc, 404, "404.html", OtherPage, gin.H{
app.gcHTML(gc, 404, "404.html", OtherPage, "en-us", gin.H{
"contactMessage": app.config.Section("ui").Key("contact_message").String(),
})
}