mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Use unique translation IDs instead of English text as key
This commit is contained in:
parent
f244df6293
commit
beb7a0cfcb
66 changed files with 4069 additions and 2972 deletions
|
@ -21,7 +21,7 @@ func (c *Controller) CheckLogin(w http.ResponseWriter, r *http.Request) {
|
|||
authForm := form.NewAuthForm(r)
|
||||
|
||||
view := view.New(c.tpl, r, sess)
|
||||
view.Set("errorMessage", "Invalid username or password.")
|
||||
view.Set("errorMessage", "error.bad_credentials")
|
||||
view.Set("form", authForm)
|
||||
|
||||
if err := authForm.Validate(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue