aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/opml_upload.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/opml_upload.go')
-rw-r--r--ui/opml_upload.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/opml_upload.go b/ui/opml_upload.go
index 86150fd..603b660 100644
--- a/ui/opml_upload.go
+++ b/ui/opml_upload.go
@@ -48,7 +48,7 @@ func (c *Controller) UploadOPML(w http.ResponseWriter, r *http.Request) {
view.Set("countErrorFeeds", c.store.CountErrorFeeds(user.ID))
if fileHeader.Size == 0 {
- view.Set("errorMessage", "This file is empty")
+ view.Set("errorMessage", "error.empty_file")
html.OK(w, r, view.Render("import"))
return
}