Created
May 31, 2014 07:29
-
-
Save goliver79/31716d958f13ce350c6d to your computer and use it in GitHub Desktop.
[JAVASCRIPT] DataTables Spanish initialization
This file contains hidden or 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
| jQuery(document).ready( function () { | |
| $ = jQuery; | |
| var table = $('#plans2').DataTable({ | |
| language: { | |
| processing: "Procesando...", | |
| search: "Buscar :", | |
| lengthMenu: "Ver _MENU_ elementos", | |
| info: "Viendo _START_ a _END_ de <b>_TOTAL_ elementos</b>", | |
| infoEmpty: "Viendo 0 a 0 de 0 elementos", | |
| infoFiltered: "(filtrados de _MAX_ elementos en total)", | |
| infoPostFix: "", | |
| loadingRecords: "Cargando...", | |
| zeroRecords: "Ningún resultado encontrado", | |
| emptyTable: "No hay elementos en la tabla", | |
| paginate: { | |
| first: "Primero", | |
| previous: "Anterior", | |
| next: "Siguiente", | |
| last: "Último" | |
| }, | |
| aria: { | |
| sortAscending: ": activar para ordenar de manera ascendente", | |
| sortDescending: ": activar para ordenar de manera desscendente" | |
| } | |
| }, | |
| // diplay elements | |
| dom: 'iprtip', | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment