aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/form/auth.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-09-21 18:53:29 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-09-21 22:23:23 -0700
commitbeb7a0cfcb6a5a76d680707a4c458eee51d87c07 (patch)
treef6e23ffbffcdd58f8438e2d2711acb4fa86bb83b /ui/form/auth.go
parentf244df62936eea307a5fc3f27fb9968527d402ac (diff)
Use unique translation IDs instead of English text as key
Diffstat (limited to 'ui/form/auth.go')
-rw-r--r--ui/form/auth.go2
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