diff --git a/src/main/resources/static/js/plugin/datatables/Chinese.lang b/src/main/resources/static/js/plugin/datatables/Chinese.lang new file mode 100644 index 0000000..9620025 --- /dev/null +++ b/src/main/resources/static/js/plugin/datatables/Chinese.lang @@ -0,0 +1,24 @@ +{ + "sProcessing": "处理中...", + "sLengthMenu": "显示 _MENU_ 项结果", + "sZeroRecords": "没有匹配结果", + "sInfo": "显示第 _START_ 至 _END_ 项结果,共 _TOTAL_ 项", + "sInfoEmpty": "显示第 0 至 0 项结果,共 0 项", + "sInfoFiltered": "(由 _MAX_ 项结果过滤)", + "sInfoPostFix": "", + "sSearch": "搜索:", + "sUrl": "", + "sEmptyTable": "表中数据为空", + "sLoadingRecords": "载入中...", + "sInfoThousands": ",", + "oPaginate": { + "sFirst": "首页", + "sPrevious": "上页", + "sNext": "下页", + "sLast": "末页" + }, + "oAria": { + "sSortAscending": ": 以升序排列此列", + "sSortDescending": ": 以降序排列此列" + } +} \ No newline at end of file diff --git a/src/main/resources/static/pages/file/fileList.html b/src/main/resources/static/pages/file/fileList.html index 004e21d..d8719c4 100644 --- a/src/main/resources/static/pages/file/fileList.html +++ b/src/main/resources/static/pages/file/fileList.html @@ -77,6 +77,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/files", "type":"get", diff --git a/src/main/resources/static/pages/job/jobList.html b/src/main/resources/static/pages/job/jobList.html index 092e774..5a07c80 100644 --- a/src/main/resources/static/pages/job/jobList.html +++ b/src/main/resources/static/pages/job/jobList.html @@ -82,6 +82,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/jobs", "type":"get", diff --git a/src/main/resources/static/pages/log/logList.html b/src/main/resources/static/pages/log/logList.html index a4691e1..bfeba76 100644 --- a/src/main/resources/static/pages/log/logList.html +++ b/src/main/resources/static/pages/log/logList.html @@ -90,6 +90,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/logs", "type":"get", diff --git a/src/main/resources/static/pages/mail/mailList.html b/src/main/resources/static/pages/mail/mailList.html index f9b226f..a275943 100644 --- a/src/main/resources/static/pages/mail/mailList.html +++ b/src/main/resources/static/pages/mail/mailList.html @@ -86,6 +86,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/mails", "type":"get", diff --git a/src/main/resources/static/pages/notice/noticeList.html b/src/main/resources/static/pages/notice/noticeList.html index a80d134..f85c89a 100644 --- a/src/main/resources/static/pages/notice/noticeList.html +++ b/src/main/resources/static/pages/notice/noticeList.html @@ -92,6 +92,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/notices", "type":"get", diff --git a/src/main/resources/static/pages/notice/noticePubList.html b/src/main/resources/static/pages/notice/noticePubList.html index 51e6073..9263d19 100644 --- a/src/main/resources/static/pages/notice/noticePubList.html +++ b/src/main/resources/static/pages/notice/noticePubList.html @@ -85,6 +85,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/notices/published", "type":"get", diff --git a/src/main/resources/static/pages/role/roleList.html b/src/main/resources/static/pages/role/roleList.html index f0b1492..104fb26 100644 --- a/src/main/resources/static/pages/role/roleList.html +++ b/src/main/resources/static/pages/role/roleList.html @@ -72,6 +72,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/roles", "type":"get", diff --git a/src/main/resources/static/pages/user/userList.html b/src/main/resources/static/pages/user/userList.html index 1ca1dcd..158b297 100644 --- a/src/main/resources/static/pages/user/userList.html +++ b/src/main/resources/static/pages/user/userList.html @@ -87,6 +87,9 @@ function init(){ "searching": false, "processing": false, "serverSide" : true, + "language": { + "url": "/js/plugin/datatables/Chinese.lang" + }, "ajax": { "url" : "/users", "type":"get",