| 5 |
lars |
1 |
/**
|
|
|
2 |
* Bootstrap Table Spanish (México) translation (Obtenido de traducción de Argentina)
|
|
|
3 |
* Author: Felix Vera (felix.vera@gmail.com)
|
|
|
4 |
* Copiado: Mauricio Vera (mauricioa.vera@gmail.com)
|
|
|
5 |
*/
|
|
|
6 |
(function ($) {
|
|
|
7 |
'use strict';
|
|
|
8 |
|
|
|
9 |
$.fn.bootstrapTable.locales['es-MX'] = {
|
|
|
10 |
formatLoadingMessage: function () {
|
|
|
11 |
return 'Cargando, espere por favor...';
|
|
|
12 |
},
|
|
|
13 |
formatRecordsPerPage: function (pageNumber) {
|
|
|
14 |
return pageNumber + ' registros por página';
|
|
|
15 |
},
|
|
|
16 |
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
|
17 |
return 'Mostrando ' + pageFrom + ' a ' + pageTo + ' de ' + totalRows + ' filas';
|
|
|
18 |
},
|
|
|
19 |
formatSearch: function () {
|
|
|
20 |
return 'Buscar';
|
|
|
21 |
},
|
|
|
22 |
formatNoMatches: function () {
|
|
|
23 |
return 'No se encontraron registros';
|
|
|
24 |
},
|
|
|
25 |
formatAllRows: function () {
|
|
|
26 |
return 'Todo';
|
|
|
27 |
}
|
|
|
28 |
};
|
|
|
29 |
|
|
|
30 |
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-MX']);
|
|
|
31 |
|
|
|
32 |
})(jQuery);
|