diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-09-21 18:53:29 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-09-21 22:23:23 -0700 |
commit | beb7a0cfcb6a5a76d680707a4c458eee51d87c07 (patch) | |
tree | f6e23ffbffcdd58f8438e2d2711acb4fa86bb83b /ui/form/auth.go | |
parent | f244df62936eea307a5fc3f27fb9968527d402ac (diff) |
Use unique translation IDs instead of English text as key
Diffstat (limited to 'ui/form/auth.go')
-rw-r--r-- | ui/form/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/form/auth.go b/ui/form/auth.go index 7635efe..eed0ef5 100644 --- a/ui/form/auth.go +++ b/ui/form/auth.go @@ -19,7 +19,7 @@ type AuthForm struct { // Validate makes sure the form values are valid. func (a AuthForm) Validate() error { if a.Username == "" || a.Password == "" { - return errors.NewLocalizedError("All fields are mandatory.") + return errors.NewLocalizedError("error.fields_mandatory") } return nil |