mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
33 lines
1 KiB
JavaScript
Executable file
33 lines
1 KiB
JavaScript
Executable file
/**
|
|
* Bootstrap Table Spanish (México) translation (Obtenido de traducción de Argentina)
|
|
* Author: Felix Vera ([email protected])
|
|
* Copiado: Mauricio Vera ([email protected])
|
|
*/
|
|
(function ($) {
|
|
'use strict';
|
|
|
|
$.fn.bootstrapTable.locales['es-MX'] = {
|
|
formatLoadingMessage: function () {
|
|
return 'Cargando, espere por favor...';
|
|
},
|
|
formatRecordsPerPage: function (pageNumber) {
|
|
return pageNumber + ' registros por página';
|
|
},
|
|
formatShowingRows: function (pageFrom, pageTo, totalRows) {
|
|
return 'Mostrando ' + pageFrom + ' a ' + pageTo + ' de ' + totalRows + ' filas';
|
|
},
|
|
formatSearch: function () {
|
|
return 'Buscar';
|
|
},
|
|
formatNoMatches: function () {
|
|
return 'No se encontraron registros';
|
|
},
|
|
formatAllRows: function () {
|
|
return 'Todo';
|
|
}
|
|
};
|
|
|
|
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['es-MX']);
|
|
|
|
})(jQuery);
|