只读模式
group, 分享
评论更多问题
博客标签总是存在一个
This commit is contained in:
lealife
2015-06-15 18:01:48 +08:00
parent 7e458bb433
commit 6987a38820
1453 changed files with 114561 additions and 91536 deletions

View File

@ -460,7 +460,7 @@ func (c MemberBlog) ImportTheme() revel.Result {
var ext string
_, ext = SplitFilename(filename)
if ext != ".zip" {
re.Msg = "请上传zip文件"
re.Msg = "Please upload zip file"
return c.RenderJson(re)
}
@ -472,7 +472,7 @@ func (c MemberBlog) ImportTheme() revel.Result {
// > 10M?
if len(data) > 10*1024*1024 {
re.Msg = "文件大于10M"
re.Msg = "File is big than 10M"
return c.RenderJson(re)
}