aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/form/category.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/form/category.go')
-rw-r--r--ui/form/category.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/form/category.go b/ui/form/category.go
index f255cb4..b1bed2e 100644
--- a/ui/form/category.go
+++ b/ui/form/category.go
@@ -19,7 +19,7 @@ type CategoryForm struct {
// Validate makes sure the form values are valid.
func (c CategoryForm) Validate() error {
if c.Title == "" {
- return errors.NewLocalizedError("The title is mandatory.")
+ return errors.NewLocalizedError("error.title_required")
}
return nil
}