Ver Fonte

pkg/form: fix bad locale reference (#5196)

rokuu há 6 anos atrás
pai
commit
c92e8940dc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pkg/form/repo.go

+ 1 - 1
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"`
 }