mirror of https://github.com/gogs/gogs.git
pkg/form: fix bad locale reference (#5196)
parent
c68fc4f31a
commit
c92e8940dc
|
@ -262,7 +262,7 @@ func (f *CreateMilestone) Validate(ctx *macaron.Context, errs binding.Errors) bi
|
||||||
|
|
||||||
type CreateLabel struct {
|
type CreateLabel struct {
|
||||||
ID int64
|
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"`
|
Color string `binding:"Required;Size(7)" locale:"repo.issues.label_color"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue