This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed datatables language to english and removed datatables css fro…
…m default-layout
- Loading branch information
Showing
4 changed files
with
21 additions
and
19 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...org/springframework/roo/addon/web/mvc/thymeleaf/addon/static/js/datatables-defaults-en.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Definiciones de textos multiidioma añadiendo algunas a las ya proporcionadas | ||
// por defecto de Datatables | ||
$.extend( $.fn.dataTable.defaults, { | ||
'language': { | ||
'buttons': { | ||
'add': 'Add', | ||
'colvis': 'Columns', | ||
'pageLength': 'Show %d rows' | ||
}, | ||
'select': { | ||
'rows': { | ||
_: "%d selected rows", | ||
0: "", | ||
1: "1 selected row" | ||
} | ||
}, | ||
'url': "//cdn.datatables.net/plug-ins/1.10.11/i18n/Spanish.json", | ||
} | ||
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters