mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 15:10:43 +02:00
milestone: create page
This commit is contained in:
1 parent
ce4dcf1e83
commit
3e4cdccf6b
76 files changed
+2883
-3484
No files matched your search
@@ -117,9 +117,9 @@ func (f *CreateIssueForm) Validate(ctx *macaron.Context, errs binding.Errors) bi
|
||||
// \/ \/ \/ \/ \/
|
||||
|
||||
type CreateMilestoneForm struct {
|
||||
Title string `form:"title" binding:"Required;MaxSize(50)"`
|
||||
Content string `form:"content"`
|
||||
Deadline string `form:"due_date"`
|
||||
Title string `binding:"Required;MaxSize(50)"`
|
||||
Content string
|
||||
Deadline string
|
||||
}
|
||||
|
||||
func (f *CreateMilestoneForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {
|
||||
|
||||
@@ -112,7 +112,7 @@ func (fi bindataFileInfo) Sys() interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
var _confAppIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x79\x4d\x93\xe3\x46\x72\xf6\x1d\xbf\xa2\x44\xbd\x7a\x35\xe3\x00\xd9\x5f\x9a\x0f\xb5\xd4\xb6\xd8\x24\xc8\xc6\x0e\xbf\x04\x90\x33\x1a\x4d\x74\xa0\xd1\x40\x91\x84\x1a\x44\x61\x50\x40\xf7\x70\xc3\x87\x55\xf8\xe0\x08\x1f\xed\x0d\xfb\xe2\x83\x7d\x70\x38\xc2\xf6\xda\xde\xf0\x65\x77\x1d\x3e\x29\x7c\x9f\xf9\x0f\x0a\xed\xfa\x5f\xf8\xc9\x2a\x80\x04\x7b\x5a\xb3\xda\xb5\x1d\x33\xd1\x04\xea\x23\xab\x32\x2b\xf3\xc9\x27\x0b\xef\xb3\x91\xf5\xd4\x72\x98\xfa\x33\x1c\x77\xed\xde\x73\x36\x3d\xb3\x5d\xd6\xb3\x07\x96\xf1\x3e\x9b\x0c\xac\xb6\x6b\xb1\x61\xfb\x89\xc5\x3a\x67\xed\x51\xdf\x72\xd9\x78\xc4\x3a\x63\xc7\xb1\xdc\xc9\x78\xd4\xb5\x47\x7d\xd6\x99\xb9\xd3\xf1\x10\x8d\xa3\x9e\xdd\xd7\x33\x8d\x4f\x58\x3b\x4d\x59\xe2\xaf\x38\xcb\x97\x7e\xce\xe4\x52\xdc\x48\x26\x12\xc6\xaf\x79\xb6\x66\xa9\xbf\x40\x47\x94\xc7\xdc\x68\x4f\x26\xde\xa8\x3d\xb4\xd8\x09\xeb\x8b\x85\x3c\xc6\x5f\xd6\x8f\x72\xe6\xf2\xec\x3a\x0a\x38\x24\x75\x96\x7e\x82\xe1\x68\x8b\xe6\x6c\x2d\x0a\x96\x15\x09\x8b\x45\xe0\xc7\xf1\xda\x70\x66\x23\x6f\xe6\x62\xf7\x27\x6c\x11\xe5\x18\x6d\x45\xf9\x92\x67\xac\x11\xf2\xeb\x86\xc9\x1a\x69\x26\xc2\x06\x13\x68\xc8\xb9\xcc\xd1\x12\xf2\xb9\x5f\xc4\x90\x25\xf5\x18\x25\x01\xaa\xd3\x06\xf0\x6e\x18\x2f\x32\x9e\x0a\x19\xe5\x22\x5b\x9f\x1b\xce\x78\x3c\x65\x27\x86\xdb\x71\xec\xc9\xd4\x9b\x3e\x9f\xd0\xb0\x4b\x5f\x2e\x31\xae\x88\xce\xb1\xde\xa8\x58\x5d\x62\x3d\x31\x87\x44\x59\x70\xa9\xf5\xf5\x33\xae\x74\xe6\x21\x8b\x12\xe8\xcd\x95\xca\x86\xed\xba\x33\xcb\x9b\xb4\xfb\xb0\x9b\x37\x9a\x0d\x21\xec\x60\x1f\xa2\x24\x94\xe5\xd9\xb9\x31\x71\xc6\xd3\x71\x67\x3c\x40\xfb\x32\xcf\x53\xa3\x3b\x1e\xb6\xed\x11\xde\x94\xba\x4b\x21\x73\xb5\x23\x6f\xe6\xd0\x90\x0f\xee\x55\xe3\xef\xcb\xe3\xbd\xbd\x0f\xee\xe9\xe1\x78\xf9\xe0\xde\xd9\x74\x3a\xf1\x26\x63\x67\x7a\x5f\xee\x19\xea\xa5\xdd\xed\xc2\x4a\xc6\xa6\x03\x02\x8e\xf6\xf7\xf7\xa1\x42\x37\x92\xfe\x65\xcc\x99\xeb\x9e\xb1\x39\xf7\xf3\x02\x9b\xbf\x59\xf2\x84\x25\x02\x9a\x5c\xfb\x51\x4c\xdd\x46\xd7\x76\xdb\xa7\x03\xcb\xa3\x61\x27\x6c\xee\xc7\x92\x1b\x78\xae\x84\x1d\x1e\xd6\x44\x75\xba\x23\x3a\xea\x84\xb4\x2f\xcf\x60\x25\x42\x6e\x8c\x7b\xbd\x81\x3d\xb2\x2a\x83\x6b\x21\x95\x60\x67\x3c\x9b\x5a\x8e\x37\x18\xf7\x37\x5d\x9f\xb0\x3e\x4f\x78\xe6\xe7\x30\x67\xce\x53\x79\x8c\x96\xff\xc7\x82\x10\xe6\xcc\x97\x7b\xb9\xd8\x5b\xc0\x67\xf6\x82\x42\xe6\x62\xb5\x47\x26\x93\x6a\x40\x4b\xb5\xb3\x80\x67\x39\x6b\x06\xfe\x49\x9e\x15\x9c\x35\xc3\x02\x82\x22\x91\x9c\x3c\x7e\xf4\x70\x7f\xb9\xbf\xda\x97\xac\x49\x36\x3d\x59\xad\xe9\xa7\xc5\x5f\xf9\xab\x34\xe6\xad\x40\xac\x8c\x4f\x20\x67\x9c\xb1\x79\x26\x56\xcc\x67\xad\x74\xfe\x8a\xcd\x23\x28\xc6\x5f\xa5\x22\xcb\x71\xac\xaa\x07\xae\xc6\x9e\x45\x49\x48\xce\x4d\x8b\x45\xf3\x28\xd0\x7b\x15\xb0\xe1\xbd\x50\x40\x0a\x19\x71\x2e\xb2\x05\xcf\x59\x2e\xca\xf9\x6a\x62\x9a\x45\xd7\x34\xf8\x8a\xaf\xef\x6b\xbd\x44\xca\x13\x29\x63\x96\x5e\x05\xf2\xe0\x90\x35\x61\x3c\x92\xaa\x56\x6f\x8a\x22\x2f\xdf\xf8\x8a\x35\x13\x81\x69\xf2\x87\xcd\xc2\xc8\x6a\x12\x75\x48\x7a\x08\xb9\x34\x3a\x96\x33\xf5\x28\x5e\x61\xee\xba\x09\xf7\xaa\x65\x8c\x27\xd6\xf3\x3b\x07\x94\x12\xb1\xfc\x2c\x4d\xe1\xfd\x31\xce\x3a\xa6\x18\xc8\x39\x2c\x48\x4a\xf9\x49\x08\x2b\xc0\xdc\x81\xb6\x1b\x9d\x17\x86\xd7\xa2\x4f\x99\x00\xad\xe4\x6a\x30\x16\x05\x3f\x35\xf3\x57\x3c\x28\x60\x60\xc3\x9d\xb6\xa7\x76\xc7\x53\xfe\x3e\x69\x4f\xe1\x73\x1a\x55\x62\x32\x31\x4e\xb1\x5c\xb4\xff\xa5\x3d\x61\xb2\x48\xc9\xac\x86\x35\x52\x8e\xa4\xda\xb6\x2e\x34\xc0\x66\xa2\x64\xa1\x51\x07\x47\x81\x23\x49\x9a\xb1\x58\x2c\x70\x8c\x05\x42\x4f\x9a\x2c\xf0\x13\x76\xc9\x59\x63\x29\x56\x5c\xc3\x05\x0e\x2a\xc6\x21\x36\x8c\x41\x5b\xc1\x1c\x45\x2d\xd9\x81\x46\x20\x62\x43\x3f\xf7\x81\x03\xfc\xbc\x06\x39\xab\xb5\x7c\x19\x2b\xd0\x81\x37\x2d\x32\x2e\xb5\x24\x34\x46\x39\x3f\x42\x47\x94\x7f\x28\x09\xc1\x32\x16\x2c\x05\x81\x5b\xf7\xb4\xc2\x14\x35\xd7\x38\x1b\xbb\x14\x4a\x07\x87\x8f\x5a\xfb\xf8\x77\x70\x7c\x74\xb4\xff\xd0\x28\xe1\x91\x5c\xda\x28\xb1\x2e\x13\x22\x37\x26\x6d\xd7\x7d\xd6\x55\x76\xe9\xd1\x42\xb5\x65\x93\x78\x6d\x32\x5e\x41\xa1\x0e\x4a\xda\x59\xc6\x5f\x16\x51\x56\xaa\x08\xc8\x89\xe6\xeb\xe6\xbc\x88\xe3\x06\x22\x79\xb0\x81\x41\x3d\xbe\x12\x5b\xed\x5f\x49\x35\xf4\x51\x30\xd2\x5f\x05\x59\x2b\xbc\x84\x39\xfc\x70\x15\x25\xe7\x0a\xc9\x82\x22\x8b\x72\x40\xa7\x3d\xc2\x09\x0e\x06\x08\xe7\xce\x93\xda\x61\xbc\xf7\x9e\x4e\x24\x3a\xcf\x4c\xc7\xec\x89\x65\x4d\xd8\xf3\xf1\xcc\x61\x4a\xb7\x6e\x7b\xda\x66\x6e\xbb\x67\xbd\xf7\x9e\xe1\x5a\x1d\xc7\x9a\x7a\xf0\x42\x08\x78\xef\xfd\xcf\x7a\x5d\xeb\x99\x83\xff\xff\xff\x0f\xee\x91\x2f\x14\xb9\xa0\x63\x84\xbf\x67\x7c\xc5\x15\x0c\x87\x3e\x82\x02\x00\x62\x8f\x3c\xc7\x1a\x5a\xc3\x53\xe0\x49\xb7\xfd\xdc\xc5\xfc\x47\x46\x67\x3c\x7e\x62\x5b\x2a\x5d\xd4\x4c\xea\xf9\x37\x5c\xd2\xa1\x96\xdd\x9b\x79\xf5\x31\x51\x12\x64\x3c\x8c\xb4\x55\x1c\x4a\x62\x92\x02\x58\xbc\x5a\x33\xbf\x80\x95\x93\xbc\xf2\xca\x25\xf7\x43\x6c\x44\xa5\x3e\x04\x04\xf9\x97\x7a\x31\x1c\x4a\xb2\x2e\xd0\xdf\x19\x7f\xf1\xdc\x6b\xcf\xa6\x67\xd6\x08\x0e\x0e\x27\x1f\x6f\x52\xd8\x17\xcd\x67\xd6\x29\x75\x35\xa9\xa1\x4c\x0c\x70\x94\x73\xa3\xdd\Line truncated
|
||||
var _confAppIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x5a\x4b\x8f\xe3\x56\x76\xde\xf3\x57\x5c\x97\xe3\xb8\x3b\x90\x54\x2f\xf7\xc3\x65\x57\x62\x95\x44\xa9\x38\xad\x97\x49\xa9\xcb\xed\x46\x81\xc5\xa2\xae\x24\x76\x51\x24\x9b\x97\xac\x6a\x19\x59\x8c\x91\x45\x80\x2c\x93\x41\xb2\xc9\x22\x59\x04\x01\x92\x4c\x92\x41\x36\x33\x13\x64\x65\x64\xdf\xfd\x1f\x0c\xcf\xe4\x5f\xe4\x3b\xe7\x92\x12\x55\x5d\xee\xf1\x4c\x32\xb0\x51\x22\xef\xe3\xdc\x7b\xbe\x7b\x1e\xdf\xb9\xec\xf7\xc5\xc0\x7c\x6a\xda\x82\xff\xf4\x87\x6d\xab\xf3\x4c\x8c\x4f\x2d\x47\x74\xac\x9e\x69\xbc\x2f\x46\x3d\xb3\xe9\x98\xa2\xdf\x7c\x62\x8a\xd6\x69\x73\xd0\x35\x1d\x31\x1c\x88\xd6\xd0\xb6\x4d\x67\x34\x1c\xb4\xad\x41\x57\xb4\x26\xce\x78\xd8\x47\xe3\xa0\x63\x75\xf5\x4c\xe3\x13\xd1\x4c\x12\x11\x79\x4b\x29\xb2\x85\x97\x09\xb5\x88\x6f\x94\x88\x23\x21\xaf\x65\xba\x12\x89\x37\x47\x47\x90\x85\xd2\x68\x8e\x46\xee\xa0\xd9\x37\xc5\xb1\xe8\xc6\x73\x75\x84\xbf\xa2\x1b\x64\xc2\x91\xe9\x75\xe0\x4b\x48\x6a\x2d\xbc\x08\xc3\xd1\x16\xcc\xc4\x2a\xce\x45\x9a\x47\x22\x8c\x7d\x2f\x0c\x57\x86\x3d\x19\xb8\x13\x07\xbb\x3f\x16\xf3\x20\xc3\x68\x33\xc8\x16\x32\x15\x3b\x53\x79\xbd\x53\x13\x3b\x49\x1a\x4f\x77\x44\x8c\x86\x4c\xaa\x0c\x2d\x53\x39\xf3\xf2\x10\xb2\x94\x1e\xc3\x12\xa0\x3a\x6d\x00\xef\x86\xf1\x3c\x95\x49\xac\x82\x2c\x4e\x57\xe7\x86\x3d\x1c\x8e\xc5\xb1\xe1\xb4\x6c\x6b\x34\x76\xc7\xcf\x46\x34\xec\xd2\x53\x0b\x8c\xcb\x83\x73\xac\x37\xc8\x97\x97\x58\x2f\x9e\x41\xa2\xca\xa5\xd2\xfa\x7a\xa9\x64\x9d\xe5\x54\x04\x11\xf4\x96\xac\xb2\x61\x39\xce\xc4\x74\x47\xcd\x2e\x70\x73\x07\x93\x3e\x84\xed\xef\x41\x94\x82\xb2\x32\x3d\x37\x46\xf6\x70\x3c\x6c\x0d\x7b\x68\x5f\x64\x59\x62\xb4\x87\xfd\xa6\x35\xc0\x1b\xab\xbb\x88\x55\xc6\x3b\x72\x27\x36\x0d\xf9\xe0\x5e\x39\xfe\xbe\x3a\xda\xdd\xfd\xe0\x9e\x1e\x8e\x97\x0f\xee\x9d\x8e\xc7\x23\x77\x34\xb4\xc7\xf7\xd5\xae\xc1\x2f\xcd\x76\x1b\x28\x19\xeb\x0e\x08\x38\xdc\xdb\xdb\x83\x0a\xed\x40\x79\x97\xa1\x14\x8e\x73\x2a\x66\xd2\xcb\x72\x6c\xfe\x66\x21\x23\x11\xc5\xd0\xe4\xda\x0b\x42\xea\x36\xda\x96\xd3\x3c\xe9\x99\x2e\x0d\x3b\x16\x33\x2f\x54\xd2\xc0\x73\x29\xec\xe0\xa0\x22\xaa\xd5\x1e\xd0\x51\x47\xa4\x7d\x71\x06\xcb\x78\x2a\x8d\x61\xa7\xd3\xb3\x06\x66\x09\xb8\x16\x52\x0a\xb6\x87\x93\xb1\x69\xbb\xbd\x61\x77\xdd\xf5\x89\xe8\xca\x48\xa6\x5e\x06\x38\x33\x99\xa8\x23\xb4\xfc\x81\xf0\xa7\x80\x33\x5b\xec\x66\xf1\xee\x1c\x36\xb3\xeb\xe7\x2a\x8b\x97\xbb\x04\x99\xe2\x01\x0d\x6e\x17\xbe\x4c\x33\x51\xf7\xbd\xe3\x2c\xcd\xa5\xa8\x4f\x73\x08\x0a\xe2\xe8\xf8\xf1\xa3\x87\x7b\x8b\xbd\xe5\x9e\x12\x75\xc2\xf4\x78\xb9\xa2\x9f\x86\x7c\xe5\x2d\x93\x50\x36\xfc\x78\x69\x7c\x02\x39\xc3\x54\xcc\xd2\x78\x29\x3c\xd1\x48\x66\xaf\xc4\x2c\x80\x62\xf2\x55\x12\xa7\x19\x8e\x95\x7b\x60\x6a\xe2\x2c\x88\xa6\x64\xdc\xb4\x58\x30\x0b\x7c\xbd\xd7\x18\x18\xde\x9b\xc6\x90\x42\x20\xce\xe2\x74\x2e\x33\x91\xc5\xc5\x7c\x9e\x98\xa4\xc1\x35\x0d\xbe\x92\xab\xfb\x5a\xaf\x38\x91\x91\x52\xa1\x48\xae\x7c\xb5\x7f\x20\xea\x00\x8f\xa4\xf2\xea\xf5\x38\xcf\x8a\x37\xb9\x14\xf5\x28\xc6\x34\xf5\xc3\x66\x61\x64\x39\x89\x3a\x14\x3d\x4c\xa5\x32\x5a\xa6\x3d\x76\xc9\x5f\x01\x77\x15\xc2\xdd\x72\x19\xe3\x89\xf9\xec\xce\x01\x85\x44\x2c\x3f\x49\x12\x58\x7f\x88\xb3\x0e\xc9\x07\x32\x09\x04\x49\x29\x2f\x9a\x02\x05\xc0\xed\x6b\xdc\xe8\xbc\x30\xbc\xe2\x7d\x0c\x01\x5a\xc9\xd4\x00\x16\x39\x3f\x35\xcb\x57\xd2\xcf\x01\xb0\xe1\x8c\x9b\x63\xab\xe5\xb2\xbd\x8f\x9a\x63\xd8\x9c\x8e\x2a\x21\x41\x8c\x53\x2c\x16\xed\x7e\x69\x8d\x84\xca\x13\x82\xd5\x30\x07\x6c\x48\xdc\xb6\x31\xa1\x1e\x36\x13\x44\x73\x1d\x75\x70\x14\x38\x92\xa8\x1e\xc6\xf3\x39\x8e\x31\x87\xeb\xa9\x9a\xf0\xbd\x48\x5c\x4a\xb1\xb3\x88\x97\x52\x87\x0b\x1c\x54\x88\x43\xdc\x31\x7a\x4d\x0e\x73\xe4\xb5\x84\x03\x8d\x80\xc7\x4e\xbd\xcc\x43\x1c\x90\xe7\x95\x90\xb3\x5c\xa9\x97\x21\x07\x1d\x58\xd3\x3c\x95\x4a\x4b\x42\x63\x90\xc9\x43\x74\x04\xd9\x87\x8a\x22\x58\x2a\xfc\x45\x4c\xc1\xad\x7d\x52\xc6\x14\x9e\x6b\x9c\x0e\x1d\x72\xa5\xfd\x83\x47\x8d\x3d\xfc\xb7\x7f\x74\x78\xb8\xf7\xd0\x28\xc2\x23\x99\xb4\x51\xc4\xba\x34\x8e\x33\x63\xd4\x74\x9c\xb3\x36\xe3\xd2\xa1\x85\x2a\xcb\x46\xe1\xaa\x26\x64\x19\x0a\xb5\x53\xd2\xce\x52\xf9\x32\x0f\xd2\x42\x45\x84\x9c\x60\xb6\xaa\xcf\xf2\x30\xdc\x81\x27\xf7\xd6\x61\x50\x8f\x2f\xc5\x96\xfb\x67\xa9\x86\x3e\x0a\x41\xfa\xb3\x93\x35\xa6\x97\x80\xc3\x9b\x2e\x83\xe8\x9c\x23\x99\x9f\xa7\x41\x86\xd0\x69\x0d\x70\x82\xbd\x1e\xdc\xb9\xf5\xa4\x72\x18\xef\xbd\xa7\x13\x89\xce\x33\xe3\xa1\x78\x62\x9a\x23\xf1\x6c\x38\xb1\x05\xeb\xd6\x6e\x8e\x9b\xc2\x69\x76\xcc\xf7\xde\x33\x1c\xb3\x65\x9b\x63\x17\x56\x08\x01\xef\xbd\xff\x59\xa7\x6d\x9e\xd9\xf8\xff\x0f\xff\xe8\x1e\xd9\x42\x9e\xc5\x74\x8c\xb0\xf7\x54\x2e\x25\x87\xe1\xa9\x07\xa7\x40\x00\xb1\x06\xae\x6d\xf6\xcd\xfe\x09\xe2\x49\xbb\xf9\xcc\xc1\xfc\x47\x46\x6b\x38\x7c\x62\x99\x9c\x2e\x2a\x90\xba\xde\x8d\x54\x74\xa8\x45\xf7\x7a\x5e\x75\x4c\x10\xf9\xa9\x9c\x06\x1a\x15\x9b\x92\x98\x22\x07\x8e\x5f\xad\x84\x97\x03\xe5\x28\x2b\xad\x72\x21\xbd\x29\x36\xc2\xa9\x0f\x0e\x41\xf6\xc5\x2f\x86\x4d\x49\xd6\x41\xf4\xb7\x87\x5f\x3c\x73\x9b\x93\xf1\xa9\x39\x80\x81\xc3\xc8\x87\xeb\x14\xf6\x45\xfd\xcc\x3c\xa1\xae\x3a\x35\x14\x89\x01\x86\x72\x6e\x34\Line truncated
|
||||
|
||||
func confAppIniBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
@@ -127,7 +127,7 @@ func confAppIni() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "conf/app.ini", size: 8982, mode: os.FileMode(420), modTime: time.Unix(1438485627, 0)}
|
||||
info := bindataFileInfo{name: "conf/app.ini", size: 9185, mode: os.FileMode(420), modTime: time.Unix(1438756423, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
@@ -772,7 +772,7 @@ func confLocaleLocale_deDeIni() (*asset, error) {
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _confLocaleLocale_enUsIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x7d\xdb\x72\x1c\x47\xd2\xde\x7d\x3f\x45\x4b\x0e\x9a\x52\x04\x38\x0c\x49\x61\x87\x43\x41\x52\x86\x00\xf1\xb0\x3f\x71\xf8\x09\x70\xd7\x6b\x06\xa3\xb7\x31\xdd\x98\xe9\xc5\x4c\xf7\xa8\x0f\x18\x61\xaf\xfc\x1a\x7e\x3d\x3f\x89\x33\xbf\xcc\xac\x43\x77\x0f\x28\xed\x3a\xfc\xdf\x00\x35\x55\x59\xa7\xac\xac\xac\x3c\x55\x75\xbe\xdb\x65\x45\xd9\x2d\xd3\x97\xe9\x71\xba\xcb\xab\x7a\x53\x76\x5d\xda\x95\x9b\xdb\x67\xeb\xa6\xeb\xcb\x22\x7d\x53\xf5\xf4\xbb\xbd\xaf\x96\x65\x92\xac\x9b\x6d\x49\xa0\x6f\xe9\x5f\x52\xe4\xdd\xfa\xa6\xc9\xdb\x82\x32\x4e\x2d\x9d\x94\xbf\xed\x36\x4d\xcb\x40\xbf\x48\x2a\x59\x97\x9b\x1d\xd7\xa1\x7f\x49\x57\xad\xea\xac\xaa\xe9\xe7\x15\xa5\xd2\x77\x75\xd2\x35\xcb\x2a\xdf\x64\x41\x01\x32\xac\xfc\xc7\xf4\xfb\xba\x48\xaf\xfa\x72\x97\xbe\xe8\xb6\xf9\x66\xf3\x2a\xef\x50\xa5\x2f\xd3\x7c\xb9\x6c\x86\xba\x7f\xf1\x5c\x0a\xa4\xf1\x66\xe8\xad\xf5\x8b\xa1\x97\xbc\x61\x67\x59\x1f\x77\x49\x5b\xae\x2a\x9a\x58\x4b\x59\x1f\x34\x99\xec\xcb\x9b\xae\xea\x79\xd0\x7f\x91\x54\x72\x5f\xb6\x5d\xd5\xf0\x78\xfe\x2c\xa9\x64\x97\xaf\x18\xe0\x92\xfe\x25\x7d\xb9\xdd\x6d\x72\x54\xb8\xd6\x64\xb2\xc9\xeb\xd5\x20\x30\xef\x35\x99\x24\x03\x61\xae\xce\x81\xb3\x8f\x9a\x4c\xca\x6d\x5e\x6d\x18\x3f\xcf\x38\x41\xed\x76\xdd\xbe\x01\x16\x2f\x35\x49\x63\xcc\xfa\x87\x5d\x89\x21\x3e\xbb\xa6\x54\xb2\xcc\x77\xfd\x72\x9d\x53\xce\x89\xa4\x12\x02\xda\x35\x34\xd6\xa6\x7d\x00\x9c\xfd\x48\x9a\x76\x95\xd7\xd5\x3f\xf2\x5e\xc6\x7f\x11\xfc\x4c\xb6\x55\xdb\x36\x3c\xf5\x33\x24\x92\xba\xdc\x67\xdc\x0e\xe5\x9c\x97\xfb\xb0\x15\x2e\xd9\x56\xab\x56\x66\xc9\x85\x67\xf8\xc5\xad\x70\xd9\x6d\xd3\xde\x69\xc1\x6b\x4e\x8e\xaa\xd2\x20\xb4\x34\xee\x3f\xaf\x09\x2f\x5a\x7a\x86\x1f\x11\x40\x97\xe4\xc5\xb6\xaa\xb3\x5d\x5e\x97\x8c\xa3\x63\xfe\x45\x78\xa1\x5f\x89\x2e\x77\xd6\x95\x7d\x5f\xd5\xab\x8e\x8b\x25\x2b\xbd\xd2\xac\x24\x28\x73\x79\x3c\x9e\x2e\xbb\x2d\xcb\x42\x46\xd4\xa5\xaf\x29\x9d\xec\x86\xcd\x86\xe6\xfe\xeb\x50\x76\x3d\xc3\x5f\xd2\x6f\x9a\x85\xfc\x4e\xaa\xae\xa3\x04\x65\xbf\x43\x22\xa1\x05\xa8\x97\x18\xd2\x09\x12\x49\xf2\xa9\x2b\xf3\x76\xb9\xfe\x9c\xc8\x7f\xf4\xc8\x89\xc5\x62\x71\x70\x69\x98\x1c\x94\x14\xa4\x07\xeb\x20\x59\x36\x05\xff\x38\xa1\x7f\xd4\x74\x55\x77\x3d\x91\xf4\xe7\x44\x13\x0c\x26\x29\x41\x63\x5f\xf5\x9b\xd2\x67\x62\x7f\x74\xbc\x0e\xe9\xeb\xaa\xed\xfa\x67\x7d\x45\x24\xf7\x61\xa8\x13\x9e\x1f\x91\x73\x56\xdc\xd8\x2e\x7f\xd3\x10\x76\x90\xdd\xd2\xfc\xce\x1e\xae\xfe\xfd\xfd\x51\x7a\x49\x5b\x7d\xd5\x96\x94\x4e\xa9\x0d\xfa\x47\x75\x7e\x58\x24\x54\xcb\x7a\x3a\xcd\xfb\xfc\x26\xef\x4a\x8f\x56\x2e\x14\x1a\x75\x65\xa0\x54\x66\x1b\x60\x11\x5d\x1f\xcd\x77\x8e\xce\xa9\x0d\xdd\x1d\xae\x8d\x73\xde\x22\x94\xcf\x5c\x03\x95\x2f\x37\x25\xe7\x53\x53\xe9\xbb\xf3\xf3\x8b\xd3\x9f\xd3\xb2\x5e\x55\x75\x99\xee\xab\x7e\x9d\x0e\xfd\xed\x7f\xcb\x56\x65\x5d\xb6\xc4\x44\x96\x55\x4a\x3b\xa3\x25\x22\x48\x89\x3c\x65\x72\x8b\xa4\xeb\x36\xd9\x56\xd0\x7b\x75\xf5\x3e\x3d\x63\x14\xef\xf2\x7e\x8d\x81\xf4\xeb\xa4\xfb\x75\xc3\x28\x72\x1d\x5e\xaf\xcb\xf4\xb6\xa2\x59\x03\xa8\xb9\x35\x7c\xa4\x85\x8e\x71\x91\x94\x6d\x9b\xd1\xbe\xef\x1f\x32\xad\xac\xed\x8d\x21\xa5\x09\x22\x9d\xba\xe9\xd3\x9b\x32\x45\x9d\x45\x92\xd8\x80\x0d\xbb\xc7\xbb\xdd\xa6\x5a\xca\x8e\x7d\x23\x65\x1e\xd1\xcc\xa2\x15\x4b\x21\x1c\x10\x65\x65\x01\xba\x88\xff\x3d\x34\x43\x9b\x46\x6c\x00\xf5\xd7\x25\xf1\xe5\xf5\x40\x5b\x2e\x27\x9e\xba\x69\x86\xe2\x2b\x50\xaa\x8d\xde\x13\x6a\xfa\xa1\xa1\x01\x03\x3b\x0e\xc0\x77\x71\x4c\x14\xc7\xa7\x42\x5b\x6e\x1b\xe2\x0e\x8e\xd8\x2b\x22\xa8\x7d\x45\x85\x34\xd3\x2e\xbf\xa7\xfd\xd6\x37\x69\xbf\xae\xba\xb4\x20\x62\x5b\x72\xc3\xb4\x35\x06\xe2\xc7\x42\x16\x44\xa0\x42\x1a\x96\x17\xaf\x01\xa0\xb6\x03\x51\xd3\x9a\x1a\x63\x6e\xcf\x47\x13\x35\x39\x37\x4e\x4c\x89\xda\x01\x7d\x13\xe5\x36\xc4\x5b\x99\xfb\x9d\x22\xa1\xbf\xc3\xf6\x69\x54\xf9\xed\x2d\x8d\xaa\x23\xaa\x78\x9b\x2e\x37\x0d\x91\xd4\xc7\x0f\xef\xa9\xf2\xba\xef\x77\xd9\xae\x69\x41\xc6\xd7\xd7\x97\xb4\x3d\xda\xde\xe7\x06\xb8\x66\x98\x7a\xd8\xde\xd0\xaf\xfd\xba\x22\x26\x90\x07\x0b\x04\x54\x6c\xf8\x80\xa9\xd3\xa6\x5e\x60\xad\x86\x76\x33\x5a\x46\xea\xd2\x4a\x0e\x0c\x8f\x87\xf0\x9c\xff\x5c\xf9\x51\x62\xba\x1d\x9d\xc2\x7b\x2c\x2a\x4d\xb5\xc4\x69\x42\xb4\xd5\xec\xb8\xdd\x80\xb8\x2e\x34\xc3\x53\x14\x4e\x20\x57\x2e\xe7\x10\x95\xe2\x8c\x0f\x78\xe9\x96\x26\xac\xbb\xf9\xea\x8c\xd0\x80\x2d\x8d\xdc\xdb\xb6\xd9\x52\xee\x6b\xfa\xe7\x33\xfc\xf0\xcf\xb8\x3d\xc0\xe4\x45\x41\x6c\xa6\x3b\x4a\x3f\xbc\x3e\x49\xff\xcb\x0f\xdf\x7f\xbf\x48\xdf\xf5\xbc\x21\x98\x46\xfe\xce\x6b\x4b\x49\x39\x10\x1d\x28\xed\xdc\x9e\x96\xff\x6b\x26\xf0\xaf\xd3\x17\x28\xfd\xef\xe5\x6f\x39\x9d\xb3\xe5\x62\xd9\x6c\x5f\xf1\xe6\xde\xe6\xfd\x22\xe1\x12\xa2\x1a\x25\xa7\xab\xb2\x2e\x28\xa1\xc7\xaa\x96\x05\x5c\x47\xcb\x83\x43\x56\x4e\xff\x6c\xd9\xd4\xb7\x55\xcb\x13\xfa\xa5\xce\x6f\x08\x27\x26\x17\x10\x3b\x46\x89\x9d\x5d\x84\x34\xda\xc8\xd5\xed\x83\x07\xc5\x54\xcf\x39\x53\x17\x34\x61\x59\x89\x1a\x55\x91\xc9\x61\xf9\x0a\xd9\x58\xb7\x0b\x9a\x5e\x6b\xf8\xee\x3c\xc2\x9b\xdb\xdb\x0d\x31\x36\x63\x56\xda\xc3\x85\xe4\x0a\xdf\x0a\x41\x88\x18\x77\x90\x6c\x4Line truncated
|
||||
var _confLocaleLocale_enUsIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x7d\xdb\x72\x1c\x47\xd2\xde\x7d\x3f\x45\x4b\x0e\x9a\x52\x04\x38\x0c\x49\x61\x87\x43\x41\x52\x86\x00\xf1\xb0\x3f\x41\xf0\x27\xc0\x5d\xaf\x19\x8c\xde\x9e\xe9\xc6\x4c\x2f\x66\xba\x47\x7d\xc0\x08\x7b\xe5\xd7\xf0\xeb\xf9\x49\x9c\xf9\x65\x66\x1d\xba\x7b\x40\x69\xd7\xe1\xff\x06\xa8\xa9\xca\x3a\x65\x65\x65\xe5\xa9\xaa\xf3\xfd\x3e\x2b\xca\x6e\x95\x3e\x4f\x4f\xd3\x7d\x5e\xd5\xdb\xb2\xeb\xd2\xae\xdc\xde\x3c\xd9\x34\x5d\x5f\x16\xe9\xab\xaa\xa7\xdf\xed\x5d\xb5\x2a\x93\x64\xd3\xec\x4a\x02\x7d\x4d\xff\x92\x22\xef\x36\xcb\x26\x6f\x0b\xca\x38\xb7\x74\x52\xfe\xb6\xdf\x36\x2d\x03\xfd\x22\xa9\x64\x53\x6e\xf7\x5c\x87\xfe\x25\x5d\xb5\xae\xb3\xaa\xa6\x9f\x57\x94\x4a\xdf\xd4\x49\xd7\xac\xaa\x7c\x9b\x05\x05\xc8\xb0\xf2\x1f\xd3\xef\xeb\x22\xbd\xea\xcb\x7d\xfa\xac\xdb\xe5\xdb\xed\x8b\xbc\x43\x95\xbe\x4c\xf3\xd5\xaa\x19\xea\xfe\xd9\x53\x29\x90\xc6\x9b\xa1\xb7\xd6\x2f\x87\x5e\xf2\x86\xbd\x65\x7d\xdc\x27\x6d\xb9\xae\x68\x62\x2d\x65\x7d\xd0\x64\x72\x28\x97\x5d\xd5\xf3\xa0\xff\x22\xa9\xe4\xae\x6c\xbb\xaa\xe1\xf1\xfc\x59\x52\xc9\x3e\x5f\x33\xc0\x7b\xfa\x97\xf4\xe5\x6e\xbf\xcd\x51\xe1\x5a\x93\xc9\x36\xaf\xd7\x83\xc0\xbc\xd5\x64\x92\x0c\x84\xb9\x3a\x07\xce\x3e\x6a\x32\x29\x77\x79\xb5\x65\xfc\x3c\xe1\x04\xb5\xdb\x75\x87\x06\x58\x7c\xaf\x49\x1a\x63\xd6\xdf\xef\x4b\x0c\xf1\xc9\x35\xa5\x92\x55\xbe\xef\x57\x9b\x9c\x72\xce\x24\x95\x10\xd0\xbe\xa1\xb1\x36\xed\x3d\xe0\xec\x47\xd2\xb4\xeb\xbc\xae\xfe\x91\xf7\x32\xfe\xcb\xe0\x67\xb2\xab\xda\xb6\xe1\xa9\x5f\x20\x91\xd4\xe5\x21\xe3\x76\x28\xe7\x5d\x79\x08\x5b\xe1\x92\x5d\xb5\x6e\x65\x96\x5c\x78\x81\x5f\xdc\x0a\x97\xdd\x34\xed\xad\x16\xbc\xe4\xe4\xa8\x2a\x0d\x42\x4b\xe3\xfe\xf3\x9a\xf0\xa2\xa5\x17\xf8\x11\x01\x74\x49\x5e\xec\xaa\x3a\xdb\xe7\x75\xc9\x38\x3a\xe5\x5f\x84\x17\xfa\x95\xe8\x72\x67\x5d\xd9\xf7\x55\xbd\xee\xb8\x58\xb2\xd2\x2b\xcd\x4a\x82\x32\x97\xc7\xe3\xe9\xb2\x9b\xb2\x2c\x64\x44\x5d\xfa\x92\xd2\xc9\x7e\xd8\x6e\x69\xee\xbf\x0e\x65\xd7\x33\xfc\x7b\xfa\x4d\xb3\x90\xdf\x49\xd5\x75\x94\xa0\xec\x37\x48\x24\xb4\x00\xf5\x0a\x43\x3a\x43\x22\x49\x3e\x75\x65\xde\xae\x36\x9f\x13\xf9\x8f\x1e\x39\xb1\x58\x2c\x8e\x2e\x0d\x93\x83\x92\x82\xf4\x60\x1d\x24\xab\xa6\xe0\x1f\x67\xf4\x8f\x9a\xae\xea\xae\x27\x92\xfe\x9c\x68\x82\xc1\x24\x25\x68\xec\xab\x7e\x5b\xfa\x4c\xec\x8f\x8e\xd7\x21\x7d\x59\xb5\x5d\xff\xa4\xaf\x88\xe4\x3e\x0c\x75\xc2\xf3\x23\x72\xce\x8a\xa5\xed\xf2\x57\x0d\x61\x07\xd9\x2d\xcd\xef\xe2\xfe\xea\xdf\xdf\x9e\xa4\xef\x69\xab\xaf\xdb\x92\xd2\x29\xb5\x41\xff\xa8\xce\x0f\x8b\x84\x6a\x59\x4f\xe7\x79\x9f\x2f\xf3\xae\xf4\x68\xe5\x42\xa1\x51\x57\x06\x4a\x65\xb6\x01\x16\xd1\xf5\xd1\x7c\xe7\xe8\x9c\xda\xd0\xdd\xe1\xda\x78\xc7\x5b\x84\xf2\x99\x6b\xa0\xf2\xfb\x6d\xc9\xf9\xd4\x54\xfa\xe6\xdd\xbb\xcb\xf3\x9f\xd3\xb2\x5e\x57\x75\x99\x1e\xaa\x7e\x93\x0e\xfd\xcd\x7f\xcb\xd6\x65\x5d\xb6\xc4\x44\x56\x55\x4a\x3b\xa3\x25\x22\x48\x89\x3c\x65\x72\x8b\xa4\xeb\xb6\xd9\x4e\xd0\x7b\x75\xf5\x36\xbd\x60\x14\xef\xf3\x7e\x83\x81\xf4\x9b\xa4\xfb\x75\xcb\x28\x72\x1d\x5e\x6f\xca\xf4\xa6\xa2\x59\x03\xa8\xb9\x31\x7c\xa4\x85\x8e\x71\x91\x94\x6d\x9b\xd1\xbe\xef\xef\x33\xad\xac\xed\x8d\x21\xa5\x09\x22\x9d\xba\xe9\xd3\x65\x99\xa2\xce\x22\x49\x6c\xc0\x86\xdd\xd3\xfd\x7e\x5b\xad\x64\xc7\xbe\x92\x32\x8f\x68\x66\xd1\x8a\xa5\x10\x0e\x88\xb2\xb2\x00\x5d\xc4\xff\xee\x9b\xa1\x4d\x23\x36\x80\xfa\x9b\x92\xf8\xf2\x66\xa0\x2d\x97\x13\x4f\xdd\x36\x43\xf1\x15\x28\xd5\x46\xef\x09\x35\xfd\xd0\xd0\x80\x81\x1d\x07\xe0\xbb\x38\x25\x8a\xe3\x53\xa1\x2d\x77\x0d\x71\x07\x47\xec\x15\x11\xd4\xa1\xa2\x42\x9a\x69\x97\xdf\xd1\x7e\xeb\x9b\xb4\xdf\x54\x5d\x5a\x10\xb1\xad\xb8\x61\xda\x1a\x03\xf1\x63\x21\x0b\x22\x50\x21\x0d\xcb\x8b\xd7\x00\x50\xbb\x81\xa8\x69\x43\x8d\x31\xb7\xe7\xa3\x89\x9a\x9c\x1b\x27\xa6\x44\xed\x80\xbe\x89\x72\x1b\xe2\xad\xcc\xfd\xce\x91\xd0\xdf\x61\xfb\x34\xaa\xfc\xe6\x86\x46\xd5\x11\x55\xbc\x4e\x57\xdb\x86\x48\xea\xe3\x87\xb7\x54\x79\xd3\xf7\xfb\x6c\xdf\xb4\x20\xe3\xeb\xeb\xf7\xb4\x3d\xda\xde\xe7\x06\xb8\x66\x98\x7a\xd8\x2d\xe9\xd7\x61\x53\x11\x13\xc8\x83\x05\x02\x2a\xb6\x7c\xc0\xd4\x69\x53\x2f\xb0\x56\x43\xbb\x1d\x2d\x23\x75\x69\x25\x47\x86\xc7\x43\x78\xca\x7f\xae\xfc\x28\x31\xdd\x8e\x4e\xe1\x03\x16\x95\xa6\x5a\xe2\x34\x21\xda\x6a\xf6\xdc\x6e\x40\x5c\x97\x9a\xe1\x29\x0a\x27\x90\x2b\x97\x73\x88\x4a\x71\xc6\x07\xbc\x74\x47\x13\xd6\xdd\x7c\x75\x41\x68\xc0\x96\x46\xee\x4d\xdb\xec\x28\xf7\x25\xfd\xf3\x19\x7e\xf8\x17\xdc\x1e\x60\xf2\xa2\x20\x36\xd3\x9d\xa4\x1f\x5e\x9e\xa5\xff\xe5\x87\xef\xbf\x5f\xa4\x6f\x7a\xde\x10\x4c\x23\x7f\xe7\xb5\xa5\xa4\x1c\x88\x0e\x94\x76\x6e\x4f\xcb\xff\x35\x13\xf8\xd7\xe9\x33\x94\xfe\xf7\xf2\xb7\x9c\xce\xd9\x72\xb1\x6a\x76\x2f\x78\x73\xef\xf2\x7e\x91\x70\x09\x51\x8d\x92\xd3\x55\x59\x17\x94\xd0\x63\x55\xcb\x02\xae\xa3\xe5\xc1\x21\x2b\xa7\x7f\xb6\x6a\xea\x9b\xaa\xe5\x09\xfd\x52\xe7\x4b\xc2\x89\xc9\x05\xc4\x8e\x51\x62\x67\x17\x21\x8d\x36\x72\x75\x73\xef\x41\x31\xd5\x77\x9c\xa9\x0b\x9a\xb0\xac\x44\x8d\xaa\xc8\xe4\xb0\x7c\x85\x6c\xac\xdb\x25\x4d\xaf\x35\x7c\x77\x1e\xe1\xcd\xcd\xcd\x96\x18\x9b\x31\x2b\xed\xe1\x52\x72\x85\x6f\x85\x20\x44\x8c\x7b\x48\x3Line truncated
|
||||
|
||||
func confLocaleLocale_enUsIniBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
@@ -787,7 +787,7 @@ func confLocaleLocale_enUsIni() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "conf/locale/locale_en-US.ini", size: 34274, mode: os.FileMode(420), modTime: time.Unix(1438594289, 0)}
|
||||
info := bindataFileInfo{name: "conf/locale/locale_en-US.ini", size: 34664, mode: os.FileMode(420), modTime: time.Unix(1438758818, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
@@ -134,6 +134,7 @@ var (
|
||||
|
||||
// I18n settings.
|
||||
Langs, Names []string
|
||||
dateLangs map[string]string
|
||||
|
||||
// Other settings.
|
||||
ShowFooterBranding bool
|
||||
@@ -148,6 +149,14 @@ var (
|
||||
HasRobotsTxt bool
|
||||
)
|
||||
|
||||
func DateLang(lang string) string {
|
||||
name, ok := dateLangs[lang]
|
||||
if ok {
|
||||
return name
|
||||
}
|
||||
return "en"
|
||||
}
|
||||
|
||||
func init() {
|
||||
IsWindows = runtime.GOOS == "windows"
|
||||
log.NewLogger(0, "console", `{"level": 0}`)
|
||||
@@ -353,6 +362,7 @@ func NewConfigContext() {
|
||||
|
||||
Langs = Cfg.Section("i18n").Key("LANGS").Strings(",")
|
||||
Names = Cfg.Section("i18n").Key("NAMES").Strings(",")
|
||||
dateLangs = Cfg.Section("i18n.datelang").KeysHash()
|
||||
|
||||
ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool()
|
||||
|
||||
|
||||
Reference in new issue
Block a user