aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/form/feed.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/form/feed.go')
-rw-r--r--ui/form/feed.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/form/feed.go b/ui/form/feed.go
index 3645664..0151ea6 100644
--- a/ui/form/feed.go
+++ b/ui/form/feed.go
@@ -29,7 +29,7 @@ type FeedForm struct {
// ValidateModification validates FeedForm fields
func (f FeedForm) ValidateModification() error {
if f.FeedURL == "" || f.SiteURL == "" || f.Title == "" || f.CategoryID == 0 {
- return errors.NewLocalizedError("All fields are mandatory.")
+ return errors.NewLocalizedError("error.fields_mandatory")
}
return nil
}