diff --git a/core/module/course/view/index/index.js.php b/core/module/course/view/index/index.js.php index 4b6c0bf..e72ac8d 100644 --- a/core/module/course/view/index/index.js.php +++ b/core/module/course/view/index/index.js.php @@ -26,6 +26,7 @@ $(document).ready(function () { language: { url: "core/vendor/datatables/french.json" }, + locale: 'fr', "columnDefs": [ { target: 3, diff --git a/core/module/course/view/userHistory/userHistory.js.php b/core/module/course/view/userHistory/userHistory.js.php index bd0c300..957c6b8 100644 --- a/core/module/course/view/userHistory/userHistory.js.php +++ b/core/module/course/view/userHistory/userHistory.js.php @@ -16,6 +16,7 @@ $(document).ready((function () { language: { url: "core/vendor/datatables/french.json" }, + locale: 'fr', searching: false, pageLength: 100, lengthChange: false, diff --git a/core/module/course/view/users/users.js.php b/core/module/course/view/users/users.js.php index 5d342e2..38475b7 100644 --- a/core/module/course/view/users/users.js.php +++ b/core/module/course/view/users/users.js.php @@ -26,6 +26,7 @@ $(document).ready((function () { language: { url: "core/vendor/datatables/french.json" }, + locale: 'fr', "columnDefs": [ { target: 5, diff --git a/core/module/course/view/usersAdd/usersAdd.js.php b/core/module/course/view/usersAdd/usersAdd.js.php index c3aa506..bd8b65e 100644 --- a/core/module/course/view/usersAdd/usersAdd.js.php +++ b/core/module/course/view/usersAdd/usersAdd.js.php @@ -31,6 +31,7 @@ $(document).ready((function () { language: { url: "core/vendor/datatables/french.json" }, + locale: 'fr', "columnDefs": [ { target: 0, diff --git a/core/module/course/view/usersDelete/usersDelete.js.php b/core/module/course/view/usersDelete/usersDelete.js.php index b4048da..4520039 100644 --- a/core/module/course/view/usersDelete/usersDelete.js.php +++ b/core/module/course/view/usersDelete/usersDelete.js.php @@ -31,6 +31,7 @@ $(document).ready((function () { language: { url: "core/vendor/datatables/french.json" }, + locale: 'fr', "columnDefs": [ { target: 0, diff --git a/core/module/user/view/index/index.js.php b/core/module/user/view/index/index.js.php index 42b68df..65513ae 100644 --- a/core/module/user/view/index/index.js.php +++ b/core/module/user/view/index/index.js.php @@ -25,8 +25,8 @@ $(document).ready((function () { $('#dataTables').DataTable({ language: { - url: "core/vendor/datatables/french.json", - "paging": false - } + url: "core/vendor/datatables/french.json" + }, + locale: 'fr' }); })); \ No newline at end of file