summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go
index 63c0616807..6d9a7269ec 100644
--- a/modules/auth/org.go
+++ b/modules/auth/org.go
@@ -17,7 +17,7 @@ import (
// \/ /_____/ \/ \/ \/ \/ \/
type CreateOrgForm struct {
- OrgName string `binding:"Required;AlphaDashDot;MaxSize(30)"`
+ OrgName string `binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"`
}
func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {