Improved DataTables french language management.
This commit is contained in:
parent
c486b99cf9
commit
b812120a2b
4 changed files with 6 additions and 33 deletions
|
@ -119,6 +119,7 @@ public class Htmlizer
|
||||||
StatoolInfosUtils.copyRessource(source + "sorttable.js", targetDirectory);
|
StatoolInfosUtils.copyRessource(source + "sorttable.js", targetDirectory);
|
||||||
StatoolInfosUtils.copyRessource(source + "datatables.min.css", targetDirectory);
|
StatoolInfosUtils.copyRessource(source + "datatables.min.css", targetDirectory);
|
||||||
StatoolInfosUtils.copyRessource(source + "datatables.min.js", targetDirectory);
|
StatoolInfosUtils.copyRessource(source + "datatables.min.js", targetDirectory);
|
||||||
|
StatoolInfosUtils.copyRessource(source + "datatables.french.js", targetDirectory);
|
||||||
StatoolInfosUtils.copyRessource(source + "statoolinfos-logo.jpg", targetDirectory);
|
StatoolInfosUtils.copyRessource(source + "statoolinfos-logo.jpg", targetDirectory);
|
||||||
StatoolInfosUtils.copyRessource(source + "statoolinfos-logo.ico", targetDirectory);
|
StatoolInfosUtils.copyRessource(source + "statoolinfos-logo.ico", targetDirectory);
|
||||||
StatoolInfosUtils.copyRessource(source + "statoolinfos-logo-name.jpg", targetDirectory);
|
StatoolInfosUtils.copyRessource(source + "statoolinfos-logo-name.jpg", targetDirectory);
|
||||||
|
|
|
@ -70,37 +70,7 @@
|
||||||
paging: false,
|
paging: false,
|
||||||
ordering: true,
|
ordering: true,
|
||||||
"order": [[ 2, "desc" ]],
|
"order": [[ 2, "desc" ]],
|
||||||
language:
|
language: dataTableFrench
|
||||||
{
|
|
||||||
"sEmptyTable": "Aucune donnée disponible dans le tableau",
|
|
||||||
"sInfo": "Affichage de l'élément _START_ à _END_ sur _TOTAL_ éléments",
|
|
||||||
"sInfoEmpty": "Affichage de l'élément 0 à 0 sur 0 élément",
|
|
||||||
"sInfoFiltered": "(filtré à partir de _MAX_ éléments au total)",
|
|
||||||
"sInfoPostFix": "",
|
|
||||||
"sInfoThousands": ",",
|
|
||||||
"sLengthMenu": "Afficher _MENU_ éléments",
|
|
||||||
"sLoadingRecords": "Chargement...",
|
|
||||||
"sProcessing": "Traitement...",
|
|
||||||
"sSearch": "Rechercher :",
|
|
||||||
"sZeroRecords": "Aucun élément correspondant trouvé",
|
|
||||||
"oPaginate": {
|
|
||||||
"sFirst": "Premier",
|
|
||||||
"sLast": "Dernier",
|
|
||||||
"sNext": "Suivant",
|
|
||||||
"sPrevious": "Précédent"
|
|
||||||
},
|
|
||||||
"oAria": {
|
|
||||||
"sSortAscending": ": activer pour trier la colonne par ordre croissant",
|
|
||||||
"sSortDescending": ": activer pour trier la colonne par ordre décroissant"
|
|
||||||
},
|
|
||||||
"select": {
|
|
||||||
"rows": {
|
|
||||||
"_": "%d lignes sélectionnées",
|
|
||||||
"0": "Aucune ligne sélectionnée",
|
|
||||||
"1": "1 ligne sélectionnée"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
dataTableFrench =
|
||||||
{
|
{
|
||||||
"sEmptyTable": "Aucune donnée disponible dans le tableau",
|
"sEmptyTable": "Aucune donnée disponible dans le tableau",
|
||||||
"sInfo": "Affichage de l'élément _START_ à _END_ sur _TOTAL_ éléments",
|
"sInfo": "Affichage de l'élément _START_ à _END_ sur _TOTAL_ éléments",
|
||||||
|
@ -6,8 +7,8 @@
|
||||||
"sInfoPostFix": "",
|
"sInfoPostFix": "",
|
||||||
"sInfoThousands": ",",
|
"sInfoThousands": ",",
|
||||||
"sLengthMenu": "Afficher _MENU_ éléments",
|
"sLengthMenu": "Afficher _MENU_ éléments",
|
||||||
"sLoadingRecords": "Chargement...",
|
"sLoadingRecords": "Chargement…",
|
||||||
"sProcessing": "Traitement...",
|
"sProcessing": "Traitement…",
|
||||||
"sSearch": "Rechercher :",
|
"sSearch": "Rechercher :",
|
||||||
"sZeroRecords": "Aucun élément correspondant trouvé",
|
"sZeroRecords": "Aucun élément correspondant trouvé",
|
||||||
"oPaginate": {
|
"oPaginate": {
|
|
@ -11,6 +11,7 @@
|
||||||
<script src="Chart.bundle.min.js"></script>
|
<script src="Chart.bundle.min.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="datatables.min.css"/>
|
<link rel="stylesheet" type="text/css" href="datatables.min.css"/>
|
||||||
<script type="text/javascript" src="datatables.min.js"></script>
|
<script type="text/javascript" src="datatables.min.js"></script>
|
||||||
|
<script src="datatables.french.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="margin: 5px 10px 10px 10px;">
|
<div style="margin: 5px 10px 10px 10px;">
|
||||||
|
|
Loading…
Reference in a new issue