@@ -40,7 +40,7 @@ export default function Index() {
4040 Object . assign ( data , { parentId : id } ) ;
4141 }
4242 axios . post ( '/admin/reply-comment/' , data ) . then ( ( ) => {
43- message . success ( '提交成功 ' ) ;
43+ message . success ( 'gửi thành công ' ) ;
4444 Router . push ( '/admin/content/comments' ) ;
4545 } ) ;
4646 } ;
@@ -52,42 +52,42 @@ export default function Index() {
5252 < Form . Item name = "article" style = { { display : 'none' } } >
5353 < Input type = "text" />
5454 </ Form . Item >
55- < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "昵称: " >
55+ < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "Tên: " >
5656 < span className = "ant-form-text" > { comment . nickName } </ span >
5757 </ Form . Item >
58- < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "email :" >
58+ < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "Email :" >
5959 < span className = "ant-form-text" > { comment . email } </ span >
6060 </ Form . Item >
61- < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "创建时间: " >
61+ < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "Thời điểm tạo: " >
6262 < span className = "ant-form-text" > { parseTime ( comment . createdAt ) } </ span >
6363 </ Form . Item >
64- < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "文章标题: " >
64+ < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "Tiêu đề: " >
6565 < span className = "ant-form-text" > { comment . article && comment . article . title } </ span >
6666 </ Form . Item >
67- < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "内容: " >
67+ < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "Nội dung: " >
6868 < span className = "ant-form-text" dangerouslySetInnerHTML = { { __html : comment . content } } > </ span >
6969 </ Form . Item >
7070 < Form . Item
7171 name = "content"
7272 labelCol = { { span : 3 } }
7373 wrapperCol = { { span : 10 } }
74- label = "回复内容: "
74+ label = "Nội dung trả lời: "
7575 rules = { [
7676 {
7777 required : true ,
78- message : '回复内容不能为空! ' ,
78+ message : 'Nội dung trả lời không thể trống! ' ,
7979 min : 1 ,
8080 } ,
8181 ] }
8282 >
8383 < Input . TextArea
84- placeholder = "请输入回复内容 "
84+ placeholder = "Vui lòng nhập nội dung trả lời "
8585 autoSize = { { minRows : 2 , maxRows : 6 } }
8686 > </ Input . TextArea >
8787 </ Form . Item >
88- < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "操作: " >
88+ < Form . Item labelCol = { { span : 3 } } wrapperCol = { { span : 10 } } label = "vận hành: " >
8989 < Button type = "primary" htmlType = "submit" >
90- 提交
90+ Gửi
9191 </ Button >
9292 </ Form . Item >
9393 </ Form >
0 commit comments