aboutsummaryrefslogtreecommitdiff
path: root/pkg/form
diff options
context:
space:
mode:
authorrokuu <38368986+rokuu@users.noreply.github.com>2018-04-24 13:57:42 +0000
committer无闻 <u@gogs.io>2018-04-24 09:57:42 -0400
commitc92e8940dcf4e2ddc470593cc06f83e6eb6af172 (patch)
tree52d280ea02f65e6be1dadc81b55f367d9e1ce5ad /pkg/form
parentc68fc4f31ac5e7918f0b03cfec00e1224c1eaf9e (diff)
pkg/form: fix bad locale reference (#5196)
Diffstat (limited to 'pkg/form')
-rw-r--r--pkg/form/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/form/repo.go b/pkg/form/repo.go
index a524560f..0389ca76 100644
--- a/pkg/form/repo.go
+++ b/pkg/form/repo.go
@@ -262,7 +262,7 @@ func (f *CreateMilestone) Validate(ctx *macaron.Context, errs binding.Errors) bi
type CreateLabel struct {
ID int64
- Title string `binding:"Required;MaxSize(50)" locale:"repo.issues.label_name"`
+ Title string `binding:"Required;MaxSize(50)" locale:"repo.issues.label_title"`
Color string `binding:"Required;Size(7)" locale:"repo.issues.label_color"`
}